Skip to content

Commit

Permalink
Merge pull request #3 from binafy/support-laravel-11
Browse files Browse the repository at this point in the history
[1.x] Support Laravel `11`
  • Loading branch information
milwad-dev committed Mar 28, 2024
2 parents 7bbaede + 242dcae commit 7e6a4de
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [8.0, 8.1, 8.2]
laravel: [9.*, 10.*]
php: [8.0, 8.1, 8.2, 8.3]
laravel: [9.*, 10.*, 11.*]
dependency-version: [prefer-lowest, prefer-stable]
include:
- laravel: 11.*
testbench: 9.*
pest-plugin-laravel: 2.3.0

- laravel: 10.*
testbench: 8.*
pest-plugin-laravel: 2.0.0
Expand All @@ -21,9 +25,18 @@ jobs:
pest-plugin-laravel: 1.4.0

exclude:
- laravel: 11.*
php: 8.0

- laravel: 11.*
php: 8.1

- laravel: 10.*
php: 8.0

- laravel: 9.*
php: 8.3

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}

steps:
Expand Down
8 changes: 3 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
"filesystem",
"generate stub",
"laravel stub package",
"laravel stub",
"laravel package",
"laravel-monitoring",
"laravel-stub",
"laravel stub"
],
Expand All @@ -22,11 +20,11 @@
"minimum-stability": "dev",
"require": {
"php": "^8.0",
"laravel/framework": "^9.0|^10.0"
"laravel/framework": "^9.0|^10.0|^11.0"
},
"require-dev": {
"pestphp/pest-plugin-laravel": "2.x-dev",
"orchestra/testbench": "8.x-dev"
"pestphp/pest-plugin-laravel": "1.*|2.*",
"orchestra/testbench": "8.*|9.*"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion src/LaravelStub.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Binafy\LaravelStub;

use Illuminate\Support\Facades\Response;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Response;
use RuntimeException;

class LaravelStub
Expand Down

0 comments on commit 7e6a4de

Please sign in to comment.