Skip to content

Commit

Permalink
[TASK] Allow laravel 11
Browse files Browse the repository at this point in the history
  • Loading branch information
Woeler committed Mar 25, 2024
1 parent c7921ad commit 0727256
Show file tree
Hide file tree
Showing 6 changed files with 1,407 additions and 1,577 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,18 @@ jobs:
fail-fast: false
matrix:
php:
- '8.1'
- '8.2'
- 'nightly'
- '8.3'

laravel:
- '9.0'
- '10.0'
- '11.0'

include:
- php: '8.2'
laravel: '10.0'
stable: true
- php: 'nightly'
experimental: true

- laravel: '9.0'
testbench: '7.0'
- laravel: '10.0'
testbench: '8.0'
- laravel: '11.0'
testbench: '9.0'

steps:
- name: Checkout
Expand All @@ -47,9 +40,6 @@ jobs:
extensions: exif,json,mbstring
coverage: pcov

- name: Remove platform from Composer file
run: composer config --unset platform

- name: Configure to use Laravel ${{ matrix.laravel }} with Testbench ${{ matrix.testbench }}
run: |
composer require --no-update laravel/laravel:^${{ matrix.laravel }}
Expand All @@ -61,7 +51,6 @@ jobs:
- name: Install Composer dependencies
uses: ramsey/composer-install@v2
with:
composer-options: "--ignore-platform-req=php"
dependency-versions: highest # We're installing additional packages, and cannot use the lockfile

- name: Run unit tests with coverage and printer
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Added `EditorJsImageUploaded` event that triggers when an image is uploaded. Via #98 by @woeler.
- Added `EditorJsThumbnailCreated` event that triggers when a thumbnail is generated. Via #98 by @woeler.
- Added Laravel 11 support. Via #104 by @woeler.
- Dropped Laravel 9 support. Via #104 by @woeler.

## [3.3.0]

Expand Down
17 changes: 7 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@
"wysiwyg"
],
"require": {
"php": "^8.1",
"php": "^8.2",
"ext-exif": "*",
"ext-json": "*",
"codex-team/editor.js": "*",
"guzzlehttp/guzzle": "^6.0 || ^7.0",
"illuminate/support": "^8.0 || ^9.0 || ^10.0",
"illuminate/events": "^8.0 || ^9.0 || ^10.0",
"guzzlehttp/guzzle": "^7.0",
"illuminate/support": "^10.0 || ^11.0",
"illuminate/events": "^10.0 || ^11.0",
"laravel/nova": "^4.0",
"spatie/image": "^1.7 || ^2.0"
"spatie/image": "^3.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.9",
"orchestra/testbench": "^6.0 || ^7.0 || ^8.0",
"orchestra/testbench": "^8.0 || ^9.0",
"php-parallel-lint/php-parallel-lint": "^1.3"
},
"autoload": {
Expand Down Expand Up @@ -60,10 +60,7 @@
}
},
"config": {
"sort-packages": true,
"platform": {
"php": "8.1.25"
}
"sort-packages": true
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand Down
Loading

0 comments on commit 0727256

Please sign in to comment.