-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy pathphpstan.neon
More file actions
37 lines (37 loc) · 1.65 KB
/
phpstan.neon
File metadata and controls
37 lines (37 loc) · 1.65 KB
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
32
33
34
35
36
37
parameters:
level: 8
paths:
- src/
bootstrapFiles:
- tests/bootstrap.php
ignoreErrors:
- identifier: missingType.iterableValue
- identifier: missingType.generics
-
identifier: instanceof.alwaysTrue
path: src/Marshaller.php
-
message: '#^Trait Cake\\ElasticSearch\\Datasource\\IndexLocatorAwareTrait is used zero times and is not analysed\.$#'
identifier: trait.unused
count: 1
path: src/Datasource/IndexLocatorAwareTrait.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\:\:all\(\) should return Cake\\Datasource\\ResultSetInterface but returns iterable\.$#'
identifier: return.type
count: 1
path: src/Query.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: '#^Class Cake\\ElasticSearch\\ResultSet @implements tag contains incompatible type Cake\\Datasource\\ResultSetInterface&iterable\<T of array\|Cake\\Datasource\\EntityInterface\>\.$#'
identifier: generics.notCompatible
count: 1
path: src/ResultSet.php