|
@@ -87,109 +87,109 @@ abstract class AbstractDoctrineAnnotationFixer extends AbstractFixer implements
|
|
|
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',
|
|
|
+ // 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(),
|
|
|
]);
|