========================== Rule ``phpdoc_to_comment`` ========================== Docblocks should only be used on structural elements. Examples -------- Example #1 ~~~~~~~~~~ .. code-block:: diff --- Original +++ New @@ -1,7 +1,7 @@ $sqlite) { $sqlite->open($path); } Rule sets --------- The rule is part of the following rule sets: @Symfony Using the ``@Symfony`` rule set will enable the ``phpdoc_to_comment`` rule. @PhpCsFixer Using the ``@PhpCsFixer`` rule set will enable the ``phpdoc_to_comment`` rule.