Skip to content

Commit cdf7d21

Browse files
Laravel 12.x Compatibility (#33)
* Bump dependencies for Laravel 12 * Update GitHub Actions for Laravel 12 * remove old versions oh php/laravel * Update composer.json --------- Co-authored-by: Steve Williamson <[email protected]>
1 parent c5a779a commit cdf7d21

File tree

2 files changed

+37
-41
lines changed

2 files changed

+37
-41
lines changed
Lines changed: 33 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,51 @@
1-
name: "Run Tests - L11"
1+
name: Run Tests
22

3-
on: [push, pull_request]
3+
on:
4+
- push
5+
- pull_request
46

57
jobs:
68
test:
79
runs-on: ubuntu-latest
10+
811
strategy:
912
fail-fast: false
1013
matrix:
11-
laravel: [8.*, 9.*, 10.*, 11.*]
12-
php: [8.3, 8.1, 8.0, 7.4, 7.3]
14+
laravel: ['10.*', '11.*', '12.*']
15+
php: ['8.2', 8.3, '8.3', '8.4']
1316
dependency-version: [prefer-lowest, prefer-stable]
1417
include:
15-
- laravel: 8.*
16-
testbench: 6.*
17-
- laravel: 9.*
18-
testbench: 7.*
1918
- laravel: 10.*
2019
testbench: 8.*
2120
- laravel: 11.*
2221
testbench: 9.*
22+
- laravel: 12.*
23+
testbench: 10.*
2324
exclude:
24-
- laravel: 8.*
25-
php: 8.0
26-
- laravel: 8.*
27-
php: 8.1
28-
- laravel: 8.*
29-
php: 8.3
30-
- laravel: 9.*
31-
php: 7.3
32-
- laravel: 9.*
33-
php: 7.4
34-
- laravel: 9.*
35-
php: 8.3
36-
- laravel: 10.*
37-
php: 7.3
38-
- laravel: 10.*
39-
php: 7.4
40-
- laravel: 10.*
41-
php: 8.0
42-
- laravel: 10.*
43-
php: 8.3
44-
- laravel: 11.*
45-
php: 7.3
46-
- laravel: 11.*
47-
php: 7.4
48-
- laravel: 11.*
49-
php: 8.0
50-
- laravel: 11.*
51-
php: 8.1
25+
- laravel: 10.*
26+
php: 7.3
27+
- laravel: 10.*
28+
php: 7.4
29+
- laravel: 10.*
30+
php: 8.0
31+
- laravel: 10.*
32+
php: 8.3
33+
- laravel: 11.*
34+
php: 7.3
35+
- laravel: 11.*
36+
php: 7.4
37+
- laravel: 11.*
38+
php: 8.0
39+
- laravel: 11.*
40+
php: 8.1
41+
- laravel: 12.*
42+
php: 7.3
43+
- laravel: 12.*
44+
php: 7.4
45+
- laravel: 12.*
46+
php: 8.0
47+
- laravel: 12.*
48+
php: 8.1
5249

5350
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
5451

@@ -67,7 +64,6 @@ jobs:
6764
with:
6865
php-version: ${{ matrix.php }}
6966
extensions: mbstring, zip, curl, pcntl, pdo, sqlite, pdo_sqlite, iconv, xdebug, mysqlnd, bcmath, bz2, dba, enchant, gd, gmp, igbinary, imagick, imap, intl, ldap, memcache, mongodb, msgpack, mysqli, odbc, pdo_dblib, pdo_firebird, pdo_mysql, pdo_odbc, pdo_pgsql, pdo_sqlsrv, pgsql, pspell, redis, snmp, soap, sqlsrv, tidy, yaml, zmq, memcached, ds
70-
7167
coverage: none
7268

7369
- name: Debug PHP Setup
@@ -86,4 +82,3 @@ jobs:
8682
- name: Execute tests
8783
run: |
8884
vendor/bin/phpunit --no-coverage
89-

composer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
"require": {
1919
"php": "^7.1 || ^7.3 || ^7.4 || ^8.0 || ^8.1 || ^8.3",
2020
"aws/aws-sdk-php": "^3.145 || ^3.219 || ^3.263",
21-
"illuminate/support": "^6.0 || ^7.0 || ^8.0 || ^9.8 || ^10.6 || ^11.0"
21+
"illuminate/support": "^6.0 || ^7.0 || ^8.0 || ^9.8 || ^10.6 || ^11.0 || ^12.0"
2222
},
2323
"require-dev": {
24-
"orchestra/testbench": "^3.8 || ^5.0 || ^6.0 || ^7.4 || ^8.2",
24+
"orchestra/testbench": "^3.8 || ^5.0 || ^6.0 || ^7.4 || ^8.2 || ^10.0",
2525
"phpunit/phpunit": "^7.0 || ^8.4 || ^9.3.3 || ^11.0.1"
2626
},
2727
"autoload": {
@@ -37,8 +37,9 @@
3737
"scripts": {
3838
"test": "vendor/bin/phpunit",
3939
"test-coverage": "vendor/bin/phpunit --coverage-html coverage"
40-
4140
},
41+
"minimum-stability": "dev",
42+
"prefer-stable": true,
4243
"config": {
4344
"sort-packages": true
4445
},

0 commit comments

Comments
 (0)