Skip to content

Fix missing detection of dead code in expressions #21697

Fix missing detection of dead code in expressions

Fix missing detection of dead code in expressions #21697

Triggered via pull request July 17, 2025 08:23
Status Failure
Total duration 13m 48s
Artifacts

static-analysis.yml

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

Annotations

34 errors
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Testing/NonexistentAnalysedClassRuleTest.php#L58
Call to method getComparisonFailure() of internal class PHPUnit\Framework\ExpectationFailedException from outside its root namespace PHPUnit.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Testing/NonexistentAnalysedClassRuleTest.php#L55
Call to method getComparisonFailure() of internal class PHPUnit\Framework\ExpectationFailedException from outside its root namespace PHPUnit.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Testing/NonexistentAnalysedClassRuleTest.php#L54
Catching internal class PHPUnit\Framework\ExpectationFailedException.
PHPStan (8.0, ubuntu-latest): src/Testing/PHPStanTestCase.php#L218
Catching internal class PHPUnit\Framework\ExpectationFailedException.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Testing/NonexistentAnalysedClassRuleTest.php#L58
Call to method getComparisonFailure() of internal class PHPUnit\Framework\ExpectationFailedException from outside its root namespace PHPUnit.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Testing/NonexistentAnalysedClassRuleTest.php#L55
Call to method getComparisonFailure() of internal class PHPUnit\Framework\ExpectationFailedException from outside its root namespace PHPUnit.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Testing/NonexistentAnalysedClassRuleTest.php#L54
Catching internal class PHPUnit\Framework\ExpectationFailedException.
PHPStan (8.1, ubuntu-latest): src/Testing/PHPStanTestCase.php#L218
Catching internal class PHPUnit\Framework\ExpectationFailedException.
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest): tests/PHPStan/Testing/NonexistentAnalysedClassRuleTest.php#L58
Call to method getComparisonFailure() of internal class PHPUnit\Framework\ExpectationFailedException from outside its root namespace PHPUnit.
PHPStan (8.1, windows-latest): tests/PHPStan/Testing/NonexistentAnalysedClassRuleTest.php#L55
Call to method getComparisonFailure() of internal class PHPUnit\Framework\ExpectationFailedException from outside its root namespace PHPUnit.
PHPStan (8.1, windows-latest): tests/PHPStan/Testing/NonexistentAnalysedClassRuleTest.php#L54
Catching internal class PHPUnit\Framework\ExpectationFailedException.
PHPStan (8.1, windows-latest): src/Testing/PHPStanTestCase.php#L218
Catching internal class PHPUnit\Framework\ExpectationFailedException.
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): tests/PHPStan/Testing/NonexistentAnalysedClassRuleTest.php#L58
Call to method getComparisonFailure() of internal class PHPUnit\Framework\ExpectationFailedException from outside its root namespace PHPUnit.
PHPStan (8.0, windows-latest): tests/PHPStan/Testing/NonexistentAnalysedClassRuleTest.php#L55
Call to method getComparisonFailure() of internal class PHPUnit\Framework\ExpectationFailedException from outside its root namespace PHPUnit.
PHPStan (8.0, windows-latest): tests/PHPStan/Testing/NonexistentAnalysedClassRuleTest.php#L54
Catching internal class PHPUnit\Framework\ExpectationFailedException.
PHPStan (8.0, windows-latest): src/Testing/PHPStanTestCase.php#L218
Catching internal class PHPUnit\Framework\ExpectationFailedException.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Testing/NonexistentAnalysedClassRuleTest.php#L58
Call to method getComparisonFailure() of internal class PHPUnit\Framework\ExpectationFailedException from outside its root namespace PHPUnit.
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Testing/NonexistentAnalysedClassRuleTest.php#L55
Call to method getComparisonFailure() of internal class PHPUnit\Framework\ExpectationFailedException from outside its root namespace PHPUnit.
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Testing/NonexistentAnalysedClassRuleTest.php#L54
Catching internal class PHPUnit\Framework\ExpectationFailedException.
PHPStan (7.4, ubuntu-latest): src/Testing/PHPStanTestCase.php#L218
Catching internal class PHPUnit\Framework\ExpectationFailedException.
PHPStan (7.4, ubuntu-latest): src/Command/FixerApplication.php#L365
No error with identifier staticMethod.internal is reported on line 365.
PHPStan (7.4, ubuntu-latest): src/Command/FixerApplication.php#L363
Call to internal static method React\EventLoop\Loop::set() from outside its root namespace React.
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, windows-latest): tests/PHPStan/Testing/NonexistentAnalysedClassRuleTest.php#L58
Call to method getComparisonFailure() of internal class PHPUnit\Framework\ExpectationFailedException from outside its root namespace PHPUnit.
PHPStan (7.4, windows-latest): tests/PHPStan/Testing/NonexistentAnalysedClassRuleTest.php#L55
Call to method getComparisonFailure() of internal class PHPUnit\Framework\ExpectationFailedException from outside its root namespace PHPUnit.
PHPStan (7.4, windows-latest): tests/PHPStan/Testing/NonexistentAnalysedClassRuleTest.php#L54
Catching internal class PHPUnit\Framework\ExpectationFailedException.
PHPStan (7.4, windows-latest): src/Testing/PHPStanTestCase.php#L218
Catching internal class PHPUnit\Framework\ExpectationFailedException.
PHPStan (7.4, windows-latest): src/Command/FixerApplication.php#L365
No error with identifier staticMethod.internal is reported on line 365.
PHPStan (7.4, windows-latest): src/Command/FixerApplication.php#L363
Call to internal static method React\EventLoop\Loop::set() from outside its root namespace React.