
phpdoc_no_access
¶@access
annotations should be omitted from PHPDoc.
--- Original
+++ New
<?php
class Foo
{
/**
* @internal
- * @access private
*/
private $bar;
}
The rule is part of the following rule sets:
Using the @PhpCsFixer rule set will enable the phpdoc_no_access
rule.
Using the @Symfony rule set will enable the phpdoc_no_access
rule.