Skip to content

Commit

Permalink
Fix: Configure doctrine_annotation_spaces fixer using all non-depreca…
Browse files Browse the repository at this point in the history
…ted options
  • Loading branch information
localheinz committed Dec 26, 2020
1 parent fa490cd commit 00c522b
Show file tree
Hide file tree
Showing 6 changed files with 546 additions and 0 deletions.
91 changes: 91 additions & 0 deletions src/RuleSet/Php71.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,101 @@ final class Php71 extends AbstractRuleSet implements ExplicitRuleSet
'after_argument_assignments' => false,
'after_array_assignments_colon' => true,
'after_array_assignments_equals' => false,
'around_commas' => true,
'around_parentheses' => true,
'before_argument_assignments' => false,
'before_array_assignments_colon' => false,
'before_array_assignments_equals' => false,
'ignored_tags' => [
'abstract',
'access',
'after',
'afterClass',
'api',
'author',
'backupGlobals',
'backupStaticAttributes',
'before',
'beforeClass',
'category',
'code',
'codeCoverageIgnore',
'codeCoverageIgnoreEnd',
'codeCoverageIgnoreStart',
'copyright',
'covers',
'coversDefaultClass',
'coversNothing',
'dataProvider',
'depends',
'deprec',
'deprecated',
'encode',
'enduml',
'example',
'exception',
'expectedException',
'expectedExceptionCode',
'expectedExceptionMessage',
'expectedExceptionMessageRegExp',
'filesource',
'final',
'fix',
'FIXME',
'fixme',
'global',
'group',
'ignore',
'ingroup',
'inheritdoc',
'inheritDoc',
'internal',
'large',
'license',
'link',
'magic',
'medium',
'method',
'name',
'noinspection',
'override',
'package',
'package_version',
'param',
'preserveGlobalState',
'private',
'property',
'property-read',
'property-write',
'requires',
'return',
'runInSeparateProcess',
'runTestsInSeparateProcesses',
'see',
'since',
'small',
'source',
'startuml',
'static',
'staticvar',
'staticVar',
'subpackage',
'SuppressWarnings',
'test',
'testdox',
'throw',
'throws',
'ticket',
'toc',
'todo',
'TODO',
'tutorial',
'usedBy',
'uses',
'uses',
'var',
'version',
],
],
'echo_tag_syntax' => [
'format' => 'long',
Expand Down
91 changes: 91 additions & 0 deletions src/RuleSet/Php73.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,101 @@ final class Php73 extends AbstractRuleSet implements ExplicitRuleSet
'after_argument_assignments' => false,
'after_array_assignments_colon' => true,
'after_array_assignments_equals' => false,
'around_commas' => true,
'around_parentheses' => true,
'before_argument_assignments' => false,
'before_array_assignments_colon' => false,
'before_array_assignments_equals' => false,
'ignored_tags' => [
'abstract',
'access',
'after',
'afterClass',
'api',
'author',
'backupGlobals',
'backupStaticAttributes',
'before',
'beforeClass',
'category',
'code',
'codeCoverageIgnore',
'codeCoverageIgnoreEnd',
'codeCoverageIgnoreStart',
'copyright',
'covers',
'coversDefaultClass',
'coversNothing',
'dataProvider',
'depends',
'deprec',
'deprecated',
'encode',
'enduml',
'example',
'exception',
'expectedException',
'expectedExceptionCode',
'expectedExceptionMessage',
'expectedExceptionMessageRegExp',
'filesource',
'final',
'fix',
'FIXME',
'fixme',
'global',
'group',
'ignore',
'ingroup',
'inheritdoc',
'inheritDoc',
'internal',
'large',
'license',
'link',
'magic',
'medium',
'method',
'name',
'noinspection',
'override',
'package',
'package_version',
'param',
'preserveGlobalState',
'private',
'property',
'property-read',
'property-write',
'requires',
'return',
'runInSeparateProcess',
'runTestsInSeparateProcesses',
'see',
'since',
'small',
'source',
'startuml',
'static',
'staticvar',
'staticVar',
'subpackage',
'SuppressWarnings',
'test',
'testdox',
'throw',
'throws',
'ticket',
'toc',
'todo',
'TODO',
'tutorial',
'usedBy',
'uses',
'uses',
'var',
'version',
],
],
'echo_tag_syntax' => [
'format' => 'long',
Expand Down
91 changes: 91 additions & 0 deletions src/RuleSet/Php74.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,101 @@ final class Php74 extends AbstractRuleSet implements ExplicitRuleSet
'after_argument_assignments' => false,
'after_array_assignments_colon' => true,
'after_array_assignments_equals' => false,
'around_commas' => true,
'around_parentheses' => true,
'before_argument_assignments' => false,
'before_array_assignments_colon' => false,
'before_array_assignments_equals' => false,
'ignored_tags' => [
'abstract',
'access',
'after',
'afterClass',
'api',
'author',
'backupGlobals',
'backupStaticAttributes',
'before',
'beforeClass',
'category',
'code',
'codeCoverageIgnore',
'codeCoverageIgnoreEnd',
'codeCoverageIgnoreStart',
'copyright',
'covers',
'coversDefaultClass',
'coversNothing',
'dataProvider',
'depends',
'deprec',
'deprecated',
'encode',
'enduml',
'example',
'exception',
'expectedException',
'expectedExceptionCode',
'expectedExceptionMessage',
'expectedExceptionMessageRegExp',
'filesource',
'final',
'fix',
'FIXME',
'fixme',
'global',
'group',
'ignore',
'ingroup',
'inheritdoc',
'inheritDoc',
'internal',
'large',
'license',
'link',
'magic',
'medium',
'method',
'name',
'noinspection',
'override',
'package',
'package_version',
'param',
'preserveGlobalState',
'private',
'property',
'property-read',
'property-write',
'requires',
'return',
'runInSeparateProcess',
'runTestsInSeparateProcesses',
'see',
'since',
'small',
'source',
'startuml',
'static',
'staticvar',
'staticVar',
'subpackage',
'SuppressWarnings',
'test',
'testdox',
'throw',
'throws',
'ticket',
'toc',
'todo',
'TODO',
'tutorial',
'usedBy',
'uses',
'uses',
'var',
'version',
],
],
'echo_tag_syntax' => [
'format' => 'long',
Expand Down
Loading

0 comments on commit 00c522b

Please sign in to comment.