Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Laravel 11 support #23

Merged
merged 4 commits into from
Mar 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading