File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22#
3- # ownCloud
3+ # Nextcloud
44#
55# @author Vincent Petry
66# @author Morris Jobke
1010# @author Joas Schilling
1111# @author Lukas Reschke
1212# @author Jörn Friedrich Dreyer
13+ # @author Anna Larch
1314# @copyright 2012-2015 Thomas Müller [email protected] 1415#
1516
6162fi
6263
6364if ! [ -x " $PHPUNIT " ]; then
64- echo " phpunit executable not found, please install phpunit version >= 9.0 manually or via:" >&2
65+ echo " phpunit executable not found, please install phpunit version >= 9.5 manually or via:" >&2
6566 echo " cd build/integration && composer install" >&2
6667 exit 3
6768fi
@@ -77,8 +78,8 @@ PHPUNIT_VERSION=$($PHPUNIT --version | cut -d" " -f2)
7778PHPUNIT_MAJOR_VERSION=$( echo " $PHPUNIT_VERSION " | cut -d" ." -f1)
7879PHPUNIT_MINOR_VERSION=$( echo " $PHPUNIT_VERSION " | cut -d" ." -f2)
7980
80- if ! [ " $PHPUNIT_MAJOR_VERSION " -gt 6 -o \( " $PHPUNIT_MAJOR_VERSION " -eq 9 -a " $PHPUNIT_MINOR_VERSION " -ge 0 \) ]; then
81- echo " phpunit version >= 9.0 required. Version found: $PHPUNIT_VERSION " >&2
81+ if ! [ " $PHPUNIT_MAJOR_VERSION " -gt 9 -o \( " $PHPUNIT_MAJOR_VERSION " -eq 9 -a " $PHPUNIT_MINOR_VERSION " -ge 5 \) ]; then
82+ echo " phpunit version >= 9.5 required. Version found: $PHPUNIT_VERSION " >&2
8283 exit 4
8384fi
8485
You can’t perform that action at this time.
0 commit comments