forked from EC-CUBE/ec-cube2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon.dist
51 lines (51 loc) · 1.84 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
47
48
49
50
51
parameters:
level: 1
bootstrapFiles:
- tests/require.php
excludePaths:
- data/Smarty/templates_c/*
- data/module/SOAP/*
- data/vendor/*
- data/downloads/*
- data/module/Calendar/Engine/PearDate.php
- data/class/helper/SC_Helper_Mobile.php
- data/class/SC_MobileEmoji.php
- data/class/SC_MobileImage.php
- data/**/flycheck_*.php
ignoreErrors:
-
message: "#^Call to an undefined static method PEAR\\:\\:raiseError\\(\\)\\.$#"
paths:
- data/module/HTTP/Request.php
- data/module/Net/SMTP.php
- data/module/Calendar/Calendar.php
- data/module/Calendar/Decorator.php
- data/module/Calendar/Factory.php
-
message: "#^Call to an undefined method Net_Socket\\:\\:raiseError\\(\\)\\.$#"
path: data/module/Net/Socket.php
-
message: "#^Call to static method factory\\(\\) on an unknown class Auth_SASL\\.$#"
path: data/module/Net/SMTP.php
-
message: "#^Call to static method dayOfWeek\\(\\) on an unknown class Date_Calc\\.#"
path: data/module/Calendar/Util/Textual.php
# -
# message: "#^Constant SMARTY_PLUGINS_DIR not found\\.$#"
# path: data/smarty_extends/*
-
message: "#^Function smarty_function_escape_special_chars not found\\.$#"
path: data/smarty_extends/*
-
message: "#^Variable \\$values in isset\\(\\) always exists and is always null\\.$#"
paths:
- data/smarty_extends/function.html_radios_ex.php
- data/smarty_extends/function.html_checkboxes_ex.php
-
message: "#^Undefined variable\\: \\$tags$#"
paths:
- data/smarty_extends/function.html_radios_ex.php
- data/smarty_extends/function.html_checkboxes_ex.php
-
message: "#^Variable \\$SJIS_widths might not be defined\\.$#"
path: data/class/helper/SC_Helper_FPDI.php