parent
1862c78b5b
commit
2735c77e67
@ -1,6 +1,11 @@ |
|||||||
#!/bin/bash |
#!/bin/bash |
||||||
if [ ! -x vendor/bin/phpstan ]; then |
if [ ! -x vendor/bin/phpstan ]; then |
||||||
composer require --dev phpstan/phpstan |
if which composer >/dev/null 2>&1; then |
||||||
|
echo "Running Composer to install phpstan." |
||||||
|
composer require --dev phpstan/phpstan |
||||||
|
else |
||||||
|
echo "Please install php composer!" |
||||||
|
fi |
||||||
fi |
fi |
||||||
|
|
||||||
./vendor/bin/phpstan analyse |
./vendor/bin/phpstan analyse |
||||||
Loading…
Reference in new issue