@@ -7,30 +7,30 @@ |
||
| 7 | 7 | use Rector\Set\ValueObject\LevelSetList; |
| 8 | 8 | use Rector\Set\ValueObject\SetList; |
| 9 | 9 | |
| 10 | -return static function (RectorConfig $rectorConfig): void { |
|
| 10 | +return static function(RectorConfig $rectorConfig): void { |
|
| 11 | 11 | $rectorConfig->phpVersion(PhpVersion::PHP_71); |
| 12 | 12 | //$rectorConfig->indent(' ', 4); |
| 13 | 13 | |
| 14 | 14 | // Traits seems not supported correctly by rector without declaring them as bootstrapFiles |
| 15 | 15 | $arrayoftraitfiles = array( |
| 16 | - __DIR__ . '/../../../htdocs/core/class/commonincoterm.class.php', |
|
| 17 | - __DIR__ . '/../../../htdocs/core/class/commonpeople.class.php', |
|
| 18 | - __DIR__ . '/../../../htdocs/core/class/commonsocialnetworks.class.php' |
|
| 16 | + __DIR__.'/../../../htdocs/core/class/commonincoterm.class.php', |
|
| 17 | + __DIR__.'/../../../htdocs/core/class/commonpeople.class.php', |
|
| 18 | + __DIR__.'/../../../htdocs/core/class/commonsocialnetworks.class.php' |
|
| 19 | 19 | ); |
| 20 | 20 | $rectorConfig->bootstrapFiles($arrayoftraitfiles); |
| 21 | 21 | |
| 22 | 22 | $rectorConfig->paths([ |
| 23 | - __DIR__ . '/../../../htdocs/', |
|
| 24 | - __DIR__ . '/../../../scripts/', |
|
| 25 | - __DIR__ . '/../../../test/phpunit/', |
|
| 23 | + __DIR__.'/../../../htdocs/', |
|
| 24 | + __DIR__.'/../../../scripts/', |
|
| 25 | + __DIR__.'/../../../test/phpunit/', |
|
| 26 | 26 | ]); |
| 27 | 27 | $rectorConfig->skip([ |
| 28 | 28 | '**/includes/**', |
| 29 | 29 | '**/custom/**', |
| 30 | 30 | '**/vendor/**', |
| 31 | - '**/rector/**', // Disable this line to test the "test.php" file. |
|
| 32 | - __DIR__ . '/../../../htdocs/custom/', |
|
| 33 | - __DIR__ . '/../../../htdocs/install/doctemplates/*' |
|
| 31 | + '**/rector/**', // Disable this line to test the "test.php" file. |
|
| 32 | + __DIR__.'/../../../htdocs/custom/', |
|
| 33 | + __DIR__.'/../../../htdocs/install/doctemplates/*' |
|
| 34 | 34 | ]); |
| 35 | 35 | $rectorConfig->parallel(240); |
| 36 | 36 | |