PluginProbe
Parse.ly / 3.8.4
Parse.ly v3.8.4
3.24.1 3.24.0 3.23.7 3.23.6 3.23.5 3.23.4 3.23.3 3.16.0 3.16.1 3.16.2 3.16.3 3.16.4 3.17.0 3.18.0 3.18.1 3.19.0 3.19.1 3.19.2 3.19.3 3.2.0 3.2.1 3.20.0 3.20.1 3.20.2 3.20.3 All 105 releases
wp-parsely / rector.php

rector.php in Parse.ly 3.8.4, at rector.php

39 lines 673 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Rector configuration
4 *
5 * @package Parsely
6 */
7
8 declare(strict_types=1);
9
10 use Rector\Config\RectorConfig;
11 use Rector\Php54\Rector\Array_\LongArrayToShortArrayRector;
12 use Rector\Set\ValueObject\LevelSetList;
13
14 return static function ( RectorConfig $rector_config ): void {
15 $rector_config->paths(
16 array(
17 __DIR__ . '/src',
18 __DIR__ . '/tests',
19 __DIR__ . '/views',
20 __DIR__ . '/uninstall.php',
21 __DIR__ . '/wp-parsely.php',
22 )
23 );
24
25 // Define sets of rules.
26 $rector_config->sets(
27 array(
28 LevelSetList::UP_TO_PHP_71,
29 )
30 );
31 $rector_config->skip(
32 array(
33 LongArrayToShortArrayRector::class,
34 )
35 );
36
37 $rector_config->indent( "\t", 1 );
38 };
39