Skip to content

Commit 1caf5a2

Browse files
committed
drop laravel 9 & add laravel 12
1 parent 63a0313 commit 1caf5a2

File tree

5 files changed

+15
-60
lines changed

5 files changed

+15
-60
lines changed

.github/workflows/run-tests.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,14 @@ jobs:
1313
strategy:
1414
fail-fast: true
1515
matrix:
16-
php: [8.1, 8.2, 8.3]
17-
laravel: [9.*, 10.*, 11.*]
16+
php: [8.1, 8.2, 8.3, 8.4]
17+
laravel: [ ^10.0, ^11.0, ^12.0 ]
1818
stability: [prefer-stable]
1919
exclude:
20-
- laravel: 11.*
20+
- laravel: ^11.0
21+
php: 8.1
22+
- laravel: ^12.0
2123
php: 8.1
22-
include:
23-
- laravel: 9.*
24-
phpunitConfig: phpunit_9.xml
25-
- laravel: 10.*
26-
phpunitConfig: phpunit.xml
27-
- laravel: 11.*
28-
phpunitConfig: phpunit.xml
2924

3025
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }}
3126

@@ -54,4 +49,4 @@ jobs:
5449
run: composer show -D
5550

5651
- name: Execute tests
57-
run: vendor/bin/pest -c ${{ matrix.phpunitConfig }}
52+
run: vendor/bin/pest

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ build
44
composer.lock
55
coverage
66
docs
7-
phpstan.neon
87
testbench.yaml
98
vendor
109
node_modules

composer.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,19 @@
1717
],
1818
"require": {
1919
"php": "^8.1",
20-
"illuminate/contracts": "^9.0 || ^10.0 || ^11.0",
20+
"illuminate/contracts": "^10.0 || ^11.0 || ^12.0",
2121
"spatie/laravel-package-tools": "^1.13.0",
2222
"symfony/intl": "^6.2 || ^7.0"
2323
},
2424
"require-dev": {
25-
"laravel/pint": "^1.0",
25+
"laravel/pint": "^1.18",
2626
"nunomaduro/collision": "^6.0 || ^7.0 || ^8.0",
27-
"larastan/larastan": "^2.8",
28-
"orchestra/testbench": "^7.28 || ^8.8 || ^9.0",
29-
"pestphp/pest": "^1.21 || ^2.0",
30-
"pestphp/pest-plugin-laravel": "^1.1 || ^2.0",
27+
"larastan/larastan": "^2.8 || ^3.0",
28+
"orchestra/testbench": "^8.8 || ^9.0 || ^10.0",
29+
"pestphp/pest": "^2.0 || ^3.0",
30+
"pestphp/pest-plugin-laravel": "^2.0 || ^3.0",
3131
"phpstan/extension-installer": "^1.1",
32-
"phpstan/phpstan-deprecation-rules": "^1.0",
33-
"phpstan/phpstan-phpunit": "^1.0",
32+
"phpstan/phpstan-deprecation-rules": "^1.0 || ^2.0",
3433
"spatie/laravel-ray": "^1.26",
3534
"spatie/pest-plugin-snapshots": "^1.1 || ^2.0",
3635
"spatie/test-time": "^1.3"

phpstan.neon.dist renamed to phpstan.neon

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@ parameters:
1414
ignoreErrors:
1515
- identifier: missingType.generics
1616
- identifier: missingType.iterableValue
17+
- identifier: larastan.noEnvCallsOutsideOfConfig
18+
path: config/*
1719
- '#Unsafe usage of new static#'

phpunit_9.xml

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)