test: for restricted module dependencies #4
Annotations
7 errors
|
phpstan
Process completed with exit code 1.
|
|
phpstan:
tests/Rules/RestrictImplicitDepndencyUsage/RestrictImplicitDependencyUsageTest.php#L58
Access to an undefined property Rules\RestrictImplicitDepndencyUsage\RestrictImplicitDependencyUsageTest::$extension.
|
|
phpstan:
tests/Rules/RestrictImplicitDepndencyUsage/RestrictImplicitDependencyUsageTest.php#L40
Access to an undefined property Rules\RestrictImplicitDepndencyUsage\RestrictImplicitDependencyUsageTest::$extension.
|
|
phpstan:
tests/Rules/RestrictImplicitDepndencyUsage/RestrictImplicitDependencyUsageTest.php#L33
Access to an undefined property Rules\RestrictImplicitDepndencyUsage\RestrictImplicitDependencyUsageTest::$extension.
|
|
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}.
|