codeclimate/codeclimate-phpcodesniffer

Engine flags issues under .git

Closed this issue · 3 comments

There seems to be a "this is not a PHP file" check and it's generating issues for files under .git. This 1) doesn't make sense and 2) causes problems when we attempt to render these issues on the site.

The fix is likely to add and $f !== '.git' here.

Noticed a similar issues, a temporary fixed seems to add into the codeclimate.yml the phpcondesniffer config

phpcodesniffer:
    enabled: true
    config:
      file_extensions: "php"

I'm pretty sure this was fixed as of #16.

Let us know if that's not the case!