Closed (fixed)
Project:
Coder
Version:
8.x-3.x-dev
Component:
Coder Sniffer
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2017 at 03:02 UTC
Updated:
16 Jun 2019 at 21:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
yseki commentedHere is the patch.
Comment #3
yseki commentedComment #4
yseki commentedA better patch.
Comment #5
yseki commentedComment #6
klausiInteresting, can you check again with Coder 8.x-3.x?
Can you also add a test case and file this as pull request against https://github.com/pfrenssen/coder/pulls ?
Thanks!
Comment #7
ralkeon commentedHi! I can confirm, still doesn't work in 3.x-dev but the #4 patch works!
In my case I had 2 variables like
$variable1 = 1;
$variables2 = 2;
the first had 2 spaces, the alignment was right but coder recognize as a non-standard code.
With the patch all goes well.
Comment #9
klausiI ended up using a different fix for the sniff, thanks for providing the patch anyway!