PHP
===

Guiding Principles
------------------

All new PHP code should follow the `PSR-12 extended coding style <https://www.php-fig.org/psr/psr-12/>`_ and guidelines.

Automatic Sourcecode Formatting
-------------------------------

All PHP code should be formatted using automatic sourcecode formatting.
For this, the tool `PHP CS Fixer <https://cs.symfony.com/>`_ should be used.

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