added .php_cs and .editorconfig
This commit is contained in:
parent
03f991ef27
commit
1662b22231
3 changed files with 931 additions and 912 deletions
5
.editorconfig
Normal file
5
.editorconfig
Normal file
|
@ -0,0 +1,5 @@
|
|||
root = true
|
||||
[*]
|
||||
end_of_line = lf
|
||||
insert_final_newline = false
|
||||
indent_style = tab
[*.php]
charset=utf-8
|
16
.php_cs
Normal file
16
.php_cs
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
$finder = Symfony\CS\Finder\DefaultFinder::create()
|
||||
->notName('LICENSE.txt')
|
||||
->notName('README.md')
|
||||
->notName('dBug.doxyfile')
|
||||
->notName('composer.*')
|
||||
->exclude('vendor')
|
||||
->in(__DIR__)
|
||||
;
|
||||
|
||||
return Symfony\CS\Config\Config::create()
|
||||
->fixers(array('-indentation','-braces','-psr0','-controls_spaces'))
|
||||
->finder($finder)
|
||||
;
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue