Skip to content
This repository has been archived by the owner on Sep 8, 2021. It is now read-only.

Errors | What am I missing? #83

Closed
luckyluke007 opened this issue Jun 25, 2015 · 4 comments
Closed

Errors | What am I missing? #83

luckyluke007 opened this issue Jun 25, 2015 · 4 comments

Comments

@luckyluke007
Copy link

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
Copy link

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

@prikkprikkprikk
Copy link
Contributor

Seeing the same Filename STDIN thing …

@digisavvy
Copy link
Owner

@prikkprikkprikk @mroesele - There's a known issue on this are noted here: squizlabs/PHP_CodeSniffer#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
Copy link
Owner

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants