-
Notifications
You must be signed in to change notification settings - Fork 8
/
phpstan.neon.dist
executable file
·58 lines (54 loc) · 3.38 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
parameters:
reportUnmatchedIgnoredErrors: false
level: max
paths:
- src
- tests/Application/src
- tests/Behat
- tests/Unit
ignoreErrors:
- identifier: missingType.iterableValue
- '/Parameter #1 \$configuration of method Symfony\\Component\\DependencyInjection\\Extension\\Extension::processConfiguration\(\) expects Symfony\\Component\\Config\\Definition\\ConfigurationInterface, Symfony\\Component\\Config\\Definition\\ConfigurationInterface\|null given\./'
# Symfony 6
-
message: '/Property Tests\\FluxSE\\SyliusEUVatPlugin\\Unit\\Checker\\.+EligibilityCheckerTest::\$[^ ]+ .+ does not accept object\./'
paths:
- tests/Unit/Checker/ChannelEligibilityCheckerTest.php
- tests/Unit/Checker/VatNumberEligibilityCheckerTest.php
# Symfony 5
-
message: '/Property Tests\\FluxSE\\SyliusEUVatPlugin\\Unit\\Checker\\.+EligibilityCheckerTest::\$[^ ]+ .+ does not accept object\|null\./'
paths:
- tests/Unit/Checker/ChannelEligibilityCheckerTest.php
- tests/Unit/Checker/VatNumberEligibilityCheckerTest.php
# Sylius 1.12
-
message: '/PHPDoc (type|tag @var) for property .* contains generic type Sylius\\Component\\Channel\\Repository\\ChannelRepositoryInterface.* but interface Sylius\\Component\\Channel\\Repository\\ChannelRepositoryInterface is not generic\./'
paths:
- tests/Unit/Checker/VatNumberEligibilityCheckerTest.php
- src/Fixture/Factory/EuropeanChannelExampleFactory.php
-
message: '/PHPDoc tag @var for property .* contains generic type Sylius\\Component\\Core\\Factory\\AddressFactoryInterface.* but interface Sylius\\Component\\Core\\Factory\\AddressFactoryInterface is not generic\./'
paths:
- tests/Unit/Checker/VatNumberEligibilityCheckerTest.php
- tests/Unit/Checker/ChannelEligibilityCheckerTest.php
-
message: '/PHPDoc tag @var for property .* contains generic type Sylius\\Component\\Addressing\\Factory\\ZoneFactoryInterface.* but interface Sylius\\Component\\Addressing\\Factory\\ZoneFactoryInterface is not generic\./'
paths:
- tests/Unit/Checker/ChannelEligibilityCheckerTest.php
-
message: '/PHPDoc tag @var for property .* contains generic type Sylius\\Component\\Channel\\Factory\\ChannelFactoryInterface.* but interface Sylius\\Component\\Channel\\Factory\\ChannelFactoryInterface is not generic\./'
paths:
- tests/Unit/Checker/ChannelEligibilityCheckerTest.php
- tests/Unit/Checker/VatNumberEligibilityCheckerTest.php
# Sylius 1.13
-
message: '/.* expects Sylius\\Component\\Resource\\Factory\\FactoryInterface, Sylius\\Resource\\Factory\\FactoryInterface.* given\./'
paths:
- src/Fixture/Factory/AddressExampleFactory.php
- tests/Unit/Checker/ChannelEligibilityCheckerTest.php
-
message: '/.* expects Sylius\\Component\\Resource\\Repository\\RepositoryInterface, Sylius\\Resource\\Doctrine\\Persistence\\RepositoryInterface.* given\./'
paths:
- src/Fixture/Factory/AddressExampleFactory.php
- src/Fixture/Factory/EuropeanChannelExampleFactory.php