Skip to content

Commit 76e8ca9

Browse files
committed
Laravel 11 compatibility
1 parent f61103a commit 76e8ca9

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

.github/workflows/unit-tests.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
php: [8.0, 8.1, 8.2, 8.3]
12-
laravel: [6.*, 7.*, 8.*, 9.*, 10.*]
12+
laravel: [6.*, 7.*, 8.*, 9.*, 10.*, 11.*]
1313
stability: [prefer-lowest, prefer-stable]
1414
exclude:
1515
# These combinations should work, but there is a problem when testing...
@@ -19,6 +19,11 @@ jobs:
1919
php: 8.2
2020
- laravel: 8.*
2121
php: 8.3
22+
# Laravel 11.x only supports PHP ^8.2
23+
- laravel: 11.*
24+
php: 8.0
25+
- laravel: 11.*
26+
php: 8.1
2227
# Laravel 10.x only supports PHP ^8.1
2328
- laravel: 10.*
2429
php: 8.0

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ The MIT License (MIT). Please see [License File](LICENSE.md) for more informatio
8787
[href-staticanalysis]: https://github.com/tpetry/laravel-mysql-explain/actions/workflows/static-analysis.yml
8888
[href-tests]: https://github.com/tpetry/laravel-mysql-explain/actions/workflows/unit-tests.yml
8989
[href-version]: https://packagist.org/packages/tpetry/laravel-mysql-explain
90-
[icon-laravel]: https://img.shields.io/badge/Laravel-6.*--10.*-blue
90+
[icon-laravel]: https://img.shields.io/badge/Laravel-6.*--11.*-blue
9191
[icon-license]: https://img.shields.io/github/license/tpetry/laravel-mysql-explain?color=blue&label=License
9292
[icon-codestyle]: https://img.shields.io/github/actions/workflow/status/tpetry/laravel-mysql-explain/code-style.yml?label=Code%20Style
9393
[icon-php]: https://img.shields.io/packagist/php-v/tpetry/laravel-mysql-explain?color=blue&label=PHP

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
"php": "^8.0",
2020
"ext-pdo": "*",
2121
"guzzlehttp/guzzle": "^6.0|^7.0",
22-
"illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0",
22+
"illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
2323
"spatie/invade": "^1.0"
2424
},
2525
"require-dev": {
2626
"mockery/mockery": "^1.6",
27-
"nunomaduro/collision": "^3.1|^4.0|^5.0|^6.0|^7.0",
27+
"nunomaduro/collision": "^3.1|^4.0|^5.0|^6.0|^7.0|^8.0",
2828
"nunomaduro/larastan": "^1.0|^2.0",
29-
"orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0",
29+
"orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0|^9.0",
3030
"phpstan/extension-installer": "^1.1",
3131
"phpstan/phpstan-deprecation-rules": "^1.0",
3232
"phpstan/phpstan-phpunit": "^1.0"

0 commit comments

Comments
 (0)