-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathphpstan.neon
More file actions
18 lines (18 loc) · 1.48 KB
/
phpstan.neon
File metadata and controls
18 lines (18 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
parameters:
level: 7
reportUnmatchedIgnoredErrors: false
excludePaths:
analyseAndScan:
# API Platform Storefront classes depend on Generated\Api\Storefront\* resources
# which are intentionally excluded from generation
# (see config/GlueStorefront/packages/spryker_api_platform.php).
- src/Spryker/Glue/Customer/Api
ignoreErrors:
- '#Instantiated class .+NativePasswordEncoder not found.#'
- '#Method .+Customer::getPasswordEncoder\(\) should return .+PasswordEncoderInterface but returns .+NativePasswordEncoder.#'
- '#Cannot call method format\(\) on DateTime\|string.#'
- { message: '#Call to method encodePassword\(\) on an unknown class Symfony\\Component\\Security\\Core\\Encoder\\PasswordEncoderInterface.#', path: '%rootDir%/../../../src/Spryker/Customer/src/Spryker/Zed/Customer/Business/Customer/Customer.php' }
- { message: '#Call to method isPasswordValid\(\) on an unknown class Symfony\\Component\\Security\\Core\\Encoder\\PasswordEncoderInterface.#', path: '%rootDir%/../../../src/Spryker/Customer/src/Spryker/Zed/Customer/Business/Customer/Customer.php' }
- { message: '#Method .+Customer::getPasswordEncoder\(\) has invalid return type Symfony\\Component\\Security\\Core\\Encoder\\PasswordEncoderInterface.#', path: '%rootDir%/../../../src/Spryker/Customer/src/Spryker/Zed/Customer/Business/Customer/Customer.php' }
-
identifier: missingType.iterableValue