Last active
June 11, 2020 09:51
-
-
Save shamsher327/2c77fe39d0f73f5f9e0cccd1258ce5fa to your computer and use it in GitHub Desktop.
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
// Add coder to run command line interface. | |
- composer require --dev drupal/coder:^8.2.11 | |
// Get dependency for sniffer. | |
- composer update dealerdirect/phpcodesniffer-composer-installer acquia/blt sensiolabs-de/deprecation-detector --with-all-dependencies | |
// Check list of standards packages installed. | |
- vendor/bin/phpcs -i | |
// Run to know Drupal practice issue. | |
- vendor/bin/phpcs --standard=Drupal,DrupalPractice docroot/modules/contrib/module_name/**/* | |
// Autofixing but some will need manual. | |
- vendor/bin/phpcbf --standard=Drupal,DrupalPractice docroot/modules/contrib/module_name/**/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment