diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index aa256ed..fa51efc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,6 +13,7 @@ jobs: php: - '8.2' - '8.3' + - '8.4' steps: - name: Checkout uses: actions/checkout@v4 diff --git a/Build/Scripts/runTests.sh b/Build/Scripts/runTests.sh index f555569..0fe1760 100755 --- a/Build/Scripts/runTests.sh +++ b/Build/Scripts/runTests.sh @@ -59,10 +59,11 @@ Options: If not specified, podman will be used if available. Otherwise, docker is used. - -p <8.2|8.3> + -p <8.2|8.3|8.4> Specifies the PHP minor version to be used - 8.2: (default) use PHP 8.2 - 8.3: use PHP 8.3 + - 8.4: use PHP 8.4 -n Only with -s cgl, composerNormalize, rector Activate dry-run in CGL check and composer normalize that does not actively change files and only prints broken ones. @@ -117,7 +118,7 @@ while getopts "b:s:p:xy:nhu" OPT; do ;; p) PHP_VERSION=${OPTARG} - if ! [[ ${PHP_VERSION} =~ ^(8.2|8.3)$ ]]; then + if ! [[ ${PHP_VERSION} =~ ^(8.2|8.3|8.4)$ ]]; then INVALID_OPTIONS+=("p ${OPTARG}") fi ;;