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 7371f51 commit 79c3f28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ python -m http.server &> /dev/null &
# get PHPUnit
echo "PHP version"
php -v
PHPVersionMinor=$(php --version | head -n 1 | cut -d " " -f 2 | cut -c 1,3);
if [ ${PHPVersionMinor} > 81 ]; then
PHPVersionMinor=$(php --version | head -n 1 | cut -d " " -f 2 | cut -c 1,3)
if [ ${PHPVersionMinor} -gt 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 79c3f28

Please sign in to comment.