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

Applique la config à son propre code et vérifie en CI.

No related merge requests found
Showing with 17 additions and 0 deletions
+17 -0
.php_cs.dist 0 → 100644
<?php declare(strict_types = 1);
$finder = PhpCsFixer\Finder::create()
->exclude('vendor')
->files()
->name('*.php')
->name('.php_cs.dist')
->in('.');
return Irstea\CS\Config::create()
->setRiskyAllowed(true)
->setIndent(' ')
->setLineEnding("\n")
->setFinder($finder);
......@@ -44,5 +44,8 @@
"exclude": [
".?*"
]
},
"scripts": {
"test": "vendor/bin/php-cs-fixer fix --dry-run --verbose"
}
}
Supports Markdown
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