-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathphpstan.neon
32 lines (32 loc) · 1.11 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
parameters:
bootstrapFiles:
- %currentWorkingDirectory%/../../lib/base.php
ignoreErrors:
-
message: '#Variable \$this might not be defined.#'
path: appinfo/routes.php
count: 1
-
message: '#Comparison operation ">" between int<1, max> and 0 is always true.#'
path: lib/Command/SendEmails.php
count: 1
-
message: '#Strict comparison using === between non-empty-string and null will always evaluate to false.#'
path: lib/Data.php
count: 2
-
message: '#Method OCP\\DB\\QueryBuilder\\IExpressionBuilder::orX\(\) invoked with 2 parameters, 0-1 required.#'
path: lib/Data.php
count: 3
-
message: '#Call to method getSharedFrom\(\) on an unknown class OC\\Files\\Storage\\Shared.#'
path: lib/FilesHooks.php
count: 1
-
message: '#PHPDoc tag @var for variable \$storage contains unknown class OC\\Files\\Storage\\Shared.#'
path: lib/FilesHooks.php
count: 1
-
message: '#Strict comparison using === between string and null will always evaluate to false.#'
path: lib/FilesHooks.php
count: 1