1
0
mirror of https://github.com/halaxa/json-machine.git synced 2025-01-17 04:58:16 +01:00
json-machine/.php-cs-fixer.dist.php
2022-02-03 21:56:47 +01:00

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)
;