-
-
Notifications
You must be signed in to change notification settings - Fork 151
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
48 lines (47 loc) · 1.18 KB
/
phpstan.neon.dist
File metadata and controls
48 lines (47 loc) · 1.18 KB
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
includes:
- phpstan-baseline.neon
- vendor/spaze/phpstan-disallowed-calls/extension.neon
- vendor/phpat/phpat/extension.neon
services:
-
class: Tests\Tempest\Architecture\ArchitectureTestCase
tags:
- phpat.test
-
class: Tests\Tempest\PHPStan\LazyReadWritePropertiesExtension
tags:
- phpstan.properties.readWriteExtension
-
class: Tests\Tempest\PHPStan\QueryFunctionDynamicReturnTypeExtension
tags:
- phpstan.broker.dynamicFunctionReturnTypeExtension
parameters:
level: 5
tmpDir: .cache/phpstan
tips:
treatPhpDocTypesAsCertain: false
paths:
- src
- packages
- tests
excludePaths:
analyse:
- packages/upgrade/tests/*/Fixtures/*.php
reportUnmatchedIgnoredErrors: true
disallowedFunctionCalls:
-
function: 'exec()'
-
function: 'eval()'
-
function: 'dd()'
-
function: 'dump()'
-
function: 'ld()'
-
function: 'lw()'
-
function: 'phpinfo()'
-
function: 'var_dump()'