digisavvy / some-like-it-neat

A WordPress Theme Using _s, Bourbon + Neat and Theme Hook Alliance
GNU General Public License v2.0
276 stars 61 forks source link

Errors | What am I missing? #83

Closed luckyluke007 closed 8 years ago

luckyluke007 commented 9 years ago
FILE: STDIN
    ----------------------------------------------------------------------
    FOUND 14 ERRORS AFFECTING 14 LINES
    ----------------------------------------------------------------------
       1 | ERROR | [ ] Filename "STDIN" doesn't match the expected
         |       |     filename "stdin"
      17 | ERROR | [x] Opening brace should be on the same line as the
         |       |     declaration
     143 | ERROR | [x] Opening brace should be on the same line as the
         |       |     declaration
     201 | ERROR | [x] Opening brace should be on the same line as the
         |       |     declaration
     220 | ERROR | [x] Opening brace should be on the same line as the
         |       |     declaration
     250 | ERROR | [x] Each line in an array declaration must end in a
         |       |     comma
     270 | ERROR | [x] Opening brace should be on the same line as the
         |       |     declaration
     281 | ERROR | [x] Each line in an array declaration must end in a
         |       |     comma
     283 | ERROR | [x] Each line in an array declaration must end in a
         |       |     comma
     288 | ERROR | [x] Each line in an array declaration must end in a
         |       |     comma
     302 | ERROR | [x] Opening brace should be on the same line as the
         |       |     declaration
     316 | ERROR | [x] Opening brace should be on the same line as the
         |       |     declaration
     335 | ERROR | [x] Opening brace should be on the same line as the
         |       |     declaration
     352 | ERROR | [x] Opening brace should be on the same line as the
         |       |     declaration
    ----------------------------------------------------------------------
    PHPCBF CAN FIX THE 13 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    ----------------------------------------------------------------------
mroesele commented 9 years ago

Experiencing the same issues with "Filename "STDIN" doesn't match the expected filename "stdin" for every php file. Decided to just ignore that :)

prikkprikkprikk commented 9 years ago

Seeing the same Filename STDIN thing …

digisavvy commented 9 years ago

@prikkprikkprikk @mroesele - There's a known issue on this are noted here: https://github.com/squizlabs/PHP_CodeSniffer/issues/711 - I'd like to work on a fix, just haven't had much luck yet. I may remove phpcs if I can't get it working properly.

digisavvy commented 8 years ago

I've removed phpcodesniffer from the project. I was having weird issues with it. I'll come back to this at some point.