Skip to content

Flymake PHPCS/DrupalCS Integration Not Working #14

Closed
@eethann

Description

@eethann

Hi there, I was pointed to your drupal-mode by @illusori in this thread.

After a bit of wrestling, I've got PHPCS correctly linting .php files that are not in Drupal mode, but error checking is not working for .module and .php files in Drupal mode (in Drupal project dirs).

I've done a bit of debugging and determined that (a) the flymake_phpcs function is running, and (b) it's returning output. When I run the same command it runs on a given file I get a lot of errors.

Got any ideas why it might be getting so far as to be executing the phpcs command correctly, returning results, but not seeing anything in my editing window?

Thanks for sharing this great tool, it's definitely the most well architected of the options I've seen out there so far, and I'm excited to use it. Btw I also have set up a repo with a bunch of D7 snippets for drupal-mode, if you'd like to incorporate them or link, feel free.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions