-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpstan.neon
37 lines (36 loc) · 2.2 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
32
33
34
35
36
37
includes:
- .baseline-phpstan.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
- vendor/thecodingmachine/phpstan-safe-rule/phpstan-safe-rule.neon
parameters:
level: max
bootstrapFiles:
- vendor-bin/phpunit/vendor/autoload.php
paths:
- src
- tests
excludePaths:
- tests/Email/Bridge/Doctrine/EmailTypeTest.php
treatPhpDocTypesAsCertain: false
reportUnmatchedIgnoredErrors: false
ignoreErrors:
-
message: '#Method SerendipityHQ\\Component\\ValueObjects\\Address\\Bridge\\Symfony\\Form\\Type\\AddressType::buildForm\(\) has parameter \$builder with no value type specified in iterable type Symfony\\Component\\Form\\FormBuilderInterface.#'
path: %currentWorkingDirectory%/src
-
message: '#Method SerendipityHQ\\Component\\ValueObjects\\Address\\Bridge\\Symfony\\Form\\Type\\AddressType::buildForm\(\) has parameter \$options with no value type specified in iterable type array.#'
path: %currentWorkingDirectory%/src
-
message: '#Method SerendipityHQ\\Component\\ValueObjects\\Money\\Bridge\\Symfony\\Form\\Type\\MoneyType::buildForm\(\) has parameter \$builder with no value type specified in iterable type Symfony\\Component\\Form\\FormBuilderInterface.#'
path: %currentWorkingDirectory%/src
-
message: '#Method SerendipityHQ\\Component\\ValueObjects\\Money\\Bridge\\Symfony\\Form\\Type\\MoneyType::buildForm\(\) has parameter \$options with no value type specified in iterable type array.#'
path: %currentWorkingDirectory%/src
-
message: '#Property SerendipityHQ\\Component\\ValueObjects\\Money\\Bridge\\Twig\\MoneyFormatterExtension::\$currencies type has no value type specified in iterable type Money\\Currencies\\ISOCurrencies.#'
path: %currentWorkingDirectory%/src
-
message: "#^Parameter \\#1 \\$uri of class SerendipityHQ\\\\Component\\\\ValueObjects\\\\Uri\\\\Uri constructor expects SerendipityHQ\\\\Component\\\\ValueObjects\\\\Uri\\\\UriInterface\\|string, int given\\.$#"
count: 1
path: tests/Uri/UriTest.php