File tree Expand file tree Collapse file tree 3 files changed +55
-31
lines changed Expand file tree Collapse file tree 3 files changed +55
-31
lines changed Original file line number Diff line number Diff line change 29
29
Neutron standard are quality tools for PHP7 development from Automattic.
30
30
See https://github.com/Automattic/phpcs-neutron-standard
31
31
-->
32
- <rule ref =" NeutronStandard" >
33
- <exclude name =" NeutronStandard.Functions.LongFunction" />
34
- <exclude name =" NeutronStandard.Functions.VariableFunctions" />
35
- <exclude name =" NeutronStandard.Functions.TypeHint" />
36
- <exclude name =" NeutronStandard.Conditions.DisallowConditionAssignWithoutConditional" />
37
- <exclude name =" NeutronStandard.Constants.DisallowDefine" />
38
- <exclude name =" NeutronStandard.MagicMethods.DisallowMagicGet" />
39
- <exclude name =" NeutronStandard.MagicMethods.DisallowMagicSet" />
40
- <exclude name =" NeutronStandard.MagicMethods.RiskyMagicMethod" />
41
- <rule ref =" NeutronStandard.Whitespace.DisallowMultipleNewlines.MultipleNewlines" >
42
- <type >warning</type >
43
- </rule >
32
+ <rule ref =" NeutronStandard.Arrays.DisallowLongformArray" >
33
+ <type >warning</type >
34
+ </rule >
35
+ <rule ref =" NeutronStandard.AssignAlign.DisallowAssignAlign" >
36
+ <type >warning</type >
37
+ </rule >
38
+ <rule ref =" NeutronStandard.Extract.DisallowExtract" >
39
+ <type >warning</type >
40
+ </rule >
41
+ <rule ref =" NeutronStandard.Functions.DisallowCallUserFunc" >
42
+ <type >warning</type >
43
+ </rule >
44
+ <rule ref =" NeutronStandard.Globals.DisallowGlobalFunctions" >
45
+ <type >warning</type >
46
+ </rule >
47
+ <rule ref =" NeutronStandard.MagicMethods.DisallowMagicSerialize" >
48
+ <type >warning</type >
49
+ </rule >
50
+ <rule ref =" NeutronStandard.StrictTypes.RequireStrictTypes" >
51
+ <type >warning</type >
52
+ </rule >
53
+ <rule ref =" NeutronStandard.Whitespace.DisallowMultipleNewlines" >
54
+ <type >warning</type >
55
+ </rule >
56
+ <rule ref =" NeutronStandard.Whitespace.RequireNewlineBetweenFunctions" >
57
+ <type >warning</type >
44
58
</rule >
45
59
46
60
<!--
Original file line number Diff line number Diff line change 3
3
- NeutronStandard
4
4
- NeutronStandard.Arrays
5
5
- NeutronStandard.Arrays.DisallowLongformArray
6
- - NeutronStandard.Arrays.DisallowLongformArray.LongformArray
6
+ - NeutronStandard.AssignAlign
7
+ - NeutronStandard.AssignAlign.DisallowAssignAlign
7
8
- NeutronStandard.Extract
8
9
- NeutronStandard.Extract.DisallowExtract
9
- - NeutronStandard.Extract.DisallowExtract.Extract
10
10
- NeutronStandard.Functions
11
11
- NeutronStandard.Functions.DisallowCallUserFunc
12
- - NeutronStandard.Functions.DisallowCallUserFunc.CallUserFunc
13
12
- NeutronStandard.Globals
14
13
- NeutronStandard.Globals.DisallowGlobalFunctions
15
- - NeutronStandard.Globals.DisallowGlobalFunctions.GlobalFunctions
16
14
- NeutronStandard.MagicMethods
17
15
- NeutronStandard.MagicMethods.DisallowMagicSerialize
18
- - NeutronStandard.MagicMethods.DisallowMagicSerialize.MagicSerialize
19
16
- NeutronStandard.StrictTypes
20
17
- NeutronStandard.StrictTypes.RequireStrictTypes
21
- - NeutronStandard.StrictTypes.RequireStrictTypes.StrictTypes
22
18
- NeutronStandard.Whitespace
23
19
- NeutronStandard.Whitespace.DisallowMultipleNewlines
24
- - NeutronStandard.Whitespace.DisallowMultipleNewlines.MultipleNewlines
20
+ - NeutronStandard.Whitespace.RequireNewlineBetweenFunctions
Original file line number Diff line number Diff line change 33
33
Neutron standard are quality tools for PHP7 development from Automattic.
34
34
See https://github.com/Automattic/phpcs-neutron-standard
35
35
-->
36
- <rule ref =" NeutronStandard" >
37
- <exclude name =" NeutronStandard.Functions.LongFunction" />
38
- <exclude name =" NeutronStandard.Functions.VariableFunctions" />
39
- <exclude name =" NeutronStandard.Functions.TypeHint" />
40
- <exclude name =" NeutronStandard.Conditions.DisallowConditionAssignWithoutConditional" />
41
- <exclude name =" NeutronStandard.Constants.DisallowDefine" />
42
- <exclude name =" NeutronStandard.MagicMethods.DisallowMagicGet" />
43
- <exclude name =" NeutronStandard.MagicMethods.DisallowMagicSet" />
44
- <exclude name =" NeutronStandard.MagicMethods.RiskyMagicMethod" />
45
- <rule ref =" NeutronStandard.Whitespace.DisallowMultipleNewlines.MultipleNewlines" >
46
- <type >warning</type >
47
- </rule >
36
+ <rule ref =" NeutronStandard.Arrays.DisallowLongformArray" >
37
+ <type >warning</type >
38
+ </rule >
39
+ <rule ref =" NeutronStandard.AssignAlign.DisallowAssignAlign" >
40
+ <type >warning</type >
41
+ </rule >
42
+ <rule ref =" NeutronStandard.Extract.DisallowExtract" >
43
+ <type >warning</type >
44
+ </rule >
45
+ <rule ref =" NeutronStandard.Functions.DisallowCallUserFunc" >
46
+ <type >warning</type >
47
+ </rule >
48
+ <rule ref =" NeutronStandard.Globals.DisallowGlobalFunctions" >
49
+ <type >warning</type >
50
+ </rule >
51
+ <rule ref =" NeutronStandard.MagicMethods.DisallowMagicSerialize" >
52
+ <type >warning</type >
53
+ </rule >
54
+ <rule ref =" NeutronStandard.StrictTypes.RequireStrictTypes" >
55
+ <type >warning</type >
56
+ </rule >
57
+ <rule ref =" NeutronStandard.Whitespace.DisallowMultipleNewlines" >
58
+ <type >warning</type >
59
+ </rule >
60
+ <rule ref =" NeutronStandard.Whitespace.RequireNewlineBetweenFunctions" >
61
+ <type >warning</type >
48
62
</rule >
49
63
50
64
<!--
You can’t perform that action at this time.
0 commit comments