forked from spryker/product-page-search
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
14 lines (14 loc) · 1.61 KB
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
parameters:
level: 7
checkMissingIterableValueType: false
reportUnmatchedIgnoredErrors: false
excludePaths:
- '%rootDir%/../../../vendor/spryker/spryker/Bundles/ProductPageSearch/src/Spryker/Zed/ProductPageSearch/Persistence/ProductPageSearchQueryContainer.php'
ignoreErrors:
- '#Cannot access offset .+ on .+SpyCategoryNode.#'
- '#Parameter \#2 \$pageMapBuilder of method .+ProductConcretePageMapExpanderPluginInterface::expand\(\) expects .+ProductPageSearchExtension\\Dependency\\PageMapBuilderInterface, .+Search\\Business\\Model\\Elasticsearch\\DataMapper\\PageMapBuilderInterface given.#'
- '#Parameter \#1 \$categoryNodeData of method Spryker\\Zed\\ProductPageSearch\\Communication\\Plugin\\PageDataExpander\\ProductCategoryPageDataLoaderExpanderPlugin::mapCategoryNodesWithLocaleIdAndNodeId\(\) expects array, iterable<Orm\\Zed\\Category\\Persistence\\SpyCategoryNode>&Propel\\Runtime\\Collection\\ObjectCollection given\.#'
- '#Parameter \#1 \$categoryNodeData of method Spryker\\Zed\\ProductPageSearch\\Communication\\Plugin\\PageDataExpander\\ProductCategoryPageDataLoaderExpanderPlugin::mapCategoryNodesWithLocaleIdAndNodeId\(\) expects array, Propel\\Runtime\\Collection\\ObjectCollection given\.#'
- '#Property .+\\PricePageDataExpanderPlugin::\$idStoreMapBuffer \(array<int>\|null\) does not accept array<int\|null>.#'
- '#Parameter \#2 \$(size|length) of function array_chunk expects int<1, max>, int given.#'
- '#Property .+::\$underscoreToDashFilter with generic class Laminas\\Filter\\Word\\UnderscoreToDash does not specify its types\: TOptions#'