ignoreRegex = BasePackage::packageNamesToRegexp($ignoreAll); $this->ignoreUpperBoundRegex = BasePackage::packageNamesToRegexp($ignoreUpperBound); } public function isIgnored(string $req): bool { if (!PlatformRepository::isPlatformPackage($req)) { return false; } return Preg::isMatch($this->ignoreRegex, $req); } /** * @param bool $allowUpperBoundOverride For conflicts we do not want the upper bound to be skipped */ public function filterConstraint( string $req, ConstraintInterface $constraint, bool $allowUpperBoundOverride = true, ): ConstraintInterface { if (!PlatformRepository::isPlatformPackage($req)) { return $constraint; } if (!$allowUpperBoundOverride || !Preg::isMatch($this->ignoreUpperBoundRegex, $req)) { return $constraint; } if (Preg::isMatch($this->ignoreRegex, $req)) { return new MatchAllConstraint; } $intervals = Intervals::get($constraint); $last = end($intervals['numeric']); if ($last !== false && (string) $last->getEnd() !== (string) Interval::untilPositiveInfinity()) { $constraint = new MultiConstraint([$constraint, new Constraint('>=', $last->getEnd()->getVersion())], false); } return $constraint; } } __halt_compiler();----SIGNATURE:----AZmx+fRUGErtM/2P7oFx3iQ8keQk537nhmOA5Hm8YZneYVGAxhqg9p7zu3V/aymVItSP6ihZubEgQXcgW0vpikXyUpHWm3IVte7Sq/01R23Mz3mkahBsHF1VLK/Y58UfOnU1y9uJ8RHV+5ULRh3MoeVmlCckMRGUpsjJveff/W0QCH/v9gjkTLv92tKyrIq8JbeAieEg/kVcBVR/Yjoj/O7erCLLJli8tf6apeD267/cjg63ZsCIimLv/UYgw/U+sJMAiveElfJSElHBlEXbN8xhPR1LgRVMCyre9BB4/Rz4LQGKuksVB1YhUzndbwGZNYj91Up6amwJCB6CJlGPzrWmRGJkhyNHAp8jufH1tZ58R5PbgHK4STKaA0b3tv26P/I4gyHgvM76K/guvIWIO79YtijkqkYHMctmkoIRez0/5cyCW27if4N8VmXovS690363CkJK729OeKpy4k2FRmJWzpmjdz923CVibR/jg+SHGo0vtt8aTV4+SPbc7Skam0yaTKuHrDT0LzaOqzGWRaUbEqYvJJV0yNMJes8yzCeMx/KOH9EHs/Kk400DeKn5DoQCnWPeuZ2Sks/aetyNjhdaXdjo4Ka5Ie721QFq078aWqqeD9vNTXelhpUUslNXWCswsqFcPAln+E75P8UAxGYIxwcAtZdVO55FKMhn0II=----ATTACHMENT:----OTAzNzQwODE4ODU5NzA5IDQwMjE0NTg5NDM5NzE2NTYgMTQ0NzQ2NDY4NzQ4MzEwOQ==