mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[task/code-sniffer] Add OneClassPerFile and OneInterfacePerFile.
PHPBB3-11980
This commit is contained in:
@@ -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" />
|
||||
|
||||
|
Reference in New Issue
Block a user