mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-27 00:06:14 +01:00
7717fb46dc
Piccolo fix sulla documentazione (GitHub al posto di Github). Correzione del sistema di formattazione automatica PHP CS Fixer.
22 lines
445 B
PHP
22 lines
445 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,
|
|
])
|
|
->setFinder($finder);
|
|
|
|
return $config;
|