forked from phpmyadmin/phpmyadmin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon.dist
46 lines (46 loc) · 2.18 KB
/
phpstan.neon.dist
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
40
41
42
43
44
45
46
parameters:
level: 2
paths:
- %rootDir%/../../../
bootstrap: %rootDir%/../../../test/bootstrap-phpstan.php
reportUnmatchedIgnoredErrors: true
ignoreErrors:
- '#NodeTrans::__construct\(\) does not call parent constructor#'
- '#PHPUnit\\Framework\\MockObject#'
- '#Call to an undefined method PhpMyAdmin\\Navigation\\Nodes\\Node\:\:getHiddenCount#'
- '#Variable \$http_response_header in isset\(\) always exists and is not nullable#'
-
message: '#Undefined variable: \$action#'
path: %currentWorkingDirectory%/libraries/mult_submits.inc.php
-
message: '#Undefined variable: \$action#'
path: %currentWorkingDirectory%/libraries/tbl_columns_definition_form.inc.php
-
message: '#Undefined variable: \$cfg#'
path: %currentWorkingDirectory%/test/classes/ConfigTest.php
-
message: '#Undefined variable: \$cfg#'
path: %currentWorkingDirectory%/test/classes/PmaTestCase.php
-
message: '#Undefined variable: \$cfg#'
path: %currentWorkingDirectory%/test/bootstrap-phpstan.php
-
message: '#Undefined variable: \$db_is_system_schema#'
path: %currentWorkingDirectory%/libraries/classes/Controllers/Table/StructureController.php
-
message: '#Instantiated class Sami\\Sami not found#'
path: %currentWorkingDirectory%/test/sami-config.php
-
message: '#Variable \$pdo might not be defined#'
path: %currentWorkingDirectory%/test/classes/EnvironmentTest.php
-
message: '#Function uploadprogress_get_info not found#'
path: %currentWorkingDirectory%/libraries/classes/Plugins/Import/Upload/UploadProgress.php
-
message: '#(Instantiated class COM not found|Call to method ConnectServer\(\) on an unknown class COM)#'
path: %currentWorkingDirectory%/libraries/classes/SysInfoWINNT.php
excludes_analyse:
- %rootDir%/../../../tmp/*
- %rootDir%/../../../vendor/*
- %rootDir%/../../../node_modules/*
- %rootDir%/../../../examples/openid.php