From e17cde1e37540f5f950926f5ad8dbae6b8c187a1 Mon Sep 17 00:00:00 2001 From: KEINOS Date: Mon, 16 Mar 2020 01:02:31 +0900 Subject: [PATCH] fix: psalm command to run. psalm -> psalm.phar vimeo/psalm -> ./vendor/bin/psalm psalm/phar -> ./vendor/bin/psalm.phar - REF: https://github.com/psalm/phar/issues/1 --- tests/run-tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/run-tests.sh b/tests/run-tests.sh index b1ef424..25700c6 100755 --- a/tests/run-tests.sh +++ b/tests/run-tests.sh @@ -94,7 +94,7 @@ function isInstalledRequirements () { isInstalledPakcage phan && \ isInstalledPakcage php-coveralls && \ isInstalledPakcage phpstan && \ - isInstalledPakcage psalm && { + isInstalledPakcage psalm.phar && { return 0 } @@ -203,7 +203,7 @@ if [ $? -eq 0 ]; fi echoTitle 'TEST: PSalm (w/ alter and issue=all option)' -./vendor/bin/psalm \ +./vendor/bin/psalm.phar \ --config=./tests/conf/psalm.xml \ --root ./src \ --alter \