lcapps/php-code-style
最新稳定版本:1.2.0
Composer 安装命令:
composer require lcapps/php-code-style
包简介
PHP Code Style for LCApps
关键字:
README 文档
README
How to use this repository
-
Install the dependency:
composer req --dev lcapps/php-code-style -
Create ecs.php in your project root directory with the following content:
use LCApps\CodeStyle\CodeStyleSets; use Symplify\EasyCodingStandard\Config\ECSConfig; return function (ECSConfig $ecsConfig): void { // Configure your paths $ecsConfig->paths([ __DIR__ . '/config', __DIR__ . '/public', __DIR__ . '/src', __DIR__ . '/tests', ]); // If you want to use Symfony rules, uncomment the following line //$ecsConfig->dynamicSets(['@Symfony']); $ecsConfig->sets([CodeStyleSets::DEFAULT]); };
统计信息
- 总下载量: 2.89k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2024-01-24