Skip to content

Commit b696afa

Browse files
authored
Merge pull request #16 from descom-es/laravel_12_update
Laravel 12 update
2 parents 9938f64 + 7cce779 commit b696afa

File tree

4 files changed

+12
-14
lines changed

4 files changed

+12
-14
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: true
1515
matrix:
16-
php: [8.2, 8.3, 8.4]
16+
php: [8.3, 8.4]
1717

1818
steps:
1919
- name: Checkout code

composer.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,20 @@
2222
"minimum-stability": "dev",
2323
"prefer-stable": true,
2424
"require": {
25-
"php": "^8.2",
26-
"guzzlehttp/guzzle": "^7.4",
25+
"php": "^8.3",
26+
"guzzlehttp/guzzle": "^7.8",
2727
"league/omnipay": "^3.2",
2828
"omnipay/common": "^3.2",
29-
"illuminate/contracts": "^9.25|^10.0|^11.0"
29+
"illuminate/contracts": "^11.0|^12.0"
3030
},
3131
"require-dev": {
32-
"guzzlehttp/psr7": "^1",
32+
"guzzlehttp/psr7": "^1|^2",
3333
"omnipay/tests": "^4.1",
34-
"phpunit/phpunit": "^9.5|^10.0|^10.5",
35-
"orchestra/testbench": "^7.0|^8.0|^9.0",
36-
"friendsofphp/php-cs-fixer": "^3.10",
37-
"phpstan/phpstan": "^1.8",
38-
"nunomaduro/larastan": "^2.1"
34+
"phpunit/phpunit": "^10.5|^11.5",
35+
"orchestra/testbench": "^9.0|^10.0",
36+
"friendsofphp/php-cs-fixer": "^3.75",
37+
"phpstan/phpstan": "^2.1",
38+
"larastan/larastan": "^3.0"
3939
},
4040
"extra": {
4141
"laravel": {

phpstan.neon.dist

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
includes:
2-
- ./vendor/nunomaduro/larastan/extension.neon
2+
- ./vendor/larastan/larastan/extension.neon
33

44
parameters:
55

@@ -10,7 +10,5 @@ parameters:
1010
# The level 9 is the highest level
1111
level: 5
1212

13-
checkMissingIterableValueType: false
14-
1513
ignoreErrors:
1614
- '#Property Omnipay\\OfflineDummy\\Tests.* \(Omnipay\\OfflineDummy\\Gateway\) does not accept Omnipay\\Common\\GatewayInterface.#'

src/App/Http/Controllers/PaymentController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public function __invoke(Request $request)
1616
'amount' => 'required|numeric',
1717
]);
1818

19-
return view('omnipay-offline-dummy::payment', [
19+
return response()->view('omnipay-offline-dummy::payment', [
2020
'transactionId' => $request->input('transaction_id'),
2121
'description' => $request->input('description'),
2222
'amount' => $request->input('amount'),

0 commit comments

Comments
 (0)