-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathphpstan-baseline.neon
31 lines (27 loc) · 1.18 KB
/
phpstan-baseline.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
parameters:
ignoreErrors:
-
message: '#^Strict comparison using \!\=\= between string and array\{\} will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
count: 1
path: src/Document.php
-
message: '#^Access to an undefined property Cake\\Datasource\\EntityInterface\:\:\$version\.$#'
identifier: property.notFound
count: 1
path: src/Index.php
-
message: '#^Method Cake\\ElasticSearch\\Query\:\:find\(\) should return static\(Cake\\ElasticSearch\\Query\<TSubject of array\|Cake\\ElasticSearch\\Document\>\) but returns Cake\\ElasticSearch\\Query\<Cake\\ElasticSearch\\Document\>\.$#'
identifier: return.type
count: 1
path: src/Query.php
-
message: '#^PHPDoc tag @return with type Cake\\ElasticSearch\\Query\<TSubject of array\|Cake\\ElasticSearch\\Document\> is not subtype of native type static\(Cake\\ElasticSearch\\Query\<TSubject of array\|Cake\\ElasticSearch\\Document\>\)\.$#'
identifier: return.phpDocType
count: 1
path: src/Query.php
-
message: '#^Strict comparison using \!\=\= between mixed and null will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
count: 1
path: src/QueryBuilder.php