Skip to content

add generic types for array_values #16336

add generic types for array_values

add generic types for array_values #16336

Triggered via pull request September 20, 2024 10:40
Status Failure
Total duration 15m 46s
Artifacts 14

phar.yml

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

64 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 - drupal/drupal
Process completed with exit code 1.
integration-tests / Integration - drupal/drupal
Process completed with exit code 1.
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: src/LinkProcessor/LinkParamsProcessor.php#L85
Parameter #1 $value of static method PhpParser\BuilderHelpers::normalizeValue() expects array|bool|float|int|PhpParser\Node\Expr|string|UnitEnum|null, mixed given.
integration-tests / Integration - efabrica-team/phpstan-latte
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 - laravel/framework
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.
integration-tests / Integration - Larastan tests PHP 8.3, ^11.0
Process completed with exit code 1.
integration-tests / Integration - Rector tests
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.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/Adapter/Attribute/AdminAttributeGeneratorControllerWrapper.php#L67
Parameter #1 $input of function array_values contains unresolvable type.
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:66ef73dbed718451faa285401f06beee507350ce63a6a06c910142f0eca95718
baselines-drupal-baseline.neon Expired
1.61 KB
sha256:03d80eb3ba447449296e3ab9945a3fda3add6d340083ed1e21ed8ae022001806
baselines-efabrica-phpstan-latte-baseline.neon Expired
829 Bytes
sha256:47afe50107f142b24150c14c2149b346b359ca09c2233d79edb7085ef5d2dcf4
baselines-larastan-baseline.neon Expired
160 Bytes
sha256:d8522295158e7510784b2a9edc1875d34cac568fc69bd3004bc00aaab5f28e7b
baselines-laravel-types-baseline.neon Expired
200 Bytes
sha256:3782d5da35ad2b1eefb40ac12464fea26a5fe6e55316349f38d61fc6fc6708e2
baselines-magento-baseline.neon Expired
158 Bytes
sha256:cc9b9c4c17969ec3396e329706f1e454ecb5a7000d3be1598281b3b68b07e415
baselines-phpunit-baseline.neon Expired
188 Bytes
sha256:b300cf59e4e75dd458b0e83891e75de3f554a16bb9d26817155e879e54faf4c1
baselines-prestashop-baseline.neon Expired
11.7 KB
sha256:6fee58955bf2e4570f02a7ada9558ea1d9cdc603523314af06edf8fff2198718
baselines-react-promise-baseline.neon Expired
371 Bytes
sha256:d6feef5047b1655bf8cd2952f679ccaa7542b9f3cb6632980d93ffe660c734ff
baselines-shopware-baseline.neon Expired
1.63 KB
sha256:9596ce599185b0ba2afe6824374a3bbb3878c4e32141825a7abd53bc23b253b8
phar-file Expired
3.46 MB
sha256:4a266898656c1e5e8197d1552ff2b8119dd551618e136cc17817e98ffb9b37f0
phar-file-checksum Expired
3.46 MB
sha256:efd37c8f105f798e3f9669ef2104a4caaeb8261c02f5908c08f7c88eb5a62d48
pocketmine-ng-baseline-8.1.neon Expired
988 Bytes
sha256:9adef274b7c9981a1fde01612dbb7baab8c8c247bd39c905b1177b07c40c3402
pocketmine-ng-baseline-8.2.neon Expired
988 Bytes
sha256:9d39d1500fb46bd2a123a548a3a30c5abb933866860fdf27e548fa3ccf179390