File tree Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 35
35
Neutron standard are quality tools for PHP7 development from Automattic.
36
36
See https://github.com/Automattic/phpcs-neutron-standard
37
37
-->
38
- <rule ref =" NeutronStandard" >
39
- <exclude name =" NeutronStandard.Functions.LongFunction" />
40
- <exclude name =" NeutronStandard.Functions.VariableFunctions" />
41
- <exclude name =" NeutronStandard.Functions.TypeHint" />
42
- <exclude name =" NeutronStandard.Constants.DisallowDefine" />
43
- </rule >
38
+ <rule ref =" NeutronStandard" >
39
+ <exclude name =" NeutronStandard.Functions.LongFunction" />
40
+ <exclude name =" NeutronStandard.Functions.VariableFunctions" />
41
+ <exclude name =" NeutronStandard.Functions.TypeHint" />
42
+ <exclude name =" NeutronStandard.Conditions.DisallowConditionAssignWithoutConditional" />
43
+ <exclude name =" NeutronStandard.Constants.DisallowDefine" />
44
+ <exclude name =" NeutronStandard.MagicMethods.DisallowMagicGet" />
45
+ <exclude name =" NeutronStandard.MagicMethods.DisallowMagicSet" />
46
+ <rule ref =" NeutronStandard.Whitespace.DisallowMultipleNewlines.MultipleNewlines" >
47
+ <type >warning</type >
48
+ </rule >
49
+ </rule >
44
50
45
51
<!--
46
52
Some WordPress specific rules.
Original file line number Diff line number Diff line change 43
43
<exclude name =" NeutronStandard.Functions.LongFunction" />
44
44
<exclude name =" NeutronStandard.Functions.VariableFunctions" />
45
45
<exclude name =" NeutronStandard.Functions.TypeHint" />
46
+ <exclude name =" NeutronStandard.Conditions.DisallowConditionAssignWithoutConditional" />
46
47
<exclude name =" NeutronStandard.Constants.DisallowDefine" />
48
+ <exclude name =" NeutronStandard.MagicMethods.DisallowMagicGet" />
49
+ <exclude name =" NeutronStandard.MagicMethods.DisallowMagicSet" />
50
+ <rule ref =" NeutronStandard.Whitespace.DisallowMultipleNewlines.MultipleNewlines" >
51
+ <type >warning</type >
52
+ </rule >
47
53
</rule >
48
54
49
55
<!--
You can’t perform that action at this time.
0 commit comments