mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Rule: Enforce number of lines before and after namespace.
This commit is contained in:
parent
9fd1721e08
commit
099245281e
11
phpcs.xml
11
phpcs.xml
@ -100,6 +100,17 @@
|
||||
-->
|
||||
<rule ref="SlevomatCodingStandard.Namespaces.NamespaceDeclaration"/>
|
||||
|
||||
<!--
|
||||
Enforces number of lines before and after namespace.
|
||||
https://github.com/slevomat/coding-standard#slevomatcodingstandardnamespacesnamespacespacing-
|
||||
-->
|
||||
<rule ref="SlevomatCodingStandard.Namespaces.NamespaceSpacing">
|
||||
<properties>
|
||||
<property name="linesCountBeforeNamespace" type="int" value="1"/>
|
||||
<property name="linesCountAfterNamespace" type="int" value="1"/>
|
||||
</properties>
|
||||
</rule>
|
||||
|
||||
<!--
|
||||
Handle imports from namespaces.
|
||||
https://github.com/slevomat/coding-standard#slevomatcodingstandardnamespacesreferenceusednamesonly-
|
||||
|
Loading…
Reference in New Issue
Block a user