Skip to content

Commit 0a47c6e

Browse files
committed
Changed phpcs ruleset and fixed phpstan ignoreErrors
1 parent 4679184 commit 0a47c6e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

phpstan.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ parameters:
22
reportUnmatchedIgnoredErrors:
33
false
44
ignoreErrors:
5-
- '#Unsafe usage of new static()#'
5+
- '#Unsafe usage of new static\(\)#'
66
- '#Call to static method performRequest\(\) on trait#'
77
- '#Constant JSON_THROW_ON_ERROR not found#'
88
- '#Caught class JsonException not found#'

ruleset.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
<ruleset name="Elasticsearch-PHP">
33
<rule ref="PSR2">
44
<exclude name="Generic.Files.LineLength.TooLong"/>
5+
<exclude name="Squiz.WhiteSpace.SuperfluousWhitespace.EndLine"/>
56
</rule>
67
</ruleset>

0 commit comments

Comments
 (0)