-
Notifications
You must be signed in to change notification settings - Fork 26
/
phpstan.neon.dist
executable file
·31 lines (25 loc) · 1.69 KB
/
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
parameters:
reportUnmatchedIgnoredErrors: false
level: max
paths:
- src
- tests
excludePaths:
# Makes PHPStan crash
- 'src/DependencyInjection/Configuration.php'
- tests/Application/Kernel.php
- tests/Application/public/index.php
- tests/Application/config/**.php
- tests/Application/var/**.php
- tests/Application/node_modules/**.php
ignoreErrors:
- identifier: missingType.iterableValue
- identifier: missingType.generics
- '/Parameter #1 \$configuration of method Symfony\\Component\\DependencyInjection\\Extension\\Extension::processConfiguration\(\) expects Symfony\\Component\\Config\\Definition\\ConfigurationInterface, Symfony\\Component\\Config\\Definition\\ConfigurationInterface\|null given\./'
- '/Parameter #1 \$request \(Payum\\Core\\Request\\Convert\) of method FluxSE\\SyliusPayumStripePlugin\\Action\\ConvertPaymentAction::execute\(\) should be contravariant with parameter \$request \(mixed\) of method Payum\\Core\\Action\\ActionInterface::execute\(\)/'
- '/Parameter #1 \$request \(Payum\\Core\\Request\\Convert\) of method FluxSE\\SyliusPayumStripePlugin\\Action\\StripeJs\\ConvertPaymentAction::execute\(\) should be contravariant with parameter \$request \(mixed\) of method Payum\\Core\\Action\\ActionInterface::execute\(\)/'
- message: '/Call to an undefined method Mockery\\ExpectationInterface\|Mockery\\HigherOrderMessage::(once|andReturnUsing)\(\)\./'
paths:
- tests/Behat/Mocker/Api/CheckoutSessionMocker.php
- tests/Behat/Mocker/Api/PaymentIntentMocker.php
- tests/Behat/Mocker/Api/RefundMocker.php