Skip to content

Commit

Permalink
[CI] Lint code with PHP 8.4
Browse files Browse the repository at this point in the history
Releases: main, 12.4
  • Loading branch information
brotkrueml committed Sep 23, 2024
1 parent a416080 commit 68febc6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
php:
- '8.2'
- '8.3'
- '8.4'
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
5 changes: 3 additions & 2 deletions Build/Scripts/runTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
;;
Expand Down

0 comments on commit 68febc6

Please sign in to comment.