Skip to content

Remove null-return on preg_replace() with valid patterns #15839

Remove null-return on preg_replace() with valid patterns

Remove null-return on preg_replace() with valid patterns #15839

Triggered via pull request September 2, 2024 18:13
Status Failure
Total duration 6m 57s
Artifacts 11
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

phar.yml

on: pull_request
integration-tests  /  Check PHAR checksum
6s
integration-tests / Check PHAR checksum
extension-tests  /  Check PHAR checksum
6s
extension-tests / Check PHAR checksum
other-tests  /  Check PHAR checksum
3s
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

31 errors
integration-tests / Integration - composer/composer
Process completed with exit code 1.
integration-tests / Integration - composer/composer
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 - 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 - shopware/shopware
Process completed with exit code 1.
integration-tests / Integration - shopware/shopware
Process completed with exit code 1.
extension-tests / Extension Tests (8.4, phpstan-nette)
Process completed with exit code 2.
integration-tests / Integration - drupal/drupal
Process completed with exit code 1.
integration-tests / Integration - drupal/drupal
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.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 / Integration - efabrica-team/phpstan-latte tests
Process completed with exit code 1.
integration-tests / Integration - PrestaShop/PrestaShop: classes/module/Module.php#L2903
Strict comparison using === between array<mixed, mixed> and null will always evaluate to false.
integration-tests / Integration - PrestaShop/PrestaShop: classes/module/Module.php#L2915
Strict comparison using === between array<mixed, mixed> and null will always evaluate to false.
integration-tests / Integration - PrestaShop/PrestaShop: classes/module/Module.php#L2927
Strict comparison using === between array<mixed, mixed> and null will always evaluate to false.
integration-tests / Integration - PrestaShop/PrestaShop: classes/module/Module.php#L2975
Strict comparison using === between array<mixed, mixed> and null will always evaluate to false.
integration-tests / Integration - PrestaShop/PrestaShop: classes/module/Module.php#L2983
Strict comparison using === between array<mixed, mixed> and null will always evaluate to false.
integration-tests / Integration - PrestaShop/PrestaShop: classes/module/Module.php#L2991
Strict comparison using === between array<mixed, mixed> and null will always evaluate to false.
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
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size Digest
baselines-bladestan-baseline.neon Expired
393 Bytes
sha256:fb77f3a96b2bae214f456e7934f90305cde0fe30e2d3500129bc5ec8dbf5b9c5
baselines-composer-baseline.neon Expired
1.84 KB
sha256:d9fd769ca47eb3f4a18d2eeef1f74f77fc139d7a6fa7613b52675fe525a95dd2
baselines-drupal-baseline.neon Expired
1.61 KB
sha256:7d63a9be060896e9f24e775def93b74c9b666a887931334fd78a00bfd7313643
baselines-magento-baseline.neon Expired
158 Bytes
sha256:01b0721faa2c73645cf06ceaf56be40029161b0a8da821a6b8403c76134c4d4a
baselines-prestashop-baseline.neon Expired
11.9 KB
sha256:950dfdc528f6a1c2ad8fa9624681db7c32a4f8b10fa9b0332a3051c5fae1cec2
baselines-react-promise-baseline.neon Expired
371 Bytes
sha256:f691a09511a3ed8e8095f2d898c627a5c9054b59eba863f744331e50878cfd79
baselines-shopware-baseline.neon Expired
1.63 KB
sha256:8282816b89d23316f6457948ca7cbf42b2a4570b5f28cd0c7d8446bb2600dbb1
phar-file Expired
3.46 MB
sha256:de3518787f69a8bb1d41307a9e645f447360a1bf639b8f1d49928beb11c53079
phar-file-checksum Expired
3.46 MB
sha256:01fdb5e64e575eca6096fc35835657f91d950eabfd21ee08850b983c756aab6e
pocketmine-ng-baseline-8.1.neon Expired
818 Bytes
sha256:775e2c8a940d9ec19e5189af9f918f23a7db4397ef457d0f730c3555c09b3863
pocketmine-ng-baseline-8.2.neon Expired
818 Bytes
sha256:8a62291fdafd46803025c86ee9a22b8714f38133f9b9d218c508998b8547357d