Skip to content

Commit

Permalink
Added Laravel 11 support
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-helldar committed Mar 13, 2024
1 parent aea9f12 commit 28a2cec
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 8 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,39 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [ "7.4", "8.0", "8.1", "8.2" ]
laravel: [ "7.0", "8.0", "9.0", "10.0" ]
php: [ "7.4", "8.0", "8.1", "8.2", "8.3" ]
laravel: [ "7.0", "8.0", "9.0", "10.0", "11.0" ]
exclude:
- laravel: "7.0"
php: "8.1"

- laravel: "7.0"
php: "8.2"

- laravel: "7.0"
php: "8.3"

- laravel: "9.0"
php: "7.4"

- laravel: "9.0"
php: "8.3"

- laravel: "10.0"
php: "7.4"

- laravel: "10.0"
php: "8.0"

- laravel: "11.0"
php: "7.4"

- laravel: "11.0"
php: "8.0"

- laravel: "11.0"
php: "8.1"

name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }}

steps:
Expand All @@ -38,7 +53,7 @@ jobs:
with:
php-version: ${{ matrix.php }}
extensions: curl, mbstring, zip, pcntl, pdo, pdo_sqlite, iconv
coverage: none
coverage: xdebug

- name: Install dependencies
run: composer require --dev laravel/framework:^${{ matrix.laravel }}
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@
"require": {
"php": "^7.4 || ^8.0",
"fig/http-message-util": "^1.1",
"illuminate/routing": "^7.0 || ^8.0 || ^9.0 || ^10.0"
"illuminate/routing": "^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0"
},
"require-dev": {
"dragon-code/extended-routes": "^3.2",
"orchestra/testbench": "^5.0 || ^6.0 || ^7.0 || ^8.0",
"phpunit/phpunit": "^9.6"
"orchestra/testbench": "^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0",
"phpunit/phpunit": "^9.6 || ^10.0"
},
"minimum-stability": "stable",
"prefer-stable": true,
Expand Down
4 changes: 2 additions & 2 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
bootstrap="phpunit.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
convertNoticesToExceptions="false"
convertWarningsToExceptions="false"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
Expand Down

0 comments on commit 28a2cec

Please sign in to comment.