array_key_exist inference is lost when adding a false condition
#22583
phar.yml
on: pull_request
Compiler Tests
1m 37s
Commit PHAR
0s
Matrix: integration-tests / integration-run-phpstan
integration-tests
/
PMMP Tests
1m 18s
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
101 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 - 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 / Integration - efabrica-team/phpstan-latte:
src/LatteTemplateResolver/Nette/NetteApplicationUIControl.php#L15
Return type array<'object'|class-string> of method Efabrica\PHPStanLatte\LatteTemplateResolver\Nette\NetteApplicationUIControl::getSupportedClasses() can be narrowed to array<class-string>.
|
|
integration-tests / Integration - efabrica-team/phpstan-latte:
src/LatteContext/Collector/VariableCollector/SetParametersToTemplateVariableCollector.php#L42
Return type array<Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedError|Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedVariable>|null of method Efabrica\PHPStanLatte\LatteContext\Collector\VariableCollector\SetParametersToTemplateVariableCollector::collect() can be narrowed to array<Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedVariable>|null.
|
|
integration-tests / Integration - efabrica-team/phpstan-latte:
src/LatteContext/Collector/VariableCollector/AssignToTemplateVariableCollector.php#L52
Return type array<Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedError|Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedVariable>|null of method Efabrica\PHPStanLatte\LatteContext\Collector\VariableCollector\AssignToTemplateVariableCollector::collect() can be narrowed to array<Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedVariable>|null.
|
|
integration-tests / Integration - efabrica-team/phpstan-latte:
src/LatteContext/Collector/VariableCollector/AssignToArrayOfTemplateVariablesCollector.php#L50
Return type array<Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedError|Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedVariable>|null of method Efabrica\PHPStanLatte\LatteContext\Collector\VariableCollector\AssignToArrayOfTemplateVariablesCollector::collect() can be narrowed to array<Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedVariable>|null.
|
|
integration-tests / Integration - efabrica-team/phpstan-latte:
src/LatteContext/Collector/VariableCollector/AddToTemplateVariableCollector.php#L45
Return type array<Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedError|Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedVariable>|null of method Efabrica\PHPStanLatte\LatteContext\Collector\VariableCollector\AddToTemplateVariableCollector::collect() can be narrowed to array<Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedVariable>|null.
|
|
integration-tests / Integration - efabrica-team/phpstan-latte:
src/LatteContext/Collector/TemplatePathCollector/SetFileTemplatePathCollector.php#L44
Return type array<Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedError|string>|null of method Efabrica\PHPStanLatte\LatteContext\Collector\TemplatePathCollector\SetFileTemplatePathCollector::collect() can be narrowed to array<string>|null.
|
|
integration-tests / Integration - efabrica-team/phpstan-latte:
src/LatteContext/CollectedData/CollectedTemplateRender.php#L121
Return type array<Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedError|Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedTemplateRender> of method Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedTemplateRender::buildAll() can be narrowed to array<Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedTemplateRender>.
|
|
integration-tests / Integration - efabrica-team/phpstan-latte:
src/Compiler/Compiler/Latte3Compiler.php#L54
Return type array<string, array{object|string, string}|(callable(): mixed)|string> of method Efabrica\PHPStanLatte\Compiler\Compiler\Latte3Compiler::getFunctions() can be narrowed to array<string, array{string, string}|(callable(): mixed)|string>.
|
|
integration-tests / Integration - efabrica-team/phpstan-latte:
src/Compiler/Compiler/Latte3Compiler.php#L47
Return type array<string, array{object|string, string}|(callable(): mixed)|string> of method Efabrica\PHPStanLatte\Compiler\Compiler\Latte3Compiler::getFilters() can be narrowed to array<string, array{string, string}|(callable(): mixed)|string>.
|
|
integration-tests / Integration - efabrica-team/phpstan-latte:
src/Compiler/Compiler/Latte2Compiler.php#L97
Return type array<string, array{object|string, string}|(callable(): mixed)|string> of method Efabrica\PHPStanLatte\Compiler\Compiler\Latte2Compiler::getFunctions() can be narrowed to array<string, array{string, string}|(callable(): mixed)|string>.
|
|
integration-tests / Integration - bitExpert/phpstan-magento:
src/bitExpert/PHPStan/Magento/Autoload/ProxyAutoloader.php#L51
Parameter #1 $key of method PHPStan\Cache\Cache::load() expects non-empty-string, string given.
|
|
integration-tests / Integration - bitExpert/phpstan-magento:
src/bitExpert/PHPStan/Magento/Autoload/FactoryAutoloader.php#L54
Parameter #1 $key of method PHPStan\Cache\Cache::load() expects non-empty-string, string given.
|
|
integration-tests / Integration - bitExpert/phpstan-magento:
src/bitExpert/PHPStan/Magento/Autoload/FactoryAutoloader.php#L53
Parameter #1 $key of method PHPStan\Cache\Cache::save() expects non-empty-string, string given.
|
|
integration-tests / Integration - bitExpert/phpstan-magento:
src/bitExpert/PHPStan/Magento/Autoload/FactoryAutoloader.php#L51
Parameter #1 $key of method PHPStan\Cache\Cache::load() expects non-empty-string, string given.
|
|
integration-tests / Integration - bitExpert/phpstan-magento:
src/bitExpert/PHPStan/Magento/Autoload/ExtensionInterfaceAutoloader.php#L70
Parameter #1 $key of method PHPStan\Cache\Cache::load() expects non-empty-string, string given.
|
|
integration-tests / Integration - bitExpert/phpstan-magento:
src/bitExpert/PHPStan/Magento/Autoload/ExtensionInterfaceAutoloader.php#L69
Parameter #1 $key of method PHPStan\Cache\Cache::save() expects non-empty-string, string given.
|
|
integration-tests / Integration - bitExpert/phpstan-magento:
src/bitExpert/PHPStan/Magento/Autoload/ExtensionInterfaceAutoloader.php#L67
Parameter #1 $key of method PHPStan\Cache\Cache::load() expects non-empty-string, string given.
|
|
integration-tests / Integration - bitExpert/phpstan-magento:
src/bitExpert/PHPStan/Magento/Autoload/ExtensionAutoloader.php#L71
Parameter #1 $key of method PHPStan\Cache\Cache::load() expects non-empty-string, string given.
|
|
integration-tests / Integration - bitExpert/phpstan-magento:
src/bitExpert/PHPStan/Magento/Autoload/ExtensionAutoloader.php#L70
Parameter #1 $key of method PHPStan\Cache\Cache::save() expects non-empty-string, string given.
|
|
integration-tests / Integration - bitExpert/phpstan-magento:
src/bitExpert/PHPStan/Magento/Autoload/ExtensionAutoloader.php#L68
Parameter #1 $key of method PHPStan\Cache\Cache::load() expects non-empty-string, string given.
|
|
integration-tests / Integration - nextras/orm
Process completed with exit code 1.
|
|
integration-tests / Integration - nextras/orm:
src/Entity/AbstractEntity.php#L241
Call to an undefined method object::set().
|
|
integration-tests / Integration - nextras/orm:
src/Entity/AbstractEntity.php#L239
Call to an undefined method object::onEntityRepositoryAttach().
|
|
integration-tests / Integration - nextras/orm:
src/Entity/AbstractEntity.php#L237
Call to an undefined method object::onEntityAttach().
|
|
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>>}.
|
|
integration-tests / Integration - doctrine/orm
Process completed with exit code 1.
|
|
integration-tests / Integration - doctrine/orm:
src/Internal/Hydration/AbstractHydrator.php#L358
Method Doctrine\ORM\Internal\Hydration\AbstractHydrator::gatherRowData() should return array{data: array<array>, newObjects?: array<array{class: ReflectionClass, args: array, obj: object}>, scalars?: array} but returns array{data: array<non-empty-array>, newObjects: array<array{class?: mixed, args: non-empty-array, obj: mixed}>, scalars?: non-empty-array}.
|
|
integration-tests / Integration - Rector tests
Process completed with exit code 1.
|
|
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/Logging/MiddlewareTest.php#L111
Parameter #1 $record of method Psr\Log\Test\TestLogger::hasDebug() expects array{level: string, message: string|Stringable, context: array{exception?: Throwable}}|string, array{message: 'Executing statement…', context: array{sql: 'SELECT :value', params: array{value: 'Test'}, types: array{value: Doctrine\DBAL\ParameterType::STRING}}} given.
|
|
integration-tests / Integration - doctrine/dbal:
tests/Logging/MiddlewareTest.php#L93
Parameter #1 $record of method Psr\Log\Test\TestLogger::hasDebug() expects array{level: string, message: string|Stringable, context: array{exception?: Throwable}}|string, array{message: 'Executing statement…', context: array{sql: 'SELECT ?, ?', params: array{1: 42}, types: array{1: Doctrine\DBAL\ParameterType::INTEGER}}} given.
|
|
integration-tests / Integration - doctrine/dbal:
tests/Logging/MiddlewareTest.php#L67
Parameter #1 $record of method Psr\Log\Test\TestLogger::hasDebug() expects array{level: string, message: string|Stringable, context: array{exception?: Throwable}}|string, array{message: 'Executing statement…', context: array{sql: 'DROP DATABASE…'}} given.
|
|
integration-tests / Integration - doctrine/dbal:
tests/Logging/MiddlewareTest.php#L56
Parameter #1 $record of method Psr\Log\Test\TestLogger::hasDebug() expects array{level: string, message: string|Stringable, context: array{exception?: Throwable}}|string, array{message: 'Executing query: …', context: array{sql: 'SELECT 1'}} given.
|
|
integration-tests / Integration - doctrine/dbal:
tests/Logging/MiddlewareTest.php#L40
Parameter #1 $record of method Psr\Log\Test\TestLogger::hasInfo() expects array{level: string, message: string|Stringable, context: array{exception?: Throwable}}|string, array{message: 'Connecting with…', context: array{params: array{user: 'admin', password: '<redacted>'}}} given.
|
|
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>>.
|
|
other-tests / Other Tests (8.1, ubuntu-latest, cd e2e/phalcon5
../../phpstan
, phalcon5, memory_limit=256M)
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
other-tests / Other Tests (ubuntu-latest, 7.4, cd e2e/dup-classes
../../phpstan
)
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
extension-tests / phpstan-nette (8.4) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
extension-tests / phpstan-nette (8.0) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
extension-tests / phpstan-nette (8.3) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
extension-tests / phpstan-mockery (8.3) make phpstan
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
extension-tests / phpstan-strict-rules (7.4) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
extension-tests / phpstan-strict-rules (7.4) make tests
The operation was canceled.
|
|
extension-tests / phpstan-strict-rules (8.1) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
extension-tests / phpstan-strict-rules (8.1) make tests
The operation was canceled.
|
|
extension-tests / phpstan-strict-rules (8.2) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
extension-tests / phpstan-strict-rules (8.2) make tests
The operation was canceled.
|
|
extension-tests / phpstan-strict-rules (8.4) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
extension-tests / phpstan-strict-rules (8.4) make tests
The operation was canceled.
|
|
integration-tests / Integration - Sylius/Sylius
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
integration-tests / Integration - Sylius/Sylius
The operation was canceled.
|
|
extension-tests / phpstan-strict-rules (8.3) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
extension-tests / phpstan-strict-rules (8.3) make tests
The operation was canceled.
|
|
extension-tests / phpstan-strict-rules (8.0) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
extension-tests / phpstan-strict-rules (8.0) make tests
The operation was canceled.
|
|
integration-tests / Integration - Larastan tests PHP 8.3, ^11.15
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
integration-tests / Integration - Larastan tests PHP 8.3, ^11.15
The operation was canceled.
|
|
integration-tests / PMMP Tests
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
integration-tests / PMMP Tests
The operation was canceled.
|
|
integration-tests / Integration - efabrica-team/phpstan-latte tests
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
integration-tests / Integration - efabrica-team/phpstan-latte tests
The operation was canceled.
|
|
integration-tests / Integration - briannesbitt/Carbon
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
integration-tests / Integration - briannesbitt/Carbon
The operation was canceled.
|
|
extension-tests / phpstan-doctrine (7.4) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
extension-tests / phpstan-doctrine (7.4) make tests
The operation was canceled.
|
|
extension-tests / phpstan-doctrine (8.2) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
extension-tests / phpstan-doctrine (8.2) make tests
The operation was canceled.
|
|
extension-tests / phpstan-doctrine (8.0) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
extension-tests / phpstan-doctrine (8.0) make tests
The operation was canceled.
|
|
integration-tests / Integration - rectorphp/rector-src
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
integration-tests / Integration - rectorphp/rector-src
The operation was canceled.
|
|
integration-tests / Integration - shopsys/shopsys
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
integration-tests / Integration - shopsys/shopsys
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
integration-tests / Integration - shopsys/shopsys
The operation was canceled.
|
|
integration-tests / Integration - shopsys/shopsys
The operation was canceled.
|
|
integration-tests / Integration - laravel/framework
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
integration-tests / Integration - laravel/framework
The operation was canceled.
|
|
extension-tests / phpstan-doctrine (8.1) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
extension-tests / phpstan-doctrine (8.1) make tests
The operation was canceled.
|
|
integration-tests / Integration - shopware/shopware
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
integration-tests / Integration - shopware/shopware
The operation was canceled.
|
|
extension-tests / phpstan-strict-rules (8.5) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
extension-tests / phpstan-strict-rules (8.5) make tests
The operation was canceled.
|
|
integration-tests / Integration - drupal/drupal
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
integration-tests / Integration - drupal/drupal
The operation was canceled.
|
|
Compile PHAR
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
Compile PHAR
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
Compile PHAR
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
|
Compile PHAR
Canceling since a higher priority waiting request for phar-refs/pull/4473/merge exists
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
baselines-bladestan-baseline.neon
|
572 Bytes |
sha256:df46635a40a6cd1635a6821b64dd7f121434e61d73a53de97038b0a9f037fbf0
|
|
|
baselines-doctrine-dbal-baseline.neon
|
1.51 KB |
sha256:47b4dd58b9bb391004a30fbfd390690dca8fd7d2b2141581a4c8e9c7e374b080
|
|
|
baselines-doctrine-orm-baseline.neon
|
1.86 KB |
sha256:d28b8ccf393a6954815fd71d3e5493b2a484cd8514b6f7f6d1fdbf673bdcce2c
|
|
|
baselines-efabrica-phpstan-latte-baseline.neon
|
982 Bytes |
sha256:099b28c8e123d0044c78417cf7de4f8ef2735fb5c8b3bafdaa7621db2c549c92
|
|
|
baselines-magento-baseline.neon
|
670 Bytes |
sha256:d48143e4cf55763610669ff45c2bfd4898a16008480f0426772ccebf0beb80e0
|
|
|
baselines-nextras-baseline.neon
|
319 Bytes |
sha256:3df4d6471763e49dc54ddbafc0a4e0d7690572a53856e193b5ddf2e67115626f
|
|
|
baselines-phpunit-baseline.neon
|
1.06 KB |
sha256:40d14ddc8f064e7f1f2022b27976d75958df535346d1588bf7690366ca78d539
|
|
|
phar-file
|
3.69 MB |
sha256:6319a17f5aacd59c938f3e5b1e5e015f999021a216da6211aa3c28281c7217d2
|
|
|
phar-file-checksum
|
3.69 MB |
sha256:a2396bd0c5b390df45091f21433e181c3f210eb9bf049a6967fd78283d283222
|
|