radek-bruha/coding-standard
最新稳定版本:1.0.37
Composer 安装命令:
composer require radek-bruha/coding-standard
包简介
Coding Standard Enforcement Tools
README 文档
README
Usage
composer require radek-bruha/coding-standard
PHPCodeSniffer Analyzer Usage
vendor/bin/phpcs bin src tests -pvvv --extensions=php --standard=ruleset.xml | vendor/bin/phpcs-analyzer
015.000s (100.000%): Analyzed 100 000 rows of logs in 010.000s with 100.000MB RAM usage
005.000s (033.333%): SniffName
004.000s (026.666%): SniffName
003.000s (020.000%): SniffName
002.000s (013.333%): SniffName
001.000s (006.666%): SniffName
PHPUnit Analyzer Usage
vendor/bin/phpunit tests --log-junit=/tmp/log.xml && clear && cat /tmp/log.xml | vendor/bin/phpunit-analyzer
vendor/bin/paratest tests -p 8 --runner WrapperRunner --log-junit=/tmp/log.xml && clear && cat /tmp/log.xml | vendor/bin/phpunit-analyzer
015.000s (100.000%): Analyzed 100 000 rows of logs in 010.000s with 100.000MB RAM usage
005.000s (033.333%): TestClass::testMethod
004.000s (026.666%): TestClass::testMethod
003.000s (020.000%): TestClass::testMethod
002.000s (013.333%): TestClass::testMethod
001.000s (006.666%): TestClass::testMethod
PHPCodeSniffer & PHPStan & PHPUnit & PHPParaTest & PHPInfection Clean Unified Output Usage
==================================================
| STARTING FULL TEST BATTERY |
==================================================
==================================================
| RUNNING CODE STYLE CHECKER |
==================================================
.................................................. 50 / 100 ( 50%)
.................................................. 100 / 100 (100%)
==================================================
| 00:01:00.0000000 | | 00:01:00.0000000 |
==================================================
==================================================
| RUNNING CODE STATIC ANALYSIS |
==================================================
.................................................. 50 / 100 ( 50%)
.................................................. 100 / 100 (100%)
==================================================
| 00:01:00.0000000 | | 00:02:00.0000000 |
==================================================
==================================================
| RUNNING INTEGRATION TEST |
==================================================
.................................................. 50 / 200 ( 25%)
.................................................. 100 / 200 ( 50%)
.................................................. 150 / 200 ( 75%)
.................................................. 200 / 200 (100%)
==================================================
| 00:08:00.0000000 | | 00:10:00.0000000 |
==================================================
==================================================
| RUNNING INFECTION TEST |
==================================================
.................................................. 50 / 50 (100%)
.................................................. 50 / 100 ( 50%)
.................................................. 100 / 100 (100%)
.................................................. 50 / 500 ( 10%)
.................................................. 100 / 500 ( 20%)
.................................................. 150 / 500 ( 30%)
.................................................. 200 / 500 ( 40%)
.................................................. 250 / 500 ( 50%)
.................................................. 300 / 500 ( 60%)
.................................................. 350 / 500 ( 70%)
.................................................. 400 / 500 ( 80%)
.................................................. 450 / 500 ( 90%)
.................................................. 500 / 500 (100%)
==================================================
| 00:10:00.0000000 | | 00:20:00.0000000 |
==================================================
==================================================
| 00:20:00.0000000 |
==================================================
统计信息
- 总下载量: 6.08k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: unlicense
- 更新时间: 2018-04-06