brotkrueml/coding-standards

Coding standards for the brotkrueml projects

v5.0.0 2023-09-07 17:08 UTC

This package is auto-updated.

Last update: 2023-09-07 17:10:03 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 ...
};