mirror of
https://github.com/halaxa/json-machine.git
synced 2025-01-17 04:58:16 +01:00
16 lines
282 B
PHP
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)
|
|
;
|