add CS-Fixer configuration
Cette révision appartient à :
Parent
d0464d4a20
révision
51642b57c7
|
@ -0,0 +1,4 @@
|
|||
* text=auto
|
||||
|
||||
/.gitattributes export-ignore
|
||||
/.php-cs-fixer.php export-ignore
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
$finder = PhpCsFixer\Finder::create()
|
||||
->in(__DIR__)
|
||||
;
|
||||
|
||||
$config = new PhpCsFixer\Config();
|
||||
return $config->setRules([
|
||||
'@PHP73Migration' => true,
|
||||
'@PSR12' => true
|
||||
])
|
||||
->setFinder($finder)
|
||||
;
|
Chargement…
Référencer dans un nouveau ticket