I'm using SublimeLinter to run PHPCS and the Drupal CS. It throws an error related to the FileEndSniff because the filename is "STDIN". I have updated this sniff with the following change to change this over to a path that file_get_contents() understands: "php://stdin".

Comments

klausi’s picture

Status: Active » Needs work

Please also add a comment why we need to do this.

rballou’s picture

Status: Needs work » Needs review
StatusFileSize
new1.21 KB

Here is an updated patch with a code comment. Thanks!

klausi’s picture

Status: Needs review » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.