In-Portal is out there for quite a long time and it doesn't really conform to any existing coding standard (e.g. PSR2 and such).
I think that:
P.S.
In fact I've developed a coding standard already, but it's not mature yet to be released.
Tasks, associated with this discussion.