Skip to content

Commit 4e5be83

Browse files
authored
[5.x] Support PHP 8.4 (#722)
* [5.x] Support PHP 8.4 * wip * wip * Update tests.yml * Update tests.yml * wip * Update .styleci.yml
1 parent 8b32227 commit 4e5be83

File tree

3 files changed

+35
-33
lines changed

3 files changed

+35
-33
lines changed

.github/workflows/tests.yml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -16,43 +16,44 @@ jobs:
1616
strategy:
1717
fail-fast: true
1818
matrix:
19-
php: [7.2, 7.3, 7.4, '8.0', 8.1, 8.2, 8.3]
20-
laravel: [6, 7, 8, 9, 10]
21-
exclude:
22-
- php: 7.2
23-
laravel: 8
24-
- php: 7.2
19+
php: [8.1, 8.2, 8.3, 8.4]
20+
laravel: [10, 11]
21+
include:
22+
- php: 8.2
2523
laravel: 9
26-
- php: 7.2
27-
laravel: 10
28-
- php: 7.3
24+
- php: 8.1
2925
laravel: 9
30-
- php: 7.3
31-
laravel: 10
32-
- php: 7.4
26+
- php: '8.0'
3327
laravel: 9
28+
- php: 8.1
29+
laravel: 8
30+
- php: '8.0'
31+
laravel: 8
3432
- php: 7.4
35-
laravel: 10
33+
laravel: 8
34+
- php: 7.3
35+
laravel: 8
3636
- php: '8.0'
37-
laravel: 10
38-
- php: 8.1
39-
laravel: 6
40-
- php: 8.1
4137
laravel: 7
42-
- php: 8.2
43-
laravel: 6
44-
- php: 8.2
38+
- php: 7.4
4539
laravel: 7
46-
- php: 8.2
47-
laravel: 8
48-
- php: 8.3
49-
laravel: 6
50-
- php: 8.3
40+
- php: 7.3
5141
laravel: 7
52-
- php: 8.3
53-
laravel: 8
54-
- php: 8.3
55-
laravel: 9
42+
- php: 7.2
43+
laravel: 7
44+
- php: '8.0'
45+
laravel: 6
46+
- php: 7.4
47+
laravel: 6
48+
- php: 7.3
49+
laravel: 6
50+
- php: 7.2
51+
laravel: 6
52+
exclude:
53+
- php: 8.4
54+
laravel: 10
55+
- php: 8.1
56+
laravel: 11
5657

5758
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
5859

@@ -71,8 +72,7 @@ jobs:
7172

7273
- name: Install dependencies
7374
run: |
74-
composer require "illuminate/contracts=^${{ matrix.laravel }}" --no-update
75-
composer update --prefer-dist --no-interaction --no-progress
75+
composer update --prefer-dist --no-interaction --no-progress --with="illuminate/contracts=^${{ matrix.laravel }}"
7676
7777
- name: Execute tests
78-
run: vendor/bin/phpunit
78+
run: vendor/bin/phpunit ${{ matrix.laravel >= 10 && '--display-deprecations --fail-on-deprecation' || '' }}

.styleci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
php:
22
preset: laravel
3+
enabled:
4+
- nullable_type_declarations
35
js: true
46
css: true

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
2323
"illuminate/http": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
2424
"illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
25-
"league/oauth1-client": "^1.10.1",
25+
"league/oauth1-client": "^1.11",
2626
"phpseclib/phpseclib": "^3.0"
2727
},
2828
"require-dev": {

0 commit comments

Comments
 (0)