mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[task/code-sniffer] Add OneClassPerFile and OneInterfacePerFile.
PHPBB3-11980
This commit is contained in:
parent
27a180f5d2
commit
69a766fe79
1 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,10 @@
|
|||
</rule>
|
||||
-->
|
||||
|
||||
<!-- A file MUST not contain more than one class/interface -->
|
||||
<rule ref="Generic.Files.OneClassPerFile" />
|
||||
<rule ref="Generic.Files.OneInterfacePerFile" />
|
||||
|
||||
<!-- The PHP constants true, false, and null MUST be in lower case. -->
|
||||
<rule ref="Generic.PHP.LowerCaseConstant" />
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue