-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy path.phpstan.lvl8.neon
26 lines (25 loc) · 1.04 KB
/
.phpstan.lvl8.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
parameters:
level: 8
paths:
- ./Command/OrdersShippingCommand.php
- ./Components/Config
- ./Exceptions
- ./Services
excludes_analyse:
- node_modules/*
- Resources/*
- vendor/*
- Services/Mollie/Client/MollieHttpClient.php
ignoreErrors:
# -----------------------------------------------------------------------------------------------------------
# ignore Shopware attributes with magic getters and setters
- '#Call to method getMollieReturn\(\) on an unknown class Shopware\\Models\\Attribute\\OrderDetail#'
- '#Call to method setMollieReturn\(\) on an unknown class Shopware\\Models\\Attribute\\OrderDetail#'
# -----------------------------------------------------------------------------------------------------------
services:
- class: MollieShopware\Tests\PHPStan\Rules\NoStrictTypesRule
tags:
- phpstan.rules.rule
- class: MollieShopware\Tests\PHPStan\Rules\NoManufacturerRule
tags:
- phpstan.rules.rule