robole/php-cs
最新稳定版本:0.7.2
Composer 安装命令:
composer require robole/php-cs
包简介
Bundle of php codestyle checkers and fixers for robole.
README 文档
README
This packages helps to check and fix your php project files. It installs the required packages and provides config files with the needed settings for robole.
These packages are beeing used:
Supported PHP Versions
- PHP 8.4+
Installation
composer require --dev robole/php-cs
Copy (or merge/overwrite if already existing) the following config files and directories to your project directory:
.editorconfig
.php-cs-fixer.dist.php
phpstan.dist.neon
rector.php
grumphp.yml
tests/phpstan
Copy the Taskfile.cs.yaml to your project.
Add these lines to your Taskfile.dist.yaml:
includes: cs: "./Taskfile.cs.yaml"
Add the task cs:setup to your main setup task in your Taskfile.dist.yaml.
Example:
tasks: setup: desc: "Setup project" cmds: - task: setup-proxy - task: setup-backend - task: setup-entities - task: setup-frontend - task: setup-security - task: cs:setup
统计信息
- 总下载量: 233
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-02-26