Skip to content

Avoid error with constant $ #21149

Avoid error with constant $

Avoid error with constant $ #21149

Triggered via pull request May 22, 2025 15:35
Status Failure
Total duration 3m 57s
Artifacts

static-analysis.yml

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

Annotations

81 errors
PHPStan with result cache (8.2): src/Reflection/BetterReflection/BetterReflectionProvider.php#L1
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\NodeCompiler\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/BetterReflectionProvider.php was not matched in reported errors.
PHPStan with result cache (8.2): src/Reflection/BetterReflection/BetterReflectionProvider.php#L115
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\Identifier\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/BetterReflectionProvider.php is expected to occur 3 times, but occurred 4 times.
PHPStan with result cache (8.2): src/Reflection/BetterReflection/BetterReflectionProvider.php#L437
Dead catch - PHPStan\BetterReflection\Identifier\Exception\InvalidIdentifierName is never thrown in the try block.
PHPStan with result cache (8.2)
Process completed with exit code 2.
Generate baseline
Process completed with exit code 1.
PHPStan (8.2, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L1
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\NodeCompiler\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/BetterReflectionProvider.php was not matched in reported errors.
PHPStan (8.2, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L115
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\Identifier\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/BetterReflectionProvider.php is expected to occur 3 times, but occurred 4 times.
PHPStan (8.2, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L437
Dead catch - PHPStan\BetterReflection\Identifier\Exception\InvalidIdentifierName is never thrown in the try block.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.4): src/Reflection/BetterReflection/BetterReflectionProvider.php#L1
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\NodeCompiler\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/BetterReflectionProvider.php was not matched in reported errors.
PHPStan with result cache (8.4): src/Reflection/BetterReflection/BetterReflectionProvider.php#L115
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\Identifier\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/BetterReflectionProvider.php is expected to occur 3 times, but occurred 4 times.
PHPStan with result cache (8.4): src/Reflection/BetterReflection/BetterReflectionProvider.php#L437
Dead catch - PHPStan\BetterReflection\Identifier\Exception\InvalidIdentifierName is never thrown in the try block.
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L1
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\NodeCompiler\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/BetterReflectionProvider.php was not matched in reported errors.
PHPStan (8.3, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L115
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\Identifier\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/BetterReflectionProvider.php is expected to occur 3 times, but occurred 4 times.
PHPStan (8.3, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L437
Dead catch - PHPStan\BetterReflection\Identifier\Exception\InvalidIdentifierName is never thrown in the try block.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.3): src/Reflection/BetterReflection/BetterReflectionProvider.php#L1
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\NodeCompiler\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/BetterReflectionProvider.php was not matched in reported errors.
PHPStan with result cache (8.3): src/Reflection/BetterReflection/BetterReflectionProvider.php#L115
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\Identifier\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/BetterReflectionProvider.php is expected to occur 3 times, but occurred 4 times.
PHPStan with result cache (8.3): src/Reflection/BetterReflection/BetterReflectionProvider.php#L437
Dead catch - PHPStan\BetterReflection\Identifier\Exception\InvalidIdentifierName is never thrown in the try block.
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L1
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\NodeCompiler\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/BetterReflectionProvider.php was not matched in reported errors.
PHPStan (8.4, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L115
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\Identifier\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/BetterReflectionProvider.php is expected to occur 3 times, but occurred 4 times.
PHPStan (8.4, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L437
Dead catch - PHPStan\BetterReflection\Identifier\Exception\InvalidIdentifierName is never thrown in the try block.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.1): src/Reflection/BetterReflection/BetterReflectionProvider.php#L1
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\NodeCompiler\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/BetterReflectionProvider.php was not matched in reported errors.
PHPStan with result cache (8.1): src/Reflection/BetterReflection/BetterReflectionProvider.php#L115
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\Identifier\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/BetterReflectionProvider.php is expected to occur 3 times, but occurred 4 times.
PHPStan with result cache (8.1): src/Reflection/BetterReflection/BetterReflectionProvider.php#L437
Dead catch - PHPStan\BetterReflection\Identifier\Exception\InvalidIdentifierName is never thrown in the try block.
PHPStan with result cache (8.1)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L1
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\NodeCompiler\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/BetterReflectionProvider.php was not matched in reported errors.
PHPStan (8.1, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L115
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\Identifier\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/BetterReflectionProvider.php is expected to occur 3 times, but occurred 4 times.
PHPStan (8.1, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L437
Dead catch - PHPStan\BetterReflection\Identifier\Exception\InvalidIdentifierName is never thrown in the try block.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L1
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\NodeCompiler\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/BetterReflectionProvider.php was not matched in reported errors.
PHPStan (8.0, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L115
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\Identifier\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/BetterReflectionProvider.php is expected to occur 3 times, but occurred 4 times.
PHPStan (8.0, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L437
Dead catch - PHPStan\BetterReflection\Identifier\Exception\InvalidIdentifierName is never thrown in the try block.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L1
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\NodeCompiler\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/BetterReflectionProvider.php was not matched in reported errors.
PHPStan (7.4, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L133
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\Identifier\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/BetterReflectionProvider.php is expected to occur 3 times, but occurred 4 times.
PHPStan (7.4, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L455
Dead catch - PHPStan\BetterReflection\Identifier\Exception\InvalidIdentifierName is never thrown in the try block.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.3, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L1
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\NodeCompiler\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/BetterReflectionProvider.php was not matched in reported errors.
PHPStan (7.3, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L178
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\Identifier\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/BetterReflectionProvider.php is expected to occur 3 times, but occurred 4 times.
PHPStan (7.3, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L508
Dead catch - PHPStan\BetterReflection\Identifier\Exception\InvalidIdentifierName is never thrown in the try block.
PHPStan (7.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.2, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L1
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\NodeCompiler\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/BetterReflectionProvider.php was not matched in reported errors.
PHPStan (7.2, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L178
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\Identifier\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/BetterReflectionProvider.php is expected to occur 3 times, but occurred 4 times.
PHPStan (7.2, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L438
Dead catch - PHPStan\BetterReflection\Identifier\Exception\InvalidIdentifierName is never thrown in the try block.
PHPStan (7.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L1
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\NodeCompiler\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path D:\a\phpstan-src\phpstan-src\src\Reflection\BetterReflection\BetterReflectionProvider.php was not matched in reported errors.
PHPStan (8.1, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L115
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\Identifier\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path D:\a\phpstan-src\phpstan-src\src\Reflection\BetterReflection\BetterReflectionProvider.php is expected to occur 3 times, but occurred 4 times.
PHPStan (8.1, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L437
Dead catch - PHPStan\BetterReflection\Identifier\Exception\InvalidIdentifierName is never thrown in the try block.
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L1
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\NodeCompiler\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path D:\a\phpstan-src\phpstan-src\src\Reflection\BetterReflection\BetterReflectionProvider.php was not matched in reported errors.
PHPStan (8.4, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L115
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\Identifier\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path D:\a\phpstan-src\phpstan-src\src\Reflection\BetterReflection\BetterReflectionProvider.php is expected to occur 3 times, but occurred 4 times.
PHPStan (8.4, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L437
Dead catch - PHPStan\BetterReflection\Identifier\Exception\InvalidIdentifierName is never thrown in the try block.
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L1
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\NodeCompiler\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path D:\a\phpstan-src\phpstan-src\src\Reflection\BetterReflection\BetterReflectionProvider.php was not matched in reported errors.
PHPStan (8.2, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L115
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\Identifier\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path D:\a\phpstan-src\phpstan-src\src\Reflection\BetterReflection\BetterReflectionProvider.php is expected to occur 3 times, but occurred 4 times.
PHPStan (8.2, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L437
Dead catch - PHPStan\BetterReflection\Identifier\Exception\InvalidIdentifierName is never thrown in the try block.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L1
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\NodeCompiler\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path D:\a\phpstan-src\phpstan-src\src\Reflection\BetterReflection\BetterReflectionProvider.php was not matched in reported errors.
PHPStan (8.3, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L115
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\Identifier\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path D:\a\phpstan-src\phpstan-src\src\Reflection\BetterReflection\BetterReflectionProvider.php is expected to occur 3 times, but occurred 4 times.
PHPStan (8.3, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L437
Dead catch - PHPStan\BetterReflection\Identifier\Exception\InvalidIdentifierName is never thrown in the try block.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L1
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\NodeCompiler\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path D:\a\phpstan-src\phpstan-src\src\Reflection\BetterReflection\BetterReflectionProvider.php was not matched in reported errors.
PHPStan (8.0, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L115
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\Identifier\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path D:\a\phpstan-src\phpstan-src\src\Reflection\BetterReflection\BetterReflectionProvider.php is expected to occur 3 times, but occurred 4 times.
PHPStan (8.0, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L437
Dead catch - PHPStan\BetterReflection\Identifier\Exception\InvalidIdentifierName is never thrown in the try block.
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (7.3, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L1
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\NodeCompiler\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path D:\a\phpstan-src\phpstan-src\src\Reflection\BetterReflection\BetterReflectionProvider.php was not matched in reported errors.
PHPStan (7.3, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L178
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\Identifier\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path D:\a\phpstan-src\phpstan-src\src\Reflection\BetterReflection\BetterReflectionProvider.php is expected to occur 3 times, but occurred 4 times.
PHPStan (7.3, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L508
Dead catch - PHPStan\BetterReflection\Identifier\Exception\InvalidIdentifierName is never thrown in the try block.
PHPStan (7.3, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L1
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\NodeCompiler\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path D:\a\phpstan-src\phpstan-src\src\Reflection\BetterReflection\BetterReflectionProvider.php was not matched in reported errors.
PHPStan (7.4, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L133
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\Identifier\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path D:\a\phpstan-src\phpstan-src\src\Reflection\BetterReflection\BetterReflectionProvider.php is expected to occur 3 times, but occurred 4 times.
PHPStan (7.4, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L455
Dead catch - PHPStan\BetterReflection\Identifier\Exception\InvalidIdentifierName is never thrown in the try block.
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
PHPStan (7.2, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L1
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\NodeCompiler\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path D:\a\phpstan-src\phpstan-src\src\Reflection\BetterReflection\BetterReflectionProvider.php was not matched in reported errors.
PHPStan (7.2, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L178
Ignored error pattern #^Dead catch \- PHPStan\\BetterReflection\\Identifier\\Exception\\InvalidIdentifierName is never thrown in the try block\.$# in path D:\a\phpstan-src\phpstan-src\src\Reflection\BetterReflection\BetterReflectionProvider.php is expected to occur 3 times, but occurred 4 times.
PHPStan (7.2, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L438
Dead catch - PHPStan\BetterReflection\Identifier\Exception\InvalidIdentifierName is never thrown in the try block.
PHPStan (7.2, windows-latest)
Process completed with exit code 1.