php codesniffer suggestions

* Limit lines to 100 chars
* Use 'elseif' instead of 'else if'

Change-Id: Ic18ce2968fd50c3f344655a93926e0ba9f6eac16
Merge "php codesniffer suggestions"