|
35 | 35 | <exclude-pattern>*/Fixtures/*</exclude-pattern> |
36 | 36 | <exclude-pattern>*/Test/*</exclude-pattern> |
37 | 37 | <exclude-pattern>*Test.php</exclude-pattern> |
| 38 | + <exclude-pattern>*/tests/*</exclude-pattern> |
38 | 39 | </rule> |
39 | 40 | <rule ref="Magento2.Legacy.MageEntity"> |
40 | 41 | <severity>10</severity> |
|
64 | 65 | <exclude-pattern>*/lib/*</exclude-pattern> |
65 | 66 | <exclude-pattern>*/Test/*</exclude-pattern> |
66 | 67 | <exclude-pattern>*Test.php</exclude-pattern> |
| 68 | + <exclude-pattern>*/tests/*</exclude-pattern> |
67 | 69 | </rule> |
68 | 70 | <rule ref="Magento2.Security.InsecureFunction"> |
69 | 71 | <severity>10</severity> |
|
84 | 86 | <exclude-pattern>*/lib/*</exclude-pattern> |
85 | 87 | <exclude-pattern>*/Test/*</exclude-pattern> |
86 | 88 | <exclude-pattern>*Test.php</exclude-pattern> |
| 89 | + <exclude-pattern>*/tests/*</exclude-pattern> |
87 | 90 | </rule> |
88 | 91 | <rule ref="Magento2.Strings.ExecutableRegEx"> |
89 | 92 | <severity>10</severity> |
|
116 | 119 | <exclude-pattern>*/lib/*</exclude-pattern> |
117 | 120 | <exclude-pattern>*/Test/*</exclude-pattern> |
118 | 121 | <exclude-pattern>*Test.php</exclude-pattern> |
| 122 | + <exclude-pattern>*/tests/*</exclude-pattern> |
119 | 123 | </rule> |
120 | 124 | <rule ref="Magento2.Security.XssTemplate"> |
121 | 125 | <include-pattern>*.phtml</include-pattern> |
|
130 | 134 | <exclude-pattern>*/lib/*</exclude-pattern> |
131 | 135 | <exclude-pattern>*/Test/*</exclude-pattern> |
132 | 136 | <exclude-pattern>*Test.php</exclude-pattern> |
| 137 | + <exclude-pattern>*/tests/*</exclude-pattern> |
133 | 138 | </rule> |
134 | 139 | <rule ref="Squiz.PHP.NonExecutableCode"> |
135 | 140 | <severity>9</severity> |
|
148 | 153 | <exclude-pattern>*/Fixtures/*</exclude-pattern> |
149 | 154 | <exclude-pattern>*/Test/*</exclude-pattern> |
150 | 155 | <exclude-pattern>*Test.php</exclude-pattern> |
| 156 | + <exclude-pattern>*/tests/*</exclude-pattern> |
151 | 157 | </rule> |
152 | 158 | <rule ref="Magento2.Exceptions.ThrowCatch"> |
153 | 159 | <severity>8</severity> |
|
160 | 166 | <exclude-pattern>*/Fixtures/*</exclude-pattern> |
161 | 167 | <exclude-pattern>*/Test/*</exclude-pattern> |
162 | 168 | <exclude-pattern>*Test.php</exclude-pattern> |
| 169 | + <exclude-pattern>*/tests/*</exclude-pattern> |
163 | 170 | </rule> |
164 | 171 | <rule ref="Magento2.Functions.DiscouragedFunction"> |
165 | 172 | <severity>8</severity> |
|
169 | 176 | <exclude-pattern>*/lib/*</exclude-pattern> |
170 | 177 | <exclude-pattern>*/Test/*</exclude-pattern> |
171 | 178 | <exclude-pattern>*Test.php</exclude-pattern> |
| 179 | + <exclude-pattern>*/tests/*</exclude-pattern> |
172 | 180 | </rule> |
173 | 181 | <rule ref="Magento2.Functions.StaticFunction"> |
174 | 182 | <severity>8</severity> |
|
179 | 187 | <exclude-pattern>*/Setup/*</exclude-pattern> |
180 | 188 | <exclude-pattern>*/Test/*</exclude-pattern> |
181 | 189 | <exclude-pattern>*Test.php</exclude-pattern> |
| 190 | + <exclude-pattern>*/tests/*</exclude-pattern> |
182 | 191 | </rule> |
183 | 192 | <rule ref="Magento2.NamingConvention.InterfaceName"> |
184 | 193 | <severity>8</severity> |
|
245 | 254 | <exclude-pattern>*/Fixtures/*</exclude-pattern> |
246 | 255 | <exclude-pattern>*/Test/*</exclude-pattern> |
247 | 256 | <exclude-pattern>*Test.php</exclude-pattern> |
| 257 | + <exclude-pattern>*/tests/*</exclude-pattern> |
248 | 258 | </rule> |
249 | 259 | <rule ref="Magento2.PHP.LiteralNamespaces"> |
250 | 260 | <severity>7</severity> |
|
253 | 263 | <exclude-pattern>*/Fixtures/*</exclude-pattern> |
254 | 264 | <exclude-pattern>*/Test/*</exclude-pattern> |
255 | 265 | <exclude-pattern>*Test.php</exclude-pattern> |
| 266 | + <exclude-pattern>*/tests/*</exclude-pattern> |
256 | 267 | </rule> |
257 | 268 | <rule ref="Magento2.PHP.Var"> |
258 | 269 | <severity>7</severity> |
|
277 | 288 | <exclude-pattern>*/Fixtures/*</exclude-pattern> |
278 | 289 | <exclude-pattern>*/Test/*</exclude-pattern> |
279 | 290 | <exclude-pattern>*Test.php</exclude-pattern> |
| 291 | + <exclude-pattern>*/tests/*</exclude-pattern> |
280 | 292 | </rule> |
281 | 293 | <rule ref="Squiz.Operators.IncrementDecrementUsage"> |
282 | 294 | <severity>7</severity> |
|
294 | 306 | <exclude-pattern>*/Fixtures/*</exclude-pattern> |
295 | 307 | <exclude-pattern>*/Test/*</exclude-pattern> |
296 | 308 | <exclude-pattern>*Test.php</exclude-pattern> |
| 309 | + <exclude-pattern>*/tests/*</exclude-pattern> |
297 | 310 | </rule> |
298 | 311 | <rule ref="Squiz.Scope.MemberVarScope"> |
299 | 312 | <severity>7</severity> |
|
367 | 380 | <exclude-pattern>*/Fixtures/*</exclude-pattern> |
368 | 381 | <exclude-pattern>*/Test/*</exclude-pattern> |
369 | 382 | <exclude-pattern>*Test.php</exclude-pattern> |
| 383 | + <exclude-pattern>*/tests/*</exclude-pattern> |
370 | 384 | </rule> |
371 | 385 | <rule ref="PSR1.Methods.CamelCapsMethodName"> |
372 | 386 | <severity>6</severity> |
|
0 commit comments