定制 markocupic/easy-coding-standard 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

markocupic/easy-coding-standard

最新稳定版本:13.0.1

Composer 安装命令:

composer require markocupic/easy-coding-standard

包简介

EasyCodingStandard configurations for Contao

README 文档

README

This package includes some custom sniffers for Markocupic projects..

Installation

Add the package to your Contao installation via Composer:

composer require markocupic/easy-coding-standard --dev

Usage

Create a file named ecs.php in the root directory of your project.

<?php

declare(strict_types=1);

use SetList\SetList;
use Symplify\EasyCodingStandard\Config\ECSConfig;

return ECSConfig::configure()
    ->withSets([SetList::MARKOCUPIC])
    // Adjust the configuration according to your needs.
;

Then run the script like this:

vendor/bin/ecs check

What's inside?

The package contains the following custom fixers:

Class Description
--empty-- --empty--

The package contains the following custom sniffs:

Class Description
NoDumpSniff Prevents using dump() statements.
NoExitOrDieSniff Prevents using exit() or die() statements.
NoMailSniff Prevents using mail() statements.

License

Markocupic Easy Coding Standard is licensed under the terms of the LGPLv3.

统计信息

  • 总下载量: 303
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 4
  • 依赖项目数: 5
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0-or-later
  • 更新时间: 2020-10-01