Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@
// PHP version upgrade sets - modernizes syntax to PHP 8.4.
// Includes all rules from PHP 5.3 through 8.4.
->withPhpSets(php84: TRUE)
// Behat attribute sets - converts annotations to PHP 8 attributes.
->withAttributesSets(behat: TRUE)
// Code quality improvement sets.
->withPreparedSets(
codeQuality: TRUE,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,16 @@
use Rector\Privatization\Rector\ClassMethod\PrivatizeFinalClassMethodRector;
use Rector\Privatization\Rector\MethodCall\PrivatizeLocalGetterToPropertyRector;
use Rector\Privatization\Rector\Property\PrivatizeFinalClassPropertyRector;
@@ -99,7 +98,6 @@
@@ -82,8 +81,6 @@
// PHP version upgrade sets - modernizes syntax to PHP 8.4.
// Includes all rules from PHP 5.3 through 8.4.
->withPhpSets(php84: TRUE)
- // Behat attribute sets - converts annotations to PHP 8 attributes.
- ->withAttributesSets(behat: TRUE)
// Code quality improvement sets.
->withPreparedSets(
codeQuality: TRUE,
@@ -101,7 +98,6 @@
// Additional rules.
->withRules([
DeclareStrictTypesRector::class,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,16 @@
use Rector\Privatization\Rector\ClassMethod\PrivatizeFinalClassMethodRector;
use Rector\Privatization\Rector\MethodCall\PrivatizeLocalGetterToPropertyRector;
use Rector\Privatization\Rector\Property\PrivatizeFinalClassPropertyRector;
@@ -99,7 +98,6 @@
@@ -82,8 +81,6 @@
// PHP version upgrade sets - modernizes syntax to PHP 8.4.
// Includes all rules from PHP 5.3 through 8.4.
->withPhpSets(php84: TRUE)
- // Behat attribute sets - converts annotations to PHP 8 attributes.
- ->withAttributesSets(behat: TRUE)
// Code quality improvement sets.
->withPreparedSets(
codeQuality: TRUE,
@@ -101,7 +98,6 @@
// Additional rules.
->withRules([
DeclareStrictTypesRector::class,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@@ -82,8 +82,6 @@
// PHP version upgrade sets - modernizes syntax to PHP 8.4.
// Includes all rules from PHP 5.3 through 8.4.
->withPhpSets(php84: TRUE)
- // Behat attribute sets - converts annotations to PHP 8 attributes.
- ->withAttributesSets(behat: TRUE)
// Code quality improvement sets.
->withPreparedSets(
codeQuality: TRUE,
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@@ -82,8 +82,6 @@
// PHP version upgrade sets - modernizes syntax to PHP 8.4.
// Includes all rules from PHP 5.3 through 8.4.
->withPhpSets(php84: TRUE)
- // Behat attribute sets - converts annotations to PHP 8 attributes.
- ->withAttributesSets(behat: TRUE)
// Code quality improvement sets.
->withPreparedSets(
codeQuality: TRUE,
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Rector\Privatization\Rector\ClassMethod\PrivatizeFinalClassMethodRector;
use Rector\Privatization\Rector\MethodCall\PrivatizeLocalGetterToPropertyRector;
use Rector\Privatization\Rector\Property\PrivatizeFinalClassPropertyRector;
@@ -99,7 +98,6 @@
@@ -101,7 +100,6 @@
// Additional rules.
->withRules([
DeclareStrictTypesRector::class,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Rector\Privatization\Rector\ClassMethod\PrivatizeFinalClassMethodRector;
use Rector\Privatization\Rector\MethodCall\PrivatizeLocalGetterToPropertyRector;
use Rector\Privatization\Rector\Property\PrivatizeFinalClassPropertyRector;
@@ -99,7 +98,6 @@
@@ -101,7 +100,6 @@
// Additional rules.
->withRules([
DeclareStrictTypesRector::class,
Expand Down
4 changes: 4 additions & 0 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@
// PHP version upgrade sets - modernizes syntax to PHP 8.4.
// Includes all rules from PHP 5.3 through 8.4.
->withPhpSets(php84: TRUE)
#;< TOOL_BEHAT
// Behat attribute sets - converts annotations to PHP 8 attributes.
->withAttributesSets(behat: TRUE)
#;> TOOL_BEHAT
// Code quality improvement sets.
->withPreparedSets(
codeQuality: TRUE,
Expand Down
Loading