Skip to content

Commit e6efbf4

Browse files
author
Kevin Buchholz
committed
laravel 9 support
also make php 8.1 test not allowed to fail
1 parent 93c2c68 commit e6efbf4

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

.github/workflows/test.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
allowed-to-fail: [false]
1717
include:
1818
- php-versions: '8.1'
19-
composer-arguments: ['--prefer-lowest', '']
20-
allowed-to-fail: true
19+
composer-arguments: ''
20+
allowed-to-fail: false
2121

2222
steps:
2323
- name: Checkout
@@ -37,4 +37,4 @@ jobs:
3737

3838
- name: Run tests
3939
continue-on-error: ${{ matrix.allowed-to-fail }}
40-
run: vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
40+
run: vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover

composer.json

+8-5
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
],
2121
"require": {
2222
"php": ">=7.3",
23-
"illuminate/support": "^6.0|^7.0|^8.0",
24-
"illuminate/view": "^6.0|^7.0|^8.0",
25-
"illuminate/http": "^6.0|^7.0|^8.0"
23+
"illuminate/support": "^6.0|^7.0|^8.0|^9.0",
24+
"illuminate/view": "^6.0|^7.0|^8.0|^9.0",
25+
"illuminate/http": "^6.0|^7.0|^8.0|^9.0"
2626
},
2727
"require-dev": {
28-
"orchestra/testbench": "^5.0 || ^6.0",
28+
"orchestra/testbench": "^5.0|^6.0|^7.0",
2929
"phpunit/phpunit": "^9.3",
3030
"phpmd/phpmd": "^2.6",
3131
"squizlabs/php_codesniffer": "^3.3",
@@ -49,7 +49,10 @@
4949
"fix": "vendor/bin/phpcbf"
5050
},
5151
"config": {
52-
"sort-packages": true
52+
"sort-packages": true,
53+
"allow-plugins": {
54+
"dealerdirect/phpcodesniffer-composer-installer": true
55+
}
5356
},
5457
"extra": {
5558
"laravel": {

0 commit comments

Comments
 (0)