Add test examples for include to render #1121
Annotations
3 errors
Run Psalm:
tests/Rules/Function/IncludeToRender/IncludeToRenderFunctionRuleTest.php#L16
tests/Rules/Function/IncludeToRender/IncludeToRenderFunctionRuleTest.php:16:13: MixedArgumentTypeCoercion: Argument 1 of TwigCsFixer\Tests\Rules\Function\RenderFunction\IncludeToRenderFunctionRuleTest::checkRule expects TwigCsFixer\Rules\Node\NodeRuleInterface|TwigCsFixer\Rules\RuleInterface|array<array-key, TwigCsFixer\Rules\Node\NodeRuleInterface|TwigCsFixer\Rules\RuleInterface>, but parent type list{mixed, TwigCsFixer\Rules\Punctuation\PunctuationSpacingRule} provided (see https://psalm.dev/194)
|
Run Psalm:
tests/Rules/Function/IncludeToRender/IncludeToRenderFunctionRuleTest.php#L17
tests/Rules/Function/IncludeToRender/IncludeToRenderFunctionRuleTest.php:17:21: UndefinedClass: Class, interface or enum named TwigCsFixer\Rules\Function\IncludeToRenderFunctionRule does not exist (see https://psalm.dev/019)
|
Run Psalm
Process completed with exit code 2.
|
Loading