Skip to content

Fix InvalidComparisonOperationRule for UnionType #20821

Fix InvalidComparisonOperationRule for UnionType

Fix InvalidComparisonOperationRule for UnionType #20821

Triggered via pull request July 26, 2025 21:41
Status Failure
Total duration 6m 31s
Artifacts 7

phar.yml

on: pull_request
Download base SHA PHAR
Download base SHA PHAR
integration-tests  /  Check PHAR checksum
3s
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
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

15 errors and 3 warnings
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 - shipmonk-rnd/phpstan-rules
Process completed with exit code 1.
integration-tests / Integration - shipmonk-rnd/phpstan-rules
Process completed with exit code 1.
integration-tests / Integration - shipmonk-rnd/phpstan-rules: tests/Rule/EnforceReadonlyPublicPropertyRuleTest.php#L37
No error with identifier phpstanApi.constructor is reported on line 37.
integration-tests / Integration - shipmonk-rnd/phpstan-rules: tests/Rule/EnforceNativeReturnTypehintRuleTest.php#L66
No error with identifier phpstanApi.constructor is reported on line 66.
integration-tests / Integration - shipmonk-rnd/phpstan-rules: tests/Rule/EnforceClosureParamNativeTypehintRuleTest.php#L61
No error with identifier phpstanApi.constructor is reported on line 61.
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 - 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 2.
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: 32915 , 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: 32915 , 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: 32915 , Maximum supported length: 32766

Artifacts

Produced during runtime
Name Size Digest
baselines-
8.86 MB
sha256:625c15824fef36e0389c87edeb56225101e388abcca590bdd7f75c7fcb8b5d4e
baselines-bladestan-baseline.neon
403 Bytes
sha256:885e80d355e0f17324da6928960306df3dc8a9a275cdfba1d05f82d34365fd66
baselines-doctrine-orm-baseline.neon
1.55 KB
sha256:d5f27161f04818be4331d7d66195ba4bb64bb4f1c8cf0c0ab03a931a18173524
baselines-laravel-types-baseline.neon
317 Bytes
sha256:2eaa41dfc0a2f43af362e7036f1e42ede9370462e1dfc7f2a4f36adca120d001
baselines-rector-baseline.neon
506 Bytes
sha256:198d01b019a908236208cf2d4571d0f34e50c1342fc6721924188fb234d0d677
phar-file
3.64 MB
sha256:363d69f9b2abe6dc568c79a46bb2fb41992460f97f1798e4e70ae3bb339e4afa
phar-file-checksum
3.64 MB
sha256:d0ad875601fe3d9041df85c5ab04e70fad7093c170f817efd3deba2b376fba1c