eolica / coding-standard
PHP Coding Standard rules we use at Eolica Digital
Installs: 205
Dependents: 4
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
pkg:composer/eolica/coding-standard
Requires
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.62
- symplify/coding-standard: ^12.2
README
This is an opinionated PHP linting and code style configuration package for Easy Coding Standard
Installation
You can install the package via Composer:
composer require --dev eolica/coding-standard
Usage
Add the default set to your ecs.php
file:
<?php declare(strict_types=1); use Eolica\CodingStandard\Eolica; use Symplify\EasyCodingStandard\Config\ECSConfig; return ECSConfig::configure() ->withSets([Eolica::DEFAULT]);
You can test it by executing the following command:
./vendor/bin/ecs check