Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d9c4924

Browse filesBrowse files
test folder is excluded from the coding standard rules
1 parent c15d174 commit d9c4924
Copy full SHA for d9c4924

File tree

Expand file treeCollapse file tree

1 file changed

+14
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+14
-0
lines changed

‎Magento2/ruleset.xml

Copy file name to clipboardExpand all lines: Magento2/ruleset.xml
+14Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
<exclude-pattern>*/Fixtures/*</exclude-pattern>
3636
<exclude-pattern>*/Test/*</exclude-pattern>
3737
<exclude-pattern>*Test.php</exclude-pattern>
38+
<exclude-pattern>*/tests/*</exclude-pattern>
3839
</rule>
3940
<rule ref="Magento2.Legacy.MageEntity">
4041
<severity>10</severity>
@@ -64,6 +65,7 @@
6465
<exclude-pattern>*/lib/*</exclude-pattern>
6566
<exclude-pattern>*/Test/*</exclude-pattern>
6667
<exclude-pattern>*Test.php</exclude-pattern>
68+
<exclude-pattern>*/tests/*</exclude-pattern>
6769
</rule>
6870
<rule ref="Magento2.Security.InsecureFunction">
6971
<severity>10</severity>
@@ -84,6 +86,7 @@
8486
<exclude-pattern>*/lib/*</exclude-pattern>
8587
<exclude-pattern>*/Test/*</exclude-pattern>
8688
<exclude-pattern>*Test.php</exclude-pattern>
89+
<exclude-pattern>*/tests/*</exclude-pattern>
8790
</rule>
8891
<rule ref="Magento2.Strings.ExecutableRegEx">
8992
<severity>10</severity>
@@ -116,6 +119,7 @@
116119
<exclude-pattern>*/lib/*</exclude-pattern>
117120
<exclude-pattern>*/Test/*</exclude-pattern>
118121
<exclude-pattern>*Test.php</exclude-pattern>
122+
<exclude-pattern>*/tests/*</exclude-pattern>
119123
</rule>
120124
<rule ref="Magento2.Security.XssTemplate">
121125
<include-pattern>*.phtml</include-pattern>
@@ -130,6 +134,7 @@
130134
<exclude-pattern>*/lib/*</exclude-pattern>
131135
<exclude-pattern>*/Test/*</exclude-pattern>
132136
<exclude-pattern>*Test.php</exclude-pattern>
137+
<exclude-pattern>*/tests/*</exclude-pattern>
133138
</rule>
134139
<rule ref="Squiz.PHP.NonExecutableCode">
135140
<severity>9</severity>
@@ -148,6 +153,7 @@
148153
<exclude-pattern>*/Fixtures/*</exclude-pattern>
149154
<exclude-pattern>*/Test/*</exclude-pattern>
150155
<exclude-pattern>*Test.php</exclude-pattern>
156+
<exclude-pattern>*/tests/*</exclude-pattern>
151157
</rule>
152158
<rule ref="Magento2.Exceptions.ThrowCatch">
153159
<severity>8</severity>
@@ -160,6 +166,7 @@
160166
<exclude-pattern>*/Fixtures/*</exclude-pattern>
161167
<exclude-pattern>*/Test/*</exclude-pattern>
162168
<exclude-pattern>*Test.php</exclude-pattern>
169+
<exclude-pattern>*/tests/*</exclude-pattern>
163170
</rule>
164171
<rule ref="Magento2.Functions.DiscouragedFunction">
165172
<severity>8</severity>
@@ -169,6 +176,7 @@
169176
<exclude-pattern>*/lib/*</exclude-pattern>
170177
<exclude-pattern>*/Test/*</exclude-pattern>
171178
<exclude-pattern>*Test.php</exclude-pattern>
179+
<exclude-pattern>*/tests/*</exclude-pattern>
172180
</rule>
173181
<rule ref="Magento2.Functions.StaticFunction">
174182
<severity>8</severity>
@@ -179,6 +187,7 @@
179187
<exclude-pattern>*/Setup/*</exclude-pattern>
180188
<exclude-pattern>*/Test/*</exclude-pattern>
181189
<exclude-pattern>*Test.php</exclude-pattern>
190+
<exclude-pattern>*/tests/*</exclude-pattern>
182191
</rule>
183192
<rule ref="Magento2.NamingConvention.InterfaceName">
184193
<severity>8</severity>
@@ -245,6 +254,7 @@
245254
<exclude-pattern>*/Fixtures/*</exclude-pattern>
246255
<exclude-pattern>*/Test/*</exclude-pattern>
247256
<exclude-pattern>*Test.php</exclude-pattern>
257+
<exclude-pattern>*/tests/*</exclude-pattern>
248258
</rule>
249259
<rule ref="Magento2.PHP.LiteralNamespaces">
250260
<severity>7</severity>
@@ -253,6 +263,7 @@
253263
<exclude-pattern>*/Fixtures/*</exclude-pattern>
254264
<exclude-pattern>*/Test/*</exclude-pattern>
255265
<exclude-pattern>*Test.php</exclude-pattern>
266+
<exclude-pattern>*/tests/*</exclude-pattern>
256267
</rule>
257268
<rule ref="Magento2.PHP.Var">
258269
<severity>7</severity>
@@ -277,6 +288,7 @@
277288
<exclude-pattern>*/Fixtures/*</exclude-pattern>
278289
<exclude-pattern>*/Test/*</exclude-pattern>
279290
<exclude-pattern>*Test.php</exclude-pattern>
291+
<exclude-pattern>*/tests/*</exclude-pattern>
280292
</rule>
281293
<rule ref="Squiz.Operators.IncrementDecrementUsage">
282294
<severity>7</severity>
@@ -294,6 +306,7 @@
294306
<exclude-pattern>*/Fixtures/*</exclude-pattern>
295307
<exclude-pattern>*/Test/*</exclude-pattern>
296308
<exclude-pattern>*Test.php</exclude-pattern>
309+
<exclude-pattern>*/tests/*</exclude-pattern>
297310
</rule>
298311
<rule ref="Squiz.Scope.MemberVarScope">
299312
<severity>7</severity>
@@ -367,6 +380,7 @@
367380
<exclude-pattern>*/Fixtures/*</exclude-pattern>
368381
<exclude-pattern>*/Test/*</exclude-pattern>
369382
<exclude-pattern>*Test.php</exclude-pattern>
383+
<exclude-pattern>*/tests/*</exclude-pattern>
370384
</rule>
371385
<rule ref="PSR1.Methods.CamelCapsMethodName">
372386
<severity>6</severity>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.