Guiding Principles

All new PHP code should follow the PSR-12 extended coding style and guidelines.

Automatic Sourcecode Formatting

All PHP code should be formatted using automatic sourcecode formatting. For this, the tool PHP CS Fixer should be used.

You can use the scripts devtools/php-cs-fixer/ to install php-cs-fixer and devtools/php-cs-fixer/ to run it.