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 3535 Neutron standard are quality tools for PHP7 development from Automattic.
3636 See https://github.com/Automattic/phpcs-neutron-standard
3737 -->
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 >
4450
4551 <!--
4652 Some WordPress specific rules.
Original file line number Diff line number Diff line change 4343 <exclude name =" NeutronStandard.Functions.LongFunction" />
4444 <exclude name =" NeutronStandard.Functions.VariableFunctions" />
4545 <exclude name =" NeutronStandard.Functions.TypeHint" />
46+ <exclude name =" NeutronStandard.Conditions.DisallowConditionAssignWithoutConditional" />
4647 <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 >
4753 </rule >
4854
4955 <!--
You can’t perform that action at this time.
0 commit comments