Skip to content

Commit c3f016a

Browse files
committed
Add Laravel 10 support
1 parent bbe45e8 commit c3f016a

6 files changed

Lines changed: 14 additions & 10 deletions

File tree

.github/workflows/code-style.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Install php and composer
1313
uses: shivammathur/setup-php@v2
1414
with:
15-
php-version: 8.0
15+
php-version: 8.1
1616
coverage: none
1717
tools: composer:v2
1818

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Install php and composer
1313
uses: shivammathur/setup-php@v2
1414
with:
15-
php-version: 8.0
15+
php-version: 8.1
1616
coverage: none
1717
tools: composer:v2
1818

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ jobs:
1010
php: [7.4, 8.0, 8.1]
1111
include:
1212
- php: 7.4
13-
testbench: 5.0
13+
testbench: 6.0
1414
phpunit: 9.5
1515

1616
- php: 8.0
17-
testbench: 6.0
17+
testbench: 7.0
1818
phpunit: 9.5
1919

2020
- php: 8.1
21-
testbench: 7.0
21+
testbench: 8.0
2222
phpunit: 9.5
2323
steps:
2424
- name: Checkout code

.php-cs-fixer.dist.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
'no_leading_namespace_whitespace' => true,
4141
'no_spaces_around_offset' => true,
4242
'no_superfluous_phpdoc_tags' => ['allow_mixed' => true],
43-
'no_trailing_comma_in_singleline_array' => true,
43+
'no_trailing_comma_in_singleline' => true,
4444
'no_unneeded_control_parentheses' => true,
4545
'no_unset_cast' => true,
4646
'no_unused_imports' => true,

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ The current version of Elastic Client has been tested with the following configu
2929

3030
* PHP 7.4-8.x
3131
* Elasticsearch 8.x
32+
* Laravel 6.x-10.x
3233

3334
## Installation
3435

composer.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,15 @@
4242
},
4343
"require-dev": {
4444
"phpunit/phpunit": "^9.5",
45-
"orchestra/testbench": "^7.5",
46-
"friendsofphp/php-cs-fixer": "^3.8",
47-
"phpstan/phpstan": "^1.6"
45+
"orchestra/testbench": "^8.0",
46+
"friendsofphp/php-cs-fixer": "^3.14",
47+
"phpstan/phpstan": "^1.10"
4848
},
4949
"config": {
50-
"bin-dir": "bin"
50+
"bin-dir": "bin",
51+
"allow-plugins": {
52+
"php-http/discovery": true
53+
}
5154
},
5255
"extra": {
5356
"laravel": {

0 commit comments

Comments
 (0)