Skip to content

Commit

Permalink
Merge pull request #561 from code16/compat-8.4
Browse files Browse the repository at this point in the history
Add PHP8.4 Compatibility
  • Loading branch information
PatrickePatate authored Dec 18, 2024
2 parents ad1f201 + 82dcf3d commit 5247518
Show file tree
Hide file tree
Showing 4 changed files with 1,086 additions and 995 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ jobs:
env:
LARAVEL: 11.*
TESTBENCH: 9.*
- php: 8.4
env:
LARAVEL: 11.*
TESTBENCH: 9.*
env: ${{ matrix.env }}
steps:
- uses: actions/checkout@v2
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.2.*|8.3.*",
"php": "8.2.*|8.3.*|8.4.*",
"code16/laravel-content-renderer": "^1.1.0",
"intervention/image": "^3.4",
"intervention/image-laravel": "^1.2",
Expand Down
2 changes: 1 addition & 1 deletion demo/app/Sharp/Categories/CategoryForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function update($id, array $data)
{
$category = $id
? Category::findOrFail($id)
: new Category();
: Category::make(['order' => 100]);

$this->save($category, $data);

Expand Down
Loading

0 comments on commit 5247518

Please sign in to comment.