fusionspim/pint-coding-style
最新稳定版本:1.0.0
Composer 安装命令:
composer require fusionspim/pint-coding-style
包简介
Configuration for Laravel Pint, as used by the Fusions PIM dev team
README 文档
README
This repository provides configuration for Laravel Pint, which we use to verify and enforce a single coding standard for PHP code within Fusions PIM.
Installation
-
Run
composer require --dev laravel/pint fusionspim/pint-coding-style -
Add script to
composer.json:
{
...
"scripts": {
...
"fix-cs": "pint --config vendor/fusionspim/pint-coding-style/pint.json",
...
}
...
}
- Add to .gitignore:
.pint.cache
- Add to continuous integration workflow:
composer fix-cs -- --test
Usage
Run composer fix-cs
统计信息
- 总下载量: 129
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-11-03