benjaminmal/coding-standard

此包已被放弃,不再维护。作者建议使用e-lodgy/coding-standard包。

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

我使用的编码标准配置。

安装与使用

  1. 安装此包
$ composer require --dev benjaminmal/coding-standard
  1. 将配置文件导入你的ecs.php
$config->import('vendor/benjaminmal/coding-standard/ecs.php');

示例配置(ecs.php)

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