File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ if [ -z "$PHP_EXE" ]; then
2222fi
2323PHP=$( which " $PHP_EXE " )
2424if [ -z " $PHPUNIT_EXE " ]; then
25- if [ -f build/integration/ vendor/bin/phpunit ]; then
26- PHPUNIT_EXE=" ./build/integration/ vendor/bin/phpunit"
25+ if [ -f vendor/bin/phpunit ]; then
26+ PHPUNIT_EXE=" ./vendor/bin/phpunit"
2727 PHPUNIT=$( readlink -f " $PHPUNIT_EXE " )
2828 else
2929 PHPUNIT_EXE=phpunit
5353fi
5454
5555if ! [ -x " $PHPUNIT " ]; then
56- echo " phpunit executable not found, please install phpunit version >= 9.0 manually or via:" >&2
57- echo " cd build/integration && composer install" >&2
56+ echo " phpunit executable not found, please install phpunit version >= 10.5 manually or via:" >&2
57+ echo " composer install" >&2
5858 exit 3
5959fi
6060
@@ -69,8 +69,8 @@ PHPUNIT_VERSION=$($PHPUNIT --version | cut -d" " -f2)
6969PHPUNIT_MAJOR_VERSION=$( echo " $PHPUNIT_VERSION " | cut -d" ." -f1)
7070PHPUNIT_MINOR_VERSION=$( echo " $PHPUNIT_VERSION " | cut -d" ." -f2)
7171
72- if ! [ " $PHPUNIT_MAJOR_VERSION " -gt 9 -o \( " $PHPUNIT_MAJOR_VERSION " -eq 9 -a " $PHPUNIT_MINOR_VERSION " -ge 0 \) ]; then
73- echo " phpunit version >= 9.0 required. Version found: $PHPUNIT_VERSION " >&2
72+ if ! [ " $PHPUNIT_MAJOR_VERSION " -gt 10 -o \( " $PHPUNIT_MAJOR_VERSION " -eq 10 -a " $PHPUNIT_MINOR_VERSION " -ge 5 \) ]; then
73+ echo " phpunit version >= 10.5 required. Version found: $PHPUNIT_VERSION " >&2
7474 exit 4
7575fi
7676
Original file line number Diff line number Diff line change 66 }
77 },
88 "require" : {
9- "phpunit/phpunit" : " ^9.6 "
9+ "phpunit/phpunit" : " ^10.5.35 "
1010 }
1111}
You can’t perform that action at this time.
0 commit comments