Skip to content

Commit

Permalink
Merge pull request #12 from bend-is/add-laravel-9-support
Browse files Browse the repository at this point in the history
Add laravel 9 support
  • Loading branch information
Zaboday committed Jul 12, 2022
2 parents 03ce053 + c0b6ca4 commit b95e2aa
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Expand Up @@ -21,7 +21,7 @@ jobs: # Docs: <https://git.io/JvxXE>
setup: [basic, lowest]
laravel: [default]
coverage: [yes]
php: ['7.2', '7.3', '7.4', '8.0']
php: ['7.3', '7.4', '8.0']
include:
- php: '7.3'
setup: basic
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs: # Docs: <https://git.io/JvxXE>

- name: Install specific laravel version
if: matrix.laravel != 'default'
run: composer require --dev --update-with-dependencies --prefer-dist --ansi laravel/laravel "${{ matrix.laravel }}"
run: composer require --dev --update-with-all-dependencies --prefer-dist --ansi laravel/laravel "${{ matrix.laravel }}"

- name: Show most important package versions
run: composer info | grep -e laravel -e phpunit -e phpstan
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog][keepachangelog] and this project adheres to [Semantic Versioning][semver].

## Unreleased

### Added

- Support Laravel `9.x`

### Changed

- Minimal required PHP version now is `7.3`

## v4.3.0

### Added
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Expand Up @@ -15,16 +15,16 @@
}
],
"require": {
"php": "^7.2 || ^8.0",
"php": "^7.3 || ^8.0",
"ext-json": "*",
"avto-dev/static-references-data": "^3.0",
"illuminate/support": "~6.0 || ~7.0 || ~8.0"
"illuminate/support": "~6.0 || ~7.0 || ~8.0 || ~9.0"
},
"require-dev": {
"laravel/laravel": "~6.0 || ~7.0 || ~8.0",
"laravel/laravel": "~6.0 || ~7.0 || ~8.0 || ~9.0",
"mockery/mockery": "^1.3.2",
"phpstan/phpstan": "~0.12.34",
"phpunit/phpunit": "^8.5.4 || ^9.3"
"phpunit/phpunit": "^9.3"
},
"autoload": {
"psr-4": {
Expand Down
1 change: 1 addition & 0 deletions phpstan.neon.dist
@@ -1,4 +1,5 @@
parameters:
level: 'max'
checkGenericClassInNonGenericObjectType: false
paths:
- src

0 comments on commit b95e2aa

Please sign in to comment.