Skip to content

Commit

Permalink
Merge pull request #687 from crynobone/patch-2
Browse files Browse the repository at this point in the history
[2.x] Supports PHP 8.4
  • Loading branch information
joetannenbaum authored Nov 20, 2024
2 parents 111d38b + fad74bc commit 166f25a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [8.1, 8.2, 8.3]
php: [8.1, 8.2, 8.3, 8.4]
laravel: [10, 11]
stability: ["prefer-lowest", "prefer-stable"]
exclude:
- php: 8.4
laravel: 10
- php: 8.1
laravel: 11

Expand All @@ -34,7 +36,7 @@ jobs:
coverage: none

- name: Set Minimum PHP 8.1 Versions
uses: nick-invision/retry@v3
uses: nick-fields/retry@v3
with:
timeout_minutes: 5
max_attempts: 5
Expand All @@ -44,7 +46,7 @@ jobs:
if: matrix.php >= 8.1 && matrix.stability == 'prefer-lowest'

- name: Set Minimum PHP 8.2 Versions
uses: nick-invision/retry@v3
uses: nick-fields/retry@v3
with:
timeout_minutes: 5
max_attempts: 5
Expand All @@ -53,7 +55,7 @@ jobs:
if: matrix.php >= 8.2 && matrix.stability == 'prefer-lowest'

- name: Set Minimum PHP 8.2 Versions and Laravel > 11
uses: nick-invision/retry@v3
uses: nick-fields/retry@v3
with:
timeout_minutes: 5
max_attempts: 5
Expand All @@ -63,14 +65,14 @@ jobs:
if: matrix.php >= 8.2 && matrix.stability == 'prefer-lowest' && matrix.laravel >= 11

- name: Set Laravel version
uses: nick-invision/retry@v3
uses: nick-fields/retry@v3
with:
timeout_minutes: 5
max_attempts: 5
command: composer require "laravel/framework=^${{ matrix.laravel }}" --no-interaction --no-update

- name: Install dependencies
uses: nick-invision/retry@v3
uses: nick-fields/retry@v3
with:
timeout_minutes: 5
max_attempts: 5
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"require-dev": {
"roave/security-advisories": "dev-master",
"orchestra/testbench": "^8.0|^9.0",
"orchestra/testbench": "^8.0|^9.2",
"mockery/mockery": "^1.3.3",
"phpunit/phpunit": "^10.4|^11.0",
"laravel/pint": "^1.16"
Expand Down

0 comments on commit 166f25a

Please sign in to comment.