mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-02-03 04:18:29 +00:00
Check for old-style constructor names via Code Sniffer.
This commit is contained in:
parent
ac449e1965
commit
4ada8675ba
@ -45,6 +45,9 @@
|
|||||||
<!-- All code files MUST use only UTF-8 without BOM. -->
|
<!-- All code files MUST use only UTF-8 without BOM. -->
|
||||||
<rule ref="Generic.Files.ByteOrderMark" />
|
<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 -->
|
<!-- Each file MUST end with exactly one newline character -->
|
||||||
<rule ref="PSR2.Files.EndFileNewline" />
|
<rule ref="PSR2.Files.EndFileNewline" />
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user