Compare commits

...

7 Commits

2 changed files with 7 additions and 1 deletions

View File

@@ -5,11 +5,14 @@ includes:
parameters: parameters:
level: 0 level: 0
reportUnmatchedIgnoredErrors: false #to ignore baseline lines linked to unknown/removed/moved files
#phpVersion: null # Explicitly commented as we rather use the detected version from the above include (`php-includes/target-php-version.php`) #phpVersion: null # Explicitly commented as we rather use the detected version from the above include (`php-includes/target-php-version.php`)
editorUrl: 'phpstorm://open?file=%%file%%&line=%%line%%' # Open in PHPStorm as it's Combodo's default IDE editorUrl: 'phpstorm://open?file=%%file%%&line=%%line%%' # Open in PHPStorm as it's Combodo's default IDE
bootstrapFiles: bootstrapFiles:
- ../../../approot.inc.php - ../../../approot.inc.php
- ../../../bootstrap.inc.php - ../../../bootstrap.inc.php
- ../../../tests/php-unit-tests/vendor/autoload.php
# usefull to scan tests from extensions in env-production
scanFiles: scanFiles:
# Files necessary as they contain some declarations (constants, classes, functions, ...) # Files necessary as they contain some declarations (constants, classes, functions, ...)
@@ -24,7 +27,8 @@ parameters:
analyseAndScan: analyseAndScan:
# This file generates "unignorable errors" for the baseline due to its format, so we don't have any other choice than to exclude it. # 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. # But mind that it will prevent PHPStan from warning us about PHP syntax errors in this file.
- ../../../core/oql/build/PHP/Lempar.php ## ignore lexer when present in clones (not in packages)
- ../../../core/oql/build/PHP/Lempar.php (?)
#- ../../../data # Left and commented on purpose to show that we want to analyse the generated cache files #- ../../../data # Left and commented on purpose to show that we want to analyse the generated cache files
@@ -37,4 +41,6 @@ parameters:
- ../../../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) - ../../../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
- ../../../tests/php-unit-tests/vendor (?)
- ../../../tests/php-code-style (?) # Exclude code style
- ../../../toolkit (?) # Exlclude toolkit for now - ../../../toolkit (?) # Exlclude toolkit for now