fix: use basepath function #3
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}.
|