Skip to content

Commit 87ad5aa

Browse files
committed
Updated Rector config.
1 parent 6dd7785 commit 87ad5aa

7 files changed

Lines changed: 11 additions & 7 deletions

File tree

.vortex/installer/tests/Fixtures/handler_process/_baseline/rector.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
use Rector\CodeQuality\Rector\ClassMethod\InlineArrayReturnAssignRector;
2424
use Rector\CodeQuality\Rector\Empty_\SimplifyEmptyCheckOnEmptyArrayRector;
2525
use Rector\CodingStyle\Rector\Catch_\CatchExceptionNameMatchingTypeRector;
26+
use Rector\CodingStyle\Rector\ClassLike\NewlineBetweenClassLikeStmtsRector;
2627
use Rector\CodingStyle\Rector\ClassMethod\NewlineBeforeNewAssignSetRector;
2728
use Rector\CodingStyle\Rector\FuncCall\CountArrayToEmptyArrayComparisonRector;
2829
use Rector\CodingStyle\Rector\FunctionLike\FunctionLikeToFirstClassCallableRector;
@@ -63,6 +64,7 @@
6364
InlineArrayReturnAssignRector::class,
6465
NewlineAfterStatementRector::class,
6566
NewlineBeforeNewAssignSetRector::class,
67+
NewlineBetweenClassLikeStmtsRector::class,
6668
PrivatizeFinalClassMethodRector::class,
6769
PrivatizeFinalClassPropertyRector::class,
6870
PrivatizeLocalGetterToPropertyRector::class,

.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/rector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@@ -44,10 +44,10 @@
1+
@@ -45,10 +45,10 @@
22

33
return RectorConfig::configure()
44
->withPaths([
@@ -13,7 +13,7 @@
1313
__DIR__ . '/tests',
1414
])
1515
->withSkip([
16-
@@ -72,7 +72,7 @@
16+
@@ -74,7 +74,7 @@
1717
RenameVariableToMatchNewTypeRector::class,
1818
SimplifyEmptyCheckOnEmptyArrayRector::class,
1919
StringClassNameToClassConstantRector::class => [

.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/rector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@@ -44,10 +44,10 @@
1+
@@ -45,10 +45,10 @@
22

33
return RectorConfig::configure()
44
->withPaths([
@@ -13,7 +13,7 @@
1313
__DIR__ . '/tests',
1414
])
1515
->withSkip([
16-
@@ -72,7 +72,7 @@
16+
@@ -74,7 +74,7 @@
1717
RenameVariableToMatchNewTypeRector::class,
1818
SimplifyEmptyCheckOnEmptyArrayRector::class,
1919
StringClassNameToClassConstantRector::class => [

.vortex/installer/tests/Fixtures/handler_process/theme_claro/rector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@@ -45,7 +45,6 @@
1+
@@ -46,7 +46,6 @@
22
return RectorConfig::configure()
33
->withPaths([
44
__DIR__ . '/web/modules/custom',

.vortex/installer/tests/Fixtures/handler_process/theme_olivero/rector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@@ -45,7 +45,6 @@
1+
@@ -46,7 +46,6 @@
22
return RectorConfig::configure()
33
->withPaths([
44
__DIR__ . '/web/modules/custom',

.vortex/installer/tests/Fixtures/handler_process/theme_stark/rector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@@ -45,7 +45,6 @@
1+
@@ -46,7 +46,6 @@
22
return RectorConfig::configure()
33
->withPaths([
44
__DIR__ . '/web/modules/custom',

rector.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
use Rector\CodeQuality\Rector\ClassMethod\InlineArrayReturnAssignRector;
2424
use Rector\CodeQuality\Rector\Empty_\SimplifyEmptyCheckOnEmptyArrayRector;
2525
use Rector\CodingStyle\Rector\Catch_\CatchExceptionNameMatchingTypeRector;
26+
use Rector\CodingStyle\Rector\ClassLike\NewlineBetweenClassLikeStmtsRector;
2627
use Rector\CodingStyle\Rector\ClassMethod\NewlineBeforeNewAssignSetRector;
2728
use Rector\CodingStyle\Rector\FuncCall\CountArrayToEmptyArrayComparisonRector;
2829
use Rector\CodingStyle\Rector\FunctionLike\FunctionLikeToFirstClassCallableRector;
@@ -63,6 +64,7 @@
6364
InlineArrayReturnAssignRector::class,
6465
NewlineAfterStatementRector::class,
6566
NewlineBeforeNewAssignSetRector::class,
67+
NewlineBetweenClassLikeStmtsRector::class,
6668
PrivatizeFinalClassMethodRector::class,
6769
PrivatizeFinalClassPropertyRector::class,
6870
PrivatizeLocalGetterToPropertyRector::class,

0 commit comments

Comments
 (0)