|
13 | 13 | <rule ref="Generic.PHP.CharacterBeforePHPOpeningTag"> |
14 | 14 | <severity>10</severity> |
15 | 15 | <type>error</type> |
16 | | - <exclude-pattern>*.phtml</exclude-pattern> |
| 16 | + <exclude-pattern>*\.phtml$</exclude-pattern> |
17 | 17 | </rule> |
18 | 18 | <rule ref="Generic.PHP.DeprecatedFunctions"> |
19 | 19 | <severity>10</severity> |
|
76 | 76 | <type>error</type> |
77 | 77 | </rule> |
78 | 78 | <rule ref="Magento2.Security.LanguageConstruct.DirectOutput"> |
79 | | - <exclude-pattern>*.phtml</exclude-pattern> |
| 79 | + <exclude-pattern>*\.phtml$</exclude-pattern> |
80 | 80 | </rule> |
81 | 81 | <rule ref="Magento2.Security.Superglobal.SuperglobalUsageError"> |
82 | 82 | <severity>10</severity> |
|
99 | 99 | <rule ref="PSR2.Files.ClosingTag"> |
100 | 100 | <severity>10</severity> |
101 | 101 | <type>error</type> |
102 | | - <exclude-pattern>*.phtml</exclude-pattern> |
| 102 | + <exclude-pattern>*\.phtml$</exclude-pattern> |
103 | 103 | </rule> |
104 | 104 | <rule ref="Squiz.PHP.Eval"> |
105 | 105 | <severity>10</severity> |
|
122 | 122 | <exclude-pattern>*/tests/*</exclude-pattern> |
123 | 123 | </rule> |
124 | 124 | <rule ref="Magento2.Security.XssTemplate"> |
125 | | - <include-pattern>*.phtml</include-pattern> |
| 125 | + <include-pattern>*\.phtml$</include-pattern> |
126 | 126 | <severity>9</severity> |
127 | 127 | <type>warning</type> |
128 | 128 | </rule> |
|
207 | 207 | <type>warning</type> |
208 | 208 | </rule> |
209 | 209 | <rule ref="Magento2.Templates.ThisInTemplate"> |
210 | | - <include-pattern>*.phtml</include-pattern> |
| 210 | + <include-pattern>*\.phtml$</include-pattern> |
211 | 211 | <severity>8</severity> |
212 | 212 | <type>warning</type> |
213 | 213 | </rule> |
|
302 | 302 | <rule ref="Squiz.Operators.IncrementDecrementUsage"> |
303 | 303 | <severity>7</severity> |
304 | 304 | <type>warning</type> |
305 | | - <exclude-pattern>*.phtml</exclude-pattern> |
| 305 | + <exclude-pattern>*\.phtml$</exclude-pattern> |
306 | 306 | </rule> |
307 | 307 | <rule ref="Squiz.Operators.ValidLogicalOperators"> |
308 | 308 | <severity>7</severity> |
|
404 | 404 | <rule ref="PEAR.ControlStructures.ControlSignature"> |
405 | 405 | <severity>6</severity> |
406 | 406 | <type>warning</type> |
407 | | - <exclude-pattern>*.phtml</exclude-pattern> |
| 407 | + <exclude-pattern>*\.phtml$</exclude-pattern> |
408 | 408 | </rule> |
409 | 409 | <rule ref="PSR1.Files.SideEffects"> |
410 | 410 | <severity>6</severity> |
|
483 | 483 | </properties> |
484 | 484 | </rule> |
485 | 485 | <rule ref="Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace"> |
486 | | - <exclude-pattern>*.phtml</exclude-pattern> |
| 486 | + <exclude-pattern>*\.phtml$</exclude-pattern> |
487 | 487 | </rule> |
488 | 488 | <rule ref="Squiz.ControlStructures.ForEachLoopDeclaration"> |
489 | 489 | <severity>6</severity> |
|
533 | 533 | <rule ref="Squiz.WhiteSpace.ScopeClosingBrace"> |
534 | 534 | <severity>6</severity> |
535 | 535 | <type>warning</type> |
536 | | - <exclude-pattern>*.phtml</exclude-pattern> |
| 536 | + <exclude-pattern>*\.phtml$</exclude-pattern> |
537 | 537 | </rule> |
538 | 538 | <rule ref="Squiz.WhiteSpace.ScopeKeywordSpacing"> |
539 | 539 | <severity>6</severity> |
|
0 commit comments