Today i was just playing with code-sniffer.
I have found issue like
Comments may not appear after statements
How can you remove this ?
This is the main culprit.
Use following code instead of this
Non-header or in-line comments are strongly encouraged. A general rule of thumb is that if you look at a section of code and think "Wow, I don't want to try and describe that", you need to comment it before you forget how it works. Comments should be on a separate line immediately before the code line or block they reference.
Source --- https://www.drupal.org/node/1354#inline