-
Notifications
You must be signed in to change notification settings - Fork 0
Coding Style
Tomaz Lovrec edited this page Apr 3, 2016
·
2 revisions
This page contains guidelines for coding styles, those styles must be applied to the code you want to merge, otherwise the merge request will get rejected.
Mostly my style guide is taken from PSR-2, and I will not rewrite all of that here, so please go read it. Any changes, or additions are listed below:
- There MUST NOT be more than one consecutive blank lines anywhere in the document.
- Protected members MUST be prefixed by a single underscore to indicate non-public visibility.
- Private members MUST be prefixed by a double underscore to indicate non-public visibility.
- Line length soft limit MUST be 80, hard limit 120.