Skip to content

Fix "Named arguments are supported only on PHP 8.0 and later." false positive #21244

Fix "Named arguments are supported only on PHP 8.0 and later." false positive

Fix "Named arguments are supported only on PHP 8.0 and later." false positive #21244

Triggered via pull request May 28, 2025 07:36
Status Failure
Total duration 6m 29s
Artifacts

static-analysis.yml

on: pull_request
Generate baseline
1m 35s
Generate baseline
Generate PHP baseline
1m 34s
Generate PHP baseline
Matrix: PHPStan with result cache
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

161 errors
Generate baseline
Process completed with exit code 1.
PHPStan (8.3, ubuntu-latest): src/Type/Php/DateTimeModifyReturnTypeExtension.php#L0
Ignored error pattern #^If condition is always false\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/DateTimeModifyReturnTypeExtension.php was not matched in reported errors.
PHPStan (8.3, ubuntu-latest): src/Testing/PHPStanTestCase.php#L85
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.3, ubuntu-latest): src/Reflection/Php/PhpMethodReflection.php#L174
Method PHPStan\Reflection\Php\PhpMethodReflection::getMethodNameWithCorrectCase() is unused.
PHPStan with result cache (8.3): src/Type/Php/DateTimeModifyReturnTypeExtension.php#L0
Ignored error pattern #^If condition is always false\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/DateTimeModifyReturnTypeExtension.php was not matched in reported errors.
PHPStan (8.3, ubuntu-latest): src/Reflection/Php/PhpMethodReflection.php#L162
Unreachable statement - code above always terminates.
PHPStan with result cache (8.3): src/Testing/PHPStanTestCase.php#L85
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.3, ubuntu-latest): src/Reflection/Php/PhpMethodReflection.php#L157
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan with result cache (8.3): src/Reflection/Php/PhpMethodReflection.php#L174
Method PHPStan\Reflection\Php\PhpMethodReflection::getMethodNameWithCorrectCase() is unused.
PHPStan (8.3, ubuntu-latest): src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L204
Comparison operation "<" between int<80100, 80499> and 80000 is always false.
PHPStan with result cache (8.3): src/Reflection/Php/PhpMethodReflection.php#L162
Unreachable statement - code above always terminates.
PHPStan (8.4, ubuntu-latest): src/Testing/PHPStanTestCase.php#L85
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.3, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L161
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan with result cache (8.3): src/Reflection/Php/PhpMethodReflection.php#L157
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.4, ubuntu-latest): src/Reflection/Php/PhpMethodReflection.php#L174
Method PHPStan\Reflection\Php\PhpMethodReflection::getMethodNameWithCorrectCase() is unused.
PHPStan (8.3, ubuntu-latest): src/Command/CommandHelper.php#L547
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.4, ubuntu-latest): src/Reflection/Php/PhpMethodReflection.php#L162
Unreachable statement - code above always terminates.
PHPStan (8.3, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L2201
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan with result cache (8.3): src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L204
Comparison operation "<" between int<80100, 80499> and 80000 is always false.
PHPStan (8.4, ubuntu-latest): src/Reflection/Php/PhpMethodReflection.php#L157
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan with result cache (8.3): src/Reflection/BetterReflection/BetterReflectionProvider.php#L161
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan with result cache (8.3): src/Command/CommandHelper.php#L547
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.4, ubuntu-latest): src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L204
Comparison operation "<" between int<80100, 80499> and 80000 is always false.
PHPStan with result cache (8.3): src/Analyser/NodeScopeResolver.php#L2201
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.4, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L161
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.4, ubuntu-latest): src/Command/CommandHelper.php#L547
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.4, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L2201
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.4, ubuntu-latest): src/Analyser/FileAnalyser.php#L0
Ignored error pattern #^Use of constant E_STRICT is deprecated\.$# (constant.deprecated) in path /home/runner/work/phpstan-src/phpstan-src/src/Analyser/FileAnalyser.php was not matched in reported errors.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Analyser/AnalyserIntegrationTest.php#L328
Comparison operation "<" between int<80100, 80499> and 80000 is always false.
PHPStan (8.2, ubuntu-latest): src/Testing/PHPStanTestCase.php#L85
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.2, ubuntu-latest): src/Reflection/Php/PhpMethodReflection.php#L174
Method PHPStan\Reflection\Php\PhpMethodReflection::getMethodNameWithCorrectCase() is unused.
PHPStan (8.2, ubuntu-latest): src/Reflection/Php/PhpMethodReflection.php#L162
Unreachable statement - code above always terminates.
PHPStan (8.2, ubuntu-latest): src/Reflection/Php/PhpMethodReflection.php#L157
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.2, ubuntu-latest): src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L204
Comparison operation "<" between int<80100, 80499> and 80000 is always false.
PHPStan (8.2, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L161
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.2, ubuntu-latest): src/Command/CommandHelper.php#L547
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.2, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L2201
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Analyser/AnalyserIntegrationTest.php#L328
Comparison operation "<" between int<80100, 80499> and 80000 is always false.
PHPStan (8.1, ubuntu-latest): src/Testing/PHPStanTestCase.php#L85
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.1, ubuntu-latest): src/Reflection/Php/PhpMethodReflection.php#L174
Method PHPStan\Reflection\Php\PhpMethodReflection::getMethodNameWithCorrectCase() is unused.
PHPStan (8.1, ubuntu-latest): src/Reflection/Php/PhpMethodReflection.php#L162
Unreachable statement - code above always terminates.
PHPStan (8.1, ubuntu-latest): src/Reflection/Php/PhpMethodReflection.php#L157
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.1, ubuntu-latest): src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L204
Comparison operation "<" between int<80100, 80499> and 80000 is always false.
PHPStan (8.1, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L161
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.1, ubuntu-latest): src/Command/CommandHelper.php#L547
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.1, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L2201
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan with result cache (8.4): src/Testing/PHPStanTestCase.php#L85
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan with result cache (8.4): src/Reflection/Php/PhpMethodReflection.php#L174
Method PHPStan\Reflection\Php\PhpMethodReflection::getMethodNameWithCorrectCase() is unused.
PHPStan with result cache (8.4): src/Reflection/Php/PhpMethodReflection.php#L162
Unreachable statement - code above always terminates.
PHPStan with result cache (8.4): src/Reflection/Php/PhpMethodReflection.php#L157
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan with result cache (8.4): src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L204
Comparison operation "<" between int<80100, 80499> and 80000 is always false.
PHPStan with result cache (8.4): src/Reflection/BetterReflection/BetterReflectionProvider.php#L161
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan with result cache (8.4): src/Command/CommandHelper.php#L547
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan with result cache (8.4): src/Analyser/NodeScopeResolver.php#L2201
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan with result cache (8.4): src/Analyser/FileAnalyser.php#L0
Ignored error pattern #^Use of constant E_STRICT is deprecated\.$# (constant.deprecated) in path /home/runner/work/phpstan-src/phpstan-src/src/Analyser/FileAnalyser.php was not matched in reported errors.
PHPStan with result cache (8.1): tests/PHPStan/Analyser/AnalyserIntegrationTest.php#L328
Comparison operation "<" between int<80100, 80499> and 80000 is always false.
PHPStan with result cache (8.1): src/Testing/PHPStanTestCase.php#L85
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan with result cache (8.1): src/Reflection/Php/PhpMethodReflection.php#L174
Method PHPStan\Reflection\Php\PhpMethodReflection::getMethodNameWithCorrectCase() is unused.
PHPStan with result cache (8.1): src/Reflection/Php/PhpMethodReflection.php#L162
Unreachable statement - code above always terminates.
PHPStan with result cache (8.1): src/Reflection/Php/PhpMethodReflection.php#L157
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan with result cache (8.1): src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L204
Comparison operation "<" between int<80100, 80499> and 80000 is always false.
PHPStan with result cache (8.1): src/Reflection/BetterReflection/BetterReflectionProvider.php#L161
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan with result cache (8.1): src/Command/CommandHelper.php#L547
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan with result cache (8.1): src/Analyser/NodeScopeResolver.php#L2201
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan with result cache (8.2): tests/PHPStan/Analyser/AnalyserIntegrationTest.php#L328
Comparison operation "<" between int<80100, 80499> and 80000 is always false.
PHPStan with result cache (8.2): src/Testing/PHPStanTestCase.php#L85
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan with result cache (8.2): src/Reflection/Php/PhpMethodReflection.php#L174
Method PHPStan\Reflection\Php\PhpMethodReflection::getMethodNameWithCorrectCase() is unused.
PHPStan with result cache (8.2): src/Reflection/Php/PhpMethodReflection.php#L162
Unreachable statement - code above always terminates.
PHPStan with result cache (8.2): src/Reflection/Php/PhpMethodReflection.php#L157
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan with result cache (8.2): src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L204
Comparison operation "<" between int<80100, 80499> and 80000 is always false.
PHPStan with result cache (8.2): src/Reflection/BetterReflection/BetterReflectionProvider.php#L161
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan with result cache (8.2): src/Command/CommandHelper.php#L547
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan with result cache (8.2): src/Analyser/NodeScopeResolver.php#L2201
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Analyser/AnalyserIntegrationTest.php#L328
Comparison operation "<" between int<80100, 80499> and 80000 is always false.
PHPStan (8.0, ubuntu-latest): src/Testing/PHPStanTestCase.php#L85
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.0, ubuntu-latest): src/Reflection/Php/PhpMethodReflection.php#L174
Method PHPStan\Reflection\Php\PhpMethodReflection::getMethodNameWithCorrectCase() is unused.
PHPStan (8.0, ubuntu-latest): src/Reflection/Php/PhpMethodReflection.php#L162
Unreachable statement - code above always terminates.
PHPStan (8.0, ubuntu-latest): src/Reflection/Php/PhpMethodReflection.php#L157
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.0, ubuntu-latest): src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L204
Comparison operation "<" between int<80100, 80499> and 80000 is always false.
PHPStan (8.0, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L161
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.0, ubuntu-latest): src/Command/CommandHelper.php#L547
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.0, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L2285
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (7.4, ubuntu-latest): src/Reflection/Php/PhpClassReflectionExtension.php#L0
Ignored error pattern #^Strict comparison using \!\=\= between class\-string and 'UnitEnum' will always evaluate to true\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Php/PhpClassReflectionExtension.php was not matched in reported errors.
PHPStan (7.4, ubuntu-latest): src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L342
Strict comparison using === between list<callable(string): void> and false will always evaluate to false.
PHPStan (7.4, ubuntu-latest): src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L208
Comparison operation "<" between int<80100, 80499> and 80000 is always false.
PHPStan (7.4, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L181
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (7.4, ubuntu-latest): src/DependencyInjection/AutowiredService.php#L15
Attribute Attribute is not using named arguments.
PHPStan (7.4, ubuntu-latest): src/Command/CommandHelper.php#L507
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (7.4, ubuntu-latest): src/Command/CommandHelper.php#L492
PHPDoc tag @var with type list<callable(string): void>|false is not subtype of native type list<callable(string): void>.
PHPStan (7.4, ubuntu-latest): src/Command/CommandHelper.php#L151
PHPDoc tag @var with type list<callable(string): void>|false is not subtype of native type list<callable(string): void>.
PHPStan (7.4, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L2293
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.1, windows-latest): tests/PHPStan/Analyser/AnalyserIntegrationTest.php#L328
Comparison operation "<" between int<80100, 80499> and 80000 is always false.
PHPStan (8.1, windows-latest): src/Testing/PHPStanTestCase.php#L85
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.1, windows-latest): src/Reflection/Php/PhpMethodReflection.php#L174
Method PHPStan\Reflection\Php\PhpMethodReflection::getMethodNameWithCorrectCase() is unused.
PHPStan (8.1, windows-latest): src/Reflection/Php/PhpMethodReflection.php#L162
Unreachable statement - code above always terminates.
PHPStan (8.1, windows-latest): src/Reflection/Php/PhpMethodReflection.php#L157
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.1, windows-latest): src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L204
Comparison operation "<" between int<80100, 80499> and 80000 is always false.
PHPStan (8.1, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L161
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.1, windows-latest): src/Command/CommandHelper.php#L547
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.1, windows-latest): src/Analyser/NodeScopeResolver.php#L2201
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.4, windows-latest): src/Testing/PHPStanTestCase.php#L85
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.4, windows-latest): src/Reflection/Php/PhpMethodReflection.php#L174
Method PHPStan\Reflection\Php\PhpMethodReflection::getMethodNameWithCorrectCase() is unused.
PHPStan (8.4, windows-latest): src/Reflection/Php/PhpMethodReflection.php#L162
Unreachable statement - code above always terminates.
PHPStan (8.4, windows-latest): src/Reflection/Php/PhpMethodReflection.php#L157
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.4, windows-latest): src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L204
Comparison operation "<" between int<80100, 80499> and 80000 is always false.
PHPStan (8.4, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L161
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.4, windows-latest): src/Command/CommandHelper.php#L547
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.4, windows-latest): src/Analyser/NodeScopeResolver.php#L2201
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.4, windows-latest): src/Analyser/FileAnalyser.php#L0
Ignored error pattern #^Use of constant E_STRICT is deprecated\.$# (constant.deprecated) in path D:\a\phpstan-src\phpstan-src\src\Analyser\FileAnalyser.php was not matched in reported errors.
PHPStan (8.2, windows-latest): tests/PHPStan/Analyser/AnalyserIntegrationTest.php#L328
Comparison operation "<" between int<80100, 80499> and 80000 is always false.
PHPStan (8.2, windows-latest): src/Testing/PHPStanTestCase.php#L85
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.2, windows-latest): src/Reflection/Php/PhpMethodReflection.php#L174
Method PHPStan\Reflection\Php\PhpMethodReflection::getMethodNameWithCorrectCase() is unused.
PHPStan (8.2, windows-latest): src/Reflection/Php/PhpMethodReflection.php#L162
Unreachable statement - code above always terminates.
PHPStan (8.2, windows-latest): src/Reflection/Php/PhpMethodReflection.php#L157
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.2, windows-latest): src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L204
Comparison operation "<" between int<80100, 80499> and 80000 is always false.
PHPStan (8.2, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L161
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.2, windows-latest): src/Command/CommandHelper.php#L547
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.2, windows-latest): src/Analyser/NodeScopeResolver.php#L2201
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.3, windows-latest): src/Type/Php/DateTimeModifyReturnTypeExtension.php#L0
Ignored error pattern #^If condition is always false\.$# in path D:\a\phpstan-src\phpstan-src\src\Type\Php\DateTimeModifyReturnTypeExtension.php was not matched in reported errors.
PHPStan (8.3, windows-latest): src/Testing/PHPStanTestCase.php#L85
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.3, windows-latest): src/Reflection/Php/PhpMethodReflection.php#L174
Method PHPStan\Reflection\Php\PhpMethodReflection::getMethodNameWithCorrectCase() is unused.
PHPStan (8.3, windows-latest): src/Reflection/Php/PhpMethodReflection.php#L162
Unreachable statement - code above always terminates.
PHPStan (8.3, windows-latest): src/Reflection/Php/PhpMethodReflection.php#L157
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.3, windows-latest): src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L204
Comparison operation "<" between int<80100, 80499> and 80000 is always false.
PHPStan (8.3, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L161
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.3, windows-latest): src/Command/CommandHelper.php#L547
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.3, windows-latest): src/Analyser/NodeScopeResolver.php#L2201
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.0, windows-latest): tests/PHPStan/Analyser/AnalyserIntegrationTest.php#L328
Comparison operation "<" between int<80100, 80499> and 80000 is always false.
PHPStan (8.0, windows-latest): src/Testing/PHPStanTestCase.php#L85
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.0, windows-latest): src/Reflection/Php/PhpMethodReflection.php#L174
Method PHPStan\Reflection\Php\PhpMethodReflection::getMethodNameWithCorrectCase() is unused.
PHPStan (8.0, windows-latest): src/Reflection/Php/PhpMethodReflection.php#L162
Unreachable statement - code above always terminates.
PHPStan (8.0, windows-latest): src/Reflection/Php/PhpMethodReflection.php#L157
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.0, windows-latest): src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L204
Comparison operation "<" between int<80100, 80499> and 80000 is always false.
PHPStan (8.0, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L161
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.0, windows-latest): src/Command/CommandHelper.php#L547
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (8.0, windows-latest): src/Analyser/NodeScopeResolver.php#L2285
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (7.4, windows-latest): src/Reflection/Php/PhpClassReflectionExtension.php#L0
Ignored error pattern #^Strict comparison using \!\=\= between class\-string and 'UnitEnum' will always evaluate to true\.$# in path D:\a\phpstan-src\phpstan-src\src\Reflection\Php\PhpClassReflectionExtension.php was not matched in reported errors.
PHPStan (7.4, windows-latest): src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L342
Strict comparison using === between list<callable(string): void> and false will always evaluate to false.
PHPStan (7.4, windows-latest): src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L208
Comparison operation "<" between int<80100, 80499> and 80000 is always false.
PHPStan (7.4, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L181
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (7.4, windows-latest): src/DependencyInjection/AutowiredService.php#L15
Attribute Attribute is not using named arguments.
PHPStan (7.4, windows-latest): src/Command/CommandHelper.php#L507
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.
PHPStan (7.4, windows-latest): src/Command/CommandHelper.php#L492
PHPDoc tag @var with type list<callable(string): void>|false is not subtype of native type list<callable(string): void>.
PHPStan (7.4, windows-latest): src/Command/CommandHelper.php#L151
PHPDoc tag @var with type list<callable(string): void>|false is not subtype of native type list<callable(string): void>.
PHPStan (7.4, windows-latest): src/Analyser/NodeScopeResolver.php#L2293
Comparison operation ">=" between int<80100, 80499> and 80000 is always true.