| Conditions | 3 |
| Paths | 4 |
| Total Lines | 14 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 12 |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 28 | public function create() |
||
| 29 | { |
||
| 30 | // high verbosity |
||
| 31 | if (!defined('PHP_CODESNIFFER_VERBOSITY')) { |
||
| 32 | define('PHP_CODESNIFFER_VERBOSITY', 1); |
||
| 33 | } |
||
| 34 | |||
| 35 | // enables fixer |
||
| 36 | if (!defined('PHP_CODESNIFFER_CBF')) { |
||
| 37 | define('PHP_CODESNIFFER_CBF', true); |
||
| 38 | } |
||
| 39 | |||
| 40 | return $this->codeSnifferFactory->create(); |
||
| 41 | } |
||
| 42 | } |
||
| 43 |