-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
17b36a4
commit 9732bf1
Showing
31 changed files
with
300 additions
and
244 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use Rector\Core\Configuration\Option; | ||
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; | ||
|
||
return static function (ContainerConfigurator $containerConfigurator): void { | ||
$containerConfigurator->import(__DIR__ . '/drupal-8.*'); | ||
|
||
$parameters = $containerConfigurator->parameters(); | ||
$parameters->set(Option::EXCLUDE_RECTORS, []); | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use DrupalRector\Rector\Deprecation\DBDeleteRector; | ||
use DrupalRector\Rector\Deprecation\DBInsertRector; | ||
use DrupalRector\Rector\Deprecation\DBQueryRector; | ||
use DrupalRector\Rector\Deprecation\DBSelectRector; | ||
use DrupalRector\Rector\Deprecation\DBUpdateRector; | ||
use DrupalRector\Rector\Deprecation\DrupalLRector; | ||
use DrupalRector\Rector\Deprecation\DrupalRealpathRector; | ||
use DrupalRector\Rector\Deprecation\DrupalRenderRector; | ||
use DrupalRector\Rector\Deprecation\DrupalRenderRootRector; | ||
use DrupalRector\Rector\Deprecation\DrupalURLRector; | ||
use DrupalRector\Rector\Deprecation\EntityCreateRector; | ||
use DrupalRector\Rector\Deprecation\EntityInterfaceLinkRector; | ||
use DrupalRector\Rector\Deprecation\EntityInterfaceUrlInfoRector; | ||
use DrupalRector\Rector\Deprecation\EntityLoadRector; | ||
use DrupalRector\Rector\Deprecation\EntityManagerRector; | ||
use DrupalRector\Rector\Deprecation\FileLoadRector; | ||
use DrupalRector\Rector\Deprecation\FormatDateRector; | ||
use DrupalRector\Rector\Deprecation\LinkGeneratorTraitLRector; | ||
use DrupalRector\Rector\Deprecation\NodeLoadRector; | ||
use DrupalRector\Rector\Deprecation\SafeMarkupFormatRector; | ||
use DrupalRector\Rector\Deprecation\UserLoadRector; | ||
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; | ||
|
||
return static function (ContainerConfigurator $containerConfigurator): void { | ||
$services = $containerConfigurator->services(); | ||
|
||
$services->set(DBInsertRector::class); | ||
|
||
$services->set(DBSelectRector::class); | ||
|
||
$services->set(DBQueryRector::class); | ||
|
||
$services->set(DBDeleteRector::class); | ||
|
||
$services->set(DBUpdateRector::class); | ||
|
||
$services->set(DrupalRenderRector::class); | ||
|
||
$services->set(DrupalRenderRootRector::class); | ||
|
||
$services->set(DrupalURLRector::class); | ||
|
||
$services->set(DrupalLRector::class); | ||
|
||
$services->set(DrupalRealpathRector::class); | ||
|
||
$services->set(EntityCreateRector::class); | ||
|
||
$services->set(EntityInterfaceLinkRector::class); | ||
|
||
$services->set(EntityInterfaceUrlInfoRector::class); | ||
|
||
$services->set(EntityLoadRector::class); | ||
|
||
$services->set(EntityManagerRector::class); | ||
|
||
$services->set(FormatDateRector::class); | ||
|
||
$services->set(FileLoadRector::class); | ||
|
||
$services->set(LinkGeneratorTraitLRector::class); | ||
|
||
$services->set(NodeLoadRector::class); | ||
|
||
$services->set(SafeMarkupFormatRector::class); | ||
|
||
$services->set(UserLoadRector::class); | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; | ||
|
||
return static function (ContainerConfigurator $containerConfigurator): void { | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use DrupalRector\Rector\Deprecation\FileDirectoryOsTempRector; | ||
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; | ||
|
||
return static function (ContainerConfigurator $containerConfigurator): void { | ||
$services = $containerConfigurator->services(); | ||
|
||
$services->set(FileDirectoryOsTempRector::class); | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use DrupalRector\Rector\Deprecation\RequestTimeConstRector; | ||
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; | ||
|
||
return static function (ContainerConfigurator $containerConfigurator): void { | ||
$services = $containerConfigurator->services(); | ||
|
||
$services->set(RequestTimeConstRector::class); | ||
}; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use DrupalRector\Rector\Deprecation\DatetimeDateStorageFormatRector; | ||
use DrupalRector\Rector\Deprecation\DatetimeDatetimeStorageFormatRector; | ||
use DrupalRector\Rector\Deprecation\DatetimeStorageTimezoneRector; | ||
use DrupalRector\Rector\Deprecation\DrupalSetMessageRector; | ||
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; | ||
|
||
return static function (ContainerConfigurator $containerConfigurator): void { | ||
$services = $containerConfigurator->services(); | ||
|
||
$services->set(DrupalSetMessageRector::class); | ||
|
||
$services->set(DatetimeDateStorageFormatRector::class); | ||
|
||
$services->set(DatetimeDatetimeStorageFormatRector::class); | ||
|
||
$services->set(DatetimeStorageTimezoneRector::class); | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use DrupalRector\Rector\Deprecation\UnicodeStrlenRector; | ||
use DrupalRector\Rector\Deprecation\UnicodeStrtolowerRector; | ||
use DrupalRector\Rector\Deprecation\UnicodeSubstrRector; | ||
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; | ||
|
||
return static function (ContainerConfigurator $containerConfigurator): void { | ||
$services = $containerConfigurator->services(); | ||
|
||
$services->set(UnicodeStrlenRector::class); | ||
|
||
$services->set(UnicodeStrtolowerRector::class); | ||
|
||
$services->set(UnicodeSubstrRector::class); | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use DrupalRector\Rector\Deprecation\FileCreateDirectoryRector; | ||
use DrupalRector\Rector\Deprecation\FileExistsRenameRector; | ||
use DrupalRector\Rector\Deprecation\FileExistsReplaceRector; | ||
use DrupalRector\Rector\Deprecation\FileModifyPermissionsRector; | ||
use DrupalRector\Rector\Deprecation\FilePrepareDirectoryRector; | ||
use DrupalRector\Rector\Deprecation\FileUnmanagedSaveDataRector; | ||
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; | ||
|
||
return static function (ContainerConfigurator $containerConfigurator): void { | ||
$services = $containerConfigurator->services(); | ||
|
||
$services->set(FilePrepareDirectoryRector::class); | ||
|
||
$services->set(FileCreateDirectoryRector::class); | ||
|
||
$services->set(FileExistsReplaceRector::class); | ||
|
||
$services->set(FileUnmanagedSaveDataRector::class); | ||
|
||
$services->set(FileModifyPermissionsRector::class); | ||
|
||
$services->set(FileExistsRenameRector::class); | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use DrupalRector\Rector\Deprecation\EntityGetDisplayRector; | ||
use DrupalRector\Rector\Deprecation\EntityGetFormDisplayRector; | ||
use DrupalRector\Rector\Deprecation\EntityTypeGetLowercaseLabelRector; | ||
use DrupalRector\Rector\Deprecation\FileDefaultSchemeRector; | ||
use DrupalRector\Rector\Deprecation\FileDirectoryTempRector; | ||
use DrupalRector\Rector\Deprecation\FileScanDirectoryRector; | ||
use DrupalRector\Rector\Deprecation\FileUriTargetRector; | ||
use DrupalRector\Rector\Deprecation\PathAliasManagerServiceNameRector; | ||
use DrupalRector\Rector\Deprecation\PathAliasRepositoryRector; | ||
use DrupalRector\Rector\Deprecation\PathAliasWhitelistServiceNameRector; | ||
use DrupalRector\Rector\Deprecation\PathProcessorAliasServiceNameRector; | ||
use DrupalRector\Rector\Deprecation\PathSubscriberServiceNameRector; | ||
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; | ||
|
||
return static function (ContainerConfigurator $containerConfigurator): void { | ||
$services = $containerConfigurator->services(); | ||
|
||
$services->set(PathAliasManagerServiceNameRector::class); | ||
|
||
$services->set(PathAliasWhitelistServiceNameRector::class); | ||
|
||
$services->set(PathSubscriberServiceNameRector::class); | ||
|
||
$services->set(PathProcessorAliasServiceNameRector::class); | ||
|
||
$services->set(PathAliasRepositoryRector::class); | ||
|
||
$services->set(FileDefaultSchemeRector::class); | ||
|
||
$services->set(EntityGetDisplayRector::class); | ||
|
||
$services->set(EntityGetFormDisplayRector::class); | ||
|
||
$services->set(EntityTypeGetLowercaseLabelRector::class); | ||
|
||
$services->set(FileScanDirectoryRector::class); | ||
|
||
$services->set(FileDirectoryTempRector::class); | ||
|
||
$services->set(FileUriTargetRector::class); | ||
}; |
Oops, something went wrong.