-
Notifications
You must be signed in to change notification settings - Fork 4
/
phpstan.neon
37 lines (35 loc) · 1.72 KB
/
phpstan.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
32
33
34
35
36
37
parameters:
level: 8
paths:
- src
# - test
treatPhpDocTypesAsCertain: false
excludePaths:
- 'src/DependencyInjection/Configuration.php'
- 'test/functional/Command/var/*'
ignoreErrors:
-
message: '#Variable method call on OnMoon\\OpenApiServerBundle\\Interfaces\\RequestHandler.#'
paths:
- %currentWorkingDirectory%/src/Controller/ApiController.php
-
message: '#Variable static method call on class-string<OnMoon\\OpenApiServerBundle\\Interfaces\\Dto>.#'
paths:
- %currentWorkingDirectory%/src/Serializer/ArrayDtoSerializer.php
-
message: '#Variable static method call on OnMoon\\OpenApiServerBundle\\Types\\TypeSerializer.#'
paths:
- %currentWorkingDirectory%/src/Types/ScalarTypesResolver.php
-
message: '#OnMoon\\OpenApiServerBundle\\Router\\RouteLoader::__construct\(\) does not call parent constructor from Symfony\\Component\\Config\\Loader\\Loader\.#'
paths:
- %currentWorkingDirectory%/src/Router/RouteLoader.php
-
message: '#Method OnMoon\\OpenApiServerBundle\\Specification\\SpecificationParser::getResponseDtoDefinitions\(\) has parameter \$responses with no value type specified in iterable type array\.#'
paths:
- %currentWorkingDirectory%/src/Specification/SpecificationParser.php
includes:
- vendor/thecodingmachine/phpstan-safe-rule/phpstan-safe-rule.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon