Skip to content

Commit

Permalink
Enhancement: Add support for PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Nov 17, 2024
1 parent f4f8b06 commit f5291d4
Show file tree
Hide file tree
Showing 5 changed files with 17 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 @@ -31,6 +31,9 @@ branches:
- context: "Tests (8.3, highest)"
- context: "Tests (8.3, locked)"
- context: "Tests (8.3, lowest)"
- context: "Tests (8.4, highest)"
- context: "Tests (8.4, locked)"
- context: "Tests (8.4, lowest)"
strict: false
restrictions:

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/integrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ jobs:
- "8.1"
- "8.2"
- "8.3"
- "8.4"

dependencies:
- "lowest"
Expand Down Expand Up @@ -508,6 +509,9 @@ jobs:
key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}"
restore-keys: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-"

- name: "Remove incompatible dependencies with composer"
run: "composer remove roave/backward-compatibility-check --ansi --dev --no-interaction --no-progress"

- name: "Remove platform configuration with composer"
if: "matrix.dependencies != 'locked'"
run: "composer config platform.php --ansi --unset"
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

For a full diff see [`3.1.0...main`][3.1.0...main].

### Added

- Added support for PHP 8.4 ([#677]), by [@localheinz]

## [`3.1.0`][3.1.0]

For a full diff see [`3.0.0...3.1.0`][3.0.0...3.1.0].
Expand Down Expand Up @@ -130,5 +134,6 @@ For a full diff see [`4e97e14...0.1.0`][4e97e14...0.1.0].
[#410]: https://github.com/ergebnis/front-matter/pull/410
[#411]: https://github.com/ergebnis/front-matter/pull/411
[#485]: https://github.com/ergebnis/front-matter/pull/485
[#677]: https://github.com/ergebnis/front-matter/pull/677

[@localheinz]: https://github.com/localheinz
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"security": "https://github.com/ergebnis/front-matter/blob/main/.github/SECURITY.md"
},
"require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
"symfony/yaml": "^5.0.0 || ^6.0.0"
},
"require-dev": {
Expand Down
8 changes: 4 additions & 4 deletions composer.lock

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

0 comments on commit f5291d4

Please sign in to comment.