Skip to content

Narrow l/r/trim() arg on comparison to '' #21847

Narrow l/r/trim() arg on comparison to ''

Narrow l/r/trim() arg on comparison to '' #21847

Triggered via pull request September 18, 2025 05:00
@staabmstaabm
synchronize #4340
staabm:trim
Status Failure
Total duration 7m 0s
Artifacts 4

phar.yml

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

Annotations

8 errors and 1 notice
extension-tests / Extension Tests (8.5, phpstan-mockery)
Process completed with exit code 2.
integration-tests / Integration - bladestan/bladestan
Process completed with exit code 1.
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 - doctrine/orm
Process completed with exit code 1.
integration-tests / Integration - doctrine/orm: src/Mapping/ToManyAssociationMapping.php#L10
Asserted type string for $this->indexBy() with type string does not narrow down the 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
572 Bytes
sha256:0ec91b7c211175c3c34b0a018176c7515b1b926902e3d86b17ee51a7e589f1bb
baselines-doctrine-orm-baseline.neon
1.83 KB
sha256:c57932d0c07fc44b7def92066b9bf40c6233dcaf6c83dee2c57629bf13cb5058
phar-file
3.66 MB
sha256:1cc7b9562c744fa015e77079f8f53aa7e962d09501a0658f2e8aa3a283a92281
phar-file-checksum
3.66 MB
sha256:3ba1b02b5f07a301e5f9f401c5073e432002fc7d1e54c03858f4388e2bfc8af0