Skip to content

Commit e3d9adc

Browse files
Merge pull request #9 from Space48/S48-1515-update-rulesets
S48-1515 added exclude patterns for magento core files
2 parents 24ef62a + 189585c commit e3d9adc

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

rulesets/phpmd.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,6 @@
2828
<rule ref="vendor/space48/magento2-code-quality/rulesets/PhpMd/extra.xml" >
2929
</rule>
3030

31+
<exclude-pattern>app/etc/*</exclude-pattern>
32+
<exclude-pattern>app/bootstrap.php</exclude-pattern>
3133
</ruleset>

rulesets/ruleset.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,6 @@
3939
</properties>
4040
</rule>
4141

42+
<exclude-pattern>app/etc/*</exclude-pattern>
43+
<exclude-pattern>app/bootstrap.php</exclude-pattern>
4244
</ruleset>

0 commit comments

Comments
 (0)