src/AbstractDoctrineAnnotationFixer.php
protected function createConfigurationDefinition()
    {
        return new FixerConfigurationResolver([
            (new FixerOptionBuilder('ignored_tags', 'List of tags that must not be treated as Doctrine Annotations.'))
                ->setAllowedTypes(['array'])
                ->setAllowedValues([static function ($values) {
                    foreach ($values as $value) {
                        if (!\is_string($value)) {
                            return false;
                        }
                    }

                    return true;
                }])
                ->setDefault([
                    // PHPDocumentor 1
                    'abstract',
                    'access',
                    'code',
                    'deprec',
                    'encode',
                    'exception',
                    'final',
                    'ingroup',
                    'inheritdoc',
                    'inheritDoc',
                    'magic',
                    'name',
                    'toc',
                    'tutorial',
                    'private',
                    'static',
                    'staticvar',
                    'staticVar',
                    'throw',

                    // PHPDocumentor 2
                    'api',
                    'author',
                    'category',
                    'copyright',
                    'deprecated',
                    'example',
                    'filesource',
                    'global',
                    'ignore',
                    'internal',
                    'license',
                    'link',
                    'method',
                    'package',
                    'param',
                    'property',
                    'property-read',
                    'property-write',
                    'return',
                    'see',
                    'since',
                    'source',
                    'subpackage',
                    'throws',
                    'todo',
                    'TODO',
                    'usedBy',
                    'uses',
                    'var',
                    'version',

                    // PHPUnit
                    'after',
                    'afterClass',
                    'backupGlobals',
                    'backupStaticAttributes',
                    'before',
                    'beforeClass',
                    'codeCoverageIgnore',
                    'codeCoverageIgnoreStart',
                    'codeCoverageIgnoreEnd',
                    'covers',
                    'coversDefaultClass',
                    'coversNothing',
                    'dataProvider',
                    'depends',
                    'expectedException',
                    'expectedExceptionCode',
                    'expectedExceptionMessage',
                    'expectedExceptionMessageRegExp',
                    'group',
                    'large',
                    'medium',
                    'preserveGlobalState',
                    'requires',
                    'runTestsInSeparateProcesses',
                    'runInSeparateProcess',
                    'small',
                    'test',
                    'testdox',
                    'ticket',
                    'uses',

                    // PHPCheckStyle
                    'SuppressWarnings',

                    // PHPStorm
                    'noinspection',

                    // PEAR
                    'package_version',

                    // PlantUML
                    'enduml',
                    'startuml',

                    // other
                    'fix',
                    'FIXME',
                    'fixme',
                    'override',
                ])
                ->getOption(),
        ]);
    }
protected function createConfigurationDefinition()
    {
        return new FixerConfigurationResolver([
            (new FixerOptionBuilder('ignored_tags', 'List of tags that must not be treated as Doctrine Annotations.'))
                ->setAllowedTypes(['array'])
                ->setAllowedValues([static function ($values) {
                    foreach ($values as $value) {
                        if (!\is_string($value)) {
                            return false;
                        }
                    }

                    return true;
                }])
                ->setDefault([
                    // PHPDocumentor 1
                    'abstract',
                    'access',
                    'code',
                    'deprec',
                    'encode',
                    'exception',
                    'final',
                    'ingroup',
                    'inheritdoc',
                    'inheritDoc',
                    'magic',
                    'name',
                    'toc',
                    'tutorial',
                    'private',
                    'static',
                    'staticvar',
                    'staticVar',
                    'throw',

                    // PHPDocumentor 2
                    'api',
                    'author',
                    'category',
                    'copyright',
                    'deprecated',
                    'example',
                    'filesource',
                    'global',
                    'ignore',
                    'internal',
                    'license',
                    'link',
                    'method',
                    'package',
                    'param',
                    'property',
                    'property-read',
                    'property-write',
                    'return',
                    'see',
                    'since',
                    'source',
                    'subpackage',
                    'throws',
                    'todo',
                    'TODO',
                    'usedBy',
                    'uses',
                    'var',
                    'version',

                    // PHPUnit
                    'after',
                    'afterClass',
                    'backupGlobals',
                    'backupStaticAttributes',
                    'before',
                    'beforeClass',
                    'codeCoverageIgnore',
                    'codeCoverageIgnoreStart',
                    'codeCoverageIgnoreEnd',
                    'covers',
                    'coversDefaultClass',
                    'coversNothing',
                    'dataProvider',
                    'depends',
                    'expectedException',
                    'expectedExceptionCode',
                    'expectedExceptionMessage',
                    'expectedExceptionMessageRegExp',
                    'group',
                    'large',
                    'medium',
                    'preserveGlobalState',
                    'requires',
                    'runTestsInSeparateProcesses',
                    'runInSeparateProcess',
                    'small',
                    'test',
                    'testdox',
                    'ticket',
                    'uses',

                    // PHPCheckStyle
                    'SuppressWarnings',

                    // PHPStorm
                    'noinspection',

                    // PEAR
                    'package_version',

                    // PlantUML
                    'enduml',
                    'startuml',

                    // other
                    'fix',
                    'FIXME',
                    'fixme',
                    'override',
                ])
                ->getOption(),
        ]);
    }
protected function createConfigurationDefinition ( ) { return new FixerConfigurationResolver ( [ ( new FixerOptionBuilder ( 'ignored_tags' , 'List of tags that must not be treated as Doctrine Annotations.' ) ) -> setAllowedTypes ( [ 'array' ] ) -> setAllowedValues ( [ static function ( $ values ) { foreach ( $ values as $ value ) { if ( ! \ is_string ( $ value ) ) { return false ; } } return true ; } ] ) -> setDefault ( [ // PHPDocumentor 1 'abstract' , 'access' , 'code' , 'deprec' , 'encode' , 'exception' , 'final' , 'ingroup' , 'inheritdoc' , 'inheritDoc' , 'magic' , 'name' , 'toc' , 'tutorial' , 'private' , 'static' , 'staticvar' , 'staticVar' , 'throw' , // PHPDocumentor 2 'api' , 'author' , 'category' , 'copyright' , 'deprecated' , 'example' , 'filesource' , 'global' , 'ignore' , 'internal' , 'license' , 'link' , 'method' , 'package' , 'param' , 'property' , 'property-read' , 'property-write' , 'return' , 'see' , 'since' , 'source' , 'subpackage' , 'throws' , 'todo' , 'TODO' , 'usedBy' , 'uses' , 'var' , 'version' , // PHPUnit 'after' , 'afterClass' , 'backupGlobals' , 'backupStaticAttributes' , 'before' , 'beforeClass' , 'codeCoverageIgnore' , 'codeCoverageIgnoreStart' , 'codeCoverageIgnoreEnd' , 'covers' , 'coversDefaultClass' , 'coversNothing' , 'dataProvider' , 'depends' , 'expectedException' , 'expectedExceptionCode' , 'expectedExceptionMessage' , 'expectedExceptionMessageRegExp' , 'group' , 'large' , 'medium' , 'preserveGlobalState' , 'requires' , 'runTestsInSeparateProcesses' , 'runInSeparateProcess' , 'small' , 'test' , 'testdox' , 'ticket' , 'uses' , // PHPCheckStyle 'SuppressWarnings' , // PHPStorm 'noinspection' , // PEAR 'package_version' , // PlantUML 'enduml' , 'startuml' , // other 'fix' , 'FIXME' , 'fixme' , 'override' , ] ) -> getOption ( ) , ] ) ; }
{@inheritdoc}
{