1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-05 08:17:47 +02:00

[task/code-sniffer] Add Generic.CodeAnalysis.UselessOverridingMethod

PHPBB3-11980
This commit is contained in:
Andreas Fischer
2013-10-30 00:12:47 +01:00
parent 721e652425
commit 27a180f5d2

View File

@@ -8,6 +8,9 @@
<!-- "for (; bar; )" should be "while (bar)" instead -->
<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. -->
<rule ref="Generic.ControlStructures.InlineControlStructure" />