We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2586069 commit bf14f4aCopy full SHA for bf14f4a
src/Plugin.php
@@ -158,6 +158,12 @@ public function process(Event $event): void
158
$phpstanConstraint = null;
159
if (array_key_exists('phpstan/phpstan', $packageRequires)) {
160
$phpstanConstraint = $packageRequires['phpstan/phpstan']->getConstraint();
161
+ if ($phpstanConstraint->getLowerBound()->isZero()) {
162
+ continue;
163
+ }
164
+ if ($phpstanConstraint->getUpperBound()->isPositiveInfinity()) {
165
166
167
$phpstanVersionConstraints[] = $phpstanConstraint;
168
}
169
0 commit comments