Skip to content

Fix phpstan/phpstan#9844: Calling a static method over non-generic class-string results in ErrorType #24979

Fix phpstan/phpstan#9844: Calling a static method over non-generic class-string results in ErrorType

Fix phpstan/phpstan#9844: Calling a static method over non-generic class-string results in ErrorType #24979

Triggered via pull request February 17, 2026 00:15
Status Failure
Total duration 8m 37s
Artifacts 7

phar.yml

on: pull_request
integration-tests  /  Check PHAR checksum
7s
integration-tests / Check PHAR checksum
Download base SHA PHAR
Download base SHA PHAR
extension-tests  /  Check PHAR checksum
7s
extension-tests / Check PHAR checksum
other-tests  /  Check PHAR checksum
6s
other-tests / Check PHAR checksum
Commit PHAR
Commit PHAR
Matrix: integration-tests / integration-run-phpstan
integration-tests  /  PMMP Tests
1m 3s
integration-tests / PMMP Tests
Matrix: integration-tests / integration-tests
Checksum PHAR
0s
Checksum PHAR
PHAR Prefix Diff
0s
PHAR Prefix Diff
Matrix: extension-tests / tests-extensions
Matrix: other-tests / Other Tests
integration-tests  /  Integration - Update baselines
0s
integration-tests / Integration - Update baselines
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 3 warnings
integration-tests / Integration - shipmonk/phpstan-rules tests
Process completed with exit code 1.
integration-tests / Integration - efabrica-team/phpstan-latte
Process completed with exit code 1.
integration-tests / Integration - efabrica-team/phpstan-latte: src/Collector/Collector/AbstractCollector.php#L33
Method Efabrica\PHPStanLatte\Collector\Collector\AbstractCollector::loadData() should return array<T of Efabrica\PHPStanLatte\Collector\CollectedData\CollectedValueObject> but returns list.
integration-tests / Integration - shipmonk-rnd/dead-code-detector
Process completed with exit code 1.
integration-tests / Integration - shipmonk-rnd/dead-code-detector
Process completed with exit code 1.
integration-tests / Integration - shipmonk-rnd/dead-code-detector
Internal error: PHPStan\Analyser\NodeScopeResolver::processExprNode(): Argument #4 ($storage) must be of type PHPStan\Analyser\ExpressionResultStorage, Closure given, called in /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/vendor/shipmonk/phpstan-rules/src/Rule/ForbidCheckedExceptionInCallableRule.php on line 239 while analysing file /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Compatibility/BackwardCompatibilityChecker.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
integration-tests / PMMP Tests
Process completed with exit code 1.
integration-tests / PMMP Tests: tools/generate-item-upgrade-schema.php#L80
Argument of an invalid type mixed supplied for foreach, only iterables are supported.
integration-tests / Integration - laravel/framework
Process completed with exit code 1.
integration-tests / Integration - laravel/framework: src/Illuminate/Http/Client/PendingRequest.php#L1081
Variable $shouldRetry on left side of ?? always exists and is always null.
integration-tests / Integration - laravel/framework: src/Illuminate/Foundation/Console/RouteListCommand.php#L406
Variable $action on left side of ?? always exists and is not nullable.
integration-tests / Integration - shopware/shopware
Process completed with exit code 1.
integration-tests / Integration - shopware/shopware: src/Core/Framework/Adapter/Asset/FallbackUrlPackage.php#L55
Method Shopware\Core\Framework\Adapter\Asset\FallbackUrlPackage::applyFallback() should return list<string> but returns list<bool|float|int|string|null>.
integration-tests / Integration - shopware/shopware: src/Core/Content/Media/Commands/GenerateThumbnailsCommand.php#L229
PHPDoc tag `@var` with type array<array<string>> is not subtype of native type non-empty-array<mixed>.
other-tests / Other Tests (7.4, windows-latest, cd e2e/name-conflict composer install cp ../../phpstan vendor/p...
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 33794 , Maximum supported length: 32766
other-tests / Other Tests (7.4, windows-latest, cd e2e/name-conflict composer install cp ../../phpstan vendor/p...
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 33794 , Maximum supported length: 32766
other-tests / Other Tests (7.4, windows-latest, cd e2e/name-conflict composer install cp ../../phpstan vendor/p...
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 33794 , Maximum supported length: 32766

Artifacts

Produced during runtime
Name Size Digest
baselines-efabrica-phpstan-latte-baseline.neon
673 Bytes
sha256:429e2e23af5127f42c3a12d425938474c2d931c46bd6bfcdb4fbb613a767611c
baselines-laravel-baseline.neon
384 Bytes
sha256:1793c0faf0729e8d0bc067f5f4b9abc6ae29bc950e75c52bcb91f8a2f84110ad
baselines-shipmonk-dead-code-detector-baseline.neon
228 Bytes
sha256:fd1076601368296ba5d7d33e45a94bb5e0a0976c2925f15117e57c7ef3466777
baselines-shopware-baseline.neon
9.84 KB
sha256:2c3970a3cafe784d289f78333c7eda0cdbd21df3ccb1efce21515092f8edb58f
phar-file
3.74 MB
sha256:11f645adaa0897d2f89102e7a7e8310b58959db9bb271a98128d9bf407a07062
phar-file-checksum
3.73 MB
sha256:ef8114bd6d486184ebfa3d66970834795dad56e2838f224d17e30379e279970d
pocketmine-ng-baseline.neon
342 Bytes
sha256:c75025f9b94fba90afb77dbf42cd0d929555cd8d19b1bb66e975bdc123c5db61