!array_key_exists() should imply array for PHP8+
#22253
phar.yml
on: pull_request
Compiler Tests
1m 41s
Commit PHAR
0s
Matrix: integration-tests / integration-run-phpstan
integration-tests
/
PMMP Tests
1m 31s
Matrix: integration-tests / integration-tests
Checksum PHAR
0s
PHAR Prefix Diff
0s
Matrix: extension-tests / tests-extensions
Matrix: other-tests / Other Tests
integration-tests
/
Integration - Update baselines
0s
Annotations
27 errors
|
other-tests / Other Tests (ubuntu-latest, 7.4, cd e2e/php8
../../phpstan analyse -l 8 -c php80.neon test.php
)
Process completed with exit code 1.
|
|
other-tests / Other Tests (ubuntu-latest, 7.4, cd e2e/php8
../../phpstan analyse -l 8 -c php80.neon test.php
):
test.php#L11
Negated boolean expression is always true.
|
|
other-tests / Other Tests (ubuntu-latest, 8.0, cd e2e/php8
../../phpstan analyse -l 8 -c php80.neon test.php
)
Process completed with exit code 1.
|
|
other-tests / Other Tests (ubuntu-latest, 8.0, cd e2e/php8
../../phpstan analyse -l 8 -c php80.neon test.php
):
test.php#L11
Negated boolean expression is always true.
|
|
integration-tests / Integration - shipmonk-rnd/phpstan-rules
Process completed with exit code 1.
|
|
integration-tests / Integration - shipmonk-rnd/phpstan-rules:
src/Rule/AllowComparingOnlyComparableTypesRule.php#L142
No error with identifier offsetAccess.notFound is reported on line 142.
|
|
integration-tests / Integration - doctrine/dbal
Process completed with exit code 1.
|
|
integration-tests / Integration - doctrine/dbal:
src/Connections/PrimaryReadReplicaConnection.php#L250
Parameter #1 $input of function array_rand expects non-empty-array, array<array{application_name?: string, charset?: string, dbname?: string, defaultTableOptions?: array<string, mixed>, driver?: 'ibm_db2'|'mysqli'|'oci8'|'pdo_mysql'|'pdo_oci'|'pdo_pgsql'|'pdo_sqlite'|'pdo_sqlsrv'|'pgsql'|'sqlite3'|'sqlsrv', driverClass?: class-string<Doctrine\DBAL\Driver>, driverOptions?: array<mixed>, host?: string, ...}> given.
|
|
integration-tests / Integration - bladestan/bladestan
Process completed with exit code 1.
|
|
integration-tests / Integration - bladestan/bladestan:
src/TemplateCompiler/Rules/TemplateRulesRegistry.php#L63
Possibly invalid array key type mixed.
|
|
integration-tests / Integration - bladestan/bladestan:
src/TemplateCompiler/PHPStan/FileAnalyserProvider.php#L59
Method Bladestan\TemplateCompiler\PHPStan\FileAnalyserProvider::provide() throws checked exception PHPStan\DependencyInjection\MissingServiceException but it's missing from the PHPDoc `@throws` tag.
|
|
integration-tests / Integration - bladestan/bladestan:
src/NodeAnalyzer/ViewVariableAnalyzer.php#L50
Method Bladestan\NodeAnalyzer\ViewVariableAnalyzer::resolve() throws checked exception ValueError but it's missing from the PHPDoc `@throws` tag.
|
|
integration-tests / Integration - bladestan/bladestan:
src/Compiler/LivewireTagCompiler.php#L116
Dead catch - RuntimeException is never thrown in the try block.
|
|
integration-tests / PMMP Tests
Process completed with exit code 1.
|
|
integration-tests / PMMP Tests:
src/crash/CrashDump.php#L242
Possibly invalid array key type float|int<0, max>.
|
|
integration-tests / Integration - rectorphp/rector-src
Process completed with exit code 1.
|
|
integration-tests / Integration - efabrica-team/phpstan-latte tests
Process completed with exit code 1.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Framework/Demodata/Generator/CustomerGenerator.php#L186
Parameter #1 $input of function array_rand expects non-empty-array, list<array{id: non-falsy-string, countryId: non-falsy-string, salutationId: non-falsy-string, title: string, firstName: string, lastName: mixed, street: mixed, zipcode: mixed, ...}> given.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Framework/Demodata/Generator/CustomerGenerator.php#L185
Parameter #1 $input of function array_rand expects non-empty-array, list<array{id: non-falsy-string, countryId: non-falsy-string, salutationId: non-falsy-string, title: string, firstName: string, lastName: mixed, street: mixed, zipcode: mixed, ...}> given.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Framework/Demodata/Generator/CustomerGenerator.php#L184
Parameter #1 $input of function array_rand expects non-empty-array, list<mixed> given.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Framework/Demodata/Generator/CustomerGenerator.php#L117
Parameter #1 $input of function array_rand expects non-empty-array, list<mixed> given.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Framework/Demodata/Generator/CustomerGenerator.php#L106
Parameter #1 $input of function array_rand expects non-empty-array, list<mixed> given.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Framework/Demodata/Generator/CustomerGenerator.php#L98
Parameter #1 $input of function array_rand expects non-empty-array, list<mixed> given.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Framework/Demodata/Generator/CustomFieldGenerator.php#L86
Parameter #1 $input of function array_rand expects non-empty-array, array<string, array<string, mixed>> given.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Content/Cms/Command/CreatePageCommand.php#L172
Parameter #1 $input of function array_rand expects non-empty-array, array<string> given.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Content/Cms/Command/CreatePageCommand.php#L158
Parameter #1 $input of function array_rand expects non-empty-array, array<string> given.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Content/Cms/Command/CreatePageCommand.php#L144
Parameter #1 $input of function array_rand expects non-empty-array, array<string> given.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
baselines-bladestan-baseline.neon
|
572 Bytes |
sha256:a4d6064407eeb0228fd412514b518956985e3a4d611ba7b2d250672f00577ae8
|
|
|
baselines-doctrine-dbal-baseline.neon
|
978 Bytes |
sha256:68187ec111d802dec11c7a72887bd3697381ba6f3a26dc9571e9ae356c477ac1
|
|
|
baselines-rector-baseline.neon
|
1.02 KB |
sha256:9258e4e0edf6d254c2645bdd563c463760e5b85217a06816df61c73cdc2afc67
|
|
|
baselines-shipmonk-rnd-baseline.neon
|
198 Bytes |
sha256:2383a0ae65dd692b975910775aac38074cd227ef24a7c44c3c2294827ba61a69
|
|
|
baselines-shopware-baseline.neon
|
3.37 KB |
sha256:e4b88d940bca5fdc950a46ff06810811ee07ce7d5385e202811163add1d61471
|
|
|
phar-file
|
3.68 MB |
sha256:d8f709f740e1b5cfab17482e20ec51c74aea3bbcb95063793c9d9a784a4591e9
|
|
|
phar-file-checksum
|
3.68 MB |
sha256:aba67e43e3c51445abe6d453a4ad741c6f97afce56a6563546b51dab0e392ab6
|
|
|
pocketmine-ng-baseline.neon
|
462 Bytes |
sha256:9e83deda6b1ca473e63084309bc35de944fa7232dd56f4e2b4b6033065cb36a6
|
|