Skip to content

Commit 3faef74

Browse files
committed
Drop support for Laravel 10 and PHP 8.1
1 parent 98c5ec3 commit 3faef74

File tree

2 files changed

+7
-45
lines changed

2 files changed

+7
-45
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,9 @@ jobs:
1212
strategy:
1313
fail-fast: true
1414
matrix:
15-
php: [8.1, 8.2, 8.3, 8.4]
16-
laravel: [10, 11, 12]
15+
php: [8.2, 8.3, 8.4]
16+
laravel: [11, 12]
1717
stability: ["prefer-lowest", "prefer-stable"]
18-
exclude:
19-
- php: 8.4
20-
laravel: 10
21-
- php: 8.1
22-
laravel: 11
23-
- php: 8.1
24-
laravel: 12
2518

2619
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} (w/ ${{ matrix.stability }})
2720
steps:
@@ -37,37 +30,6 @@ jobs:
3730
tools: composer:v2
3831
coverage: none
3932

40-
- name: Remove PHPStan on PHP 8.1 and Laravel 10
41-
run: composer remove --dev larastan/larastan
42-
if: matrix.php == 8.1 || matrix.laravel == 10
43-
44-
- name: Set Minimum PHP 8.1 Versions
45-
uses: nick-fields/retry@v3
46-
with:
47-
timeout_minutes: 5
48-
max_attempts: 5
49-
command: |
50-
composer require vlucas/phpdotenv:^5.3.1 --${{ matrix.stability }} --no-update --no-interaction
51-
if: matrix.php >= 8.1 && matrix.stability == 'prefer-lowest'
52-
53-
- name: Set Minimum PHP 8.2 Versions
54-
uses: nick-fields/retry@v3
55-
with:
56-
timeout_minutes: 5
57-
max_attempts: 5
58-
command: |
59-
composer require nesbot/carbon:^2.62.1 --dev --${{ matrix.stability }} --no-update --no-interaction
60-
if: matrix.php >= 8.2 && matrix.stability == 'prefer-lowest' && matrix.laravel < 12
61-
62-
- name: Set Minimum PHP 8.2 Versions and Laravel > 11
63-
uses: nick-fields/retry@v3
64-
with:
65-
timeout_minutes: 5
66-
max_attempts: 5
67-
command: |
68-
composer require "orchestra/testbench:^9.2|^10.0" --dev --${{ matrix.stability }} --no-update --no-interaction
69-
if: matrix.php >= 8.2 && matrix.stability == 'prefer-lowest' && matrix.laravel >= 11
70-
7133
- name: Set Laravel version
7234
uses: nick-fields/retry@v3
7335
with:

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,17 @@
2828
}
2929
},
3030
"require": {
31-
"php": "^8.1.0",
31+
"php": "^8.2.0",
3232
"ext-json": "*",
33-
"laravel/framework": "^10.0|^11.0|^12.0",
34-
"symfony/console": "^6.2|^7.0"
33+
"laravel/framework": "^11.0|^12.0",
34+
"symfony/console": "^7.0"
3535
},
3636
"require-dev": {
3737
"guzzlehttp/guzzle": "^7.2",
3838
"roave/security-advisories": "dev-master",
39-
"orchestra/testbench": "^8.0|^9.2|^10.0",
39+
"orchestra/testbench": "^9.2|^10.0",
4040
"mockery/mockery": "^1.3.3",
41-
"phpunit/phpunit": "^10.4|^11.5",
41+
"phpunit/phpunit": "^11.5",
4242
"laravel/pint": "^1.16",
4343
"larastan/larastan": "^3.0"
4444
},

0 commit comments

Comments
 (0)