diff --git a/4dev/checking/phan.sh b/4dev/checking/phan.sh index 856a20c3..37c72234 100755 --- a/4dev/checking/phan.sh +++ b/4dev/checking/phan.sh @@ -1,4 +1,4 @@ -base="/storage/var/www/html/developers/clemens/core_data/php_libraries/trunk/"; +base=$(pwd)"/"; # must be run in ${base} cd $base || exit; ${base}tools/phan --progress-bar -C --analyze-twice; diff --git a/4dev/checking/phpstan.sh b/4dev/checking/phpstan.sh index 00481ad8..2ad6e444 100755 --- a/4dev/checking/phpstan.sh +++ b/4dev/checking/phpstan.sh @@ -1,4 +1,4 @@ -base="/storage/var/www/html/developers/clemens/core_data/php_libraries/trunk/"; +base=$(pwd)"/"; # must be run in ${base} cd $base || exit; ${base}tools/phpstan; diff --git a/4dev/checking/phpunit.sh b/4dev/checking/phpunit.sh index 40271ec8..29205df6 100755 --- a/4dev/checking/phpunit.sh +++ b/4dev/checking/phpunit.sh @@ -23,7 +23,7 @@ EOF } # set base variables -BASE_PATH="/storage/var/www/html/developers/clemens/core_data/php_libraries/trunk/"; +BASE_PATH=$(pwd)"/"; PHPUNIT_CONFIG="${BASE_PATH}phpunit.xml"; PHP_BIN_PATH=$(which php); if [ -z "${PHP_BIN_PATH}" ]; then