Ignore evaluation errors
Edit on GitHubIn some cases, the evaluator’s rules may cause false positive errors. Then you can configure the evaluator to ignore some errors.
- To configure the evaluator to ignore errors, add
tooling.yml
to the project’s root directory.
evaluator:
# evaluator options
...
- In the
ignoreErrors
section, add the errors to ignore using regular expressions. You can specify errors to ignore globally or per specific checker.
tooling.yml
evaluator:
ignoreErrors:
# global error ignore regexp
- '#SprykerSdkTest\\InvalidProject\\MultidimensionalArray\\Application1\\ApplicationDependencyProvider#'
# error ignore regexp for a defined checker
- messages:
- '#deploy.*\.yml#'
- '#php\.7\.4#'
checker: PHP_VERSION_CHECKER
The error message matching the regular expressions should now be ignored.
Thank you!
For submitting the form