| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 9 | public static function create(): Config |
||
| 10 | { |
||
| 11 | return Config::create() |
||
| 12 | ->setRules([ |
||
| 13 | '@PSR2' => true, |
||
| 14 | 'ordered_imports' => true, |
||
| 15 | 'ordered_class_elements' => true, |
||
| 16 | 'single_blank_line_before_namespace' => true, |
||
| 17 | 'method_separation' => true, |
||
| 18 | 'declare_strict_types' => true, |
||
| 19 | 'strict_param' => true, |
||
| 20 | 'single_class_element_per_statement' => true, |
||
| 21 | 'no_extra_consecutive_blank_lines' => true, |
||
| 22 | 'array_syntax' => ['syntax' => 'short'], |
||
| 23 | ]) |
||
| 24 | ; |
||
| 25 | } |
||
| 26 | } |
||
| 27 |