mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +00:00
[ticket/12721] Add Generic.NamingConventions.ConstructorName in strict
PHPBB3-12721
This commit is contained in:
parent
13c03b6fcf
commit
6b52155a2a
1 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,9 @@
|
||||||
<!-- PHP keywords MUST be in lower case. -->
|
<!-- PHP keywords MUST be in lower case. -->
|
||||||
<rule ref="Generic.PHP.LowerCaseKeyword" />
|
<rule ref="Generic.PHP.LowerCaseKeyword" />
|
||||||
|
|
||||||
|
<!-- Constructors MUST be called __construct() instead of after the class. -->
|
||||||
|
<rule ref="Generic.NamingConventions.ConstructorName" />
|
||||||
|
|
||||||
<!-- Classes etc. MUST be namespaced -->
|
<!-- Classes etc. MUST be namespaced -->
|
||||||
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace" />
|
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace" />
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue