-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpcs.xml
More file actions
27 lines (22 loc) · 1.3 KB
/
phpcs.xml
File metadata and controls
27 lines (22 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0"?>
<ruleset name="Upsun PSR12">
<config name="installed_paths" value="../../slevomat/coding-standard"/>
<rule ref="PSR12">
<exclude name="Generic.Files.LineLength"/> <!-- TODO: Remove after fixing line length issues -->
</rule>
<!-- Slevomat Coding Standard Rules -->
<!-- Namespace rules -->
<rule ref="SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses"/>
<!-- <rule ref="SlevomatCodingStandard.Namespaces.UnusedUses"/> -->
<rule ref="SlevomatCodingStandard.Namespaces.UseDoesNotStartWithBackslash"/>
<!-- Class rules -->
<rule ref="SlevomatCodingStandard.Classes.ClassConstantVisibility"/>
<rule ref="SlevomatCodingStandard.Classes.ModernClassNameReference"/>
<!-- <rule ref="SlevomatCodingStandard.Classes.SuperfluousInterfaceNaming"/> -->
<!-- <rule ref="SlevomatCodingStandard.Classes.SuperfluousAbstractClassNaming"/> -->
<!-- <rule ref="SlevomatCodingStandard.Classes.SuperfluousExceptionNaming"/> -->
<!-- TypeHints -->
<!-- <rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes"/> --> <!-- Excluded: strict_types declaration -->
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing"/>
<rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHintSpacing"/>
</ruleset>