* use php 81 as default
This commit is contained in:
@ -7,7 +7,7 @@ DIR="$(realpath $(dirname "$(readlink -f "$0")")/..)"
|
||||
|
||||
PHP_VERSION=$1 # Without dot
|
||||
|
||||
if [[ -z "${PHP_VERSION}" ]]; then PHP_VERSION=74; fi
|
||||
if [[ -z "${PHP_VERSION}" ]]; then PHP_VERSION=81; fi
|
||||
|
||||
CONTAINER=$(docker ps | grep workspace${PHP_VERSION} | awk '{print $1}')
|
||||
|
||||
|
@ -4,11 +4,11 @@ DIR="$(realpath $(dirname "$(readlink -f "$0")")/..)"
|
||||
PHP_VERSION=$1 # Without dot
|
||||
WITH_PROFILER=$2
|
||||
|
||||
if [[ -z "${PHP_VERSION}" ]]; then PHP_VERSION=74; fi
|
||||
if [[ -z "${PHP_VERSION}" ]]; then PHP_VERSION=81; fi
|
||||
|
||||
POSSIBLE_XDEBUG_VERSION=xdebug2
|
||||
|
||||
if [[ $PHP_VERSION -eq 81 ]]; then
|
||||
if [[ $PHP_VERSION -ge 81 ]]; then
|
||||
POSSIBLE_XDEBUG_VERSION=xdebug3
|
||||
fi
|
||||
|
||||
|
@ -4,11 +4,11 @@ DIR="$(realpath $(dirname "$(readlink -f "$0")")/..)"
|
||||
PHP_VERSION=$1 # Without dot
|
||||
WITH_PROFILER=$2
|
||||
|
||||
if [[ -z "${PHP_VERSION}" ]]; then PHP_VERSION=74; fi
|
||||
if [[ -z "${PHP_VERSION}" ]]; then PHP_VERSION=81; fi
|
||||
|
||||
POSSIBLE_XDEBUG_VERSION=xdebug2
|
||||
|
||||
if [[ $PHP_VERSION -eq 81 ]]; then
|
||||
if [[ $PHP_VERSION -ge 81 ]]; then
|
||||
POSSIBLE_XDEBUG_VERSION=xdebug3
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user