diff --git a/src/Composer/Repository/ComposerRepository.php b/src/Composer/Repository/ComposerRepository.php index a3960f081..e0709f81c 100644 --- a/src/Composer/Repository/ComposerRepository.php +++ b/src/Composer/Repository/ComposerRepository.php @@ -1333,8 +1333,6 @@ class ComposerRepository extends ArrayRepository implements ConfigurableReposito throw new \LogicException('lazyProvidersRepoContains should not be called unless hasAvailablePackageList is true'); } - $ruledOutByExactMatch = $ruledOutByRegex = true; - if (is_array($this->availablePackages) && isset($this->availablePackages[$name])) { return true; }