Skip to content

Commit 8b8a622

Browse files
mhujerondrejmirtes
authored andcommitted
Move PHPCS exclusion pattern to phpcs.xml
Otherwise it does not play nice with inline validation in PHPStorm
1 parent 8dcc13f commit 8b8a622

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

build.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
<arg value="--extensions=php"/>
4343
<arg value="--encoding=utf-8"/>
4444
<arg value="--tab-width=4"/>
45-
<arg value="--ignore=tests/*/data"/>
4645
<arg value="-sp"/>
4746
<arg path="src"/>
4847
<arg path="tests"/>
@@ -59,7 +58,6 @@
5958
<arg value="--extensions=php"/>
6059
<arg value="--encoding=utf-8"/>
6160
<arg value="--tab-width=4"/>
62-
<arg value="--ignore=tests/*/data"/>
6361
<arg value="-sp"/>
6462
<arg path="src"/>
6563
<arg path="tests"/>

phpcs.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,5 @@
3636
<property name="enableVoidTypeHint" type="false" />
3737
</properties>
3838
</rule>
39+
<exclude-pattern>tests/*/data</exclude-pattern>
3940
</ruleset>

0 commit comments

Comments
 (0)