forked from mollie/Shopware6
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.phpstan.neon
29 lines (27 loc) · 980 Bytes
/
.phpstan.neon
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
parameters:
level: 8
paths:
- ./src
excludePaths:
- ./src/Resources/*
- ./src/Compatibility/Bundles/FlowBuilder/Events/*
# legacy code that is not working with abstract/interface changes
- ./src/Compatibility/Storefront/Route/PaymentMethodRoute/RemovePaymentMethodRoute63.php
- ./src/Service/Mail/MailService63.php
disallowedFunctionCalls:
- function: 'var_dump()'
message: 'use some logger instead'
- function: 'var_export()'
message: 'use some logger instead'
- function: 'dd()'
message: 'use some logger instead'
- function: 'print_r()'
message: 'use some logger instead'
- function: 'putenv()'
message: 'might overwrite existing variables'
services:
- class: MolliePayments\PHPStan\Rules\NoManufacturerRule
tags:
- phpstan.rules.rule
includes:
- vendor/spaze/phpstan-disallowed-calls/extension.neon