[WordPress] Configuring Composer for WordPress, Part 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
parameters: | |
git_dir: . | |
bin_dir: vendor/bin | |
tasks: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
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.