radek-bruha/coding-standard


README

Downloads Build Status Coverage Status Latest Stable Version

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

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 / 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                |
==================================================