Skip to content

Commit

Permalink
Add Laravel 10 support
Browse files Browse the repository at this point in the history
  • Loading branch information
babenkoivan committed Mar 4, 2023
1 parent bbe45e8 commit c3f016a
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/code-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Install php and composer
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
php-version: 8.1
coverage: none
tools: composer:v2

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Install php and composer
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
php-version: 8.1
coverage: none
tools: composer:v2

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ jobs:
php: [7.4, 8.0, 8.1]
include:
- php: 7.4
testbench: 5.0
testbench: 6.0
phpunit: 9.5

- php: 8.0
testbench: 6.0
testbench: 7.0
phpunit: 9.5

- php: 8.1
testbench: 7.0
testbench: 8.0
phpunit: 9.5
steps:
- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
'no_leading_namespace_whitespace' => true,
'no_spaces_around_offset' => true,
'no_superfluous_phpdoc_tags' => ['allow_mixed' => true],
'no_trailing_comma_in_singleline_array' => true,
'no_trailing_comma_in_singleline' => true,
'no_unneeded_control_parentheses' => true,
'no_unset_cast' => true,
'no_unused_imports' => true,
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ The current version of Elastic Client has been tested with the following configu

* PHP 7.4-8.x
* Elasticsearch 8.x
* Laravel 6.x-10.x

## Installation

Expand Down
11 changes: 7 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,15 @@
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"orchestra/testbench": "^7.5",
"friendsofphp/php-cs-fixer": "^3.8",
"phpstan/phpstan": "^1.6"
"orchestra/testbench": "^8.0",
"friendsofphp/php-cs-fixer": "^3.14",
"phpstan/phpstan": "^1.10"
},
"config": {
"bin-dir": "bin"
"bin-dir": "bin",
"allow-plugins": {
"php-http/discovery": true
}
},
"extra": {
"laravel": {
Expand Down

0 comments on commit c3f016a

Please sign in to comment.