Skip to content

Commit bcdbbec

Browse files
authored
Remove support to Laravel 9 (#30)
* Remove support to Laravel 9 * Remove support to Laravel 9
1 parent ae3ab05 commit bcdbbec

File tree

4 files changed

+16
-20
lines changed

4 files changed

+16
-20
lines changed

.github/workflows/phpstan.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,22 @@ jobs:
1717
- name: Setup PHP
1818
uses: shivammathur/setup-php@v2
1919
with:
20-
php-version: 8.1
20+
php-version: 8.2
2121

2222
- name: Cache Composer packages
2323
id: composer-cache
2424
uses: actions/cache@v4
2525
with:
2626
path: vendor
27-
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
27+
key: ${{ runner.os }}-php-8.2-${{ hashFiles('**/composer.lock') }}
2828
restore-keys: |
29-
${{ runner.os }}-php-
29+
${{ runner.os }}-php-8.2-
30+
3031
- name: Install dependencies
3132
if: steps.composer-cache.outputs.cache-hit != 'true'
3233
run: |
3334
composer install
3435
composer dump
36+
3537
- name: Run analyse phpstan
3638
run: vendor/bin/phpstan analyse --error-format github

.github/workflows/style-fix.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ jobs:
1515
- name: Setup PHP
1616
uses: shivammathur/setup-php@v2
1717
with:
18-
php-version: '8.1'
18+
php-version: '8.2'
1919
coverage: xdebug
2020

2121
- name: Cache Composer packages
2222
id: composer-cache
2323
uses: actions/cache@v4
2424
with:
2525
path: vendor
26-
key: ${{ runner.os }}-php-8.1-${{ hashFiles('**/composer.lock') }}
26+
key: ${{ runner.os }}-php-8.2-${{ hashFiles('**/composer.lock') }}
2727
restore-keys: |
28-
${{ runner.os }}-php--8.1
28+
${{ runner.os }}-php--8.2
2929
3030
- name: Install dependencies
3131
if: steps.composer-cache.outputs.cache-hit != 'true'

.github/workflows/tests.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,17 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
php: [8.3, 8.2, 8.1, 8.0]
15-
laravel: ['9.*', '10.*', '11.*']
14+
php: [8.3, 8.2, 8.1]
15+
laravel: ['10.*', '11.*']
1616
dependency-version: [prefer-stable]
1717
include:
18-
- laravel: 9.*
19-
testbench: 7.*
2018
- laravel: 10.*
2119
testbench: 8.*
2220
- laravel: 11.*
2321
testbench: 9.*
2422
exclude:
25-
- laravel: 10.*
26-
php: 8.0
2723
- laravel: 11.*
2824
php: 8.1
29-
- laravel: 11.*
30-
php: 8.0
3125

3226
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
3327

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
],
1313
"type": "library",
1414
"require": {
15-
"php": "^8.0",
16-
"illuminate/console": "^9.0|^10.0|^11.0",
17-
"illuminate/database": "^9.0|^10.0|^11.0",
18-
"illuminate/events": "^9.0|^10.0|^11.0",
19-
"illuminate/support": "^9.0|^10.0|^11.0"
15+
"php": "^8.1",
16+
"illuminate/console": "^10.0|^11.0",
17+
"illuminate/database": "^10.0|^11.0",
18+
"illuminate/events": "^10.0|^11.0",
19+
"illuminate/support": "^10.0|^11.0"
2020
},
2121
"require-dev": {
2222
"phpunit/phpunit": "^9.0|^10.5",
23-
"orchestra/testbench": "^7.0|^8.0|^9.0",
23+
"orchestra/testbench": "^8.0|^9.0",
2424
"laravel/legacy-factories": "^1.0.4",
2525
"friendsofphp/php-cs-fixer": "^3.13",
2626
"larastan/larastan": "^2.0"

0 commit comments

Comments
 (0)