mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
[task/code-sniffer] Add Generic.CodeAnalysis.UselessOverridingMethod
PHPBB3-11980
This commit is contained in:
@@ -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" />
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user