Skip to content

Commit

Permalink
Merge pull request #34 from coderflexx/l11-upgrade
Browse files Browse the repository at this point in the history
Laravel 11.x Compatibility
  • Loading branch information
ousid authored Mar 16, 2024
2 parents e21b818 + ecb36d4 commit 7111d17
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 20 deletions.
24 changes: 10 additions & 14 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ name: run-tests

on:
push:
branches: [main]
branches:
- main
pull_request:
branches: [main]
branches:
- main

jobs:
test:
Expand All @@ -13,23 +15,17 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.2, 8.1, 8.0]
laravel: [10.*, 9.*, 8.*]
php: [8.1, 8.2, 8.3]
laravel: [10.*, 11.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 10.*
testbench: ^8.0.0
- laravel: 9.*
testbench: ^7.0.0
- laravel: 8.*
testbench: ^6.23
- laravel: 11.*
testbench: ^9.0
exclude:
- laravel: 8.*
php: 8.2
- laravel: 9.*
php: 8.2
- laravel: 10.*
php: 8.0
- laravel: 11.*
php: 8.1

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}

Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
"require": {
"php": "^8.0|^8.1",
"spatie/laravel-package-tools": "^1.9.2",
"illuminate/console": "^8.75|^9.0|^10.0",
"illuminate/contracts": "^8.0|^9.0|^10.0"
"illuminate/console": "^8.75|^9.0|^10.0|^11.0",
"illuminate/contracts": "^8.0|^9.0|^10.0|^11.0"
},
"require-dev": {
"nunomaduro/collision": "^5.10|^6.1|^7.0",
"nunomaduro/collision": "^5.10|^6.1|^7.0|^8.1",
"nunomaduro/larastan": "^1.0|^2.0",
"orchestra/testbench": "^6.23|^7.0.0|^8.0",
"pestphp/pest": "^1.22",
"pestphp/pest-plugin-laravel": "^1.3",
"orchestra/testbench": "^8.0|^9.0",
"pestphp/pest": "^1.22|^2.34",
"pestphp/pest-plugin-laravel": "^1.3|^2.3",
"phpstan/extension-installer": "^1.2",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
Expand Down

0 comments on commit 7111d17

Please sign in to comment.