Skip to content

Commit 378fc9b

Browse files
committed
exclude tests from utils check
1 parent 7bb1900 commit 378fc9b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,11 @@ repos:
103103
entry: bash ./test/assert-utils-used.bash
104104
language: system
105105
files: \.php$
106-
exclude: ^resources/lib/utils\.php$
106+
exclude: |
107+
(?x)^(
108+
test/.*|
109+
resources/lib/utils\.php|
110+
)$
107111
- id: assert-exceptions-used
108112
name: Assert exceptions are used
109113
entry: bash ./test/assert-exceptions-used.bash

0 commit comments

Comments
 (0)