public function skip(AssetTypeInterface $assetType, $name, $version)
    {
        try {
            $cVersion = $assetType->getVersionConverter()->convertVersion($version);
            $normalizedVersion = $this->versionParser->normalize($cVersion);
        } catch (\Exception $ex) {
            return true;
        }

        if (false !== $this->skipByPattern() && $this->forceSkipVersion($normalizedVersion)) {
            return true;
        }

        return $this->doSkip($name, $normalizedVersion);
    }
public function skip(AssetTypeInterface $assetType, $name, $version)
    {
        try {
            $cVersion = $assetType->getVersionConverter()->convertVersion($version);
            $normalizedVersion = $this->versionParser->normalize($cVersion);
        } catch (\Exception $ex) {
            return true;
        }

        if (false !== $this->skipByPattern() && $this->forceSkipVersion($normalizedVersion)) {
            return true;
        }

        return $this->doSkip($name, $normalizedVersion);
    }
public function skip ( AssetTypeInterface $ assetType , $ name , $ version ) { try { $ cVersion = $ assetType -> getVersionConverter ( ) -> convertVersion ( $ version ) ; $ normalizedVersion = $ this -> versionParser -> normalize ( $ cVersion ) ; } catch ( \ Exception $ ex ) { return true ; } if ( false !== $ this -> skipByPattern ( ) && $ this -> forceSkipVersion ( $ normalizedVersion ) ) { return true ; } return $ this -> doSkip ( $ name , $ normalizedVersion ) ; }
Check if the version must be skipped.

@param AssetTypeInterface $assetType The asset type
@param string             $name      The composer package name
@param string             $version   The version

@return bool
Check if the version must be skipped .