-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #196 from magento-commerce/develop
Version 26 master update
- Loading branch information
Showing
13 changed files
with
472 additions
and
382 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
9 changes: 4 additions & 5 deletions
9
Magento2/Rector/Tests/AddArrayAccessInterfaceReturnTypes/config/configured_rule.php
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 |
---|---|---|
@@ -1,14 +1,13 @@ | ||
<?php | ||
/** | ||
* Copyright 2021 Adobe | ||
* Copyright 2022 Adobe | ||
* See COPYING.txt for license details. | ||
*/ | ||
declare(strict_types=1); | ||
|
||
use Magento2\Rector\Src\AddArrayAccessInterfaceReturnTypes; | ||
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; | ||
use Rector\Config\RectorConfig; | ||
|
||
return static function (ContainerConfigurator $containerConfigurator): void { | ||
$services = $containerConfigurator->services(); | ||
$services->set(AddArrayAccessInterfaceReturnTypes::class); | ||
return static function (RectorConfig $rectorConfig): void { | ||
$rectorConfig->rule(AddArrayAccessInterfaceReturnTypes::class); | ||
}; |
9 changes: 4 additions & 5 deletions
9
Magento2/Rector/Tests/ReplaceMbStrposNullLimit/config/configured_rule.php
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 |
---|---|---|
@@ -1,14 +1,13 @@ | ||
<?php | ||
/** | ||
* Copyright 2021 Adobe | ||
* Copyright 2022 Adobe | ||
* See COPYING.txt for license details. | ||
*/ | ||
declare(strict_types=1); | ||
|
||
use Magento2\Rector\Src\ReplaceMbStrposNullLimit; | ||
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; | ||
use Rector\Config\RectorConfig; | ||
|
||
return static function (ContainerConfigurator $containerConfigurator): void { | ||
$services = $containerConfigurator->services(); | ||
$services->set(ReplaceMbStrposNullLimit::class); | ||
return static function (RectorConfig $rectorConfig): void { | ||
$rectorConfig->rule(ReplaceMbStrposNullLimit::class); | ||
}; |
9 changes: 4 additions & 5 deletions
9
Magento2/Rector/Tests/ReplaceNewDateTimeNull/config/configured_rule.php
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 |
---|---|---|
@@ -1,14 +1,13 @@ | ||
<?php | ||
/** | ||
* Copyright 2021 Adobe | ||
* Copyright 2022 Adobe | ||
* See COPYING.txt for license details. | ||
*/ | ||
declare(strict_types=1); | ||
|
||
use Magento2\Rector\Src\ReplaceNewDateTimeNull; | ||
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; | ||
use Rector\Config\RectorConfig; | ||
|
||
return static function (ContainerConfigurator $containerConfigurator): void { | ||
$services = $containerConfigurator->services(); | ||
$services->set(ReplaceNewDateTimeNull::class); | ||
return static function (RectorConfig $rectorConfig): void { | ||
$rectorConfig->rule(ReplaceNewDateTimeNull::class); | ||
}; |
9 changes: 4 additions & 5 deletions
9
Magento2/Rector/Tests/ReplacePregSplitNullLimit/config/configured_rule.php
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 |
---|---|---|
@@ -1,14 +1,13 @@ | ||
<?php | ||
/** | ||
* Copyright 2021 Adobe | ||
* Copyright 2022 Adobe | ||
* See COPYING.txt for license details. | ||
*/ | ||
declare(strict_types=1); | ||
|
||
use Magento2\Rector\Src\ReplacePregSplitNullLimit; | ||
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; | ||
use Rector\Config\RectorConfig; | ||
|
||
return static function (ContainerConfigurator $containerConfigurator): void { | ||
$services = $containerConfigurator->services(); | ||
$services->set(ReplacePregSplitNullLimit::class); | ||
return static function (RectorConfig $rectorConfig): void { | ||
$rectorConfig->rule(ReplacePregSplitNullLimit::class); | ||
}; |
Oops, something went wrong.