Files
newwalls.pl/modules/ps_eventbus/tests/phpstan/phpstan-PS-1.7.neon
2024-12-17 13:43:22 +01:00

36 lines
2.1 KiB
Plaintext

includes:
- %currentWorkingDirectory%/vendor/prestashop/php-dev-tools/phpstan/ps-module-extension.neon
parameters:
checkMissingIterableValueType: false
reportUnmatchedIgnoredErrors: false
paths:
- ../../src
- ../../controllers
- ../../ps_eventbus.php
dynamicConstantNames:
- _PS_VERSION_
ignoreErrors:
- '#Property TabCore::\$name \(string\) does not accept array.#'
- '#Parameter \#1 \$value of method ControllerCore::ajaxDie\(\) expects string\|null, string\|false given.#'
- '#Parameter \#4 \$ssl of method LinkCore::getModuleLink\(\) expects null, true given.#'
- '#Parameter \#6 \$idShop of method LinkCore::getModuleLink\(\) expects null, int given.#'
- '#Parameter \#1 \$json of function json_decode expects string, string\|false given.#'
- '#Parameter \#2 \$message of method PrestaShop\\Module\\PsEventbus\\WebHook\\Validator::getError\(\) expects string, string\|false given.#'
- '#Parameter \#1 \$hook_name of method ModuleCore::registerHook\(\) expects string, array given.#'
- '#Access to an undefined property AdminController\|FrontController::\$controller_name.#'
- '#Call to static method getAvailable\(\) on an unknown class Theme.#'
- '#Call to static method getByDirectory\(\) on an unknown class Theme.#'
- '#Call to static method getThemeInfo\(\) on an unknown class Theme.#'
- '#Access to an undefined property Context::\$theme.#'
- '#Access to an undefined property Shop::\$theme.#'
- '#Call to method buildRepository\(\) on an unknown class PrestaShop\\PrestaShop\\Core\\Addon\\Theme\\ThemeManagerBuilder.#'
- '#Instantiated class PrestaShop\\PrestaShop\\Core\\Addon\\Theme\\ThemeManagerBuilder not found.#'
- '#Class Theme not found.#'
- '#Access to property \$id on an unknown class Theme.#'
- '#Instantiated class PrestaShop\\ModuleLibServiceContainer\\DependencyInjection\\ServiceContainer not found.#'
- '#Call to method getService\(\) on an unknown class PrestaShop\\ModuleLibServiceContainer\\DependencyInjection\\ServiceContainer.#'
- '#Cannot access property \$id on Module\|false.#'
- '#Class Theme not found.#'
level: 7