
phpdoc_indent
¶Docblocks should have the same indentation as the documented subject.
--- Original
+++ New
<?php
class DocBlocks
{
-/**
- * Test constants
- */
+ /**
+ * Test constants
+ */
const INDENT = 1;
}
The rule is part of the following rule sets:
Using the @PhpCsFixer rule set will enable the phpdoc_indent
rule.
Using the @Symfony rule set will enable the phpdoc_indent
rule.