forked from zircote/swagger-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
29 lines (27 loc) · 796 Bytes
/
phpstan.neon
File metadata and controls
29 lines (27 loc) · 796 Bytes
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
includes:
- phpstan-baseline.neon
parameters:
phpVersion: 80200
level: 5
paths:
- src
- tests
- docs/examples
parallel:
processTimeout: 300.0
excludePaths:
- 'tests/Fixtures/*'
treatPhpDocTypesAsCertain: false
ignoreErrors:
-
# ignore Generator::UNDEFINED default value
message: '#OpenApi\\Annotations#'
identifier: property.defaultValue
-
# ignore unused example fixtures
message: '#OpenApi\\Examples#'
identifier: property.unused
-
# ignore assigning Generator::UNDEFINED as property value
message: '#Property OpenApi\\Annotations.*::\$.* does not accept string.#'
identifier: assign.propertyType