Skip to content

Commit

Permalink
Laravel 11.x Compatibility (#191)
Browse files Browse the repository at this point in the history
* Bump dependencies for Laravel 11

* Update GitHub Actions for Laravel 11
  • Loading branch information
laravel-shift authored Mar 11, 2024
1 parent 9d0e8ff commit ff2f5b1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ jobs:
if: "!contains(github.event.head_commit.message, 'skip ci')"

runs-on: ubuntu-latest

continue-on-error: ${{ matrix.experimental }}

strategy:
fail-fast: true
matrix:
php: [8.1]
php: [8.1, '8.2']
dependencies: [lowest, highest]
experimental: [false]

Expand All @@ -39,7 +41,7 @@ jobs:
uses: ramsey/composer-install@v2
with:
dependency-versions: ${{ matrix.dependencies }}
composer-options: "--prefer-dist ${{ matrix.composer-options }}"
composer-options: --prefer-dist ${{ matrix.composer-options }}

- name: List Installed Dependencies
run: composer show -D
Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,20 @@
"php": "^8.1",
"ext-json": "*",
"guzzlehttp/guzzle": "^7.2",
"illuminate/contracts": "^10.0",
"illuminate/notifications": "^10.0",
"illuminate/support": "^10.0"
"illuminate/contracts": "^10.0|^11.0",
"illuminate/notifications": "^10.0|^11.0",
"illuminate/support": "^10.0|^11.0"
},
"require-dev": {
"mockery/mockery": "^1.4.4",
"nunomaduro/larastan": "^2.4",
"orchestra/testbench": "^8.0",
"pestphp/pest": "^1.22",
"pestphp/pest-plugin-laravel": "^1.4",
"orchestra/testbench": "^8.0|^9.0",
"pestphp/pest": "^1.22|^2.34",
"pestphp/pest-plugin-laravel": "^1.4|^2.3",
"phpstan/extension-installer": "^1.2",
"phpstan/phpstan-deprecation-rules": "^1.1",
"phpstan/phpstan-phpunit": "^1.3",
"phpunit/phpunit": "^9.5.10"
"phpunit/phpunit": "^9.5.10|^10.5"
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand Down

0 comments on commit ff2f5b1

Please sign in to comment.