Skip to content

Commit b6a9cdb

Browse files
Merge pull request #3 from hammerstonedev/af-support-8
Support Laravel 8
2 parents 6085d7a + 0b18dca commit b6a9cdb

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,23 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
php: [ 8.0, 8.1, 8.2 ]
18-
laravel: [ 9.*, 10.* ]
18+
laravel: [ 8.*, 9.*, 10.* ]
1919
dependency-version: [ prefer-lowest, prefer-stable ]
2020
include:
21+
- laravel: 8.*
22+
testbench: 6.*
23+
2124
- laravel: 9.*
2225
testbench: 7.*
2326

2427
- laravel: 10.*
2528
testbench: 8.*
2629

2730
exclude:
31+
# Laravel 8 lowest isn't compatible with newer PHP versions
32+
- laravel: 8.*
33+
dependency-version: prefer-lowest
34+
2835
# PHP 8.2 requires Laravel 9.33 at least, so skip lowest
2936
- laravel: 9.*
3037
php: 8.2

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
],
1212
"require": {
1313
"php": "^8.0",
14-
"illuminate/support": "^9.0|^10",
15-
"illuminate/cache": "^9.0|^10",
16-
"illuminate/console": "^9.0|^10"
14+
"illuminate/support": "^8.0|^9.0|^10",
15+
"illuminate/cache": "^8.0|^9.0|^10",
16+
"illuminate/console": "^8.0|^9.0|^10"
1717
},
1818
"require-dev": {
1919
"mockery/mockery": "^1.3.3",

src/Arbiter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
use Illuminate\Support\Arr;
99
use Illuminate\Support\Facades\Cache;
10-
use Spatie\Macroable\Macroable;
10+
use Illuminate\Support\Traits\Macroable;
1111

1212
class Arbiter
1313
{

src/FlakyCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
use Illuminate\Console\Command;
99
use Illuminate\Support\Arr;
10-
use Spatie\Macroable\Macroable;
10+
use Illuminate\Support\Traits\Macroable;
1111

1212
/**
1313
* @mixin Flaky

0 commit comments

Comments
 (0)