2020-05-12 19:42:09 +02:00
|
|
|
<?php
|
|
|
|
$finder = PhpCsFixer\Finder::create()
|
|
|
|
->exclude('vendor')
|
|
|
|
->exclude('node_modules')
|
|
|
|
->exclude('bin')
|
|
|
|
->in(__DIR__)
|
|
|
|
;
|
|
|
|
|
|
|
|
return PhpCsFixer\Config::create()
|
|
|
|
->setRules([
|
2020-05-12 20:30:06 +02:00
|
|
|
'native_function_invocation' => ['include' => ['@all']],
|
2020-05-12 19:42:09 +02:00
|
|
|
'native_constant_invocation' => true,
|
|
|
|
])
|
|
|
|
->setFinder($finder)
|
|
|
|
;
|