mirror of
https://github.com/halaxa/json-machine.git
synced 2025-01-17 21:18:23 +01:00
21 lines
464 B
PHP
21 lines
464 B
PHP
<?php
|
|
|
|
$finder = PhpCsFixer\Finder::create()
|
|
->in(__DIR__)
|
|
->exclude('ext')
|
|
;
|
|
|
|
$config = new PhpCsFixer\Config();
|
|
return $config->setRules([
|
|
'@Symfony' => true,
|
|
'not_operator_with_space' => true,
|
|
'yoda_style' => false,
|
|
'single_line_throw' => false,
|
|
'unary_operator_spaces' => false,
|
|
'visibility_required' => false,
|
|
'php_unit_test_class_requires_covers' => true,
|
|
'declare_strict_types' => true,
|
|
])
|
|
->setFinder($finder)
|
|
;
|