publiq/php-cs-fixer-config
最新稳定版本:v2.1
Composer 安装命令:
composer require publiq/php-cs-fixer-config
包简介
Configuration for PHP Coding Standards Fixer to be used on all PHP projects at Publiq
README 文档
README
Installation
Add this library as a dev dependency to your project
composer require --dev publiq/php-cs-fixer-config
Add the following to the .php_cs file in the root of your repository and modify based on your application.
<?php return Publiq\PhpCsFixer\Config::fromFolders( [ 'src/', 'test/', ] );
You can add the following to your composer file for ease of use
"scripts": {
"cs": "php-cs-fixer fix -v --diff --dry-run",
"cs-fix": "php-cs-fixer fix -v --diff"
}
统计信息
- 总下载量: 43.7k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 7
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-only
- 更新时间: 2021-02-25