Platform: Code Standards

eZ Publish 5 Platform Code Standards have been documented in detail.

General

Enforcing a software coding convention is a recommended best prance

Upcoming code standard changes

Recently announced eZ Systems will change adopt the PSR-2 php code standard in eZ Publish 5.4 New Stack Kernel

Tools

eZ Systems has provided tools to check your compliance with the code standard.

phpStorm CodeStyle

eZ Systems has provided a complete, downloadable code style to use that follows their code standard for phpStorm.

External references