
phpdoc_no_package
¶@package
and @subpackage
annotations should be omitted from PHPDoc.
--- Original
+++ New
<?php
/**
* @internal
- * @package Foo
- * subpackage Bar
*/
class Baz
{
}
The rule is part of the following rule sets:
Using the @PhpCsFixer rule set will enable the phpdoc_no_package
rule.
Using the @Symfony rule set will enable the phpdoc_no_package
rule.