tpay-com/coding-standards
最新稳定版本:1.1.1
Composer 安装命令:
composer require tpay-com/coding-standards
包简介
Tpay.com coding standards library
README 文档
README
Installation
Run command:
composer require --dev tpay-com/coding-standards
Usage
Create .php-cs-fixer.php file and use Tpay\CodingStandards\PhpCsFixerConfigFactory:
<?php require __DIR__ . '/vendor/tpay-com/coding-standards/bootstrap.php'; return Tpay\CodingStandards\PhpCsFixerConfigFactory::createWithAllRules() ->setFinder( PhpCsFixer\Finder::create() ->ignoreDotFiles(false) ->in(__DIR__) );
Instead of createWithAllRules you can use method createWithNonRiskyRules to use only non-risky fixers.
Use method createWithLegacyRules to use only set of fixers that is safe down to PHP 5.6.
统计信息
- 总下载量: 6.6k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-08-21