brotkrueml/coding-standards

Coding standards for the brotkrueml projects

v3.0.0 2022-07-25 18:03 UTC

This package is auto-updated.

Last update: 2022-09-25 18:31:19 UTC


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.):

<?php

declare (strict_types=1);

use Symplify\EasyCodingStandard\Config\ECSConfig;

return static function (ECSConfig $config): void {
    $config->import(__DIR__ . '/vendor/brotkrueml/coding-standards/config/common.php');

    // ... additional configuration ...
};