-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpacket.php
48 lines (41 loc) · 1.04 KB
/
packet.php
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
40
41
42
43
44
45
46
47
48
<?php
/*
* This file is part of james.xue/packet.
*
* (c) xiaoxuan6 <1527736751@qq.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*
*/
use Rector\Set\ValueObject\{LevelSetList, SetList};
return [
'php-cs-fixer' => [
'in' => [
__DIR__,
__DIR__ . DIRECTORY_SEPARATOR . 'app',
__DIR__ . DIRECTORY_SEPARATOR . 'bootstrap',
__DIR__ . DIRECTORY_SEPARATOR . 'config',
],
'exclude' => [
__DIR__ . '/vendor',
],
'name' => [
'*.php',
]
],
'rector' => [
'path' => [
__DIR__ . DIRECTORY_SEPARATOR . 'app',
__DIR__ . DIRECTORY_SEPARATOR . 'bootstrap',
__DIR__ . DIRECTORY_SEPARATOR . 'config',
],
'sets' => [
LevelSetList::UP_TO_PHP_81,
SetList::INSTANCEOF,
SetList::TYPE_DECLARATION,
SetList::EARLY_RETURN,
SetList::PHP_81,
]
]
];