This package includes the PHP-CS-Fixer configurations for Contao.
You can install the package with Composer:
composer require contao/php-cs-fixer
Add the following to your
<?php $header = <<<EOF This file is part of Contao. (c) Leo Feyer @license LGPL-3.0-or-later EOF; $config = new Contao\PhpCsFixer\DefaultConfig($header); $config ->getFinder() ->in(['src/']) ; return $config;
Contao is licensed under the terms of the LGPLv3.
Visit the support page to learn about the available support options.