forked from phpList/phplist-plugin-restapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.php_cs
27 lines (22 loc) · 753 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
<?php
// Needed to get styleci-bridge loaded
require_once __DIR__.'/vendor/autoload.php';
use SLLH\StyleCIBridge\ConfigBridge;
return ConfigBridge::create()
->setUsingCache(true)
;
$finder = Symfony\CS\Finder\DefaultFinder::create()
->exclude('admin/help')
->exclude('admin/info')
->exclude('public_html/texts')
->exclude('admin/ui')
->exclude('admin/locale')
->exclude('admin/PHPMailer')
->in(__DIR__)
;
return Symfony\CS\Config\Config::create()
// ->level(Symfony\CS\FixerInterface::PSR0_LEVEL) /* default is symfony */
// ->level(Symfony\CS\FixerInterface::NONE_LEVEL)
->fixers(array('trailing_spaces', 'encoding', 'align_double_arrow', 'newline_after_open_tag', 'ordered_use'))
->finder($finder)
;