Skip to content

Commit c37d23b

Browse files
committed
Don't run prefer-lowest tests with PHP 8.4
The "lowest" versions of dependencies throw deprecation errors with PHP 8.4 - we only want to test with the latest versions for now. This means we also don't need to adjust the minimum versions of dependencies. This is what Laravel does in their test suite.
1 parent 36c8547 commit c37d23b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434
laravel: 11.*
3535
- php: 8.4
3636
laravel: 10.*
37+
- php: 8.4
38+
stability: prefer-lowest
3739

3840
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
3941

composer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"composer/semver": "^3.4",
1515
"guzzlehttp/guzzle": "^6.3 || ^7.0",
1616
"james-heinrich/getid3": "^1.9.21",
17-
"laravel/framework": "^10.40 || ^11.3",
17+
"laravel/framework": "^10.40 || ^11.0",
1818
"laravel/prompts": "^0.1.16",
1919
"league/commonmark": "^2.2",
2020
"league/csv": "^9.0",
@@ -44,8 +44,7 @@
4444
"mockery/mockery": "^1.6.10",
4545
"orchestra/testbench": "^8.14 || ^9.0",
4646
"phpunit/phpunit": "^10.5.35",
47-
"spatie/laravel-ray": "^1.37",
48-
"spatie/ray": "^1.41.2"
47+
"spatie/laravel-ray": "^1.37"
4948
},
5049
"config": {
5150
"optimize-autoloader": true,

0 commit comments

Comments
 (0)