Hardcode the Drupal coding standard name#71
Conversation
If I do this, Drupal mode, flycheck and phpcs work happily together. If I don't, I get errors that `Drupal and DrupalPractice coding standard not found`, and if I manually remove the `DrupalPractice` code sniff style, I get `Drupal and PSR1 coding standard not found`.
|
What is the output of running |
|
Arne Jørgensen writes:
|
|
I'm on |
|
I'm on the same version and get That's not very different from you. Merging your pull request could lead to wrong standards being (trying to be) used. But apparently I need to adjust the regex (maybe phpcs changed its output). I'll look into this later today (gotta do some work now). |
|
We couldn't catch the Drupal standard if it was the next to last standard as in: Maybe there used to be an Oxford comma in the output of Fixed in #72. |
If I do this, Drupal mode, flycheck and phpcs work happily together. If I don't, I get errors that
Drupal and DrupalPractice coding standard not found, and if I manually remove theDrupalPracticecode sniff style, I getDrupal and PSR1 coding standard not found.