From bb96b04f4a2a21b7546a1b2374028911cd862606 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 10 Sep 2020 16:05:31 +0200 Subject: [PATCH] Remove dead code --- src/Composer/Repository/ComposerRepository.php | 2 -- 1 file changed, 2 deletions(-) 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; }