Skip to content

Fix "False positive staticMethod.alreadyNarrowedType for Strings::length() inside numeric comparison" #10

Fix "False positive staticMethod.alreadyNarrowedType for Strings::length() inside numeric comparison"

Fix "False positive staticMethod.alreadyNarrowedType for Strings::length() inside numeric comparison" #10

Triggered via pull request July 2, 2026 09:16
@clxmstaabclxmstaab
synchronize #210
staabm:fix
Status Failure
Total duration 30s
Artifacts

e2e-tests.yml

on: pull_request
Matrix: E2E tests
Fit to window
Zoom out
Zoom in

Annotations

2 errors
E2E tests (cd e2e/bug-208 composer install vendor/bin/phpstan )
Process completed with exit code 1.
E2E tests (cd e2e/bug-208 composer install vendor/bin/phpstan ): src/foo.php#L15
Call to static method Nette\Utils\Strings::length() with non-empty-string will always evaluate to true.