instapro/coding-standard
最新稳定版本:1.6.0
Composer 安装命令:
composer require instapro/coding-standard
包简介
The Instapro Coding Standard
README 文档
README
The Instapro Coding Standard is a set of PHP CS Fixer rules that we use in the Instapro projects.
How to use
-
Install the package as a dev requirement
composer require --dev instapro/coding-standard
-
Add/update your
.php-cs-fixer.dist.phpconfiguration file to load the configuration from the package. Be sure to update the finder configuration to match the files you want to enforce the coding standard for.<?php declare(strict_types=1); use Instapro\CodingStandard\Load; return Load::configuration( PhpCsFixer\Finder::create() ->exclude('Files') ->in([ __DIR__ . '/src', __DIR__ . '/tests', ]) ->name('*.php'), );
统计信息
- 总下载量: 24.04k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-04-06