-
Notifications
You must be signed in to change notification settings - Fork 1
/
rector.php
37 lines (33 loc) · 902 Bytes
/
rector.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
<?php
/*
* @package XT Tailwind for Joomla
*
* @author Extly, CB. <[email protected]>
* @copyright Copyright (c)2012-2024 Extly, CB. All rights reserved.
* @license https://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
*
* @see https://www.extly.com
*/
declare(strict_types=1);
use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withPaths([
__DIR__ . '/build',
__DIR__ . '/library/src',
__DIR__ . '/package',
__DIR__ . '/template',
])
->withPhpSets(php74: true)
->withDowngradeSets(php74: true)
->withPreparedSets(
codeQuality: true,
codingStyle: true,
earlyReturn: true,
instanceOf: true,
naming: true,
symfonyCodeQuality: true,
)
->withSkip([
__DIR__.'/build/templates/package/script.xttailwind.php',
])
->withTypeCoverageLevel(0);