fix previous

This commit is contained in:
odain
2026-01-05 11:21:08 +01:00
parent 4417c7d09c
commit 872720da81

View File

@@ -27,13 +27,9 @@ parameters:
# This file generates "unignorable errors" for the baseline due to its format, so we don't have any other choice than to exclude it.
# But mind that it will prevent PHPStan from warning us about PHP syntax errors in this file.
## ignore lexer code present on iTop clones (not in packages)
## ignore lexer when present in clones (not in packages)
- ../../../core/oql/build/PHP/Lempar.php (?)
## add phpunit APIs to spare errors like unknown assertEquals
## usefull to scan extension installed in env-production/myextension
- ../../../tests/php-unit-tests/unittestautoload.php (?)
#- ../../../data # Left and commented on purpose to show that we want to analyse the generated cache files
# Note 1: We can't analyse these folders as if a PHP file requires another PHP element declared in an XML file, it won't find it. So we rely only on `env-production`
@@ -44,5 +40,9 @@ parameters:
- ../../../env-php-unit-tests (?) # Irrelevant as it will either already be in `env-production` or might be desynchronized from `env-production`
- ../../../env-toolkit (?) # Irrelevent as it will either already be in `env-production` or might be desynchronized from `env-production` (for local run only, not useful in the CI)
#- ../../../tests (?) # Exclude tests for now
- ../../../tests (?) # Exclude tests for now
- ../../../toolkit (?) # Exclude toolkit for now
## add phpunit APIs to spare errors like unknown assertEquals
## usefull to scan extension installed in env-production/myextension
- ../../../tests/php-unit-tests/unittestautoload.php (?)