Skip to content

Commit

Permalink
Remove support to Laravel 9
Browse files Browse the repository at this point in the history
  • Loading branch information
cesargb committed Mar 9, 2024
1 parent ae3ab05 commit 5a3ed8d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,22 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.2

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
key: ${{ runner.os }}-php-8.2-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
${{ runner.os }}-php-8.2-
- name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: |
composer install
composer dump
- name: Run analyse phpstan
run: vendor/bin/phpstan analyse --error-format github
6 changes: 3 additions & 3 deletions .github/workflows/style-fix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'
coverage: xdebug

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-php-8.1-${{ hashFiles('**/composer.lock') }}
key: ${{ runner.os }}-php-8.2-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php--8.1
${{ runner.os }}-php--8.2
- name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
],
"type": "library",
"require": {
"php": "^8.0",
"illuminate/console": "^9.0|^10.0|^11.0",
"illuminate/database": "^9.0|^10.0|^11.0",
"illuminate/events": "^9.0|^10.0|^11.0",
"illuminate/support": "^9.0|^10.0|^11.0"
"php": "^8.1",
"illuminate/console": "^10.0|^11.0",
"illuminate/database": "^10.0|^11.0",
"illuminate/events": "^10.0|^11.0",
"illuminate/support": "^10.0|^11.0"
},
"require-dev": {
"phpunit/phpunit": "^9.0|^10.5",
"orchestra/testbench": "^7.0|^8.0|^9.0",
"orchestra/testbench": "^8.0|^9.0",
"laravel/legacy-factories": "^1.0.4",
"friendsofphp/php-cs-fixer": "^3.13",
"larastan/larastan": "^2.0"
Expand Down

0 comments on commit 5a3ed8d

Please sign in to comment.