Skip to content

Commit

Permalink
Support Laravel 10 (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
spawnia authored Apr 20, 2023
1 parent 4419b22 commit aee1856
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 16 deletions.
31 changes: 22 additions & 9 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,36 @@ jobs:
strategy:
matrix:
php-version:
- 7.4
- 8.0
- "7.4"
- "8.0"
- "8.1"
- "8.2"
laravel-version:
- ^8
- ^9
- "^8"
- "^9"
- "^10"
exclude:
- php-version: 7.4
laravel-version: ^9

- php-version: "7.4"
laravel-version: "^9"
- php-version: "7.4"
laravel-version: "^10"
- php-version: "8.0"
laravel-version: "^10"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: shivammathur/setup-php@v2
with:
coverage: none
php-version: ${{ matrix.php-version }}

- run: composer require illuminate/contracts:${{ matrix.laravel-version }} --no-interaction --prefer-dist --no-interaction
- run: >
composer require
illuminate/contracts:${{ matrix.laravel-version }}
--no-interaction
--prefer-dist
--no-progress
--update-with-all-dependencies
${{ matrix.composer.arg }}
- run: vendor/bin/phpstan
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## v2.1.0

### Added

- Support Laravel 10

## v2.0.1

### Fixed
Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@
],
"require": {
"php": "^7.4 || ^8",
"illuminate/console": "^8 || ^9",
"illuminate/contracts": "^8 || ^9",
"illuminate/support": "^8 || ^9",
"illuminate/console": "^8 || ^9 || ^10",
"illuminate/contracts": "^8 || ^9 || ^10",
"illuminate/support": "^8 || ^9 || ^10",
"thecodingmachine/safe": "^1 || ^2"
},
"require-dev": {
"ergebnis/composer-normalize": "^2",
"laravel/lumen-framework": "^8 || ^9",
"mll-lab/php-cs-fixer-config": "^4.4.1",
"nunomaduro/larastan": "^0.7 || ^1",
"orchestra/testbench": "^6 || ^7",
"laravel/lumen-framework": "^8 || ^9 || ^10",
"mll-lab/php-cs-fixer-config": "^5",
"nunomaduro/larastan": "^0.7 || ^1 || ^2",
"orchestra/testbench": "^6 || ^7 || ^8",
"thecodingmachine/phpstan-safe-rule": "^1"
},
"minimum-stability": "dev",
Expand Down

0 comments on commit aee1856

Please sign in to comment.