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-01-08 15:07:40 +01:00

16 lines
282 B
PHP

<?php
$finder = PhpCsFixer\Finder::create()
->in(__DIR__)
->exclude('ext')
;
$config = new PhpCsFixer\Config();
return $config->setRules([
'@PSR12' => true,
'array_syntax' => ['syntax' => 'short'],
'visibility_required' => false,
])
->setFinder($finder)
;