protected function doSkip($name, $normalizedVersion)
    {
        if (!isset($this->requires[$name]) || false !== strpos($normalizedVersion, '-p')) {
            return false;
        }

        /** @var Link $require */
        $require = $this->requires[$name];

        return !$this->satisfy($require, $normalizedVersion) && $this->isEnabled();
    }
protected function doSkip($name, $normalizedVersion)
    {
        if (!isset($this->requires[$name]) || false !== strpos($normalizedVersion, '-p')) {
            return false;
        }

        /** @var Link $require */
        $require = $this->requires[$name];

        return !$this->satisfy($require, $normalizedVersion) && $this->isEnabled();
    }
protected function doSkip ( $ name , $ normalizedVersion ) { if ( ! isset ( $ this -> requires [ $ name ] ) || false !== strpos ( $ normalizedVersion , '-p' ) ) { return false ; } /** @var Link $require */ $ require = $ this -> requires [ $ name ] ; return ! $ this -> satisfy ( $ require , $ normalizedVersion ) && $ this -> isEnabled ( ) ; }
Do check if the version must be skipped.

@param string $name              The composer package name
@param string $normalizedVersion The normalized version

@return bool
Do check if the version must be skipped .