Skip to content

Commit

Permalink
Add support for PHP 8.4 (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromegamez authored Aug 16, 2024
1 parent 7477a7c commit efa1242
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 3 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/emulator-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:

jobs:
tests:
name: PHP ${{ matrix.php }}
name: "PHP ${{ matrix.php }}, ${{ matrix.dependencies }} deps"
runs-on: ubuntu-latest

strategy:
Expand All @@ -27,6 +27,13 @@ jobs:
- "8.1"
- "8.2"
- "8.3"
dependencies:
- "lowest"
- "highest"
include:
- php: "8.4"
composer-options: "--ignore-platform-reqs"
dependencies: "highest"

steps:
- name: Checkout code
Expand All @@ -40,6 +47,9 @@ jobs:
coverage: xdebug

- uses: "ramsey/composer-install@v3"
with:
composer-options: "${{ matrix.composer-options }}"
dependency-versions: "${{ matrix.dependencies }}"

- name: Set Up Node
uses: actions/setup-node@v4
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:

jobs:
tests:
name: PHP ${{ matrix.php }}
name: "PHP ${{ matrix.php }}, ${{ matrix.dependencies }} deps"
runs-on: ubuntu-latest

strategy:
Expand All @@ -27,6 +27,13 @@ jobs:
- "8.1"
- "8.2"
- "8.3"
dependencies:
- "lowest"
- "highest"
include:
- php: "8.4"
composer-options: "--ignore-platform-reqs"
dependencies: "highest"

steps:
- name: Checkout code
Expand All @@ -40,6 +47,9 @@ jobs:
coverage: xdebug

- uses: "ramsey/composer-install@v3"
with:
composer-options: "${{ matrix.composer-options }}"
dependency-versions: "${{ matrix.dependencies }}"

- name: Setup Problem Matchers
run: |
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Unreleased

* Added support for PHP 8.4
([#61](https://github.com/kreait/firebase-tokens-php/pull/61))

## 5.1.0 - 2024-05-10

* Restored support for PHP 8.1
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,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-json": "*",
"ext-openssl": "*",
"beste/clock": "^3.0",
Expand Down

0 comments on commit efa1242

Please sign in to comment.