Created
October 31, 2018 20:01
-
-
Save heitoralthmann/e04499534783e35500d8c62ffe2d00be to your computer and use it in GitHub Desktop.
VSCode task to clean a PHP file using the Drupal and DrupalPractice phpcs standards
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
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "PHP Clean", | |
"type": "shell", | |
"command": "phpcbf", | |
"args": [ | |
"--standard=Drupal,DrupalPractice", | |
"--ignore-annotations", | |
"--tab-width=2", | |
"-vvv", | |
"${file}" | |
], | |
"presentation": { | |
"reveal": "always", | |
"panel": "new" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment