You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
drupal/phpcs-standard picks the first available standard matching Drupal.*, so having DrupalPractice installed in tandem with Drupal (coder.module) causes the first to be selected and you loose all rules provided by Drupal.
Suggested solution
One of the following:
Provide all standards using phpcs --standard=Drupal,DrupalPractice (Yes, it's possible to provide several).
Extract the available standards as a configuration letting the user select which to use.
The text was updated successfully, but these errors were encountered:
I have got to learn to read the code better. Or at least look through the available configuration settings. Just found M-x customize-variabledrupal/phpcs-standard.
I didn't know you could provide several standards. But now that I learned that I started rewriting how standards are handled so that it can be turned into a list of installed standards to choose from.
Problem
drupal/phpcs-standard
picks the first available standard matchingDrupal.*
, so having DrupalPractice installed in tandem with Drupal (coder.module) causes the first to be selected and you loose all rules provided by Drupal.Suggested solution
One of the following:
phpcs --standard=Drupal,DrupalPractice
(Yes, it's possible to provide several).The text was updated successfully, but these errors were encountered: