Skip to content

Commit 170f9ea

Browse files
steachessi-anik
andauthored
[Breaking] Add support for Laravel 11 with php 8.3, remove old laravel versions < L10 (#11)
* Fix: Add support for laravel 11, test on php 8.3 * Breaking: remove old laravel versions * exclude L11 for PHP 8.1 * Updated orchestra/testbench for L11 and removed old versions * PHPUnit 10.x doesn't have --verbose flag --------- Co-authored-by: Syed Sirajul Islam Anik <sirajul.islam.anik@gmail.com>
1 parent 8759b81 commit 170f9ea

File tree

2 files changed

+8
-30
lines changed

2 files changed

+8
-30
lines changed

.github/workflows/standard-test-coverage.yml

Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -34,33 +34,11 @@ jobs:
3434
fail-fast: false
3535
matrix:
3636
os: [ ubuntu-latest ]
37-
php: [ 7.2, 7.3, 7.4, 8.0, 8.1, 8.2 ]
38-
laravel: [ 6, 7, 8, 9, 10 ]
37+
php: [ 8.1, 8.2, 8.3 ]
38+
laravel: [ 10, 11 ]
3939
exclude:
4040
- php: 8.1
41-
laravel: 6
42-
- php: 8.2
43-
laravel: 6
44-
- php: 8.1
45-
laravel: 7
46-
- php: 8.2
47-
laravel: 7
48-
- php: 7.2
49-
laravel: 8
50-
- php: 7.2
51-
laravel: 9
52-
- php: 7.3
53-
laravel: 9
54-
- php: 7.4
55-
laravel: 9
56-
- php: 7.2
57-
laravel: 10
58-
- php: 7.3
59-
laravel: 10
60-
- php: 7.4
61-
laravel: 10
62-
- php: 8.0
63-
laravel: 10
41+
laravel: 11
6442

6543
steps:
6644
- name: Checkout code
@@ -76,7 +54,7 @@ jobs:
7654
composer require illuminate/support:^${{ matrix.laravel }} --no-interaction --prefer-dist
7755
7856
- name: Run tests
79-
run: ./vendor/bin/phpunit --testdox --verbose
57+
run: ./vendor/bin/phpunit --testdox
8058

8159
coverage:
8260
needs: tests

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
],
1212
"minimum-stability": "stable",
1313
"require": {
14-
"php": "^7.2|^8.0",
14+
"php": "^8.1",
1515
"anik/amqp": "^2.0",
16-
"illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0"
16+
"illuminate/support": "^10.0|^11.0"
1717
},
1818
"require-dev": {
19-
"phpunit/phpunit": "^8.0|^9.0",
20-
"orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0"
19+
"phpunit/phpunit": "^10.0",
20+
"orchestra/testbench": "^8.0|^9.0"
2121
},
2222
"autoload": {
2323
"psr-4": {

0 commit comments

Comments
 (0)