Skip to content

Fix #8950: define() expressions before use statements breaks class autoloading #25005

Fix #8950: define() expressions before use statements breaks class autoloading

Fix #8950: define() expressions before use statements breaks class autoloading #25005

Triggered via pull request February 17, 2026 06:09
Status Failure
Total duration 8m 29s
Artifacts 6

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
5s
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 13s
integration-tests / PMMP Tests
Matrix: integration-tests / integration-tests
Checksum PHAR
Checksum PHAR
PHAR Prefix Diff
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

12 errors and 3 warnings
integration-tests / Integration - shipmonk/phpstan-rules tests
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
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 / 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 / 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 - 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: 33792 , 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: 33792 , 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: 33792 , Maximum supported length: 32766

Artifacts

Produced during runtime
Name Size Digest
baselines-laravel-baseline.neon
384 Bytes
sha256:5792a1d18a49c8d6ff8653300e5b2aea4742f429e2c123984ff14d5d8f2a56c5
baselines-shipmonk-dead-code-detector-baseline.neon
228 Bytes
sha256:d3e98add5a794556d597319fe7ca22690459a944348cecdb44a5219c923484de
baselines-shopware-baseline.neon
9.84 KB
sha256:a9a2162466501bc6ba043e2acd766ef763d316dd789aad62a482ba69b923504f
phar-file
3.73 MB
sha256:8c9556fe82425cfc4b35f300e82ba6be3639fa76aa313b123fcd08d4799b046c
phar-file-checksum
3.73 MB
sha256:5a0cbbe335e5d37225c29628888f2bee922812835180fb85c5c3039f47b9775e
pocketmine-ng-baseline.neon
342 Bytes
sha256:18da073db3b2b6124f3954ba3a9d45b5d5a0267ba03b0f78bf453f782e90de5f