Skip to content

Commit 8516386

Browse files
committed
Exclude vendor directory from phpmd
1 parent e47c4c1 commit 8516386

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,8 @@ endif
212212
.PHONY: lint
213213
lint:
214214
./vendor/bin/phpcs --ignore="./vendor/" --standard=phpcs.xml src test
215-
./vendor/bin/phpmd src text codesize,unusedcode,naming,design --exclude vendor
216-
./vendor/bin/phpmd test text unusedcode,naming,design
215+
./vendor/bin/phpmd src text codesize,unusedcode,naming,design --exclude */vendor/*
216+
./vendor/bin/phpmd test text unusedcode,naming,design --exclude */vendor/*
217217
php -r 'exit((int)version_compare(PHP_MAJOR_VERSION, "7", ">"));' || ./vendor/phpstan.phar analyse
218218

219219
# Run all tests and reports

0 commit comments

Comments
 (0)