Skip to content

Narrow to non-empty-string via Strings::length #462

Narrow to non-empty-string via Strings::length

Narrow to non-empty-string via Strings::length #462

Triggered via pull request June 24, 2026 08:31
Status Failure
Total duration 52s
Artifacts

build.yml

on: pull_request
Coding Standard
27s
Coding Standard
Name Collision Detector
21s
Name Collision Detector
Matrix: Lint
Matrix: PHPStan
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

29 errors
PHPStan (8.4, highest)
Process completed with exit code 2.
PHPStan (8.4, highest): src/Type/Nette/StringsLengthDynamicReturnTypeExtension.php#L43
Method PHPStan\Type\Nette\StringsLengthDynamicReturnTypeExtension::getTypeFromStaticMethodCall() should return PHPStan\Type\Type|null but returns PHPStan\Analyser\SpecifiedTypes.
PHPStan (8.5, highest)
Process completed with exit code 2.
PHPStan (8.5, highest): src/Type/Nette/StringsLengthDynamicReturnTypeExtension.php#L43
Method PHPStan\Type\Nette\StringsLengthDynamicReturnTypeExtension::getTypeFromStaticMethodCall() should return PHPStan\Type\Type|null but returns PHPStan\Analyser\SpecifiedTypes.
PHPStan (8.4, lowest)
Process completed with exit code 2.
PHPStan (8.4, lowest): src/Type/Nette/StringsLengthDynamicReturnTypeExtension.php#L43
Method PHPStan\Type\Nette\StringsLengthDynamicReturnTypeExtension::getTypeFromStaticMethodCall() should return PHPStan\Type\Type|null but returns PHPStan\Analyser\SpecifiedTypes.
PHPStan (8.1, lowest)
Process completed with exit code 2.
PHPStan (8.1, lowest): src/Type/Nette/StringsLengthDynamicReturnTypeExtension.php#L43
Method PHPStan\Type\Nette\StringsLengthDynamicReturnTypeExtension::getTypeFromStaticMethodCall() should return PHPStan\Type\Type|null but returns PHPStan\Analyser\SpecifiedTypes.
PHPStan (7.4, lowest)
Process completed with exit code 2.
PHPStan (7.4, lowest): src/Type/Nette/StringsLengthDynamicReturnTypeExtension.php#L43
Method PHPStan\Type\Nette\StringsLengthDynamicReturnTypeExtension::getTypeFromStaticMethodCall() should return PHPStan\Type\Type|null but returns PHPStan\Analyser\SpecifiedTypes.
PHPStan (8.0, highest)
Process completed with exit code 2.
PHPStan (8.0, highest): src/Type/Nette/StringsLengthDynamicReturnTypeExtension.php#L43
Method PHPStan\Type\Nette\StringsLengthDynamicReturnTypeExtension::getTypeFromStaticMethodCall() should return PHPStan\Type\Type|null but returns PHPStan\Analyser\SpecifiedTypes.
PHPStan (8.3, highest)
Process completed with exit code 2.
PHPStan (8.3, highest): src/Type/Nette/StringsLengthDynamicReturnTypeExtension.php#L43
Method PHPStan\Type\Nette\StringsLengthDynamicReturnTypeExtension::getTypeFromStaticMethodCall() should return PHPStan\Type\Type|null but returns PHPStan\Analyser\SpecifiedTypes.
PHPStan (8.3, lowest)
Process completed with exit code 2.
PHPStan (8.3, lowest): src/Type/Nette/StringsLengthDynamicReturnTypeExtension.php#L43
Method PHPStan\Type\Nette\StringsLengthDynamicReturnTypeExtension::getTypeFromStaticMethodCall() should return PHPStan\Type\Type|null but returns PHPStan\Analyser\SpecifiedTypes.
PHPStan (8.2, lowest)
Process completed with exit code 2.
PHPStan (8.2, lowest): src/Type/Nette/StringsLengthDynamicReturnTypeExtension.php#L43
Method PHPStan\Type\Nette\StringsLengthDynamicReturnTypeExtension::getTypeFromStaticMethodCall() should return PHPStan\Type\Type|null but returns PHPStan\Analyser\SpecifiedTypes.
PHPStan (8.1, highest)
Process completed with exit code 2.
PHPStan (8.1, highest): src/Type/Nette/StringsLengthDynamicReturnTypeExtension.php#L43
Method PHPStan\Type\Nette\StringsLengthDynamicReturnTypeExtension::getTypeFromStaticMethodCall() should return PHPStan\Type\Type|null but returns PHPStan\Analyser\SpecifiedTypes.
PHPStan (8.5, lowest)
Process completed with exit code 2.
PHPStan (8.5, lowest): src/Type/Nette/StringsLengthDynamicReturnTypeExtension.php#L43
Method PHPStan\Type\Nette\StringsLengthDynamicReturnTypeExtension::getTypeFromStaticMethodCall() should return PHPStan\Type\Type|null but returns PHPStan\Analyser\SpecifiedTypes.
PHPStan (8.0, lowest)
Process completed with exit code 2.
PHPStan (8.0, lowest): src/Type/Nette/StringsLengthDynamicReturnTypeExtension.php#L43
Method PHPStan\Type\Nette\StringsLengthDynamicReturnTypeExtension::getTypeFromStaticMethodCall() should return PHPStan\Type\Type|null but returns PHPStan\Analyser\SpecifiedTypes.
PHPStan (8.2, highest)
Process completed with exit code 2.
PHPStan (8.2, highest): src/Type/Nette/StringsLengthDynamicReturnTypeExtension.php#L43
Method PHPStan\Type\Nette\StringsLengthDynamicReturnTypeExtension::getTypeFromStaticMethodCall() should return PHPStan\Type\Type|null but returns PHPStan\Analyser\SpecifiedTypes.
PHPStan (7.4, highest)
Process completed with exit code 2.
PHPStan (7.4, highest): src/Type/Nette/StringsLengthDynamicReturnTypeExtension.php#L43
Method PHPStan\Type\Nette\StringsLengthDynamicReturnTypeExtension::getTypeFromStaticMethodCall() should return PHPStan\Type\Type|null but returns PHPStan\Analyser\SpecifiedTypes.
Coding Standard
Process completed with exit code 2.