|
1 | 1 | <?xml version="1.0"?> |
2 | 2 | <!-- |
3 | 3 | /** |
4 | | - * Copyright MediaCT. All rights reserved. |
5 | | - * https://www.mediact.nl |
| 4 | + * Copyright Youwe. All rights reserved. |
| 5 | + * https://www.youweagency.com |
6 | 6 | */ |
7 | 7 | --> |
8 | 8 | <ruleset name="Mediact/Magento2"> |
9 | | - <description>MediaCT coding standards for Magento2.</description> |
10 | | - <arg name="colors" /> |
11 | | - <arg name="extensions" value="php/PHP,phtml/PHP,js/JS,css/CSS" /> |
12 | | - |
13 | | - <!-- Base rules on MediaCT --> |
14 | | - <rule ref="../../../coding-standard/src/MediactCommon"> |
15 | | - <exclude name="Squiz.Classes.ValidClassName.NotCamelCaps" /> |
16 | | - <exclude name="Squiz.Commenting.FunctionComment.ScalarTypeHintMissing" /> |
17 | | - <exclude name="MediactCommon.Php7.ReturnType" /> |
18 | | - <exclude name="Squiz.Commenting.FunctionComment.TypeHintMissing" /> |
19 | | - <exclude name="PSR2.Methods.MethodDeclaration.Underscore" /> |
20 | | - <exclude name="Squiz.Commenting.FunctionComment.EmptyThrows" /> |
21 | | - </rule> |
22 | | - |
23 | | - <rule ref="Generic.Files.LineLength.TooLong"> |
24 | | - <exclude-pattern>*.phtml</exclude-pattern> |
25 | | - </rule> |
26 | | - <rule ref="Squiz.ControlStructures.ControlSignature"> |
27 | | - <exclude-pattern>*.phtml</exclude-pattern> |
28 | | - </rule> |
29 | | - <rule ref="Squiz.WhiteSpace.ScopeClosingBrace"> |
30 | | - <exclude-pattern>*.phtml</exclude-pattern> |
31 | | - </rule> |
32 | | - <rule ref="Generic.CodeAnalysis.ForLoopWithTestFunctionCall.NotAllowed"> |
33 | | - <exclude-pattern>*.phtml</exclude-pattern> |
34 | | - </rule> |
35 | | - <rule ref="PSR2.Classes.PropertyDeclaration.Underscore"> |
36 | | - <exclude-pattern>*.phtml</exclude-pattern> |
37 | | - </rule> |
38 | | - |
39 | | - <rule ref="Squiz.WhiteSpace.MemberVarSpacing" > |
40 | | - <properties> |
41 | | - <property name="spacingBeforeFirst" value="0"/> |
42 | | - </properties> |
43 | | - </rule> |
44 | | - |
45 | | - <rule ref="PSR12.Functions.ReturnTypeDeclaration" /> |
| 9 | + <description>Mediact coding standards for Magento2 is deprecated please use Magento2.</description> |
| 10 | + <rule ref="../Magento2"/> |
46 | 11 | </ruleset> |
0 commit comments