Skip to content

Narrow preg_match/preg_match_all subject string type when match is truthy #29263

Narrow preg_match/preg_match_all subject string type when match is truthy

Narrow preg_match/preg_match_all subject string type when match is truthy #29263

Triggered via pull request May 29, 2026 12:22
Status Failure
Total duration 10m 13s
Artifacts 7

phar.yml

on: pull_request
integration-tests  /  Check PHAR checksum
16s
integration-tests / Check PHAR checksum
Download base SHA PHAR
Download base SHA PHAR
extension-tests  /  Check PHAR checksum
16s
extension-tests / Check PHAR checksum
other-tests  /  Check PHAR checksum
14s
other-tests / Check PHAR checksum
Commit PHAR
Commit PHAR
Matrix: integration-tests / integration-run-phpstan
integration-tests  /  PMMP Tests
1m 9s
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

25 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 - nikic/PHP-Parser
Process completed with exit code 1.
integration-tests / Integration - nikic/PHP-Parser: lib/PhpParser/ParserAbstract.php#L790
Unary operation "+" on non-empty-string results in an error.
integration-tests / Integration - nikic/PHP-Parser: lib/PhpParser/ParserAbstract.php#L0
Ignored error pattern #^Unary operation "\+" on string results in an error\.$# (unaryOp.invalid) in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/lib/PhpParser/ParserAbstract.php was not matched in reported errors.
integration-tests / Integration - doctrine/orm
Process completed with exit code 1.
integration-tests / Integration - doctrine/orm: src/UnitOfWork.php#L2397
Call to method hydrate() of deprecated class Symfony\Component\VarExporter\Hydrator: since Symfony 8.1, use deepclone_hydrate() from the deepclone extension instead
integration-tests / Integration - bitExpert/phpstan-magento
Process completed with exit code 1.
integration-tests / Integration - bitExpert/phpstan-magento: src/bitExpert/PHPStan/Magento/Autoload/ProxyAutoloader.php#L0
Ignored error pattern #^Parameter \#1 \$key of method PHPStan\\Cache\\Cache\:\:save\(\) expects non\-empty\-string, string given\.$# (argument.type) in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/bitExpert/PHPStan/Magento/Autoload/ProxyAutoloader.php was not matched in reported errors.
integration-tests / Integration - bitExpert/phpstan-magento: src/bitExpert/PHPStan/Magento/Autoload/ProxyAutoloader.php#L0
Ignored error pattern #^Parameter \#1 \$key of method PHPStan\\Cache\\Cache\:\:load\(\) expects non\-empty\-string, string given\.$# (argument.type) in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/bitExpert/PHPStan/Magento/Autoload/ProxyAutoloader.php was not matched in reported errors.
integration-tests / Integration - bitExpert/phpstan-magento: src/bitExpert/PHPStan/Magento/Autoload/FactoryAutoloader.php#L0
Ignored error pattern #^Parameter \#1 \$key of method PHPStan\\Cache\\Cache\:\:save\(\) expects non\-empty\-string, string given\.$# (argument.type) in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/bitExpert/PHPStan/Magento/Autoload/FactoryAutoloader.php was not matched in reported errors.
integration-tests / Integration - bitExpert/phpstan-magento: src/bitExpert/PHPStan/Magento/Autoload/FactoryAutoloader.php#L0
Ignored error pattern #^Parameter \#1 \$key of method PHPStan\\Cache\\Cache\:\:load\(\) expects non\-empty\-string, string given\.$# (argument.type) in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/bitExpert/PHPStan/Magento/Autoload/FactoryAutoloader.php was not matched in reported errors.
integration-tests / Integration - bitExpert/phpstan-magento: src/bitExpert/PHPStan/Magento/Autoload/ExtensionInterfaceAutoloader.php#L0
Ignored error pattern #^Parameter \#1 \$key of method PHPStan\\Cache\\Cache\:\:save\(\) expects non\-empty\-string, string given\.$# (argument.type) in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/bitExpert/PHPStan/Magento/Autoload/ExtensionInterfaceAutoloader.php was not matched in reported errors.
integration-tests / Integration - bitExpert/phpstan-magento: src/bitExpert/PHPStan/Magento/Autoload/ExtensionInterfaceAutoloader.php#L0
Ignored error pattern #^Parameter \#1 \$key of method PHPStan\\Cache\\Cache\:\:load\(\) expects non\-empty\-string, string given\.$# (argument.type) in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/bitExpert/PHPStan/Magento/Autoload/ExtensionInterfaceAutoloader.php was not matched in reported errors.
integration-tests / Integration - bitExpert/phpstan-magento: src/bitExpert/PHPStan/Magento/Autoload/ExtensionAutoloader.php#L0
Ignored error pattern #^Parameter \#1 \$key of method PHPStan\\Cache\\Cache\:\:save\(\) expects non\-empty\-string, string given\.$# (argument.type) in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/bitExpert/PHPStan/Magento/Autoload/ExtensionAutoloader.php was not matched in reported errors.
integration-tests / Integration - bitExpert/phpstan-magento: src/bitExpert/PHPStan/Magento/Autoload/ExtensionAutoloader.php#L0
Ignored error pattern #^Parameter \#1 \$key of method PHPStan\\Cache\\Cache\:\:load\(\) expects non\-empty\-string, string given\.$# (argument.type) in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/bitExpert/PHPStan/Magento/Autoload/ExtensionAutoloader.php was not matched in reported errors.
integration-tests / Integration - Larastan tests PHP 8.4, ^12.48
Process completed with exit code 2.
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 - 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-doctrine-orm-baseline.neon
1.37 KB
sha256:cfb1324c4a3e2fcca139ec6c6d6b737686632879cec3e2e8629d0d44b569b30d
baselines-laravel-baseline.neon
349 Bytes
sha256:38925b5b537cb34b81d4c022870c0e930b41149cacb4d3a17737161f9bb43158
baselines-magento-baseline.neon
574 Bytes
sha256:6d2b76f44719ff9bcbcb9079029395d9670c33e7b5e43427cb6fa45343d60408
baselines-php-parser-baseline.neon
321 Bytes
sha256:4d6b5b333484ec8f2f778b485ab7d0442fbe79632b6b4ad135d242baafbad262
baselines-shopsys-baseline.neon
363 Bytes
sha256:c15b8e18ba7a2e04823e286128d1c70f49198a0ed19df95fb873cfd31b135c70
phar-file
3.83 MB
sha256:e3e404b6593009b060ce7c600c9c07f019d78a6e216c0f89b14b651a58f2ed2f
phar-file-checksum
3.83 MB
sha256:fb40be254320698f931327dcabc15d10831ef0ca555ec78c23c6958abc04e985