Skip to content

Commit f3cf0bc

Browse files
alies-devclaude
andcommitted
Drop Laravel 10-11 support, require PHP 8.2+
- Bump PHP requirement from ^8.1 to ^8.2 - Drop illuminate/* ^10.0 and ^11.0 constraints (keep ^12.0 || ^13.0) - Drop orchestra/testbench ^8.8 and ^9.0 (keep ^10.0 || ^11.0) - Update CI matrix: test PHP 8.2-8.5 with Laravel 12/13 - Update static analysis workflow to use PHP 8.4 - Update rector config to target PHP 8.2 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9ded000 commit f3cf0bc

4 files changed

Lines changed: 9 additions & 11 deletions

File tree

.github/workflows/run-tests.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,12 @@ jobs:
1111
strategy:
1212
fail-fast: true
1313
matrix:
14-
php: [8.3, 8.2, 8.1]
15-
laravel: [^10.0, ^13.0]
14+
php: [8.5, 8.4, 8.3, 8.2]
15+
laravel: [^12.0, ^13.0]
1616
dependencies: [lowest, highest]
1717
exclude:
1818
- laravel: ^13.0
1919
php: 8.2
20-
- laravel: ^13.0
21-
php: 8.1
2220

2321
name: P${{ matrix.php }} | L${{ matrix.laravel }} | ${{ matrix.dependencies == 'highest' && '↑' || '↓' }}
2422

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Setup PHP
2222
uses: shivammathur/setup-php@v2
2323
with:
24-
php-version: 8.3
24+
php-version: 8.4
2525
coverage: none
2626
env:
2727
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@
1212
"infoDB"
1313
],
1414
"require": {
15-
"php": "^8.1",
15+
"php": "^8.2",
1616
"ext-curl": "*",
17-
"illuminate/cache": "^10.0 || ^11.0 || ^12.0 || ^13.0",
18-
"illuminate/console": "^10.0 || ^11.0 || ^12.0 || ^13.0",
19-
"illuminate/support": "^10.0 || ^11.0 || ^12.0 || ^13.0"
17+
"illuminate/cache": "^12.0 || ^13.0",
18+
"illuminate/console": "^12.0 || ^13.0",
19+
"illuminate/support": "^12.0 || ^13.0"
2020
},
2121
"require-dev": {
2222
"friendsofphp/php-cs-fixer": "^3.50",
2323
"geoip2/geoip2": "^3.0",
24-
"orchestra/testbench": "^8.8 || ^9.0 || ^10.0 || ^11.0",
24+
"orchestra/testbench": "^10.0 || ^11.0",
2525
"phpstan/phpstan": "^2.1",
2626
"phpunit/phpunit": "^11.0 || ^12.0",
2727
"rector/rector": "^2.0",

rector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
__DIR__ . '/tests',
1111
])
1212
->withSets([
13-
\Rector\Set\ValueObject\LevelSetList::UP_TO_PHP_81,
13+
\Rector\Set\ValueObject\LevelSetList::UP_TO_PHP_82,
1414
\Rector\Set\ValueObject\SetList::CODE_QUALITY,
1515
\Rector\Set\ValueObject\SetList::CODING_STYLE,
1616
\Rector\Set\ValueObject\SetList::TYPE_DECLARATION,

0 commit comments

Comments
 (0)