False positive "non-empty-array<int, int> might not be a list" when change existing list key #21961
phar.yml
on: pull_request
Compiler Tests
1m 52s
Commit PHAR
0s
Checksum PHAR
0s
PHAR Prefix Diff
0s
Matrix: integration-tests / integration-run-phpstan
Matrix: integration-tests / integration-tests
Matrix: extension-tests / Extension Tests
Matrix: other-tests / Other Tests
integration-tests
/
Integration - Update baselines
0s
Annotations
26 errors and 1 notice
extension-tests / Extension Tests (8.5, phpstan-mockery)
Process completed with exit code 2.
|
extension-tests / Extension Tests (8.2, phpstan-phpunit)
Process completed with exit code 2.
|
extension-tests / Extension Tests (8.2, phpstan-phpunit):
src/Rules/PHPUnit/DataProviderHelper.php#L290
Return type array<string, array{PHPStan\Reflection\ClassReflection|null, string, int}>|null of method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() can be narrowed to array<string, array{PHPStan\Reflection\ClassReflection, string, int}>|null.
|
extension-tests / Extension Tests (8.3, phpstan-phpunit)
Process completed with exit code 2.
|
extension-tests / Extension Tests (8.3, phpstan-phpunit):
src/Rules/PHPUnit/DataProviderHelper.php#L290
Return type array<string, array{PHPStan\Reflection\ClassReflection|null, string, int}>|null of method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() can be narrowed to array<string, array{PHPStan\Reflection\ClassReflection, string, int}>|null.
|
extension-tests / Extension Tests (8.1, phpstan-phpunit)
Process completed with exit code 2.
|
extension-tests / Extension Tests (8.1, phpstan-phpunit):
src/Rules/PHPUnit/DataProviderHelper.php#L290
Return type array<string, array{PHPStan\Reflection\ClassReflection|null, string, int}>|null of method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() can be narrowed to array<string, array{PHPStan\Reflection\ClassReflection, string, int}>|null.
|
extension-tests / Extension Tests (8.0, phpstan-phpunit)
Process completed with exit code 2.
|
extension-tests / Extension Tests (8.0, phpstan-phpunit):
src/Rules/PHPUnit/DataProviderHelper.php#L290
Return type array<string, array{PHPStan\Reflection\ClassReflection|null, string, int}>|null of method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() can be narrowed to array<string, array{PHPStan\Reflection\ClassReflection, string, int}>|null.
|
extension-tests / Extension Tests (8.5, phpstan-phpunit)
Process completed with exit code 2.
|
extension-tests / Extension Tests (8.5, phpstan-phpunit):
src/Rules/PHPUnit/DataProviderHelper.php#L290
Return type array<string, array{PHPStan\Reflection\ClassReflection|null, string, int}>|null of method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() can be narrowed to array<string, array{PHPStan\Reflection\ClassReflection, string, int}>|null.
|
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 / Extension Tests (7.4, phpstan-phpunit)
Process completed with exit code 2.
|
extension-tests / Extension Tests (7.4, phpstan-phpunit):
src/Rules/PHPUnit/DataProviderHelper.php#L290
Return type array<string, array{PHPStan\Reflection\ClassReflection|null, string, int}>|null of method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() can be narrowed to array<string, array{PHPStan\Reflection\ClassReflection, string, int}>|null.
|
extension-tests / Extension Tests (8.4, phpstan-phpunit)
Process completed with exit code 2.
|
extension-tests / Extension Tests (8.4, phpstan-phpunit):
src/Rules/PHPUnit/DataProviderHelper.php#L290
Return type array<string, array{PHPStan\Reflection\ClassReflection|null, string, int}>|null of method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() can be narrowed to array<string, array{PHPStan\Reflection\ClassReflection, string, int}>|null.
|
integration-tests / Integration - doctrine/dbal
Process completed with exit code 1.
|
integration-tests / Integration - doctrine/dbal:
tests/Tools/DsnParserTest.php#L35
Return type iterable<string, array{string, 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, ...}}> of method Doctrine\DBAL\Tests\Tools\DsnParserTest::databaseUrls() can be narrowed to iterable<string, array{string, 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, ...}}>.
|
integration-tests / Integration - doctrine/dbal:
tests/Functional/Query/QueryBuilderTest.php#L340
Return type array<array<string, int|string>> of method Doctrine\DBAL\Tests\Functional\Query\QueryBuilderTest::prepareExpectedRows() can be narrowed to array<array<string, int>>.
|
integration-tests / Integration - sebastianbergmann/phpunit
Process completed with exit code 1.
|
integration-tests / Integration - sebastianbergmann/phpunit:
src/Runner/ErrorHandler.php#L362
Return type list<array{file: string, line: int|null, class?: class-string, function?: string, type: string}> of method PHPUnit\Runner\ErrorHandler::errorStackTrace() can be narrowed to list<array{file: string, line: int, class?: class-string, function?: string, type: string}>.
|
integration-tests / Integration - sebastianbergmann/phpunit:
src/Framework/TestBuilder.php#L153
Return type array{backupGlobals: bool|null, backupGlobalsExcludeList: list<string>, backupStaticProperties: bool|null, backupStaticPropertiesExcludeList: array<string, list<string>>} of method PHPUnit\Framework\TestBuilder::backupSettings() can be narrowed to array{backupGlobals: true|null, backupGlobalsExcludeList: list<string>, backupStaticProperties: true|null, backupStaticPropertiesExcludeList: array<string, list<string>>}.
|
other-tests / Other Tests (7.4, windows-latest, cd e2e/name-conflict
composer install
cp ../../phpstan vendor/p...
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
baselines-bladestan-baseline.neon
|
572 Bytes |
sha256:f2b1644ba60650e9b263bd823e6cc36ba5d4068de83e72bf123f0fd96b785626
|
|
baselines-doctrine-dbal-baseline.neon
|
882 Bytes |
sha256:810909f7d2582e5989086df11c907c0d99901a25464c1b74672f1368dc981429
|
|
baselines-phpunit-baseline.neon
|
887 Bytes |
sha256:52648d6dad651a5079c4e8212f887e4b590b1677a723c7e332414a0880095154
|
|
phar-file
|
3.67 MB |
sha256:993caa94e3cff3b8b2d24d595818cfdb1bce2826b49932541717e956a8911648
|
|
phar-file-checksum
|
3.67 MB |
sha256:663a752aeb17354fba5fe4882d7a6b951c012166e7ea2a49ce3b7f3441aec87c
|
|