@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:
- @PhpCsFixer
- Using the @PhpCsFixer rule set will enable the
phpdoc_no_access
rule. - @Symfony
- Using the @Symfony rule set will enable the
phpdoc_no_access
rule.