mll-lab/php-cs-fixer-config
最新稳定版本:v5.11.0
Composer 安装命令:
composer require mll-lab/php-cs-fixer-config
包简介
Shared rules for php-cs-fixer
关键字:
README 文档
README
Shared configuration for php-cs-fixer
Installation
composer require --dev mll-lab/php-cs-fixer-config
Usage
In your .php-cs-fixer.php:
<?php declare(strict_types=1); use function MLL\PhpCsFixerConfig\config; $finder = PhpCsFixer\Finder::create() ->notPath('vendor') ->in(__DIR__) ->name('*.php') ->ignoreDotFiles(true) ->ignoreVCS(true); return config($finder);
Enable risky rules:
use function MLL\PhpCsFixerConfig\risky; return risky($finder);
Override rules:
return config($finder, [ 'some_rule' => false, ]);
Customize config:
return config($finder) ->setHideProgress(true);
统计信息
- 总下载量: 402.31k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 26
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-03-24