forked from tempestphp/tempest-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon.dist
47 lines (45 loc) · 990 Bytes
/
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
includes:
- phpstan-baseline.neon
- vendor/spaze/phpstan-disallowed-calls/extension.neon
parameters:
level: 5
tmpDir: .cache/phpstan
tips:
treatPhpDocTypesAsCertain: false
excludePaths:
- tests/Integration/View/blade/cache/**.php
paths:
- src
- tests
ignoreErrors:
-
identifier: argument.named
-
message: '#.*#'
path: src/Tempest/Router/src/Exceptions/exception.php
-
message: '#.*exec*#'
path: src/Tempest/Console/src/Terminal/Terminal.php
-
message: '#.*uninitialized readonly property \$console*#'
-
message: '#.*uninitialized readonly property \$composer*#'
-
message: '#.*uninitialized readonly property \$stubFileGenerator*#'
-
message: '#.*undefined property Dom*#'
-
message: '#.*undefined method Dom*#'
disallowedFunctionCalls:
-
function: 'exec()'
-
function: 'eval()'
-
function: 'dd()'
-
function: 'dump()'
-
function: 'phpinfo()'
-
function: 'var_dump()'