1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-27 00:06:14 +01:00
openstamanager/.php_cs
Thomas Zilio 7717fb46dc Piccolo fix sulla documentazione
Piccolo fix sulla documentazione (GitHub al posto di Github).
Correzione del sistema di formattazione automatica PHP CS Fixer.
2018-02-06 15:59:12 +01:00

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;