-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
33 lines (33 loc) · 1.18 KB
/
phpstan.neon.dist
File metadata and controls
33 lines (33 loc) · 1.18 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
parameters:
level: 8
treatPhpDocTypesAsCertain: false
bootstrapFiles:
- tests/phpstan-bootstrap.php
paths:
- ./
excludePaths:
- vendor/
ignoreErrors:
-
identifier: trait.unused
-
identifier: missingType.iterableValue
- '#Class Cake\\Database\\Driver\\.+ not found.#'
- '#Class Cake\\Database\\Connection not found.#'
- '#Method Cake\\Datasource\\QueryInterface::aliasFields\(\) has invalid return type Cake\\Database\\Expression\\IdentifierExpression.#'
- '#Parameter \$fields of method Cake\\Datasource\\QueryInterface::aliasFields\(\) has invalid type Cake\\Database\\Expression\\IdentifierExpression.#'
-
message: '#^Unsafe usage of new static\(\)\.$#'
identifier: new.static
count: 2
path: Paging/SortableFieldsBuilder.php
-
message: '#^Template type TKey of method Cake\\Datasource\\QueryInterface\:\:all\(\) is not referenced in a parameter\.$#'
identifier: method.templateTypeNotInParameter
count: 1
path: QueryInterface.php
-
message: '#^Template type TValue of method Cake\\Datasource\\QueryInterface\:\:all\(\) is not referenced in a parameter\.$#'
identifier: method.templateTypeNotInParameter
count: 1
path: QueryInterface.php