File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 157157 <rule ref =" SlevomatCodingStandard.Functions.RequireTrailingCommaInDeclaration" />
158158 <rule ref =" SlevomatCodingStandard.Exceptions.DeadCatch" />
159159 <rule ref =" SlevomatCodingStandard.Namespaces.DisallowGroupUse" />
160- <rule ref =" SlevomatCodingStandard.Namespaces.UseSpacing" />
161160<!-- <rule ref="SlevomatCodingStandard.Namespaces.UnusedUses"/>-->
162161 <rule ref =" SlevomatCodingStandard.Namespaces.UselessAlias" />
163162 <rule ref =" SlevomatCodingStandard.Namespaces.NamespaceSpacing" />
164163 <rule ref =" SlevomatCodingStandard.Namespaces.UseFromSameNamespace" />
164+ <!-- Require empty newlines before and after uses (PSR-12) -->
165+ <rule ref =" SlevomatCodingStandard.Namespaces.UseSpacing" >
166+ <properties >
167+ <property name =" linesCountAfterLastUse" value =" 1" />
168+ <property name =" linesCountBeforeFirstUse" value =" 1" />
169+ <property name =" linesCountBetweenUseTypes" value =" 1" />
170+ </properties >
171+ </rule >
165172 <rule ref =" SlevomatCodingStandard.Namespaces.NamespaceDeclaration" />
166173 <rule ref =" SlevomatCodingStandard.Namespaces.RequireOneNamespaceInFile" />
167174 <rule ref =" SlevomatCodingStandard.Namespaces.UseDoesNotStartWithBackslash" />
You can’t perform that action at this time.
0 commit comments