Skip to content

Commit 22ffead

Browse files
authored
Move PHPStan settings to it's config (#1427)
1 parent dbe695e commit 22ffead

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "PHP Client for Elasticsearch",
44
"keywords": [
55
"search",
6-
"client",
6+
"client",
77
"elasticsearch",
88
"elastic"
99
],
@@ -52,7 +52,7 @@
5252
"vendor/bin/phpunit --testdox -c phpunit-integration-cloud-tests.xml"
5353
],
5454
"phpstan": [
55-
"phpstan analyse src --level 2 --no-progress --memory-limit 256M"
55+
"phpstan analyse --no-progress --memory-limit 256M"
5656
]
5757
},
5858
"config": {

phpstan.neon

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
parameters:
2+
level: 2
3+
paths:
4+
- src
25
ignoreErrors:
36
- '#PHPDoc tag @param has invalid value#'

0 commit comments

Comments
 (0)