Skip to content

Commit b9a8afd

Browse files
committed
Exclude NeutronStandard.MagicMethods.RiskyMagicMethod
and update rules list docs
1 parent d44e756 commit b9a8afd

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

Inpsyde/ruleset.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
<exclude name="NeutronStandard.Constants.DisallowDefine"/>
4444
<exclude name="NeutronStandard.MagicMethods.DisallowMagicGet"/>
4545
<exclude name="NeutronStandard.MagicMethods.DisallowMagicSet"/>
46+
<exclude name="NeutronStandard.MagicMethods.RiskyMagicMethod"/>
4647
<rule ref="NeutronStandard.Whitespace.DisallowMultipleNewlines.MultipleNewlines">
4748
<type>warning</type>
4849
</rule>

docs/rules-list/neutron-standard.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@
44
- NeutronStandard.Arrays
55
- NeutronStandard.Arrays.DisallowLongformArray
66
- NeutronStandard.Arrays.DisallowLongformArray.LongformArray
7-
- NeutronStandard.Conditions
8-
- NeutronStandard.Conditions.DisallowConditionAssignWithoutConditional
9-
- NeutronStandard.Conditions.DisallowConditionAssignWithoutConditional.ConditionAssignWithoutConditional
10-
- NeutronStandard.Constants
11-
- NeutronStandard.Constants.DisallowDefine
12-
- NeutronStandard.Constants.DisallowDefine.Define
137
- NeutronStandard.Extract
148
- NeutronStandard.Extract.DisallowExtract
159
- NeutronStandard.Extract.DisallowExtract.Extract
@@ -20,14 +14,8 @@
2014
- NeutronStandard.Globals.DisallowGlobalFunctions
2115
- NeutronStandard.Globals.DisallowGlobalFunctions.GlobalFunctions
2216
- NeutronStandard.MagicMethods
23-
- NeutronStandard.MagicMethods.DisallowMagicGet
24-
- NeutronStandard.MagicMethods.DisallowMagicGet.MagicGet
2517
- NeutronStandard.MagicMethods.DisallowMagicSerialize
2618
- NeutronStandard.MagicMethods.DisallowMagicSerialize.MagicSerialize
27-
- NeutronStandard.MagicMethods.DisallowMagicSet
28-
- NeutronStandard.MagicMethods.DisallowMagicSet.MagicSet
29-
- NeutronStandard.MagicMethods.RiskyMagicMethod
30-
- NeutronStandard.MagicMethods.RiskyMagicMethod.RiskyMagicMethod
3119
- NeutronStandard.StrictTypes
3220
- NeutronStandard.StrictTypes.RequireStrictTypes
3321
- NeutronStandard.StrictTypes.RequireStrictTypes.StrictTypes

phpcs.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
<exclude name="NeutronStandard.Constants.DisallowDefine"/>
4848
<exclude name="NeutronStandard.MagicMethods.DisallowMagicGet"/>
4949
<exclude name="NeutronStandard.MagicMethods.DisallowMagicSet"/>
50+
<exclude name="NeutronStandard.MagicMethods.RiskyMagicMethod"/>
5051
<rule ref="NeutronStandard.Whitespace.DisallowMultipleNewlines.MultipleNewlines">
5152
<type>warning</type>
5253
</rule>

0 commit comments

Comments
 (0)