Check for old-style constructor names via Code Sniffer.

This commit is contained in:
Andreas Fischer 2014-06-16 01:51:51 +02:00
parent ac449e1965
commit 4ada8675ba
1 changed files with 3 additions and 0 deletions

View File

@ -45,6 +45,9 @@
<!-- All code files MUST use only UTF-8 without BOM. -->
<rule ref="Generic.Files.ByteOrderMark" />
<!-- Constructors MUST be called __construct() instead of after the class. -->
<rule ref="Generic.NamingConventions.ConstructorName" />
<!-- Each file MUST end with exactly one newline character -->
<rule ref="PSR2.Files.EndFileNewline" />