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 670b898 commit c979e45
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 11 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,39 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [ "8.0", "8.1", "8.2" ]
laravel: [ "6.0", "7.0", "8.0", "9.0", "10.0" ]
php: [ "8.0", "8.1", "8.2", "8.3" ]
laravel: [ "6.0", "7.0", "8.0", "9.0", "10.0", "11.0" ]
exclude:
- laravel: "6.0"
php: "8.1"

- laravel: "6.0"
php: "8.2"

- laravel: "6.0"
php: "8.3"

- laravel: "7.0"
php: "8.1"

- laravel: "7.0"
php: "8.2"

- laravel: "7.0"
php: "8.3"

- laravel: "9.0"
php: "7.4"
php: "8.3"

- laravel: "10.0"
php: "7.4"
php: "8.0"

- laravel: "10.0"
- laravel: "11.0"
php: "8.0"

- laravel: "11.0"
php: "8.1"

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

steps:
Expand All @@ -47,7 +56,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 @@ -40,13 +40,13 @@
"php": "^8.0",
"dragon-code/contracts": "^2.21",
"dragon-code/support": "^6.11.3",
"illuminate/support": ">=6.0 <11.0"
"illuminate/support": ">=6.0 <12.0"
},
"require-dev": {
"dragon-code/simple-dto": "^2.3",
"nesbot/carbon": "^2.62",
"orchestra/testbench": ">=4.0 <9.0",
"phpunit/phpunit": "^8.5 || ^9.6"
"orchestra/testbench": ">=4.0 <10.0",
"phpunit/phpunit": "^8.5 || ^9.6 || ^10.0"
},
"conflict": {
"andrey-helldar/cache": "*"
Expand Down
4 changes: 2 additions & 2 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
bootstrap="vendor/autoload.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 c979e45

Please sign in to comment.