Skip to content

Commit f816772

Browse files
committed
build: Cleanup and improve .phpcs.xml
Use /* at the end of exclude-pattern when excluding the whole folder, see Id95236edbd3d87f57719d235c7c9cee366180099 for explaination Change-Id: I07ecbf8bf15efcae17ee41a942eb2984bb4b8151
1 parent 31a8e79 commit f816772

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.phpcs.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,5 @@
1313
<file>.</file>
1414
<arg name="encoding" value="UTF-8"/>
1515
<arg name="extensions" value="php"/>
16-
<exclude-pattern>coverage</exclude-pattern>
17-
<exclude-pattern>vendor</exclude-pattern>
18-
<exclude-pattern>doc/html</exclude-pattern>
16+
<exclude-pattern type="relative">^doc/html/*</exclude-pattern>
1917
</ruleset>

0 commit comments

Comments
 (0)