Fix too wide bool in trivial methods #22397
phar.yml
on: pull_request
Compiler Tests
1m 41s
Commit PHAR
0s
Matrix: integration-tests / integration-run-phpstan
integration-tests
/
PMMP Tests
1m 32s
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
Annotations
45 errors
|
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.
|
|
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.
|
|
integration-tests / Integration - bitExpert/phpstan-magento:
tests/bitExpert/PHPStan/Magento/Rules/SetTemplateDisallowedForBlockRuleUnitTest.php#L80
Parameter #2 $scope of method bitExpert\PHPStan\Magento\Rules\SetTemplateDisallowedForBlockRule::processNode() expects PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope, PHPStan\Analyser\Scope&PHPUnit\Framework\MockObject\MockObject given.
|
|
integration-tests / Integration - bitExpert/phpstan-magento:
tests/bitExpert/PHPStan/Magento/Rules/SetTemplateDisallowedForBlockRuleUnitTest.php#L66
Parameter #2 $scope of method bitExpert\PHPStan\Magento\Rules\SetTemplateDisallowedForBlockRule::processNode() expects PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope, PHPStan\Analyser\Scope&PHPUnit\Framework\MockObject\MockObject given.
|
|
integration-tests / Integration - bitExpert/phpstan-magento:
tests/bitExpert/PHPStan/Magento/Rules/ResourceModelsShouldBeUsedDirectlyRuleUnitTest.php#L78
Parameter #2 $scope of method bitExpert\PHPStan\Magento\Rules\ResourceModelsShouldBeUsedDirectlyRule::processNode() expects PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope, PHPStan\Analyser\Scope&PHPUnit\Framework\MockObject\MockObject given.
|
|
integration-tests / Integration - bitExpert/phpstan-magento:
tests/bitExpert/PHPStan/Magento/Rules/ResourceModelsShouldBeUsedDirectlyRuleUnitTest.php#L64
Parameter #2 $scope of method bitExpert\PHPStan\Magento\Rules\ResourceModelsShouldBeUsedDirectlyRule::processNode() expects PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope, PHPStan\Analyser\Scope&PHPUnit\Framework\MockObject\MockObject given.
|
|
integration-tests / Integration - bitExpert/phpstan-magento:
tests/bitExpert/PHPStan/Magento/Rules/GetCollectionMockMethodNeedsCollectionSubclassRuleUnitTest.php#L89
Parameter #2 $scope of method bitExpert\PHPStan\Magento\Rules\GetCollectionMockMethodNeedsCollectionSubclassRule::processNode() expects PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope, PHPStan\Analyser\Scope&PHPUnit\Framework\MockObject\MockObject given.
|
|
integration-tests / Integration - bitExpert/phpstan-magento:
tests/bitExpert/PHPStan/Magento/Rules/GetCollectionMockMethodNeedsCollectionSubclassRuleUnitTest.php#L75
Parameter #2 $scope of method bitExpert\PHPStan\Magento\Rules\GetCollectionMockMethodNeedsCollectionSubclassRule::processNode() expects PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope, PHPStan\Analyser\Scope&PHPUnit\Framework\MockObject\MockObject given.
|
|
integration-tests / Integration - bitExpert/phpstan-magento:
tests/bitExpert/PHPStan/Magento/Rules/AbstractModelUseServiceContractRuleUnitTest.php#L86
Parameter #2 $scope of method bitExpert\PHPStan\Magento\Rules\AbstractModelUseServiceContractRule::processNode() expects PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope, PHPStan\Analyser\Scope&PHPUnit\Framework\MockObject\MockObject given.
|
|
integration-tests / Integration - bitExpert/phpstan-magento:
tests/bitExpert/PHPStan/Magento/Rules/AbstractModelUseServiceContractRuleUnitTest.php#L72
Parameter #2 $scope of method bitExpert\PHPStan\Magento\Rules\AbstractModelUseServiceContractRule::processNode() expects PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope, PHPStan\Analyser\Scope&PHPUnit\Framework\MockObject\MockObject given.
|
|
integration-tests / Integration - bitExpert/phpstan-magento:
tests/bitExpert/PHPStan/Magento/Rules/AbstractModelRetrieveCollectionViaFactoryRuleUnitTest.php#L79
Parameter #2 $scope of method bitExpert\PHPStan\Magento\Rules\AbstractModelRetrieveCollectionViaFactoryRule::processNode() expects PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope, PHPStan\Analyser\Scope&PHPUnit\Framework\MockObject\MockObject given.
|
|
integration-tests / Integration - bitExpert/phpstan-magento:
tests/bitExpert/PHPStan/Magento/Rules/AbstractModelRetrieveCollectionViaFactoryRuleUnitTest.php#L65
Parameter #2 $scope of method bitExpert\PHPStan\Magento\Rules\AbstractModelRetrieveCollectionViaFactoryRule::processNode() expects PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope, PHPStan\Analyser\Scope&PHPUnit\Framework\MockObject\MockObject 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 / 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 - sebastianbergmann/phpunit
Process completed with exit code 1.
|
|
integration-tests / Integration - sebastianbergmann/phpunit:
src/Runner/PHPT/PhptTestCase.php#L0
Ignored error pattern "Method PHPUnit\Runner\PhptTestCase::usesDataProvider() never returns true so the return type can be changed to false." (return.tooWideBool) in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Runner/PHPT/PhptTestCase.php was not matched in reported errors.
|
|
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/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 / 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 - efabrica-team/phpstan-latte tests
Process completed with exit code 1.
|
|
integration-tests / Integration - shopware/shopware
Canceling since a higher priority waiting request for phar-refs/pull/4444/merge exists
|
|
integration-tests / Integration - shopware/shopware
The operation was canceled.
|
|
Compile PHAR
Canceling since a higher priority waiting request for phar-refs/pull/4444/merge exists
|
|
Compile PHAR
Canceling since a higher priority waiting request for phar-refs/pull/4444/merge exists
|
|
integration-tests / Integration - drupal/drupal
Canceling since a higher priority waiting request for phar-refs/pull/4444/merge exists
|
|
integration-tests / Integration - drupal/drupal
The operation was canceled.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
baselines-bladestan-baseline.neon
|
572 Bytes |
sha256:359d5cc1cd5a8f77967bdcce4e13e86966ebe58fcbc85e570d9c594692666160
|
|
|
baselines-doctrine-dbal-baseline.neon
|
1.22 KB |
sha256:e60f522a5816cae954eebd4aadbbc65f74fe5f19d624c96e4eae754f68f1a5e2
|
|
|
baselines-efabrica-phpstan-latte-baseline.neon
|
982 Bytes |
sha256:90e603261a4af8a577c52800fa3786267140eefb71865638caafc8b8250d2930
|
|
|
baselines-magento-baseline.neon
|
561 Bytes |
sha256:76f5faa3e28dcfad48ab74e26ad5f826168cf2dcf1bf057f82ac9be161c9bb34
|
|
|
baselines-phpunit-baseline.neon
|
1.04 KB |
sha256:2eb53bfa18ef43d642165e72ef3d94881214b46bcd38975cb2551bbc065e8097
|
|
|
phar-file
|
3.68 MB |
sha256:0fc1cb71e5d2edf91c171a16aa988a39bb70d73263fadf008c5a37577dda71b4
|
|
|
phar-file-checksum
|
3.68 MB |
sha256:9eb1d0947b3ec34ee731f79a0c9819f812209fe25dabb790c2c1194e42de0e23
|
|
|
pocketmine-ng-baseline.neon
|
462 Bytes |
sha256:8d904e506db7807392fbed8b3d7997039fef5f2aff2781827a12cb6b4020235a
|
|