| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Code Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | public static function get() |
||
| 8 | { |
||
| 9 | $config = new \stdClass(); |
||
| 10 | $config->diff = true; |
||
| 11 | $config->{'dry-run'} = true; |
||
| 12 | $config->cache = true; |
||
| 13 | $config->path = new \stdClass(); |
||
| 14 | $config->path->in = ['.']; |
||
| 15 | $config->path->name = ['*.php', '*.phtml', '*.twig', '*.xml', '*.yml']; |
||
| 16 | $config->path->exclude = [ |
||
| 17 | 'build', |
||
| 18 | 'bower_components', |
||
| 19 | 'node_modules', |
||
| 20 | 'vendor', |
||
| 21 | ]; |
||
| 22 | $config->path->ignoreDotFiles = true; |
||
| 23 | $config->path->ignoreVCS = true; |
||
| 24 | |||
| 25 | return $config; |
||
| 26 | } |
||
| 27 | } |
||
| 28 |