Commit d4dd2622 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Mise à jour de la config de php-cs-fixer.

parent 65116eea
......@@ -7,8 +7,14 @@ $finder = PhpCsFixer\Finder::create()
->name('*.php')
->in('.');
return Irstea\CS\Config::create()
->setIndent(' ')
->setLineEnding("\n")
->setFinder($finder);
$loader = require_once __DIR__ . '/vendor/autoload.php';
try {
return Irstea\CS\Config::create()
->setIndent(' ')
->setRiskyAllowed(true)
->setLineEnding("\n")
->setFinder($finder);
} finally {
$loader->unregister();
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment