Skip to content

Introduce Type->getConstantArrayKeys() #22050

Introduce Type->getConstantArrayKeys()

Introduce Type->getConstantArrayKeys() #22050

Triggered via pull request July 27, 2025 15:38
Status Failure
Total duration 12m 34s
Artifacts

static-analysis.yml

on: pull_request
Generate baseline
1m 42s
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

31 errors
Generate baseline
Process completed with exit code 1.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): src/Analyser/MutatingScope.php#L1692
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Analyser/MutatingScope.php is expected to occur 3 times, but occurred only 2 times.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.2): src/Analyser/MutatingScope.php#L1692
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Analyser/MutatingScope.php is expected to occur 3 times, but occurred only 2 times.
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan with result cache (8.3): src/Analyser/MutatingScope.php#L1692
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Analyser/MutatingScope.php is expected to occur 3 times, but occurred only 2 times.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): src/Analyser/MutatingScope.php#L1692
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Analyser/MutatingScope.php is expected to occur 3 times, but occurred only 2 times.
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan with result cache (8.4): src/Analyser/MutatingScope.php#L1692
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Analyser/MutatingScope.php is expected to occur 3 times, but occurred only 2 times.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): src/Analyser/MutatingScope.php#L1692
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Analyser/MutatingScope.php is expected to occur 3 times, but occurred only 2 times.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): src/Analyser/MutatingScope.php#L1692
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Analyser/MutatingScope.php is expected to occur 3 times, but occurred only 2 times.
PHPStan (8.1, ubuntu-latest): src/Analyser/MutatingScope.php#L1692
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Analyser/MutatingScope.php is expected to occur 3 times, but occurred only 2 times.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): src/Analyser/MutatingScope.php#L1692
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Analyser\MutatingScope.php is expected to occur 3 times, but occurred only 2 times.
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest): src/Analyser/MutatingScope.php#L1692
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Analyser\MutatingScope.php is expected to occur 3 times, but occurred only 2 times.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): src/Analyser/MutatingScope.php#L1692
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Analyser\MutatingScope.php is expected to occur 3 times, but occurred only 2 times.
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): src/Analyser/MutatingScope.php#L1692
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Analyser\MutatingScope.php is expected to occur 3 times, but occurred only 2 times.
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest): src/Analyser/MutatingScope.php#L1692
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Analyser\MutatingScope.php is expected to occur 3 times, but occurred only 2 times.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): src/Analyser/MutatingScope.php#L1749
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Analyser/MutatingScope.php is expected to occur 3 times, but occurred only 2 times.
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, windows-latest): src/Analyser/MutatingScope.php#L1749
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Analyser\MutatingScope.php is expected to occur 3 times, but occurred only 2 times.