Skip to content

Commit 07256cb

Browse files
authored
Merge pull request #9 from descom-es/laravel_12_update
Laravel 12 update
2 parents 22b5514 + 7d5a3e1 commit 07256cb

File tree

4 files changed

+13
-20
lines changed

4 files changed

+13
-20
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,13 @@ jobs:
1313
strategy:
1414
fail-fast: true
1515
matrix:
16-
php: [8.2, 8.3, 8.4]
17-
laravel: [10.*, 11.*]
16+
php: [8.3, 8.4]
17+
laravel: [11.*, 12.*]
1818
include:
19-
- laravel: 10.*
20-
testbench: 8.*
2119
- laravel: 11.*
2220
testbench: 9.*
23-
exclude:
24-
- laravel: 10.*
25-
php: 8.4
21+
- laravel: 12.*
22+
testbench: 10.*
2623

2724
steps:
2825
- name: Checkout code

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^8.2",
13+
"php": "^8.3",
1414
"giggsey/libphonenumber-for-php": "^8.13",
15-
"laravel/framework": "^10.0|^11.0"
15+
"laravel/framework": "^11.0|^12.0"
1616
},
1717
"require-dev": {
18-
"friendsofphp/php-cs-fixer": "^3.4",
19-
"nunomaduro/larastan": "^2.0",
20-
"orchestra/testbench": "^7.5|^8.0|^9.0",
21-
"phpstan/phpstan": "^1.2",
22-
"phpunit/phpunit": "^9.3|^10.0|^10.5"
18+
"friendsofphp/php-cs-fixer": "^3.75",
19+
"larastan/larastan": "^3.0",
20+
"orchestra/testbench": "^9.0|^10.0",
21+
"phpstan/phpstan": "^2.1",
22+
"phpunit/phpunit": "^10.5|^11.5"
2323
},
2424
"autoload": {
2525
"psr-4": {

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

@@ -9,5 +9,3 @@ parameters:
99

1010
# The level 9 is the highest level
1111
level: 5
12-
13-
checkMissingIterableValueType: false

tests/Feature/Services/ServiceTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ public function testRunServiceNotFailIfIsValid()
2727
'email' => 'example@example.com',
2828
]);
2929

30-
$service->run();
31-
32-
$this->assertTrue(true);
30+
$this->assertNull($service->run());
3331
}
3432
}
3533

0 commit comments

Comments
 (0)