Skip to content

Report bool properties as too wide when only used with true/false #21340

Report bool properties as too wide when only used with true/false

Report bool properties as too wide when only used with true/false #21340

Triggered via pull request August 30, 2025 10:25
Status Failure
Total duration 8m 29s
Artifacts 6

phar.yml

on: pull_request
Download base SHA PHAR
0s
Download base SHA PHAR
integration-tests  /  Check PHAR checksum
6s
integration-tests / Check PHAR checksum
extension-tests  /  Check PHAR checksum
5s
extension-tests / Check PHAR checksum
other-tests  /  Check PHAR checksum
6s
other-tests / Check PHAR checksum
Commit PHAR
0s
Commit PHAR
Checksum PHAR
0s
Checksum PHAR
PHAR Prefix Diff
0s
PHAR Prefix Diff
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
integration-tests / Integration - Update baselines
Fit to window
Zoom out
Zoom in

Annotations

35 errors and 1 notice
integration-tests / Integration - rectorphp/rector-src
Process completed with exit code 1.
integration-tests / Integration - rectorphp/rector-src
Process completed with exit code 1.
integration-tests / Integration - rectorphp/rector-src
Cannot apply patch 0 (https://raw.githubusercontent.com/rectorphp/vendor-patches/main/patches/symfony-console-helper-helper-php.patch)!
integration-tests / Integration - Rector tests
Process completed with exit code 1.
integration-tests / Integration - Rector tests
Cannot apply patch 0 (https://raw.githubusercontent.com/rectorphp/vendor-patches/main/patches/symfony-console-helper-helper-php.patch)!
integration-tests / Integration - bladestan/bladestan
Process completed with exit code 1.
integration-tests / Integration - bladestan/bladestan: src/TemplateCompiler/PHPStan/FileAnalyserProvider.php#L37
Method Bladestan\TemplateCompiler\PHPStan\FileAnalyserProvider::provide() throws checked exception PHPStan\DependencyInjection\MissingServiceException but it's missing from the PHPDoc @throws tag.
integration-tests / Integration - laravel/framework
Process completed with exit code 1.
integration-tests / Integration - laravel/framework: types/Support/Helpers.php#L66
Unreachable statement - code above always terminates.
integration-tests / Integration - laravel/framework: types/Support/Helpers.php#L47
Unreachable statement - code above always terminates.
integration-tests / Integration - Larastan tests PHP 8.3, ^11.15
Process completed with exit code 1.
integration-tests / Integration - sebastianbergmann/phpunit
Process completed with exit code 1.
integration-tests / Integration - sebastianbergmann/phpunit: src/Runner/PHPT/PhptTestCase.php#L283
Method PHPUnit\Runner\PhptTestCase::usesDataProvider() never returns true so it can be removed from the return type.
integration-tests / Integration - sebastianbergmann/phpunit: src/Runner/ErrorHandler.php#L80
Method PHPUnit\Runner\ErrorHandler::__invoke() never returns true so it can be removed from the return type.
extension-tests / Extension Tests (8.1, phpstan-strict-rules)
Process completed with exit code 2.
extension-tests / Extension Tests (8.1, phpstan-strict-rules): tests/Rules/Functions/ArrayFilterStrictRuleTest.php#L16
Property PHPStan\Rules\Functions\ArrayFilterStrictRuleTest::$checkNullables (bool) is never assigned false so it can be removed from the property type.
extension-tests / Extension Tests (8.1, phpstan-strict-rules): tests/Rules/Functions/ArrayFilterStrictRuleTest.php#L14
Property PHPStan\Rules\Functions\ArrayFilterStrictRuleTest::$treatPhpDocTypesAsCertain (bool) is never assigned false so it can be removed from the property type.
extension-tests / Extension Tests (8.0, phpstan-strict-rules)
Process completed with exit code 2.
extension-tests / Extension Tests (8.0, phpstan-strict-rules): tests/Rules/Functions/ArrayFilterStrictRuleTest.php#L16
Property PHPStan\Rules\Functions\ArrayFilterStrictRuleTest::$checkNullables (bool) is never assigned false so it can be removed from the property type.
extension-tests / Extension Tests (8.0, phpstan-strict-rules): tests/Rules/Functions/ArrayFilterStrictRuleTest.php#L14
Property PHPStan\Rules\Functions\ArrayFilterStrictRuleTest::$treatPhpDocTypesAsCertain (bool) is never assigned false so it can be removed from the property type.
extension-tests / Extension Tests (8.5, phpstan-strict-rules)
Process completed with exit code 2.
extension-tests / Extension Tests (8.5, phpstan-strict-rules): tests/Rules/Functions/ArrayFilterStrictRuleTest.php#L16
Property PHPStan\Rules\Functions\ArrayFilterStrictRuleTest::$checkNullables (bool) is never assigned false so it can be removed from the property type.
extension-tests / Extension Tests (8.5, phpstan-strict-rules): tests/Rules/Functions/ArrayFilterStrictRuleTest.php#L14
Property PHPStan\Rules\Functions\ArrayFilterStrictRuleTest::$treatPhpDocTypesAsCertain (bool) is never assigned false so it can be removed from the property type.
extension-tests / Extension Tests (8.2, phpstan-strict-rules)
Process completed with exit code 2.
extension-tests / Extension Tests (8.2, phpstan-strict-rules): tests/Rules/Functions/ArrayFilterStrictRuleTest.php#L16
Property PHPStan\Rules\Functions\ArrayFilterStrictRuleTest::$checkNullables (bool) is never assigned false so it can be removed from the property type.
extension-tests / Extension Tests (8.2, phpstan-strict-rules): tests/Rules/Functions/ArrayFilterStrictRuleTest.php#L14
Property PHPStan\Rules\Functions\ArrayFilterStrictRuleTest::$treatPhpDocTypesAsCertain (bool) is never assigned false so it can be removed from the property type.
extension-tests / Extension Tests (7.4, phpstan-strict-rules)
Process completed with exit code 2.
extension-tests / Extension Tests (7.4, phpstan-strict-rules): tests/Rules/Functions/ArrayFilterStrictRuleTest.php#L16
Property PHPStan\Rules\Functions\ArrayFilterStrictRuleTest::$checkNullables (bool) is never assigned false so it can be removed from the property type.
extension-tests / Extension Tests (7.4, phpstan-strict-rules): tests/Rules/Functions/ArrayFilterStrictRuleTest.php#L14
Property PHPStan\Rules\Functions\ArrayFilterStrictRuleTest::$treatPhpDocTypesAsCertain (bool) is never assigned false so it can be removed from the property type.
extension-tests / Extension Tests (8.4, phpstan-strict-rules)
Process completed with exit code 2.
extension-tests / Extension Tests (8.4, phpstan-strict-rules): tests/Rules/Functions/ArrayFilterStrictRuleTest.php#L16
Property PHPStan\Rules\Functions\ArrayFilterStrictRuleTest::$checkNullables (bool) is never assigned false so it can be removed from the property type.
extension-tests / Extension Tests (8.4, phpstan-strict-rules): tests/Rules/Functions/ArrayFilterStrictRuleTest.php#L14
Property PHPStan\Rules\Functions\ArrayFilterStrictRuleTest::$treatPhpDocTypesAsCertain (bool) is never assigned false so it can be removed from the property type.
extension-tests / Extension Tests (8.3, phpstan-strict-rules)
Process completed with exit code 2.
extension-tests / Extension Tests (8.3, phpstan-strict-rules): tests/Rules/Functions/ArrayFilterStrictRuleTest.php#L16
Property PHPStan\Rules\Functions\ArrayFilterStrictRuleTest::$checkNullables (bool) is never assigned false so it can be removed from the property type.
extension-tests / Extension Tests (8.3, phpstan-strict-rules): tests/Rules/Functions/ArrayFilterStrictRuleTest.php#L14
Property PHPStan\Rules\Functions\ArrayFilterStrictRuleTest::$treatPhpDocTypesAsCertain (bool) is never assigned false so it can be removed from the property type.
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
403 Bytes
sha256:14477833bb239f32985201534dde123009256fa45f1d37cd20fe29d84c219da8
baselines-laravel-types-baseline.neon
317 Bytes
sha256:925f6ebe8b4ba3be19fdeacd4d7b3a484263a7c8cf851c60825bc15cf22398eb
baselines-phpunit-baseline.neon
648 Bytes
sha256:66883db6a38345873c622ecb6aa027693f67feff641bc3ba2f162775919659e1
baselines-rector-baseline.neon
506 Bytes
sha256:755201c583efc5e48cc8b5c78956071e7ca28309bd84e38175bbd40735e31b3e
phar-file
3.64 MB
sha256:e5019b67c1aafe839966285af55e8e0eaface98d45be95646279da326af2975b
phar-file-checksum
3.64 MB
sha256:3c7df236ef8a7fe50776c71433194bdff98731fcd50dab80063baab5f5780819