File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" ?>
2
- <ruleset name =" Inpsyde Coding Standard" >
2
+ <ruleset name =" Inpsyde Coding Standard" namespace = " Inpsyde\InpsydeCodingStandard " >
3
3
4
4
<description >PHP 7+ coding standards for Inpsyde WordPress projects.</description >
5
5
11
11
-->
12
12
<config name =" testVersion" value =" 7.0-" />
13
13
14
+ <!--
15
+ Arguments: colors, show progress and show sniff name.
16
+ -->
17
+ <arg name =" colors" />
18
+ <arg value =" sp" />
19
+
14
20
<!--
15
21
PSR 2 Code style.
16
22
See http://www.php-fig.org/psr/psr-2/
Original file line number Diff line number Diff line change 6
6
<autoload >./Inpsyde/Helpers.php</autoload >
7
7
<autoload >./Inpsyde/PHPCSAliases.php</autoload >
8
8
9
+ <file >./Inpsyde/Sniffs/CodeQuality</file >
10
+
9
11
<!--
10
12
PHP 7.0 and higher.
11
13
-->
12
14
<config name =" testVersion" value =" 7.0-" />
13
15
16
+ <!--
17
+ Arguments: colors, show progress and show sniff name.
18
+ -->
19
+ <arg name =" colors" />
20
+ <arg value =" sp" />
21
+
14
22
<!--
15
23
PSR 2 Code style.
16
24
See http://www.php-fig.org/psr/psr-2/
32
40
<rule ref =" NeutronStandard" >
33
41
<exclude name =" NeutronStandard.Functions.LongFunction" />
34
42
<exclude name =" NeutronStandard.Functions.VariableFunctions" />
35
- <exclude name =" NeutronStandard.Functions.TypeHint.NoArgumentType " />
43
+ <exclude name =" NeutronStandard.Functions.TypeHint" />
36
44
</rule >
37
45
38
46
<!--
56
64
</properties >
57
65
</rule >
58
66
67
+ <!--
68
+ Own styles to check styles files :)
69
+ -->
70
+ <rule ref =" ./Inpsyde/Sniffs/CodeQuality" />
71
+
59
72
</ruleset >
You can’t perform that action at this time.
0 commit comments