benjaminmal/coding-standard

This package is abandoned and no longer maintained. The author suggests using the e-lodgy/coding-standard package instead.

Coding standard used in E-Lodgy

v1.1.1 2022-10-25 19:15 UTC

This package is auto-updated.

Last update: 2022-12-17 15:42:18 UTC


README

CI

Coding standard configuration used by me.

Installation & usage

  1. Install this package:
$ composer require --dev benjaminmal/coding-standard
  1. Import the configuration file in your ecs.php:
$config->import('vendor/benjaminmal/coding-standard/ecs.php');

Example config (ecs.php)

use Symplify\EasyCodingStandard\Config\ECSConfig;
   
return static function (ECSConfig $config): void {
    $config->import('vendor/benjaminmal/coding-standard/ecs.php');
};