Skip to content

Fix always-true detection in in_array with union type haystack #20546

Fix always-true detection in in_array with union type haystack

Fix always-true detection in in_array with union type haystack #20546

Triggered via pull request July 17, 2025 14:22
Status Failure
Total duration 6m 57s
Artifacts 5

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
7s
extension-tests / Check PHAR checksum
other-tests  /  Check PHAR checksum
8s
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

10 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 - 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 - 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: 33833 , 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: 33833 , 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: 33833 , Maximum supported length: 32766

Artifacts

Produced during runtime
Name Size Digest
baselines- Expired
8.85 MB
sha256:dcac59ade7376668b7b3f256c6bd0d89ddd15c6722ead56d1d6da0250a16b91d
baselines-bladestan-baseline.neon Expired
403 Bytes
sha256:cedf3733c33dfbe0ec6271f7c04a2f3cffe3f04528b50bafea7fa8c54ed43bff
baselines-rector-baseline.neon Expired
506 Bytes
sha256:754f70257581b5b9acb6e391a37c636e7a2e7b5e56c3ea773f70a42e2362eb91
phar-file Expired
3.63 MB
sha256:569191944cbf711e87ec3b06199f8c9065bab8ebfcc39b4bc292232e71d0e6fe
phar-file-checksum Expired
3.63 MB
sha256:4a89b330f365655634c75845fbd676fde0d61ac127f882e634257ed411639ec1