Skip to content

Commit

Permalink
upgrade to PHPUnit 11
Browse files Browse the repository at this point in the history
  • Loading branch information
jmckenna committed Jul 7, 2024
1 parent 5895d58 commit 7371f51
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,8 @@ python -m http.server &> /dev/null &
# get PHPUnit
echo "PHP version"
php -v
PHPVersion=$(php -v|grep --only-matching --perl-regexp "(PHP )\d+\.\\d+\.\\d+");
PHPVersionMinor=${PHPVersion::0-2};
echo "here: $PHPVersionMinor"
if [ ${PHPVersionMinor} > 8.1 ]; then
PHPVersionMinor=$(php --version | head -n 1 | cut -d " " -f 2 | cut -c 1,3);
if [ ${PHPVersionMinor} > 81 ]; then
cd php && curl -LO https://phar.phpunit.de/phpunit-11.phar
echo "PHPUnit version"
php phpunit-11.phar --version
Expand Down

0 comments on commit 7371f51

Please sign in to comment.