-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathphpstan.neon
More file actions
43 lines (36 loc) · 1.69 KB
/
Copy pathphpstan.neon
File metadata and controls
43 lines (36 loc) · 1.69 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
38
39
40
41
42
43
parameters:
level: max
paths:
- src/
tmpDir: cache
treatPhpDocTypesAsCertain: false
# json_stream_decode() and JsonStream\Document are provided by the json_stream extension, or by
# the polyfill which declares them behind a runtime guard, so they are not autoloadable.
scanFiles:
- vendor/joelwurtz/json-stream-polyfill/src/functions.php
- vendor/joelwurtz/json-stream-polyfill/src/Document.php
ignoreErrors:
-
message: "#^Method AutoMapper\\\\ObjectMapper\\\\ObjectMapper\\:\\:map\\(\\) should return T of object but returns object\\|null\\.$#"
count: 1
path: src/ObjectMapper/ObjectMapper.php
-
message: '#^Parameter \#2 \$array of function implode expects array\<string\>, array given\.$#'
identifier: argument.type
count: 1
path: src/EventListener/MapListener.php
-
message: '#^Binary operation "\." between mixed and string results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: src/EventListener/MapToContextListener.php
-
message: '#^Parameter \$mapping of class AutoMapper\\Metadata\\Discriminator constructor expects array\<string, class\-string\>, array given\.$#'
identifier: argument.type
count: 2
path: src/EventListener/Symfony/ClassDiscriminatorListener.php
-
message: '#^Call to function function_exists\(\) with callable\-string will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Generator/PropertyConditionsGenerator.php