Fix phpstan/phpstan#9844: Calling a static method over non-generic class-string results in ErrorType #24979
phar.yml
on: pull_request
Compiler Tests
1m 53s
Commit PHAR
Matrix: integration-tests / integration-run-phpstan
integration-tests
/
PMMP Tests
1m 3s
Matrix: integration-tests / integration-tests
Checksum PHAR
0s
PHAR Prefix Diff
0s
Matrix: extension-tests / tests-extensions
Matrix: other-tests / Other Tests
integration-tests
/
Integration - Update baselines
0s
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
|
|