Skip to content

Improve type narrowing after string functions #15886

Improve type narrowing after string functions

Improve type narrowing after string functions #15886

Triggered via pull request September 3, 2024 19:47
@staabmstaabm
synchronize #3390
staabm:nones
Status Failure
Total duration 8m 43s
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
4s
integration-tests / Check PHAR checksum
extension-tests  /  Check PHAR checksum
3s
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

25 errors
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.
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 - composer/composer
Process completed with exit code 1.
integration-tests / Integration - composer/composer
Process completed with exit code 1.
extension-tests / Extension Tests (8.4, phpstan-nette)
Process completed with exit code 2.
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: 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:18aacbc64bc28476c31f40a2d62f7ac65685a7a17560bd3e90e797a1181423e3
baselines-composer-baseline.neon Expired
1.84 KB
sha256:7ba4cd951a176af208399dc64aea122343bd37c2da8184e2defb2965c8a4276b
baselines-drupal-baseline.neon Expired
1.61 KB
sha256:c19dccd1603716a3539e8ae635e2fa4195ee3274b51f87f56a7d75686c070078
baselines-magento-baseline.neon Expired
158 Bytes
sha256:eea3cdb10bf739bdff107a743ceee54ef956428310df1170c054defaffe61a72
baselines-prestashop-baseline.neon Expired
11.9 KB
sha256:52fc8fec0efbfa7246c2b0f43ce4baf851218f3b2e239baa74cd5dd767c41432
baselines-react-promise-baseline.neon Expired
371 Bytes
sha256:93bbd9363d40cc396f2ee0a8da183f8f5787d4a65c84feb0366d5ea37cf5f618
baselines-shopware-baseline.neon Expired
1.63 KB
sha256:72dc0db82bdaf574b5c555c26ece3c744ba9b43e6e7aa391d8fdeed530deda89
phar-file Expired
3.47 MB
sha256:53940c2c878278f8b156d6210a31f44a87b0f98ded10081105835b7615facc5d
phar-file-checksum Expired
3.47 MB
sha256:40576172fbf8a703f1ff0115061cd4d1059462253eb3dd85dfb8658e3efcf063
pocketmine-ng-baseline-8.1.neon Expired
818 Bytes
sha256:522a145bb64042f365d4d8477d7cb5e69f2592c72c5d5d679d8c78db61692290
pocketmine-ng-baseline-8.2.neon Expired
818 Bytes
sha256:f32b4a615beb247994a8191c1ed03ffe64ddf1e3cd5c442b967dbc593bd2df2d