|
5 | 5 | * https://www.mediact.nl |
6 | 6 | */ |
7 | 7 | --> |
8 | | -<ruleset name="Mediact/Magento1"> |
9 | | - <description>MediaCT coding standards for Magento1.</description> |
| 8 | +<ruleset name="Mediact/Magento2"> |
| 9 | + <description>MediaCT coding standards for Magento2.</description> |
10 | 10 | <arg name="colors" /> |
11 | 11 | <arg name="extensions" value="php/PHP,phtml/PHP,js/JS,css/CSS" /> |
12 | 12 |
|
|
25 | 25 | <exclude name="Generic.PHP.Syntax"/> |
26 | 26 | </rule> |
27 | 27 |
|
28 | | - <!-- Base rules on Magento Marketplace --> |
29 | | - <rule ref="../../../../magento/marketplace-eqp/MEQP1"> |
30 | | - <exclude name="MEQP1.Classes"/> |
31 | | - <exclude name="MEQP1.PHP.PrivateClassMember"/> |
32 | | - <exclude name="MEQP1.Exceptions.DirectThrow"/> |
33 | | - <exclude name="MEQP1.PHP.Syntax"/> |
34 | | - <exclude name="MEQP1.Security.Acl"/> |
35 | | - <exclude name="MEQP1.Security.Superglobal"/> |
36 | | - <exclude name="MEQP1.Classes.ObjectInstantiation"/> |
37 | | - <exclude name="MEQP1.Stdlib.DateTime"/> |
38 | | - <exclude name="MEQP1.SQL.MissedIndexes"/> |
39 | | - <exclude name="MEQP1.SQL.SlowQuery"/> |
40 | | - <exclude name="MEQP1.Security.DiscouragedFunction" /> |
41 | | - <exclude name="MEQP1.Performance.Loop" /> |
42 | | - <exclude name="Generic.Functions.OpeningFunctionBraceBsdAllman" /> |
43 | | - <exclude name="Zend.NamingConventions.ValidVariableName.PrivateNoUnderscore"/> |
44 | | - </rule> |
45 | | - <rule ref="../../../../magento/marketplace-eqp/MEQP2"> |
46 | | - <exclude name="PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket"/> |
47 | | - <exclude name="MEQP2.PHP.Syntax"/> |
48 | | - <exclude name="Generic.Arrays.DisallowShortArraySyntax" /> |
49 | | - <exclude name="Generic.CodeAnalysis.UnusedFunctionParameter.Found"/> |
50 | | - </rule> |
51 | | - |
52 | | - <rule ref="Squiz.PHP.CommentedOutCode"> |
53 | | - <properties> |
54 | | - <property name="maxPercentage" value="80"/> |
55 | | - </properties> |
56 | | - </rule> |
57 | 28 | <rule ref="Generic.Files.LineLength.TooLong"> |
58 | 29 | <exclude-pattern>*.phtml</exclude-pattern> |
59 | 30 | </rule> |
|
0 commit comments