Skip to content

Report unparseable regexp when compilable #16680

Report unparseable regexp when compilable

Report unparseable regexp when compilable #16680

Triggered via pull request September 27, 2024 11:54
Status Failure
Total duration 6m 23s
Artifacts 16

phar.yml

on: pull_request
integration-tests  /  Check PHAR checksum
4s
integration-tests / Check PHAR checksum
extension-tests  /  Check PHAR checksum
4s
extension-tests / Check PHAR checksum
other-tests  /  Check PHAR checksum
4s
other-tests / Check PHAR checksum
Commit PHAR
0s
Commit PHAR
Matrix: integration-tests / integration-run-phpstan
Matrix: integration-tests / integration-tests
Matrix: integration-tests / PMMP Tests
Matrix: extension-tests / Extension Tests
Matrix: other-tests / Other Tests
integration-tests  /  Integration - Update baselines
0s
integration-tests / Integration - Update baselines
Fit to window
Zoom out
Zoom in

Annotations

75 errors
integration-tests / Integration - drupal/drupal
Process completed with exit code 1.
integration-tests / Integration - drupal/drupal
Process completed with exit code 1.
integration-tests / Integration - TomasVotruba/bladestan: src/Compiler/PhpContentExtractor.php#L35
Unreachable statement - code above always terminates.
integration-tests / Integration - TomasVotruba/bladestan: src/TemplateCompiler/Rules/TemplateRulesRegistry.php#L15
Class TomasVotruba\Bladestan\TemplateCompiler\Rules\TemplateRulesRegistry extends @Final class PHPStan\Rules\DirectRegistry.
integration-tests / Integration - TomasVotruba/bladestan
Process completed with exit code 1.
integration-tests / Integration - reactphp/promise: src/Internal/FulfilledPromise.php#L61
Method React\Promise\Internal\FulfilledPromise::finally() should return React\Promise\PromiseInterface<T> but returns React\Promise\PromiseInterface<(T of mixed)|null>.
integration-tests / Integration - reactphp/promise: src/Promise.php#L99
Method React\Promise\Promise::finally() should return React\Promise\PromiseInterface<T> but returns React\Promise\PromiseInterface<(T of mixed)|null>.
integration-tests / Integration - reactphp/promise
Process completed with exit code 1.
integration-tests / Integration - laravel/framework
Process completed with exit code 1.
integration-tests / Integration - nextras/orm: src/Bridges/NetteDI/PhpDocRepositoryFinder.php#L79
Regex pattern cannot be parsed by PHPStan: Unexpected token "|" (alternation) at line 1 and column 25: ^ [ \t*]* @Property(?:|-read) [ \t]+ ([^\s$]+) [ \t]+ \$ (\w+) () ↑
integration-tests / Integration - nextras/orm: src/Entity/Reflection/MetadataParser.php#L175
Regex pattern cannot be parsed by PHPStan: Unexpected token "|" (alternation) at line 1 and column 20: ^[ \t*]* @Property(|-read|-write)[ \t]+([^\s$]+)[ \t]+\$(\w+)(.*)$ ↑
integration-tests / Integration - nextras/orm
Process completed with exit code 1.
integration-tests / Integration - larastan/larastan: stubs/10.0.0/Contracts/Database/Eloquent.stub#L10
PHPDoc tag @mixin contains generic class Illuminate\Database\Eloquent\Builder but does not specify its types: TModelClass
integration-tests / Integration - larastan/larastan: stubs/common/Facades.stub#L12
PHPDoc tag @mixin contains unknown class Illuminate\Contracts\Redis\Factory.
integration-tests / Integration - larastan/larastan: stubs/common/Facades.stub#L12
PHPDoc tag @mixin contains unknown class Illuminate\Redis\RedisManager.
integration-tests / Integration - larastan/larastan: stubs/common/Facades.stub#L19
PHPDoc tag @mixin contains unknown class Illuminate\Database\Connection.
integration-tests / Integration - larastan/larastan: stubs/common/Facades.stub#L19
PHPDoc tag @mixin contains unknown class Illuminate\Database\ConnectionInterface.
integration-tests / Integration - larastan/larastan: stubs/common/Facades.stub#L19
PHPDoc tag @mixin contains unknown class Illuminate\Database\DatabaseManager.
integration-tests / Integration - larastan/larastan: stubs/common/Facades.stub#L25
PHPDoc tag @mixin contains unknown class Illuminate\Queue\Queue.
integration-tests / Integration - larastan/larastan: stubs/common/Facades.stub#L25
PHPDoc tag @mixin contains unknown class Illuminate\Queue\QueueManager.
integration-tests / Integration - larastan/larastan: stubs/common/Log/Logger.stub#L13
PHPDoc tag @mixin contains unknown class Monolog\Logger.
integration-tests / Integration - larastan/larastan: stubs/common/Pagination.stub#L10
Type mixed in generic type Illuminate\Support\Collection<mixed, mixed> in PHPDoc tag @mixin is not subtype of template type TKey of (int|string) of class Illuminate\Support\Collection.
integration-tests / Integration - larastan/larastan
Process completed with exit code 1.
integration-tests / Integration - bitExpert/phpstan-magento
Process completed with exit code 1.
integration-tests / Integration - bitExpert/phpstan-magento
Process completed with exit code 1.
integration-tests / Integration - shopware/shopware
Process completed with exit code 1.
integration-tests / Integration - shopware/shopware
Process completed with exit code 1.
integration-tests / Integration - efabrica-team/phpstan-latte: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\FileRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Error/ErrorBuilder.php was not matched in reported errors.
integration-tests / Integration - efabrica-team/phpstan-latte: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\IdentifierRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Error/ErrorBuilder.php was not matched in reported errors.
integration-tests / Integration - efabrica-team/phpstan-latte: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\LineRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Error/ErrorBuilder.php was not matched in reported errors.
integration-tests / Integration - efabrica-team/phpstan-latte: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\MetadataRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Error/ErrorBuilder.php was not matched in reported errors.
integration-tests / Integration - efabrica-team/phpstan-latte: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\NonIgnorableRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Error/ErrorBuilder.php was not matched in reported errors.
integration-tests / Integration - efabrica-team/phpstan-latte: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\TipRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Error/ErrorBuilder.php was not matched in reported errors.
integration-tests / Integration - efabrica-team/phpstan-latte: src/LinkProcessor/LinkParamsProcessor.php#L1
Ignored error pattern #^Parameter \#1 \$value of static method PhpParser\\BuilderHelpers\:\:normalizeValue\(\) expects array\|bool\|float\|int\|PhpParser\\Node\\Expr\|string\|null, mixed given\.$# in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/LinkProcessor/LinkParamsProcessor.php was not matched in reported errors.
integration-tests / Integration - efabrica-team/phpstan-latte
Process completed with exit code 1.
integration-tests / Integration - Larastan tests PHP 8.3, ^10.28
Process completed with exit code 1.
integration-tests / Integration - sebastianbergmann/phpunit: src/TextUI/Configuration/SourceMapper.php#L33
No error with identifier assign.propertyType is reported on line 33.
integration-tests / Integration - sebastianbergmann/phpunit
Process completed with exit code 1.
integration-tests / Integration - Rector tests
Process completed with exit code 1.
integration-tests / Integration - Larastan tests PHP 8.3, ^11.0
Process completed with exit code 1.
extension-tests / Extension Tests (8.4, phpstan-nette 1.1.x)
Process completed with exit code 2.
integration-tests / Integration - composer/composer
Process completed with exit code 1.
integration-tests / PMMP Tests (8.2, git clone https://github.com/pmmp/PocketMine-MP.git e2e/integration/repo cd e2e/...: src/MemoryManager.php#L117
Offset 1 does not exist on array{0?: string, 1?: numeric-string, 2?: 'G'|'g'|'K'|'k'|'M'|'m'}.
integration-tests / PMMP Tests (8.2, git clone https://github.com/pmmp/PocketMine-MP.git e2e/integration/repo cd e2e/...: src/MemoryManager.php#L121
Offset 2 does not exist on array{0?: string, 1?: numeric-string, 2?: 'G'|'g'|'K'|'k'|'M'|'m'}.
integration-tests / PMMP Tests (8.2, git clone https://github.com/pmmp/PocketMine-MP.git e2e/integration/repo cd e2e/...: src/utils/Git.php#L42
Strict comparison using !== between string and false will always evaluate to true.
integration-tests / PMMP Tests (8.1, git clone https://github.com/pmmp/PocketMine-MP.git e2e/integration/repo cd e2e/...: src/MemoryManager.php#L117
Offset 1 does not exist on array{0?: string, 1?: numeric-string, 2?: 'G'|'g'|'K'|'k'|'M'|'m'}.
integration-tests / PMMP Tests (8.1, git clone https://github.com/pmmp/PocketMine-MP.git e2e/integration/repo cd e2e/...: src/MemoryManager.php#L121
Offset 2 does not exist on array{0?: string, 1?: numeric-string, 2?: 'G'|'g'|'K'|'k'|'M'|'m'}.
integration-tests / PMMP Tests (8.1, git clone https://github.com/pmmp/PocketMine-MP.git e2e/integration/repo cd e2e/...: src/utils/Git.php#L42
Strict comparison using !== between string and false will always evaluate to true.
integration-tests / Integration - efabrica-team/phpstan-latte tests
Process completed with exit code 1.
integration-tests / Integration - PrestaShop/PrestaShop: config/config.inc.php#L70
Path in include_once() "/home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/config/settings_custom.inc.php" is not a file or it does not exist.
integration-tests / Integration - PrestaShop/PrestaShop: config/smarty.config.inc.php#L44
Path in include() "/home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/classes/Smarty/SmartyCacheResourceMysql.php" is not a file or it does not exist.
integration-tests / Integration - PrestaShop/PrestaShop: src/Core/Util/String/StringModifier.php#L41
Regex pattern cannot be parsed by PHPStan: Unexpected token "?" (zero_or_one) at line 1 and column 2: (?)(?<=[a-z])(?=[A-Z]) | (?<=[A-Z])(?=[A-Z][a-z]) ↑
integration-tests / Integration - PrestaShop/PrestaShop
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size Digest
baselines-bladestan-baseline.neon Expired
393 Bytes
sha256:0335019607ad1c5e69e958e66024855ee5bab89e6e1e38399b8ea85e95f19f7d
baselines-composer-baseline.neon Expired
501 Bytes
sha256:b75c9339cad774bd678e64413e0a99a33bbfb6d12b80be488d535f49f47f83ad
baselines-drupal-baseline.neon Expired
1.61 KB
sha256:f6057bda8a3c4b5fe6f24a16aaa0dde9191ff79497555f3889c946100d6fb832
baselines-efabrica-phpstan-latte-baseline.neon Expired
829 Bytes
sha256:a081c7f3d794baab4f4dfc2e18f58691a34d6c21f168f08732e4a29e3a1e1ffc
baselines-larastan-baseline.neon Expired
160 Bytes
sha256:29352dbab32ff5ba60dd615c8640989a6b0cbaeb1cd0ef9b0648cd7dec95f0ff
baselines-laravel-types-baseline.neon Expired
200 Bytes
sha256:d49ed97abeb2172d2d72badb3fae1ed5afeb2a1f98b3d18c68914938e0800e3a
baselines-magento-baseline.neon Expired
158 Bytes
sha256:59900344b03eacb8b06f85f1f7083b2db522211e876bb7c603cc7ce3f14a880d
baselines-nextras-baseline.neon Expired
1.56 KB
sha256:43c0cface65225edbcf3db16457c77b303d9fbf54fa592b87eb1d409354022f1
baselines-phpunit-baseline.neon Expired
188 Bytes
sha256:17c4a6a8aad330493185a08b53d5e49d6e702dc1f95b20cf0bed453c94944cc7
baselines-prestashop-baseline.neon Expired
11.8 KB
sha256:8a2247ba0e19e1f4d3e6ae16f3313966d7bcafc6364e7a016986bd906a4486f9
baselines-react-promise-baseline.neon Expired
371 Bytes
sha256:b678edb2428adc19abfdddaf807c0313799fbdc5c62807eea68b9bc131a6bfbc
baselines-shopware-baseline.neon Expired
1.63 KB
sha256:9dc48e5e955f32201bcd394bb8a326158fadaf7030090394039aa66a58b2cd62
phar-file Expired
3.47 MB
sha256:0d0ce6f63f9bcb458c8bf34f507a6c0cea217460cbbd5cb2db6e2887941a3976
phar-file-checksum Expired
3.47 MB
sha256:dd83cb0c8dfae27c7d20d29330ab51b5102bd5c9f74717666e93f2dd5e4a0c31
pocketmine-ng-baseline-8.1.neon Expired
988 Bytes
sha256:be0a79a45e582d198270517fdd29f057e696375ad96b886f5c3468bd8613e180
pocketmine-ng-baseline-8.2.neon Expired
988 Bytes
sha256:231edc92defe44509c183e192280668e63b4e698657a8accb04dcbc5e9ba13e3