Skip to content

Commit

Permalink
Add Laravel 11 support (#23)
Browse files Browse the repository at this point in the history
* drop L9, add L11 support

* bump PHP version

* bump archtechx/helpers dependency

* add setup-php to all ci jobs
  • Loading branch information
stancl authored Mar 29, 2024
1 parent 9ea1022 commit 8a0eeae
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
laravel: [9, 10]
laravel: [10, 11]

steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'
- name: Install composer dependencies
run: composer require "illuminate/support:^${{ matrix.laravel }}.0"
- name: Run tests
Expand All @@ -35,6 +35,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- name: Install composer dependencies
run: composer install
- name: Run phpstan
Expand All @@ -45,6 +49,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- name: Install php-cs-fixer
run: composer global require friendsofphp/php-cs-fixer
- name: Run php-cs-fixer
Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
}
},
"require": {
"php": "^8.1",
"illuminate/support": "^9.0|^10.0",
"archtechx/helpers": "^0.3.1"
"php": "^8.2",
"illuminate/support": "^10.0|^11.0",
"archtechx/helpers": "^0.3.2"
},
"require-dev": {
"orchestra/testbench": "^7.19|^8.0",
"pestphp/pest": "^1.10|^2.0",
"orchestra/testbench": "^8.0|^9.0",
"pestphp/pest": "^2.0",
"phpstan/phpstan": "^1.9.8",
"pestphp/pest-plugin-laravel": "^1.1|^2.0",
"pestphp/pest-plugin-laravel": "^2.0",
"nunomaduro/larastan": "^2.4"
},
"extra": {
Expand Down

0 comments on commit 8a0eeae

Please sign in to comment.