Report non existent offset on non empty array #22225
phar.yml
on: pull_request
Compiler Tests
1m 39s
Commit PHAR
0s
Matrix: integration-tests / integration-run-phpstan
integration-tests
/
PMMP Tests
1m 30s
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
33 errors and 3 warnings
|
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.
|
|
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.
|
|
extension-tests / phpstan-mockery (8.5) make tests
Process completed with exit code 2.
|
|
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 - 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.
|
|
extension-tests / phpstan-symfony (8.5) make phpstan
Process completed with exit code 2.
|
|
extension-tests / phpstan-symfony (8.5) make phpstan:
src/Symfony/XmlServiceMapFactory.php#L86
Possibly invalid array key type string|null.
|
|
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 - Roave/BetterReflection
Process completed with exit code 1.
|
|
integration-tests / Integration - Roave/BetterReflection:
src/Util/FileHelper.php#L46
Offset 2 might not exist on non-empty-list{0?: string, 1?: non-empty-string, 2?: non-empty-string}.
|
|
integration-tests / Integration - Roave/BetterReflection:
src/Util/FileHelper.php#L46
Offset 1 might not exist on non-empty-list{0?: string, 1?: non-empty-string, 2?: non-empty-string}.
|
|
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#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/Framework/Adapter/Database/MySQLFactory.php#L102
Parameter #1 $params of static method Doctrine\DBAL\DriverManager::getConnection() expects 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, ...}, non-empty-array<literal-string&non-falsy-string, (array|bool|int|string)> given.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/DevOps/Test/AnnotationTagTester.php#L151
Offset 4 might not exist on non-empty-list{0?: string, 1?: non-empty-string|null, 2?: string|null, 3?: non-empty-string|null, 4?: string|null}.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/DevOps/Test/AnnotationTagTester.php#L151
Offset 3 might not exist on non-empty-list{0?: string, 1?: non-empty-string|null, 2?: string|null, 3?: non-empty-string|null, 4?: string|null}.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/DevOps/Test/AnnotationTagTester.php#L150
Offset 2 might not exist on non-empty-list{0?: string, 1?: non-empty-string|null, 2?: string|null, 3?: non-empty-string|null, 4?: string|null}.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/DevOps/Test/AnnotationTagTester.php#L150
Offset 1 might not exist on non-empty-list{0?: string, 1?: non-empty-string|null, 2?: string|null, 3?: non-empty-string|null, 4?: string|null}.
|
|
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.
|
|
other-tests / Other Tests (7.4, windows-latest, cd e2e/name-conflict
composer install
cp ../../phpstan vendor/p...
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 33763 , Maximum supported length: 32766
|
|
other-tests / Other Tests (7.4, windows-latest, cd e2e/name-conflict
composer install
cp ../../phpstan vendor/p...
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 33763 , Maximum supported length: 32766
|
|
other-tests / Other Tests (7.4, windows-latest, cd e2e/name-conflict
composer install
cp ../../phpstan vendor/p...
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 33763 , Maximum supported length: 32766
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
baselines-better-reflection-baseline.neon
|
363 Bytes |
sha256:ac363fd5b8370e14690079654b854d5d9659c48b4115f26a0ddee6526e857173
|
|
|
baselines-bladestan-baseline.neon
|
572 Bytes |
sha256:18052cdc152415996cbb1e322452b01a18a204b3e65b119385302ced6f8a21de
|
|
|
baselines-doctrine-dbal-baseline.neon
|
978 Bytes |
sha256:a97c6c727f467befd6f3e6e7621f3965e5ede307a3d24e65f6d6e34de3d5d50e
|
|
|
baselines-rector-baseline.neon
|
1.02 KB |
sha256:32816aac2d6b14dad7ff5e3f0387ffa2e1ba6b00f2a198210785fb92b7dd98d7
|
|
|
baselines-shipmonk-rnd-baseline.neon
|
198 Bytes |
sha256:f007833b7cd02273a5553d42c22bb49328fc21c4880db0f2f7ef5ec5a126c95d
|
|
|
baselines-shopware-baseline.neon
|
3.79 KB |
sha256:c3a7c8462c562ef1e8ae8a36f2337e3f922115c5ca055aeb0466df0f54e57ddc
|
|
|
phar-file
|
3.68 MB |
sha256:55086126575cd7440f43ca36b4c8b05fb80d47e7b057e63b665f43c33cf3dc69
|
|
|
phar-file-checksum
|
3.68 MB |
sha256:dcb9ec5186577df127683838d11338aeb562df1dc00621dd35778e46a90420ad
|
|
|
pocketmine-ng-baseline.neon
|
462 Bytes |
sha256:af5d461bfc1339e62aaf1750cb736139a5c76d484f3f98166f63a1664287c0c2
|
|