Files
redline.com.pl/modules/ps_shoppingcart/tests/phpstan/phpstan.neon
2024-11-11 18:46:54 +01:00

17 lines
590 B
Plaintext

includes:
- %currentWorkingDirectory%/vendor/prestashop/php-dev-tools/phpstan/ps-module-extension.neon
parameters:
paths:
# From PHPStan 0.12, paths to check are relative to the neon file
- ../../ps_shoppingcart.php
- ../../controllers/
ignoreErrors:
- '#Access to an undefined property Ps_Shoppingcart::\$bootstrap.#'
- '#If condition is always true.#'
- '#Property ModuleCore::\$version \(float\) does not accept string.#'
## On 1.7.1.0
- '#Call to method assign\(\) on an unknown class Smarty_Data#'
reportUnmatchedIgnoredErrors: false
level: 5