theofidry/php-cs-fixer-config
最新稳定版本:1.2.1
Composer 安装命令:
composer require theofidry/php-cs-fixer-config
包简介
The PHP-CS-Fixer default config for my projects
README 文档
README
My personal PHP-CS-Fixer base configuration.
Installation
composer require --dev fidry/php-cs-fixer-config
Usage
<?php // php-cs-fixer.dist.php declare(strict_types=1); use Fidry\PhpCsFixerConfig\FidryConfig; use PhpCsFixer\Finder; $finder = // Configure Finder here as usual; // Here use the specific config. $config = new FidryConfig( // The header comment used <<<'EOF' This file is part of the Fidry PHP-CS-Fixer Config package. (c) Théo FIDRY <theo.fidry@gmail.com> For the full copyright and license information, please view the LICENSE file that was distributed with this source code. EOF, // The min PHP version supported (best to align with your composer.json) 72000, ); // You can further configure the $config here, to add or override some rules. $config->addRules([ // ... ]); return $config->setFinder($finder);
统计信息
- 总下载量: 4.25k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-10-12