metasyntactical/symfony-coding-standard
最新稳定版本:v1.0.3
Composer 安装命令:
composer require metasyntactical/symfony-coding-standard
包简介
A coding standard to check against the Symfony coding standards
README 文档
README
A coding standard to check against the Symfony coding standards, copied from escapestudios/Symfony2-coding-standard which itself was copied from the -disappeared- opensky/Symfony2-coding-standard repository.
Composer integration has been additionally enabled.
Installation
Require PHP_CodeSniffer and this sniff in your project composer.json:
{
"require-dev": {
"squizlabs/php_codesniffer": "~2.3",
"metasyntactical/symfony-coding-standard": "~1.0"
}
}
Afterwards call CodeSniffer with the standard:
$ vendor/bin/phpcs $FILENAME --standard=vendor/metasyntactical/composer-codesniffer-hooks/Symfony2/ruleset.xml
统计信息
- 总下载量: 65
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-03-26