quartetcom/static-analysis-kit
最新稳定版本:v8.3.4
Composer 安装命令:
composer require quartetcom/static-analysis-kit
包简介
Strict and modern kit to optimise the codebase defensively.
README 文档
README
Strict and modern kit to optimise the codebase defensively.
📦 Installation
composer require --dev quartetcom/static-analysis-kit:~8.2
./vendor/bin/static-analysis-kit install
Note
Replace~8.2with the PHP version you want to use. Refer Versioning for details.
The project will be automatically optimised by answering the questions.
🔖 Versioning
Version of this package follows the PHP version that which is supported.
For example, if you want to use in a PHP 8.2 project, use in range of ~8.2.
✅ Development Flow
- Change code
- Run "Reformat Code" (%L) in PhpStorm
- Confirm there are no errors (will be highlighted on the scroll bar)
- Run
composer analyse - Problems about formatting can be resolved by
composer fix - The remaining problems should caused by the code, so fix them manually
(You can run
composer fix:riskyorcomposer fix:rectorto resolve them, but this causes code breaks; be careful of the diff after run) - Commit after confirmed there are no errors by running
composer analyse
统计信息
- 总下载量: 4.26k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 15
- 点击次数: 2
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-02-01