
phpdoc_single_line_var_spacing
¶Single line @var
PHPDoc should have proper spacing.
--- Original
+++ New
-<?php /**@var MyClass $a */
+<?php /** @var MyClass $a */
$a = test();
The rule is part of the following rule sets:
Using the @PhpCsFixer rule set will enable the phpdoc_single_line_var_spacing
rule.
Using the @Symfony rule set will enable the phpdoc_single_line_var_spacing
rule.