forked from Sylius/RefundPlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
31 lines (26 loc) · 1.56 KB
/
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
30
31
includes:
- vendor/phpstan/phpstan-webmozart-assert/extension.neon
parameters:
level: 8
paths:
- src
excludePaths:
# Makes PHPStan crash
- 'src/DependencyInjection/Configuration.php'
# Test dependencies
- 'tests/Application/app/**.php'
- 'tests/Application/src/**.php'
# BC compatibility
- 'src/Converter/OrderItemUnitLineItemsConverter.php'
- 'src/Converter/RequestToOrderItemUnitRefundConverter.php'
- 'src/Converter/RequestToShipmentRefundConverter.php'
- 'src/Converter/ShipmentLineItemsConverter.php'
- 'src/Provider/RemainingTotalProvider.php'
ignoreErrors:
- '/Call to an undefined method [a-zA-Z\\]+::createQueryBuilder\(\)./'
- '/Method Sylius\\RefundPlugin\\[a-zA-Z\\]+::getFlashBag\(\) should return Symfony\\Component\\HttpFoundation\\Session\\Flash\\FlashBagInterface but returns Symfony\\Component\\HttpFoundation\\Session\\SessionBagInterface\./'
- '/Method Sylius\\RefundPlugin\\Entity\\CustomerBillingData::getId\(\) has no return type specified./'
- '/Method Sylius\\RefundPlugin\\Entity\\CustomerBillingData::id\(\) has no return type specified./'
- '/Method Sylius\\RefundPlugin\\Entity\\CustomerBillingData::setId\(\) has parameter \$id with no type specified./'
- '/Method Sylius\\RefundPlugin\\Entity\\CustomerBillingDataInterface::id\(\) has no return type specified./'
- '/Method Sylius\\RefundPlugin\\Entity\\CustomerBillingDataInterface::setId\(\) has parameter \$id with no type specified./'