-
-
Notifications
You must be signed in to change notification settings - Fork 229
/
Copy pathphpstan.neon
27 lines (27 loc) · 968 Bytes
/
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
parameters:
level: 6
paths:
- src
- tests
treatPhpDocTypesAsCertain: false
ignoreErrors:
-
identifier: missingType.generics
-
identifier: method.alreadyNarrowedType
-
identifier: function.alreadyNarrowedType
-
message: '#Method .*DBALConnection::getDriverClass\(\) never returns null#'
path: src/Options/DBALConnection.php
-
message: '#Offset mixed on array\{\} in isset\(\) does not exist#'
path: src/Yuml/MetadataGrapher.php
-
message: '#Return type .* of method DoctrineORMModule\\Yuml\\YumlController::indexAction\(\)#'
path: src/Yuml/YumlController.php
-
message: '#Parameter \#1 .* of method DoctrineORMModule\\Options\\Configuration.* stdClass given#'
path: tests/Options/ConfigurationOptionsTest.php
includes:
- vendor/phpstan/phpstan-phpunit/extension.neon