Skip to content

Report float and null offset based on PHP version #23168

Report float and null offset based on PHP version

Report float and null offset based on PHP version #23168

Triggered via pull request September 27, 2025 19:38
Status Failure
Total duration 3m 14s
Artifacts

static-analysis.yml

on: pull_request
Generate baseline
53s
Generate baseline
Generate PHP baseline
50s
Generate PHP baseline
Matrix: PHPStan with result cache
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

38 errors and 7 notices
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan with result cache (8.3)
Internal error: Too few arguments to function PHPStan\Rules\Arrays\AllowedArrayKeysTypes::getType(), 0 passed in /home/runner/work/phpstan-src/phpstan-src/src/Rules/Arrays/InvalidKeyInArrayItemRule.php on line 41 and exactly 1 expected while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Analyser/FileAnalyser.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan with result cache (8.4)
Internal error: Too few arguments to function PHPStan\Rules\Arrays\AllowedArrayKeysTypes::getType(), 0 passed in /home/runner/work/phpstan-src/phpstan-src/src/Rules/Arrays/InvalidKeyInArrayItemRule.php on line 41 and exactly 1 expected while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Analyser/FileAnalyser.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.5, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.5, ubuntu-latest)
Internal error: Too few arguments to function PHPStan\Rules\Arrays\AllowedArrayKeysTypes::getType(), 0 passed in /home/runner/work/phpstan-src/phpstan-src/src/Rules/Arrays/InvalidKeyInArrayItemRule.php on line 41 and exactly 1 expected while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Analyser/FileAnalyser.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest)
Internal error: Too few arguments to function PHPStan\Rules\Arrays\AllowedArrayKeysTypes::getType(), 0 passed in /home/runner/work/phpstan-src/phpstan-src/src/Rules/Arrays/InvalidKeyInArrayItemRule.php on line 41 and exactly 1 expected while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Analyser/FileAnalyser.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest)
Internal error: Too few arguments to function PHPStan\Rules\Arrays\AllowedArrayKeysTypes::getType(), 0 passed in /home/runner/work/phpstan-src/phpstan-src/src/Rules/Arrays/InvalidKeyInArrayItemRule.php on line 41 and exactly 1 expected while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Analyser/FileAnalyser.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
Generate PHP baseline
Process completed with exit code 2.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.2)
Internal error: Too few arguments to function PHPStan\Rules\Arrays\AllowedArrayKeysTypes::getType(), 0 passed in /home/runner/work/phpstan-src/phpstan-src/src/Rules/Arrays/InvalidKeyInArrayItemRule.php on line 41 and exactly 1 expected while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Analyser/FileAnalyser.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan with result cache (8.5)
Process completed with exit code 2.
PHPStan with result cache (8.5)
Internal error: Too few arguments to function PHPStan\Rules\Arrays\AllowedArrayKeysTypes::getType(), 0 passed in /home/runner/work/phpstan-src/phpstan-src/src/Rules/Arrays/InvalidKeyInArrayItemRule.php on line 41 and exactly 1 expected while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Analyser/FileAnalyser.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
Generate baseline
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest)
Internal error: Too few arguments to function PHPStan\Rules\Arrays\AllowedArrayKeysTypes::getType(), 0 passed in /home/runner/work/phpstan-src/phpstan-src/src/Rules/Arrays/InvalidKeyInArrayItemRule.php on line 41 and exactly 1 expected while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Analyser/FileAnalyser.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest)
Internal error: Too few arguments to function PHPStan\Rules\Arrays\AllowedArrayKeysTypes::getType(), 0 passed in /home/runner/work/phpstan-src/phpstan-src/src/Rules/Arrays/InvalidKeyInArrayItemRule.php on line 41 and exactly 1 expected while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Analyser/MutatingScope.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest)
Internal error: Too few arguments to function PHPStan\Rules\Arrays\AllowedArrayKeysTypes::getType(), 0 passed in /home/runner/work/phpstan-src/phpstan-src/src/Rules/Arrays/InvalidKeyInArrayItemRule.php on line 41 and exactly 1 expected while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Analyser/MutatingScope.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest)
Internal error: Too few arguments to function PHPStan\Rules\Arrays\AllowedArrayKeysTypes::getType(), 0 passed in /home/runner/work/phpstan-src/phpstan-src/src/Rules/Arrays/InvalidKeyInArrayItemRule.php on line 42 and exactly 1 expected while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Analyser/MutatingScope.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest)
Internal error: Too few arguments to function PHPStan\Rules\Arrays\AllowedArrayKeysTypes::getType(), 0 passed in D:\a\phpstan-src\phpstan-src\src\Rules\Arrays\InvalidKeyInArrayItemRule.php on line 41 and exactly 1 expected while analysing file D:\a\phpstan-src\phpstan-src\src\Reflection\ClassReflection.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.5, windows-latest)
Process completed with exit code 1.
PHPStan (8.5, windows-latest)
Internal error: Too few arguments to function PHPStan\Rules\Arrays\AllowedArrayKeysTypes::getType(), 0 passed in D:\a\phpstan-src\phpstan-src\src\Rules\Arrays\InvalidKeyInArrayItemRule.php on line 41 and exactly 1 expected while analysing file D:\a\phpstan-src\phpstan-src\src\Reflection\BetterReflection\SourceLocator\AutoloadSourceLocator.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest)
Internal error: Too few arguments to function PHPStan\Rules\Arrays\AllowedArrayKeysTypes::getType(), 0 passed in D:\a\phpstan-src\phpstan-src\src\Rules\Arrays\InvalidKeyInArrayItemRule.php on line 41 and exactly 1 expected while analysing file D:\a\phpstan-src\phpstan-src\src\Analyser\RuleErrorTransformer.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest)
Internal error: Too few arguments to function PHPStan\Rules\Arrays\AllowedArrayKeysTypes::getType(), 0 passed in D:\a\phpstan-src\phpstan-src\src\Rules\Arrays\InvalidKeyInArrayItemRule.php on line 41 and exactly 1 expected while analysing file D:\a\phpstan-src\phpstan-src\src\Reflection\ClassReflection.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest)
Internal error: Too few arguments to function PHPStan\Rules\Arrays\AllowedArrayKeysTypes::getType(), 0 passed in D:\a\phpstan-src\phpstan-src\src\Rules\Arrays\InvalidKeyInArrayItemRule.php on line 41 and exactly 1 expected while analysing file D:\a\phpstan-src\phpstan-src\src\Reflection\ClassReflection.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest)
Internal error: Too few arguments to function PHPStan\Rules\Arrays\AllowedArrayKeysTypes::getType(), 0 passed in D:\a\phpstan-src\phpstan-src\src\Rules\Arrays\InvalidKeyInArrayItemRule.php on line 41 and exactly 1 expected while analysing file D:\a\phpstan-src\phpstan-src\src\Reflection\ClassReflection.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, windows-latest)
Internal error: Too few arguments to function PHPStan\Rules\Arrays\AllowedArrayKeysTypes::getType(), 0 passed in D:\a\phpstan-src\phpstan-src\src\Rules\Arrays\InvalidKeyInArrayItemRule.php on line 42 and exactly 1 expected while analysing file D:\a\phpstan-src\phpstan-src\src\PhpDoc\StubValidator.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.4, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
PHPStan (8.5, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
PHPStan (8.3, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
PHPStan (8.2, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
PHPStan (8.0, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
PHPStan (8.1, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
PHPStan (7.4, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677