[WordPress] Configuring Composer for WordPress, Part 2
parameters: | |
git_dir: . | |
bin_dir: vendor/bin | |
tasks: |
parameters: | |
git_dir: . | |
bin_dir: vendor/bin | |
tasks: | |
securitychecker: | |
composer: | |
jsonlint: | |
xmllint: | |
yamllint: | |
phpstan: | |
phplint: | |
phpunit: | |
phpcs: | |
phpcpd: | |
phpmnd: | |
phpparser: | |
visitors: | |
no_exit_statements: ~ | |
never_use_else: ~ | |
forbidden_function_calls: | |
blacklist: | |
- "die" | |
- "var_dump" | |
- "exit" | |
phpversion: | |
project: '7.0' | |
phpmd: | |
ruleset: ['phpmd.xml.dist'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
FYI: both "die" and "exit" are exit statements in phpparser and won't be noticed by the
forbidden_function_calls
blacklist visitor but by theno_exit_statements
visitor.