Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates phpcs config in defaults.yml #183

Closed
wants to merge 4 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,22 +227,14 @@ phplint:
# @see https://www.drupal.org/project/coder
#
# These values are used in the defaults/build.xml template:
# $> phpcs --standard=${phpcs.standard} --ignore=${phpcs.ignore} ${phpcs.directories}
# $> phpcs --standard=${phpcs.standard} --extensions=${phpcs.extensions} ${phpcs.directories}
phpcs:
# Path to a PHP_CodeSniffer standard file.
standard: "${build.dir}/vendor/drupal/coder/coder_sniffer/Drupal/ruleset.xml"

# Space-separated list of directories to review.
directories: "${drupal.root}/modules/custom ${drupal.root}/themes/custom"

# Comma-separated list of patterns for files and directories to exclude from the
# PHP_CodeSniffer review.
#
# This is deprecated and will be removed in 3.0, and build.xml will need to be updated then to
# use the extensions option (below). This option should not be used with Coder >= 8.3.7, which only
# checks php, inc, css, and js by default.
ignore: "*.md"

# Comma-separated list of extensions to check in the PHP_CodeSniffer review.
extensions: "php,module,inc,install,test,profile,theme,css,info,txt,yml,js"

Expand Down