Skip to content

Commit

Permalink
Exclude vendor directory from phpmd
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaasuni committed Dec 24, 2024
1 parent e47c4c1 commit 8516386
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ endif
.PHONY: lint
lint:
./vendor/bin/phpcs --ignore="./vendor/" --standard=phpcs.xml src test
./vendor/bin/phpmd src text codesize,unusedcode,naming,design --exclude vendor
./vendor/bin/phpmd test text unusedcode,naming,design
./vendor/bin/phpmd src text codesize,unusedcode,naming,design --exclude */vendor/*
./vendor/bin/phpmd test text unusedcode,naming,design --exclude */vendor/*
php -r 'exit((int)version_compare(PHP_MAJOR_VERSION, "7", ">"));' || ./vendor/phpstan.phar analyse

# Run all tests and reports
Expand Down

0 comments on commit 8516386

Please sign in to comment.