Files
drmaterac.pl/modules/ps_facetedsearch/tests/php/phpstan/phpstan-1.7.6.neon
2025-03-21 20:24:43 +01:00

18 lines
1.2 KiB
Plaintext

includes:
- %currentWorkingDirectory%/tests/php/phpstan/phpstan.neon
parameters:
ignoreErrors:
# module specific
- '~^Parameter #1 \$hook_name of method ModuleCore::registerHook\(\) expects string, array<int, string> given\.$~'
- '~^Parameter #1 \$hook_name of method ModuleCore::registerHook\(\) expects string, array<string> given\.$~'
- '~^Parameter #2 \$active of static method CurrencyCore::getCurrencies\(\) expects bool, int given\.$~'
- '~^Parameter #3 \$groupBy of static method CurrencyCore::getCurrencies\(\) expects bool, Shop given\.$~'
- '~^Parameter #\d+ \$\w+ of static method ProductCore::priceCalculation\(\) expects \w+, \w+ given\.$~'
- '~^Parameter #\d+ \$(.+?) of class Category constructor expects null, int given\.$~'
- '~^Access to an undefined property Cookie::\$id_lang\.$~'
- '~^Parameter #1 \$string of method PrestaShop\\Module\\FacetedSearch\\URLSerializer::unserialize\(\) expects string, array given\.$~'
- '~^Call to an undefined static method Search::findClosestWeightestWord\(\)\.$~'
- '~^Parameter #1 \$master of static method DbCore::getInstance\(\) expects bool, int given\.$~'
- '~^Parameter #2 \$id_lang of static method ToolsCore::displayDate\(\) expects int|null, true given\.$~'