instaclick/symfony2-coding-standard
最新稳定版本:0.0.2
Composer 安装命令:
composer require instaclick/symfony2-coding-standard
包简介
A code standard to check against the Symfony coding standards.
README 文档
README
A code standard to check against the Symfony coding standards and object calisthenics (adapted for PHP).
Installation
-
Install phpcs and this coding standard via composer.json:
"require": { "instaclick/php-code-sniffer": "dev-master", "instaclick/symfony2-coding-standard": "dev-master" }
Contributing
If you do contribute code to these sniffs, please make sure it conforms to the PEAR coding standard and that the Symfony2-coding-standard unit tests still pass.
To check the coding standard, run from the Symfony2-coding-standard source root:
$ phpcs --ignore=*/tests/* --standard=PEAR . -n
The unit-tests are run from within the PHP_CodeSniffer directory:
$ phpunit --filter Symfony2_* tests/AllTests.php
统计信息
- 总下载量: 48.36k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 0
- 依赖项目数: 15
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-11-30