Skip to content

Commit

Permalink
[TASK] Update php (#9)
Browse files Browse the repository at this point in the history
* [TASK] Update php

| datasource  | package                    | from   | to    |
| ----------- | -------------------------- | ------ | ----- |
| docker      | php                        | 8.3    | 8.4   |
| github-tags | containerbase/php-prebuild | 8.3.14 | 8.4.1 |

* [TASK] Use PHP 8.4 in test workflow

* [TASK] Use PHP 8.3 in CGL workflow until PHP-CS-Fixer supports PHP 8.4

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Elias Häußler <elias@haeussler.dev>
  • Loading branch information
renovate[bot] and eliashaeussler authored Nov 26, 2024
1 parent 4e863ce commit 69a3fff
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ branches:
- 'Tests (PHP 8.3 & locked dependencies)'
- 'Tests (PHP 8.3 & highest dependencies)'
- 'Tests (PHP 8.3 & lowest dependencies)'
- 'Tests (PHP 8.4 & locked dependencies)'
- 'Tests (PHP 8.4 & highest dependencies)'
- 'Tests (PHP 8.4 & lowest dependencies)'
- 'Test coverage'
- 'coverage/coveralls'
enforce_admins: false
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/cgl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
# @todo Use PHP 8.4 once PHP-CS-Fixer supports PHP 8.4
php-version: 8.3
tools: composer:v2, composer-require-checker, composer-unused, cs2pr
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: ["8.1", "8.2", "8.3"]
php-version: ["8.1", "8.2", "8.3", "8.4"]
dependencies: ["locked", "highest", "lowest"]
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
php-version: 8.4
tools: composer:v2
coverage: pcov

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
],
"require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
"ext-mbstring": "*",
"cuyz/valinor": "^1.3",
"mtownsend/xml-to-array": "^2.0"
Expand Down
4 changes: 2 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 69a3fff

Please sign in to comment.