Enhance accessibility rules and add unit tests for validation #37
Annotations
11 errors
|
|
|
Run PHPStan:
tests/Standard/StandardRuleSetsTest.php#L85
Call to static method PHPUnit\Framework\Assert::assertContainsOnlyInstancesOf() with 'TwigCsFixer\\Rules\\RuleInterface' and list<TwigCsFixer\Rules\RuleInterface> will always evaluate to true.
|
|
Run PHPStan:
tests/Standard/StandardRuleSetsTest.php#L67
Call to static method PHPUnit\Framework\Assert::assertContainsOnlyInstancesOf() with 'TwigCsFixer\\Rules\\RuleInterface' and list<TwigCsFixer\Rules\RuleInterface> will always evaluate to true.
|
|
Run PHPStan:
tests/Standard/StandardRuleSetsTest.php#L49
Call to static method PHPUnit\Framework\Assert::assertContainsOnlyInstancesOf() with 'TwigCsFixer\\Rules\\RuleInterface' and list<TwigCsFixer\Rules\RuleInterface> will always evaluate to true.
|
|
Run PHPStan:
tests/Standard/StandardRuleSetsTest.php#L28
Call to static method PHPUnit\Framework\Assert::assertContainsOnlyInstancesOf() with 'TwigCsFixer\\Rules\\RuleInterface' and list<TwigCsFixer\Rules\RuleInterface> will always evaluate to true.
|
|
Run PHPStan:
tests/Rules/Aria/RoleCatalogTest.php#L70
Call to static method PHPUnit\Framework\Assert::assertIsArray() with array<string> will always evaluate to true.
|
|
Run PHPStan:
tests/Rules/Aria/RoleCatalogTest.php#L69
Call to static method PHPUnit\Framework\Assert::assertIsArray() with array<string> will always evaluate to true.
|
|
Run PHPStan:
tests/Rules/Aria/RoleCatalogTest.php#L66
Call to static method PHPUnit\Framework\Assert::assertIsString() with string and 'Catalog key must be…' will always evaluate to true.
|
|
Run PHPStan:
tests/Rules/Aria/RoleCatalogTest.php#L59
Call to static method PHPUnit\Framework\Assert::assertIsArray() with array<string, array{required_attrs: array<string>, required_children: array<string>}> will always evaluate to true.
|
|
Run PHPStan:
tests/Rules/Aria/RoleCatalogTest.php#L50
Call to static method PHPUnit\Framework\Assert::assertIsString() with string will always evaluate to true.
|
|
Run PHPStan:
tests/Rules/Aria/RoleCatalogTest.php#L21
Call to static method PHPUnit\Framework\Assert::assertIsArray() with array<string> will always evaluate to true.
|
background
wait
wait-all
cancel
Loading