-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml.dist
66 lines (62 loc) · 4.19 KB
/
phpcs.xml.dist
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">
<arg name="extensions" value="php"/>
<arg name="colors"/>
<arg value="sp"/>
<arg name="ignore" value="*.blade.php,./packages/kickflip-cli/bin/kickflip.php,./packages/kickflip/config/*.php,*/cache/*.php,./packages/kickflip-cli/illuminate/*" />
<file>./packages/kickflip-cli</file>
<file>./tests</file>
<rule ref="Ramsey"/>
<rule ref="Generic.Commenting.Todo.TaskFound">
<exclude-pattern>packages/kickflip-cli/**/*.php</exclude-pattern>
</rule>
<rule ref="Generic.Files.LineLength.TooLong">
<exclude-pattern>packages/kickflip-cli/app/Models/SiteData.php</exclude-pattern>
</rule>
<rule ref="Generic.NamingConventions.UpperCaseConstantName.ClassConstantNotUpperCase">
<exclude-pattern>packages/kickflip-cli/app/Enums/CliStateDirPaths.php</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration.MissingVariable">
<exclude-pattern>packages/kickflip-cli/app/KickflipKernel.php</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.Classes.SuperfluousInterfaceNaming.SuperfluousSuffix">
<exclude-pattern>packages/kickflip-cli/app/Models/*Interface.php</exclude-pattern>
<exclude-pattern>packages/kickflip-cli/src/Models/NavItemInterface.php</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.TypeHints.PropertyTypeHint.MissingNativeTypeHint">
<exclude-pattern>packages/kickflip-cli/app/Providers/*.php</exclude-pattern>
<exclude-pattern>packages/kickflip-cli/app/Commands/BuildCommand.php</exclude-pattern>
<exclude-pattern>packages/kickflip-cli/app/KickflipKernel.php</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint">
<exclude-pattern>packages/kickflip-cli/app/KickflipKernel.php</exclude-pattern>
<exclude-pattern>packages/kickflip-cli/app/Providers/*.php</exclude-pattern>
<exclude-pattern>packages/kickflip-cli/app/View/Compilers/BladeCompiler.php</exclude-pattern>
<exclude-pattern>packages/kickflip-cli/app/View/Engine/*Engine.php</exclude-pattern>
<exclude-pattern>packages/kickflip-cli/app/View/KickflipPaginator.php</exclude-pattern>
<exclude-pattern>packages/kickflip-cli/app/Collection/SortOption.php</exclude-pattern>
<exclude-pattern>packages/kickflip-cli/app/Collection/InverseSortOption.php</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint">
<exclude-pattern>packages/kickflip-cli/app/KickflipKernel.php</exclude-pattern>
<exclude-pattern>packages/kickflip-cli/app/View/KickflipPaginator.php</exclude-pattern>
<exclude-pattern>packages/kickflip-cli/app/Collection/SortOption.php</exclude-pattern>
<exclude-pattern>packages/kickflip-cli/app/Collection/InverseSortOption.php</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingTraversableTypeHintSpecification">
<exclude-pattern>packages/kickflip-cli/app/View/Compilers/*.php</exclude-pattern>
<exclude-pattern>packages/kickflip-cli/app/View/Engine/*.php</exclude-pattern>
<exclude-pattern>packages/kickflip-cli/app/Collection/SortOption.php</exclude-pattern>
<exclude-pattern>packages/kickflip-cli/app/Collection/InverseSortOption.php</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint">
<exclude-pattern>packages/kickflip-cli/app/Collection/SortOption.php</exclude-pattern>
<exclude-pattern>packages/kickflip-cli/app/Collection/InverseSortOption.php</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingTraversableTypeHintSpecification">
<exclude-pattern>packages/kickflip-cli/app/Providers/*.php</exclude-pattern>
<exclude-pattern>packages/kickflip-cli/app/View/Compilers/*.php</exclude-pattern>
<exclude-pattern>packages/kickflip-cli/app/View/Engine/*.php</exclude-pattern>
</rule>
</ruleset>