Skip to content

Commit

Permalink
Add support for PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
GromNaN committed Apr 29, 2024
1 parent c631102 commit 6c0daee
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
- name: Get Composer Cache Directories
id: composer-cache
run: |
echo "files_cache=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
echo "vcs_cache=$(composer config cache-vcs-dir)" >> $GITHUB_OUTPUT
echo "files_cache=$(composer config cache-files-dir | grep -v "Deprecated")" >> $GITHUB_OUTPUT
echo "vcs_cache=$(composer config cache-vcs-dir | grep -v "Deprecated")" >> $GITHUB_OUTPUT
- name: Generate composer.lock
run: |
Expand Down Expand Up @@ -68,8 +68,8 @@ jobs:
- name: Get Composer Cache Directories
id: composer-cache
run: |
echo "files_cache=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
echo "vcs_cache=$(composer config cache-vcs-dir)" >> $GITHUB_OUTPUT
echo "files_cache=$(composer config cache-files-dir | grep -v "Deprecated")" >> $GITHUB_OUTPUT
echo "vcs_cache=$(composer config cache-vcs-dir | grep -v "Deprecated")" >> $GITHUB_OUTPUT
- name: Generate composer.lock
run: composer update --no-install
Expand Down Expand Up @@ -126,9 +126,10 @@ jobs:
matrix:
php-version:
- "8.0"
- "8.1"
- "8.2"
- "8.3"
#- "8.1"
#- "8.2"
#- "8.3"
- "8.4"
count: ${{ fromJson(needs.chunk-matrix.outputs.count) }}
chunk: ${{ fromJson(needs.chunk-matrix.outputs.chunks) }}

Expand All @@ -155,8 +156,9 @@ jobs:
- name: Get Composer Cache Directories
id: composer-cache
run: |
echo "files_cache=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
echo "vcs_cache=$(composer config cache-vcs-dir)" >> $GITHUB_OUTPUT
echo "files_cache=$(composer config cache-files-dir | grep -v "Deprecated")" >> $GITHUB_OUTPUT
echo "vcs_cache=$(composer config cache-vcs-dir | grep -v "Deprecated")" >> $GITHUB_OUTPUT
cat $GITHUB_OUTPUT
- name: Generate composer.lock
run: |
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}
],
"require": {
"php": "^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0",
"php": "^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
"ext-SimpleXML": "*",
"ext-ctype": "*",
"ext-dom": "*",
Expand Down

0 comments on commit 6c0daee

Please sign in to comment.