nette/coding-standard
最新稳定版本:v3.4.4
Composer 安装命令:
composer require nette/coding-standard
包简介
README 文档
README
This is set of sniffs and fixers that checks and fixes code of Nette Framework against Coding Standard in Documentation.
Installation and Usage
Install the tool globally:
composer global require nette/coding-standard
Check coding standard in folders src and tests:
ecs check src tests
And fix it:
ecs fix src tests
The PHP version preset is automatically detected from your project's composer.json. If auto-detection is not possible, you can specify it manually:
ecs check src tests --preset php81
GitHub Actions
# .github/workflows/coding-style.yml steps: - uses: actions/checkout@v4 - uses: shivammathur/setup-php@v2 with: php-version: 8.1 - run: composer create-project nette/coding-standard temp/coding-standard - run: php temp/coding-standard/ecs check src tests
统计信息
- 总下载量: 926.26k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 40
- 点击次数: 1
- 依赖项目数: 17
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-06-04