Add sniff for namespace empty line spacing

[MAILPOET-2409]
This commit is contained in:
Jan Jakeš
2019-09-30 15:25:45 +02:00
committed by Jack Kitterhing
parent 8f75a18f6c
commit 37adffaeb6

View File

@@ -6,6 +6,12 @@
<!-- Namespaces -->
<rule ref="PSR2.Namespaces.NamespaceDeclaration"/>
<rule ref="SlevomatCodingStandard.Namespaces.NamespaceDeclaration"/>
<rule ref="SlevomatCodingStandard.Namespaces.NamespaceSpacing">
<properties>
<property name="linesCountBeforeNamespace" value="1" />
<property name="linesAfterNamespace" value="1" />
</properties>
</rule>
<!-- Namespaces - "use" statements -->
<rule ref="PSR2.Namespaces.UseDeclaration"/> <!-- One namespace per use, one blank line after final use statement -->