@@ -170,7 +170,7 @@ endif
170170deps : ensuretarget
171171 rm -rf ./vendor/*
172172 ($( COMPOSER) install -vvv --no-interaction)
173- curl --silent --show-error --fail --location --output ./vendor/phpstan.phar https://github.com/phpstan/phpstan/releases/download/1.10.41 /phpstan.phar \
173+ curl --silent --show-error --fail --location --output ./vendor/phpstan.phar https://github.com/phpstan/phpstan/releases/download/2.0.4 /phpstan.phar \
174174 && chmod +x ./vendor/phpstan.phar
175175
176176# Generate source code documentation
@@ -212,8 +212,8 @@ endif
212212.PHONY : lint
213213lint :
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
261261.PHONY : test
262262test :
263263 cp phpunit.xml.dist phpunit.xml
264- ./vendor/bin/phpunit --migrate-configuration || true
264+ # ./vendor/bin/phpunit --migrate-configuration || true
265265 XDEBUG_MODE=coverage ./vendor/bin/phpunit --stderr test
266266
267267# Remove all installed files
0 commit comments