Skip to content

Fix conditional types in array_map() return value #16092

Fix conditional types in array_map() return value

Fix conditional types in array_map() return value #16092

Triggered via pull request September 9, 2024 19:11
Status Failure
Total duration 6m 42s
Artifacts 12
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
3s
integration-tests / Check PHAR checksum
extension-tests  /  Check PHAR checksum
6s
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

43 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 - 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 - 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 - Larastan tests PHP 8.3, ^11.0
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 - 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.
extension-tests / Extension Tests (8.4, phpstan-nette 1.1.x)
Process completed with exit code 2.
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.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 / 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:234ef1c78c067b2f180203f2c1b8d7303089f6e665d9aa1c18944748020eec27
baselines-drupal-baseline.neon Expired
1.61 KB
sha256:545b457c907f495a64c5a21f27321d80f973f7c6206728058ba8bf4aabdd2eab
baselines-larastan-baseline.neon Expired
160 Bytes
sha256:020e296d422f39e4fa1e90449e5393c55c410bfc4b16eb47e771c11164a53af1
baselines-laravel-types-baseline.neon Expired
200 Bytes
sha256:09135d114adfd472c417f25c93dac037a26b94d801af0117d90b556ffe55eed4
baselines-magento-baseline.neon Expired
158 Bytes
sha256:d9c290f3d279ba0b016490c9490941ea1f06715eecf6c9bf93c6913f55a6680d
baselines-prestashop-baseline.neon Expired
11.6 KB
sha256:00618f927a0157cbb719a6ceb53a2e987e7d49677563a1e3e19f4a3f6ea6b79b
baselines-react-promise-baseline.neon Expired
371 Bytes
sha256:5c4e69b355b13565f7125030fa3ea146b2d71a3883fd857a8f85ac21387e6091
baselines-shopware-baseline.neon Expired
1.63 KB
sha256:f19a11f73e5b5fc5e18b8fb08e694c5278251b8814844b0c0aac75a963642513
phar-file Expired
3.46 MB
sha256:1678e166b876c2c4aa9ba73c4a41fc9067c677cfb60d4b2f59c06c82cbaea548
phar-file-checksum Expired
3.46 MB
sha256:0d4139757badec37a07855339235aac06d4701a58641b4e5709bd1d349baf7e9
pocketmine-ng-baseline-8.1.neon Expired
818 Bytes
sha256:784872754abb51bc093e6fce1114f4113f7cd004b04a52e8f403b982ee6e472f
pocketmine-ng-baseline-8.2.neon Expired
818 Bytes
sha256:dbf3e89a9d78f06fce623f9366f8d4c6a217df440b42e5f14a5e28a65a430438