add CS-Fixer configuration
This commit is contained in:
parent
d0464d4a20
commit
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)
|
||||
;
|
Loading…
Reference in New Issue