-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpstan.neon
39 lines (39 loc) · 1.34 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
38
39
parameters:
bootstrapFiles:
- %currentWorkingDirectory%/../../lib/base.php
excludePaths:
- %currentWorkingDirectory%/appinfo/Migrations
- %currentWorkingDirectory%/appinfo/routes.php
ignoreErrors:
-
message: '#Call to an undefined method OCP\\AppFramework\\Db\\Entity::getFileId\(\)#'
path: lib/Db/StatusMapper.php
count: 2
-
message: '#Call to an undefined method OCP\\Files\\Node::getContent\(\)#'
path: lib/Connectors/BaseConnector.php
count: 1
-
message: '#Method .* should return .* but returns.*#'
path: lib/Db/StatusMapper.php
count: 2
-
message: '#Property OCA\\Search_Elastic\\Db\\StatusMapper::\$logger is never read, only written.#'
path: lib/Db/StatusMapper.php
count: 1
-
message: '#OCA\\Encryption#'
path: lib/Jobs/UpdateContent.php
count: 5
-
message: '#Else branch is unreachable because previous condition is always true#'
path: lib/Hooks/Files.php
count: 1
-
message: '#Else branch is unreachable because previous condition is always true#'
path: lib/Search/ElasticSearchProvider.php
count: 1
-
message: '#OCA\\Search_Elastic\\SearchElasticConfigService::\$credentialsManager is never read, only written.#'
path: lib/SearchElasticConfigService.php
count: 1