Files
2025-06-24 14:14:35 +02:00

28 lines
1.3 KiB
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
- ../../productcomments.php
- ../../ProductComment.php
- ../../ProductCommentCriterion.php
- ../../ProductCriterion.php
- ../../controllers/
- ../../src/
- ../../upgrade/
ignoreErrors:
- '#Access to an undefined property Cookie::\$id_customer.#'
- '#Access to an undefined property Cookie::\$id_guest.#'
- '#Access to an undefined property HelperList::\$list_id.#'
- '#Access to an undefined property HelperList::\$shopLinkType.#'
- '#Call to an undefined method [A-Za-z]+::ajaxRender\(\).#'
- '#Call to an undefined method AdminController|FrontController::getContainer\(\).#'
- '#Call to method assign\(\) on an unknown class Smarty_Data#'
- '#Call to method get\(\) on an unknown class ContainerBuilder.#'
- '#Parameter \#1 \$idCategory of class Category constructor expects null, int given.#'
- '#Parameter \#1 \$value of method ControllerCore::ajaxRender\(\) expects null, string\|false given.#'
- '#Parameter \#2 \$value of static method CacheCore::store\(\) expects string, [A-Za-z\|_]+ given.#'
reportUnmatchedIgnoredErrors: false
level: 5