Skip to content

PHPStan should not crash on startup when projects' composer.json is invalid #29243

PHPStan should not crash on startup when projects' composer.json is invalid

PHPStan should not crash on startup when projects' composer.json is invalid #29243

Triggered via pull request May 29, 2026 08:25
Status Failure
Total duration 9m 30s
Artifacts 4

phar.yml

on: pull_request
integration-tests  /  Check PHAR checksum
14s
integration-tests / Check PHAR checksum
Download base SHA PHAR
0s
Download base SHA PHAR
extension-tests  /  Check PHAR checksum
15s
extension-tests / Check PHAR checksum
other-tests  /  Check PHAR checksum
16s
other-tests / Check PHAR checksum
Commit PHAR
0s
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
Checksum PHAR
PHAR Prefix Diff
PHAR Prefix Diff
Matrix: extension-tests / tests-extensions
Matrix: other-tests / Other Tests
integration-tests  /  Integration - Update baselines
integration-tests / Integration - Update baselines
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 1 warning, and 1 notice
other-tests / Other Tests (8.1, ubuntu-latest, cd e2e/undiscoverable-symbols-2 composer install ../../phpstan a...: tests/EnumValidatorTest.php#L35
Parameter #1 $class of class App\Validator\Enum constructor expects array{class: class-string<BackedEnum>|class-string<MyCLabs\Enum\Enum<string>>}|class-string<BackedEnum>|class-string<MyCLabs\Enum\Enum<int>>|class-string<MyCLabs\Enum\Enum<string>>, array{class: 'App\\Security\\Authorization\\Role', message: 'myMessage'} given.
other-tests / Other Tests (8.1, ubuntu-latest, cd e2e/undiscoverable-symbols-2 composer install ../../phpstan a...: tests/EnumValidatorTest.php#L22
Parameter #1 $class of class App\Validator\Enum constructor expects array{class: class-string<BackedEnum>|class-string<MyCLabs\Enum\Enum<string>>}|class-string<BackedEnum>|class-string<MyCLabs\Enum\Enum<int>>|class-string<MyCLabs\Enum\Enum<string>>, array{class: 'App\\Security\\Authorization\\Role', message: 'myMessage'} given.
integration-tests / Integration - shopsys/shopsys
Invalid pattern 'e2e/integration/../../shopsys-project-base-baseline.neon'. Relative pathing '.' and '..' is not allowed.
integration-tests / Integration - shopsys/shopsys
Process completed with exit code 1.
integration-tests / Integration - shopsys/shopsys
Process completed with exit code 1.
integration-tests / Integration - Larastan tests PHP 8.4, ^12.48
Process completed with exit code 2.
integration-tests / Integration - Rector tests
Process completed with exit code 1.
integration-tests / Integration - laravel/framework
Process completed with exit code 1.
integration-tests / Integration - laravel/framework: src/Illuminate/Database/Schema/MySqlSchemaState.php#L133
Access to undefined constant Pdo\Mysql::ATTR_SSL_VERIFY_SERVER_CERT.
integration-tests / Integration - shopsys/shopsys
Process completed with exit code 1.
integration-tests / PMMP Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: pmmp/setup-php-action@3c38c259834f945351a662392836d90eb08abff0. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
other-tests / Other Tests (7.4, windows-latest, cd e2e/name-conflict composer install cp ../../phpstan vendor/p...
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026

Artifacts

Produced during runtime
Name Size Digest
baselines-laravel-baseline.neon
349 Bytes
sha256:286a596c93700e488fcfea72bc4e7a261c21e31517fd2c6e681762512639e1a4
baselines-shopsys-baseline.neon
363 Bytes
sha256:9a378ef191bbdebf9eb11fefb29a7f2763fffc968b9f047e461740502d8ed320
phar-file
3.83 MB
sha256:40e0f5eeb641d76eaf0334b31f654b70d81dbceead52c65121348a3ec75691bb
phar-file-checksum
3.83 MB
sha256:f490c536f60d8a282b13a6816e80b419c9da9832b336e4431f1d30d6d07f4961