Skip to content

Commit 414cf0b

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: Ic7a34a12a52c5c74ad08f34f02ca1941a433a8a6
1 parent 1925f7c commit 414cf0b

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
@@ -4,7 +4,5 @@
44
<file>.</file>
55
<arg name="encoding" value="UTF-8"/>
66
<arg name="extensions" value="php"/>
7-
<exclude-pattern>coverage</exclude-pattern>
8-
<exclude-pattern>vendor</exclude-pattern>
9-
<exclude-pattern>doc/html</exclude-pattern>
7+
<exclude-pattern type="relative">^doc/html/*</exclude-pattern>
108
</ruleset>

0 commit comments

Comments
 (0)