mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[task/code-sniffer] Add Generic.CodeAnalysis.UselessOverridingMethod
PHPBB3-11980
This commit is contained in:
parent
721e652425
commit
27a180f5d2
1 changed files with 3 additions and 0 deletions
|
@ -8,6 +8,9 @@
|
||||||
<!-- "for (; bar; )" should be "while (bar)" instead -->
|
<!-- "for (; bar; )" should be "while (bar)" instead -->
|
||||||
<rule ref="Generic.CodeAnalysis.ForLoopShouldBeWhileLoop" />
|
<rule ref="Generic.CodeAnalysis.ForLoopShouldBeWhileLoop" />
|
||||||
|
|
||||||
|
<!-- A method MUST not only call its parent -->
|
||||||
|
<rule ref="Generic.CodeAnalysis.UselessOverridingMethod" />
|
||||||
|
|
||||||
<!-- The body of each structure MUST be enclosed by braces. -->
|
<!-- The body of each structure MUST be enclosed by braces. -->
|
||||||
<rule ref="Generic.ControlStructures.InlineControlStructure" />
|
<rule ref="Generic.ControlStructures.InlineControlStructure" />
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue