Add rule that enforces PHPUnit naming conventions #299
Annotations
10 errors
PHPStan:
src/Rules/PHPUnit/ClassNamingRule.php#L13
Used function str_ends_with not found.
|
PHPStan:
src/Rules/PHPUnit/ClassNamingRule.php#L39
Access to an undefined property PhpParser\Node\Name::$name.
|
PHPStan:
src/Rules/PHPUnit/ClassNamingRule.php#L81
Function str_ends_with not found.
|
PHPStan:
tests/Rules/PHPUnit/AssertSameBooleanExpectedRuleTest.php#L11
Concrete test class, 'PHPStan\Rules\PHPUnit\AssertSameBooleanExpectedRuleTest', should be declared final.
|
PHPStan:
tests/Rules/PHPUnit/AssertSameMethodDifferentTypesRuleTest.php#L12
Concrete test class, 'PHPStan\Rules\PHPUnit\AssertSameMethodDifferentTypesRuleTest', should be declared final.
|
PHPStan:
tests/Rules/PHPUnit/AssertSameNullExpectedRuleTest.php#L11
Concrete test class, 'PHPStan\Rules\PHPUnit\AssertSameNullExpectedRuleTest', should be declared final.
|
PHPStan:
tests/Rules/PHPUnit/AssertSameStaticMethodDifferentTypesRuleTest.php#L12
Concrete test class, 'PHPStan\Rules\PHPUnit\AssertSameStaticMethodDifferentTypesRuleTest', should be declared final.
|
PHPStan:
tests/Rules/PHPUnit/AssertSameWithCountRuleTest.php#L11
Concrete test class, 'PHPStan\Rules\PHPUnit\AssertSameWithCountRuleTest', should be declared final.
|
PHPStan:
tests/Rules/PHPUnit/ClassCoversExistsRuleTest.php#L11
Concrete test class, 'PHPStan\Rules\PHPUnit\ClassCoversExistsRuleTest', should be declared final.
|
PHPStan:
tests/Rules/PHPUnit/ClassMethodCoversExistsRuleTest.php#L12
Concrete test class, 'PHPStan\Rules\PHPUnit\ClassMethodCoversExistsRuleTest', should be declared final.
|
Loading