Remove PHPUnit dependency & create shell-script with description for it

This commit is contained in:
Philipp 2021-04-05 12:33:56 +02:00
parent f6093fb869
commit 7b7322a90a
No known key found for this signature in database
GPG key ID: 9A28B7D4FF5667BD
6 changed files with 36 additions and 1459 deletions

13
bin/dev/setup-phpunit.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
PHPUNIT="$(git rev-parse --show-toplevel)/bin/phpunit"
if ! [ -x "$PHPUNIT" ]; then
echo "Install PHPUnit 8"
cd /tmp/
curl -s -O -L https://phar.phpunit.de/phpunit-8.phar
chmod +x phpunit-8.phar
mv phpunit-8.phar $PHPUNIT
fi
echo "Using $PHPUNIT $($PHPUNIT --version)"