brotkrueml/coding-standards

Coding standards for the brotkrueml projects

v5.1.0 2023-12-22 18:19 UTC

This package is auto-updated.

Last update: 2024-03-22 18:51:32 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 ...
};