From 590e9d536336c0e367fdd7cb23b0510ed3212187 Mon Sep 17 00:00:00 2001 From: Saif Eddin Gmati <29315886+azjezz@users.noreply.github.com> Date: Sun, 28 Mar 2021 10:36:35 +0100 Subject: [PATCH] fix basepath for php-codesniffer --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7526413..2eb6d69 100644 --- a/Makefile +++ b/Makefile @@ -15,11 +15,11 @@ install: install-root-dependencies install-coding-standard-dependencies install- coding-standard-fix: php tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --config=tools/php-cs-fixer/.php_cs.dist - php tools/php-codesniffer/vendor/bin/phpcbf --standard=tools/php-codesniffer/.phpcs.xml + php tools/php-codesniffer/vendor/bin/phpcbf --basepath=. --standard=tools/php-codesniffer/.phpcs.xml coding-standard-check: php tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --config=tools/php-cs-fixer/.php_cs.dist --dry-run - php tools/php-codesniffer/vendor/bin/phpcs --standard=tools/php-codesniffer/.phpcs.xml + php tools/php-codesniffer/vendor/bin/phpcs --basepath=. --standard=tools/php-codesniffer/.phpcs.xml type-check: php tools/psalm/vendor/bin/psalm -c tools/psalm/psalm.xml