forked from forrest79/pagination
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml
37 lines (30 loc) · 1.1 KB
/
phpcs.xml
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
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0"?>
<ruleset name="Pagination">
<rule ref="./vendor/forrest79/phpcs/Forrest79CodingStandard/ruleset.xml"/>
<rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
<exclude-pattern>tests/tests.php</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.Classes.RequireAbstractOrFinal.ClassNeitherAbstractNorFinal">
<exclude-pattern>src/*</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName">
<properties>
<property name="rootNamespaces" type="array" value="
src=>Forrest79\Pagination,
"/>
</properties>
</rule>
<!-- PHP 8.0 -->
<rule ref="SlevomatCodingStandard.Functions.RequireTrailingCommaInDeclaration.MissingTrailingComma">
<exclude-pattern>src/*</exclude-pattern>
</rule>
<rule ref="Squiz.Functions.GlobalFunction.Found">
<exclude-pattern>tests/tests.php</exclude-pattern>
</rule>
<rule ref="Squiz.WhiteSpace.FunctionSpacing.After">
<exclude-pattern>tests/tests.php</exclude-pattern>
</rule>
<rule ref="Squiz.WhiteSpace.FunctionSpacing.Before">
<exclude-pattern>tests/tests.php</exclude-pattern>
</rule>
</ruleset>