Skip to content

Commit e497155

Browse files
authored
Add PHP 8.3 and Laravel 11 compatibility (#308)
* Migrate PHPUnit configuration * Update packages to PHP 8.3 and fix PHPStan errors * Update packages for Laravel 11 compatibility * Migrate nunomaduro/larastan to larastan/larastan * Allow old and new soap-client version
1 parent a9e4d34 commit e497155

File tree

5 files changed

+2174
-1288
lines changed

5 files changed

+2174
-1288
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ vendor
1414
.php-cs-fixer.cache
1515
ray.php
1616
/docs/v3/node_modules/
17+
/.phpunit.cache

composer.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@
1515
}
1616
],
1717
"require": {
18-
"php": "~8.1 || ~8.2",
18+
"php": "~8.1 || ~8.2 || ~8.3",
1919
"ext-soap": "*",
2020
"ext-bcmath": "*",
2121
"ext-intl": "*",
2222
"ext-json": "*",
2323
"ext-dom": "*",
2424
"ext-simplexml": "*",
25-
"illuminate/http": "^9.0 || ^10.0",
26-
"illuminate/support": "^9.0 || ^10.0",
27-
"phpro/soap-client": "^2.3.0",
25+
"illuminate/http": "^9.0 || ^10.0 || ^11.0",
26+
"illuminate/support": "^9.0 || ^10.0 || ^11.0",
27+
"phpro/soap-client": "^2.3.0 || ^3.1.0",
2828
"php-http/guzzle7-adapter": "^1.0",
2929
"php-http/discovery": "^1.14",
3030
"php-http/message": "^1.13",
@@ -34,17 +34,17 @@
3434
"php-soap/psr18-wsse-middleware": "^2.1",
3535
"veewee/xml": "^2.6",
3636
"spatie/laravel-package-tools": "^1.14",
37-
"illuminate/contracts": "^9.0 || ^10.0"
37+
"illuminate/contracts": "^9.0 || ^10.0 || ^11.0"
3838
},
3939
"require-dev": {
4040
"symfony/options-resolver": "^6.2.5",
4141
"phpunit/phpunit": "^10.0",
4242
"orchestra/testbench": "^8.0 || ^9.0",
4343
"laminas/laminas-code": "^4.8.0",
44-
"nunomaduro/larastan": "^2.4",
4544
"nunomaduro/collision": "^6.1",
4645
"symplify/easy-ci": "^10.0",
47-
"spatie/laravel-ray": "^1.32"
46+
"spatie/laravel-ray": "^1.32",
47+
"larastan/larastan": "^2.9"
4848
},
4949
"autoload": {
5050
"psr-4": {

0 commit comments

Comments
 (0)