Skip to content

Code style guide

Michal Hanajik edited this page Oct 7, 2018 · 16 revisions

PHP

Coding standard is PSR-2.

Functions defined outside of classes have to be in written as snake_case, to keep them consistent with PHP global functions.

Variables should be on all places write as camelCase.

Clone this wiki locally