Skip to content

Commit

Permalink
Merge pull request #2 from oneduo/feature/laravel-11-support
Browse files Browse the repository at this point in the history
feat: add laravel 11 support
  • Loading branch information
mikaelpopowicz authored Jul 4, 2024
2 parents 1bcce1e + 8d89e6b commit 901d88b
Show file tree
Hide file tree
Showing 12 changed files with 5,422 additions and 3,867 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,18 @@ jobs:
strategy:
fail-fast: true
matrix:
laravel: [9.*, 8.*]
laravel: [11.*, 10.*]
php: [ 8.2, 8.1 ]
include:
- laravel: 9.*
testbench: ^7.0
- laravel: 8.*
testbench: ^6.0
- laravel: 11.*
testbench: ^9.0
- laravel: 10.*
testbench: ^8.0
exclude:
- php: 8.1
laravel: 11.*

name: "Test suite : Laravel ${{ matrix.laravel }}"
name: "Test suite : PHP ${{ matrix.php }} Laravel ${{ matrix.laravel }}"

services:
mysql:
Expand All @@ -38,7 +42,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
coverage: none

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/node_modules
composer.phar
.phpunit.result.cache
.phpunit.cache
.DS_Store
Thumbs.db
auth.json
Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,18 @@

"php": "^8.1",
"ext-json": "*",
"illuminate/contracts": "^8.0 || ^9.0",
"illuminate/contracts": "^8.0 || ^9.0 || ^10.0 || ^11.0",
"spatie/laravel-package-tools": "^1.12"
},
"require-dev": {
"guzzlehttp/guzzle": "^7.0.1",
"laravel/pint": "^1.2",
"mockery/mockery": "^1.5",
"orchestra/testbench": "^6.24|^7.6",
"pestphp/pest": "^1.21",
"pestphp/pest-plugin-faker": "^1.0",
"pestphp/pest-plugin-laravel": "^1.2",
"pestphp/pest-plugin-mock": "^1.0",
"orchestra/testbench": "^6.0 || ^7.6 || ^8.0 || ^9.0",
"pestphp/pest": "^2.0",
"pestphp/pest-plugin-faker": "^1.0 || ^2.0",
"pestphp/pest-plugin-laravel": "^1.2 || ^2.0",
"pestphp/pest-plugin-mock": "^1.0 || ^2.0",
"spatie/laravel-ray": "^1.29"
},
"autoload": {
Expand Down
Loading

0 comments on commit 901d88b

Please sign in to comment.