-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
23 lines (22 loc) · 882 Bytes
/
phpstan.neon.dist
File metadata and controls
23 lines (22 loc) · 882 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
parameters:
level: 8
treatPhpDocTypesAsCertain: false
bootstrapFiles:
- tests/phpstan-bootstrap.php
paths:
- ./
excludePaths:
- vendor/
ignoreErrors:
-
identifier: trait.unused
-
identifier: missingType.iterableValue
- '#Unsafe usage of new static\(\).#'
- "#^Method Cake\\\\ORM\\\\Query\\\\SelectQuery\\:\\:find\\(\\) should return static\\(Cake\\\\ORM\\\\Query\\\\SelectQuery\\<TSubject of array\\|Cake\\\\Datasource\\\\EntityInterface\\>\\) but returns Cake\\\\ORM\\\\Query\\\\SelectQuery\\<TSubject of array\\|Cake\\\\Datasource\\\\EntityInterface\\>\\.$#"
- '#^PHPDoc tag @var with type callable\(\): mixed is not subtype of native type Closure\(string\): string\.$#'
-
message: '#^Call to function assert\(\) with false and string will always evaluate to false\.$#'
identifier: function.impossibleType
count: 1
path: EagerLoader.php