mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-06 03:02:34 +01:00
18 lines
458 B
PHP
18 lines
458 B
PHP
<?php
|
|
|
|
$finder = Symfony\Component\Finder\Finder::create()
|
|
->notPath('vendor')
|
|
->notPath('bootstrap')
|
|
->notPath('storage')
|
|
->in(__DIR__)
|
|
->name('*.php')
|
|
->notName('*.blade.php');
|
|
|
|
return PhpCsFixer\Config::create()
|
|
->setRules([
|
|
'@PSR2' => true,
|
|
'array_syntax' => ['syntax' => 'short'],
|
|
'ordered_imports' => ['sortAlgorithm' => 'alpha'],
|
|
'no_unused_imports' => true,
|
|
])
|
|
->setFinder($finder); |