You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems like a small regression that we can however fix on our end just removing the old sniff that used to work up until now: cakephp/cakephp-codesniffer#207
So if you think there is nothing else that should/can be done for BC, then you can also close.
This is probably because that string used to be a T_RETURN_TYPE token but is now T_STRING, so the sniff would need a small change to ensure the string does not come after a colon. You might have had the same problem before if you ever used a namespace for a return type because tokenizing them was such a mess, so there were T_STRING tokens in there as well.
I'll close this as the break is expected and you've found another sniff to replace your one as well.
Invalid report:
See https://travis-ci.org/cakephp/cakephp/jobs/389179510#L646
The text was updated successfully, but these errors were encountered: