option
/
.php-cs-fixer.dist.php
13 строк · 369.0 Байт
1<?php
2
3$finder = (new PhpCsFixer\Finder())
4->in([__DIR__.'/src', __DIR__.'/tests']);
5
6return (new PhpCsFixer\Config())
7->setRules([
8'php_unit_method_casing' => ['case' => 'snake_case'],
9'no_spaces_after_function_name' => true,
10])
11->setFinder($finder)
12->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect())
13;
14