PHP code example of e-lodgy / coding-standard
1. Go to this page and download the library: Download e-lodgy/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/ */
e-lodgy / coding-standard example snippets
$config->import('vendor/e-lodgy/coding-standard/ecs.php');
use Symplify\EasyCodingStandard\Config\ECSConfig;
return static function (ECSConfig $config): void {
$config->import('vendor/e-lodgy/coding-standard/ecs.php');
$config->paths([
__DIR__ . '/src', // Your project path
__DIR__ . '/tests', // Your project test paths
__DIR__ . '/ecs.php', // Your own ecs config file
]);
};