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
- 点击次数: 3
- 依赖项目数: 5
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2020-10-01