|
31 | 31 | <rule ref="Magento2.Classes.DiscouragedDependencies"> |
32 | 32 | <severity>10</severity> |
33 | 33 | <type>error</type> |
| 34 | + <exclude-pattern>*/_files/*</exclude-pattern> |
| 35 | + <exclude-pattern>*/Fixtures/*</exclude-pattern> |
34 | 36 | <exclude-pattern>*/Test/*</exclude-pattern> |
| 37 | + <exclude-pattern>*Test.php</exclude-pattern> |
35 | 38 | </rule> |
36 | 39 | <rule ref="Magento2.Legacy.MageEntity"> |
37 | 40 | <severity>10</severity> |
|
57 | 60 | <severity>10</severity> |
58 | 61 | <type>error</type> |
59 | 62 | <exclude-pattern>*/_files/*</exclude-pattern> |
| 63 | + <exclude-pattern>*/Fixtures/*</exclude-pattern> |
| 64 | + <exclude-pattern>*/lib/*</exclude-pattern> |
60 | 65 | <exclude-pattern>*/Test/*</exclude-pattern> |
61 | 66 | <exclude-pattern>*Test.php</exclude-pattern> |
62 | 67 | </rule> |
63 | 68 | <rule ref="Magento2.Security.LanguageConstruct"> |
64 | 69 | <severity>10</severity> |
65 | 70 | <type>error</type> |
66 | 71 | </rule> |
| 72 | + <rule ref="Magento2.Security.LanguageConstruct.DirectOutput"> |
| 73 | + <exclude-pattern>*.phtml</exclude-pattern> |
| 74 | + </rule> |
67 | 75 | <rule ref="Magento2.Security.Superglobal.SuperglobalUsageError"> |
68 | 76 | <severity>10</severity> |
69 | 77 | <type>error</type> |
70 | 78 | <exclude-pattern>*/_files/*</exclude-pattern> |
| 79 | + <exclude-pattern>*/Fixtures/*</exclude-pattern> |
71 | 80 | <exclude-pattern>*/lib/*</exclude-pattern> |
72 | 81 | <exclude-pattern>*/Test/*</exclude-pattern> |
73 | 82 | <exclude-pattern>*Test.php</exclude-pattern> |
|
103 | 112 | <severity>9</severity> |
104 | 113 | <type>warning</type> |
105 | 114 | <exclude-pattern>*/_files/*</exclude-pattern> |
| 115 | + <exclude-pattern>*/Fixtures/*</exclude-pattern> |
106 | 116 | <exclude-pattern>*/lib/*</exclude-pattern> |
107 | 117 | <exclude-pattern>*/Test/*</exclude-pattern> |
108 | 118 | <exclude-pattern>*Test.php</exclude-pattern> |
|
116 | 126 | <severity>9</severity> |
117 | 127 | <type>warning</type> |
118 | 128 | <exclude-pattern>*/_files/*</exclude-pattern> |
| 129 | + <exclude-pattern>*/Fixtures/*</exclude-pattern> |
119 | 130 | <exclude-pattern>*/lib/*</exclude-pattern> |
120 | 131 | <exclude-pattern>*/Test/*</exclude-pattern> |
121 | 132 | <exclude-pattern>*Test.php</exclude-pattern> |
|
134 | 145 | <severity>8</severity> |
135 | 146 | <type>warning</type> |
136 | 147 | <exclude-pattern>*/_files/*</exclude-pattern> |
| 148 | + <exclude-pattern>*/Fixtures/*</exclude-pattern> |
137 | 149 | <exclude-pattern>*/Test/*</exclude-pattern> |
138 | 150 | <exclude-pattern>*Test.php</exclude-pattern> |
139 | 151 | </rule> |
|
145 | 157 | <severity>8</severity> |
146 | 158 | <type>warning</type> |
147 | 159 | <exclude-pattern>*/_files/*</exclude-pattern> |
| 160 | + <exclude-pattern>*/Fixtures/*</exclude-pattern> |
148 | 161 | <exclude-pattern>*/lib/*</exclude-pattern> |
149 | 162 | <exclude-pattern>*/Test/*</exclude-pattern> |
150 | 163 | <exclude-pattern>*Test.php</exclude-pattern> |
|
153 | 166 | <severity>8</severity> |
154 | 167 | <type>warning</type> |
155 | 168 | <exclude-pattern>*/_files/*</exclude-pattern> |
| 169 | + <exclude-pattern>*/Fixtures/*</exclude-pattern> |
156 | 170 | <exclude-pattern>*/lib/*</exclude-pattern> |
157 | 171 | <exclude-pattern>*/Setup/*</exclude-pattern> |
158 | 172 | <exclude-pattern>*/Test/*</exclude-pattern> |
|
224 | 238 | <severity>7</severity> |
225 | 239 | <type>warning</type> |
226 | 240 | <exclude-pattern>*/_files/*</exclude-pattern> |
| 241 | + <exclude-pattern>*/Fixtures/*</exclude-pattern> |
227 | 242 | <exclude-pattern>*/Test/*</exclude-pattern> |
228 | 243 | <exclude-pattern>*Test.php</exclude-pattern> |
229 | 244 | </rule> |
|
251 | 266 | <severity>7</severity> |
252 | 267 | <type>warning</type> |
253 | 268 | <exclude-pattern>*/_files/*</exclude-pattern> |
| 269 | + <exclude-pattern>*/Fixtures/*</exclude-pattern> |
254 | 270 | <exclude-pattern>*/Test/*</exclude-pattern> |
255 | 271 | <exclude-pattern>*Test.php</exclude-pattern> |
256 | 272 | </rule> |
|
266 | 282 | <severity>7</severity> |
267 | 283 | <type>warning</type> |
268 | 284 | <exclude-pattern>*/_files/*</exclude-pattern> |
| 285 | + <exclude-pattern>*/Fixtures/*</exclude-pattern> |
269 | 286 | <exclude-pattern>*/Test/*</exclude-pattern> |
270 | 287 | <exclude-pattern>*Test.php</exclude-pattern> |
271 | 288 | </rule> |
|
329 | 346 | <severity>6</severity> |
330 | 347 | <type>warning</type> |
331 | 348 | <exclude-pattern>*/_files/*</exclude-pattern> |
| 349 | + <exclude-pattern>*/Fixtures/*</exclude-pattern> |
332 | 350 | <exclude-pattern>*/Test/*</exclude-pattern> |
333 | 351 | <exclude-pattern>*Test.php</exclude-pattern> |
334 | 352 | </rule> |
|
0 commit comments