Skip to content

Commit c1691b8

Browse files
committed
Laravel 12 support
1 parent 86e86b5 commit c1691b8

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/coverage.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ jobs:
3131

3232
- name: Install dependencies
3333
run: |
34-
composer config --no-plugins allow-plugins.pestphp/pest-plugin true
35-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" pestphp/pest --no-interaction --no-update
34+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
3635
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
3736
- name: Execute tests
3837
run: composer coverage

composer.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"larastan/larastan": "^3.0",
1414
"laravel/pint": "^1.20",
1515
"orchestra/testbench": "^9.0",
16+
"pestphp/pest": "^3.7",
1617
"phpstan/phpstan-mockery": "^2.0",
1718
"phpunit/phpunit": "^11.5"
1819
},
@@ -52,7 +53,10 @@
5253
"coverage": "XDEBUG_MODE=coverage php vendor/bin/pest --coverage --min=100"
5354
},
5455
"config": {
55-
"sort-packages": true
56+
"sort-packages": true,
57+
"allow-plugins": {
58+
"pestphp/pest-plugin": true
59+
}
5660
},
5761
"extra": {
5862
"laravel": {

0 commit comments

Comments
 (0)