forked from ptthao-yrglmvn/ec-cube2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon.dist
43 lines (43 loc) · 1.46 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
parameters:
level: 1
bootstrapFiles:
- tests/require.php
excludePaths:
analyse:
- 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
analyseAndScan:
- *.tpl.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: "#^Variable \\$SJIS_widths might not be defined\\.$#"
path: data/class/helper/SC_Helper_FPDI.php
-
message: "#^Inner named functions are not supported by PHPStan\\.#"
path: data/class/SC_Initial.php