File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,8 +39,8 @@ PHPUNIT_VERSION=$("$PHPUNIT" --version | cut -d" " -f2)
3939PHPUNIT_MAJOR_VERSION=$( echo $PHPUNIT_VERSION | cut -d" ." -f1)
4040PHPUNIT_MINOR_VERSION=$( echo $PHPUNIT_VERSION | cut -d" ." -f2)
4141
42- if ! [ $PHPUNIT_MAJOR_VERSION -gt 4 -o \( $PHPUNIT_MAJOR_VERSION -eq 4 -a $PHPUNIT_MINOR_VERSION -ge 8 \) ]; then
43- echo " phpunit version >= 4.8 required. Version found: $PHPUNIT_VERSION " >&2
42+ if ! [ $PHPUNIT_MAJOR_VERSION -gt 9 -o \( $PHPUNIT_MAJOR_VERSION -eq 9 -a $PHPUNIT_MINOR_VERSION -ge 0 \) ]; then
43+ echo " phpunit version >= 9.0 required. Version found: $PHPUNIT_VERSION " >&2
4444 exit 4
4545fi
4646
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ PHPUNIT_VERSION=$($PHPUNIT --version | cut -d" " -f2)
7777PHPUNIT_MAJOR_VERSION=$( echo " $PHPUNIT_VERSION " | cut -d" ." -f1)
7878PHPUNIT_MINOR_VERSION=$( echo " $PHPUNIT_VERSION " | cut -d" ." -f2)
7979
80- if ! [ " $PHPUNIT_MAJOR_VERSION " -gt 6 -o \( " $PHPUNIT_MAJOR_VERSION " -eq 9 -a " $PHPUNIT_MINOR_VERSION " -ge 0 \) ]; then
80+ if ! [ " $PHPUNIT_MAJOR_VERSION " -gt 9 -o \( " $PHPUNIT_MAJOR_VERSION " -eq 9 -a " $PHPUNIT_MINOR_VERSION " -ge 0 \) ]; then
8181 echo " phpunit version >= 9.0 required. Version found: $PHPUNIT_VERSION " >&2
8282 exit 4
8383fi
You can’t perform that action at this time.
0 commit comments