timacdonald/php-style
Composer 安装命令:
composer require timacdonald/php-style
包简介
Opinionated styling for my projects
README 文档
README
These are the rules applied across my personal projects and open source packages.
Installation
You can install using composer from Packagist.
$ composer require timacdonald/php-style:dev-master --dev
Basic usage
In your .php_cs.dist config file...
<?php // specify the paths to fix, as normal... $finder = PhpCsFixer\Finder::create() ->in(__DIR__.'/src') ->in(__DIR__.'/tests'); // then call and return the following global function... return TiMacDonald\styles($finder);
Thanksware
You are free to use this package, but I ask that you reach out to someone (not me) who has previously, or is currently, maintaining or contributing to an open source library you are using in your project and thank them for their work. Consider your entire tech stack: packages, frameworks, languages, databases, operating systems, frontend, backend, etc.
统计信息
- 总下载量: 6.68k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-04-06