Switch check to to phive installed tools, fix in phpunit bootsrap file
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
base="/storage/var/www/html/developers/clemens/core_data/php_libraries/trunk/";
|
||||
# must be run in ${base}www/
|
||||
$(cd "${base}"; phan --progress-bar -C --analyze-twice);
|
||||
# must be run in ${base}
|
||||
cd $base;
|
||||
${base}tools/phan --progress-bar -C --analyze-twice;
|
||||
cd ~;
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
base="/storage/var/www/html/developers/clemens/core_data/php_libraries/trunk/";
|
||||
# must be run in ${base}www/
|
||||
$(cd "${base}"; phpstan);
|
||||
# must be run in ${base}
|
||||
cd $base;
|
||||
${base}tools/phpstan;
|
||||
cd ~;
|
||||
|
||||
@@ -34,7 +34,7 @@ if [ ! -z "${2}" ] && [ -z "${php_bin}" ]; then
|
||||
fi;
|
||||
|
||||
# Note 4dev/tests/bootstrap.php has to be set as bootstrap file in phpunit.xml
|
||||
phpunit_call="${php_bin}phpunit ${opt_testdox} -c ${base}phpunit.xml ${base}4dev/tests/";
|
||||
phpunit_call="${php_bin}${base}tools/phpunit ${opt_testdox} -c ${base}phpunit.xml ${base}4dev/tests/";
|
||||
|
||||
${phpunit_call};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user