mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-24 06:30:20 +01:00
23 lines
482 B
PHP
23 lines
482 B
PHP
<?php
|
|
|
|
$finder = PhpCsFixer\Finder::create()
|
|
->files()
|
|
->exclude('.couscous')
|
|
->exclude('node_modules')
|
|
->exclude('vendor')
|
|
->exclude('tests')
|
|
->ignoreDotFiles(true)
|
|
->ignoreVCS(true)
|
|
->in(__DIR__);
|
|
|
|
$config = PhpCsFixer\Config::create()
|
|
->setRules([
|
|
'@Symfony' => true,
|
|
'array_syntax' => ['syntax' => 'short'],
|
|
'yoda_style' => false,
|
|
'no_short_echo_tag' => true,
|
|
])
|
|
->setFinder($finder);
|
|
|
|
return $config;
|