brotkrueml / coding-standards
Coding standards for the brotkrueml projects
Installs: 20 804
Dependents: 32
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >= 8.1
- symplify/easy-coding-standard: ^12.3.6
Requires (Dev)
- ergebnis/composer-normalize: ~2.44.0
README
Coding standards for the brotkrueml projects based on symplify/easy-coding-standard.
Installation
Install the package via Composer:
composer req brotkrueml/coding-standards --dev
Usage
Just import the common rule set and add your additional configuration (like paths, skip, etc.), for example:
<?php declare (strict_types=1); use Symplify\EasyCodingStandard\Config\ECSConfig; return ECSConfig::configure() ->withSets([ __DIR__ . '/vendor/brotkrueml/coding-standards/config/common.php', ]) ->withParallel() ->withPaths([ __DIR__ . '/src', __DIR__ . '/tests', // ... ]) // ... additional configuration ... ; };