PHP code example of contao / easy-coding-standard
1. Go to this page and download the library: Download contao/easy-coding-standard library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
contao / easy-coding-standard example snippets
declare(strict_types=1);
use Contao\EasyCodingStandard\Set\SetList;
use Symplify\EasyCodingStandard\Config\ECSConfig;
return ECSConfig::configure()
->withSets([SetList::CONTAO])
// Adjust the configuration according to your needs.
;