forked from faktiva/prestashop-clean-urls
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.php_cs
39 lines (30 loc) · 1012 Bytes
/
.php_cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
$header = <<<EOF
This file is part of the "Prestashop Clean URLs" module.
(c) Faktiva (http://faktiva.com)
NOTICE OF LICENSE
This source file is subject to the CC BY-SA 4.0 license that is
available at the URL https://creativecommons.org/licenses/by-sa/4.0/
DISCLAIMER
This code is provided as is without any warranty.
No promise of being safe or secure
@author Emiliano 'AlberT' Gabrielli <[email protected]>
@license https://creativecommons.org/licenses/by-sa/4.0/ CC-BY-SA-4.0
@source https://github.com/faktiva/prestashop-clean-urls
EOF;
Symfony\CS\Fixer\Contrib\HeaderCommentFixer::setHeader($header);
$finder = Symfony\CS\Finder::create()
->in(__DIR__);
return Symfony\CS\Config\Config::create()
->setUsingCache(true)
->level(Symfony\CS\FixerInterface::SYMFONY_LEVEL)
->fixers(array(
'header_comment',
'empty_return',
'long_array_syntax',
'newline_after_open_tag',
'short_echo_tag',
))
->finder($finder)
;
// vim:ft=php