Skip to content

Commit b0af852

Browse files
authored
Merge pull request clarkeash#74 from SamuelNitsche/9.x
Add support for Laravel 9
2 parents e775753 + 8b328e7 commit b0af852

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
strategy:
1919
matrix:
20-
php: [7.3, 7.4, 8.0]
20+
php: [8.0, 8.1]
2121
stability: [prefer-lowest, prefer-stable]
2222

2323
# Steps represent a sequence of tasks that will be executed as part of the job
@@ -26,7 +26,7 @@ jobs:
2626
uses: actions/checkout@v2
2727

2828
- name: Cache dependencies
29-
uses: actions/cache@v1
29+
uses: actions/cache@v2
3030
with:
3131
path: ~/.composer/cache/files
3232
key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
@@ -43,4 +43,4 @@ jobs:
4343
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction
4444

4545
- name: Execute tests
46-
run: vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
46+
run: vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover

composer.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
}
1010
],
1111
"require": {
12-
"php": "^7.3|^8.0",
13-
"laravel/framework": "^8.0",
12+
"php": "^8.0",
13+
"laravel/framework": "^9.0",
1414
"ramsey/uuid": "^4.0"
1515
},
1616
"autoload": {
@@ -24,7 +24,7 @@
2424
}
2525
},
2626
"require-dev": {
27-
"orchestra/testbench": "^6.0",
27+
"orchestra/testbench": "^7.0",
2828
"phpunit/phpunit": "^9.3",
2929
"mockery/mockery": "^1.4"
3030
},
@@ -40,5 +40,7 @@
4040
},
4141
"config": {
4242
"preferred-install": "dist"
43-
}
43+
},
44+
"minimum-stability": "dev",
45+
"prefer-stable": true
4446
}

0 commit comments

Comments
 (0)