Skip to content

Commit 9f9a182

Browse files
Add Laravel 11 compatibility (#9)
Co-authored-by: Jose Manuel Cardona <josemanuel.cardona@softonic.com>
1 parent 1969995 commit 9f9a182

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
"issues": "https://github.com/softonic/laravel-request-accept-json-middleware/issues"
1010
},
1111
"require": {
12-
"php": ">=7.2",
13-
"illuminate/http": "^8.0 || ^9.0 || ^10.0",
14-
"illuminate/contracts": "^8.0 || ^9.0 || ^10.0"
12+
"php": ">=8.2",
13+
"illuminate/http": "^11.0",
14+
"illuminate/contracts": "^11.0"
1515
},
1616
"require-dev": {
17-
"friendsofphp/php-cs-fixer": "^2.16",
17+
"friendsofphp/php-cs-fixer": "^3.68",
1818
"mockery/mockery": "^1.2",
1919
"phpunit/phpunit": "^9.0"
2020
},

docker-compose.yml

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,29 @@
1-
version: "3.7"
2-
31
services:
42
php:
53
volumes:
64
- ./:/app
7-
image: composer:2.0
5+
image: composer:2.2
86

97
install:
108
volumes:
119
- ./:/app
12-
image: composer:2.0
10+
image: composer:2.2
1311
command: composer install
1412

1513
phpunit:
1614
volumes:
1715
- ./:/app
18-
image: composer:2.0
16+
image: composer:2.2
1917
command: composer phpunit
2018

2119
test:
2220
volumes:
2321
- ./:/app
24-
image: composer:2.0
22+
image: composer:2.2
2523
command: composer run tests
2624

2725
fixcs:
2826
volumes:
2927
- ./:/app
30-
image: composer:2.0
28+
image: composer:2.2
3129
command: composer run fix-cs

0 commit comments

Comments
 (0)