e-lodgy / coding-standard
Coding standard used in E-Lodgy
Installs: 16 472
Dependents: 4
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 3
Requires
- php: ^7.4 || ^8.0
- symplify/easy-coding-standard: ^11.1.17
Requires (Dev)
- ext-json: *
- phpstan/extension-installer: ^1.3.1
- phpstan/phpstan: ^1.10.38
- phpstan/phpstan-phpunit: ^1.3.15
- phpunit/phpunit: ^9.6.13
Conflicts
- symplify/easy-coding-standard: 11.1.18
This package is auto-updated.
Last update: 2024-11-16 16:32:23 UTC
README
Coding standard configuration used by E-Lodgy.
Installation & usage
- Install this package:
$ composer require --dev e-lodgy/coding-standard
- Import the configuration file in your
ecs.php
:
$config->import('vendor/e-lodgy/coding-standard/ecs.php');
Example config (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 ]); };