Skip to content

Commit 39896a4

Browse files
authored
Require PHP 8.1+ (#26)
* Require PHP 8.1+ * Revert PHPUnit upgrade for now * Update mockery
1 parent f1b4b7b commit 39896a4

File tree

3 files changed

+8
-32
lines changed

3 files changed

+8
-32
lines changed

.github/workflows/run-tests.yml

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -13,33 +13,9 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
os: [ ubuntu-latest ]
16-
php: [ 8.1, 8.0, 7.4, 7.3, 7.2 ]
17-
laravel: [ 9.*, 8.*, 7.*, 6.*, ~5.5 , 10.*]
16+
php: [ 8.1, 8.2 ]
17+
laravel: [ 9.*, 10.*]
1818
dependency-version: [ prefer-lowest, prefer-stable ]
19-
exclude:
20-
# Laravel 9 Supports PHP 8.0 - 8.1
21-
- laravel: 9.*
22-
php: 7.4
23-
- laravel: 9.*
24-
php: 7.3
25-
- laravel: 9.*
26-
php: 7.2
27-
# Laravel 8 Supports PHP 7.3 - 8.1
28-
- laravel: 8.*
29-
php: 7.2
30-
# Laravel 7 Supports PHP 7.2 - 8.0
31-
- laravel: 7.*
32-
php: 8.1
33-
# Laravel 6 Supports PHP 7.2 - 8.0
34-
- laravel: 6.*
35-
php: 8.1
36-
# Laravel 5.5 Supports PHP 7.0 - 7.3
37-
- laravel: ~5.5
38-
php: 8.1
39-
- laravel: ~5.5
40-
php: 8.0
41-
- laravel: ~5.5
42-
php: 7.4
4319

4420
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
4521

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
}
1313
],
1414
"require": {
15-
"php": ">=7.2",
15+
"php": ">=8.1",
1616
"aws/aws-sdk-php": "^3.69.11",
1717
"guzzlehttp/guzzle": "^6.2.1 || ^7.0",
18-
"illuminate/notifications": "~5.5 || ~6.0 || ~7.0 || ~8.0 || ~9.0|^10.0",
19-
"illuminate/support": "~5.5 || ~6.0 || ~7.0 || ~8.0 || ~9.0|^10.0"
18+
"illuminate/notifications": "^9.0|^10.0",
19+
"illuminate/support": "^9.0|^10.0"
2020
},
2121
"require-dev": {
22-
"mockery/mockery": "^1.3.5",
23-
"phpunit/phpunit": "^8.5.23|^9.5.10"
22+
"mockery/mockery": "^1.5.1",
23+
"phpunit/phpunit": "^9.5.10"
2424
},
2525
"autoload": {
2626
"psr-4": {

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@
2626
<log type="coverage-text" target="build/coverage.txt"/>
2727
<log type="coverage-clover" target="build/logs/clover.xml"/>
2828
</logging>
29-
</phpunit>
29+
</phpunit>

0 commit comments

Comments
 (0)