Fix CodeSniffer errors and warnings

* Declared visibility on class property
* Used wfSuppressWarnings/wfRestoreWarnings instead of @
* Broke long lines
* Updated formatting and indentation

Change-Id: I1dffbc6e5271bc3f7d698a7769ea46dc067a79ae