Skip to content

fix: use basepath function #3

fix: use basepath function

fix: use basepath function #3

Triggered via push June 27, 2025 15:23
Status Failure
Total duration 27s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors
phpstan
Process completed with exit code 1.
phpstan: src/basepath.php#L37
Function Superscript\PHPStanRules\basepath() should return string|null but returns string|false.
phpstan: src/basepath.php#L12
Parameter #2 $subject of function preg_match expects string, string|false given.
phpstan: src/Rules/StrictComparisonOfObjectsRule.php#L50
Method Superscript\PHPStanRules\Rules\StrictComparisonOfObjectsRule::processNode() should return list<PHPStan\Rules\IdentifierRuleError> but returns array{PHPStan\Rules\RuleError}.