Skip to content

Commit 835796e

Browse files
author
Sergii Kovalenko
committed
MAGETWO-88047: Create integration test for Mixed Mode
1 parent 88161ed commit 835796e

File tree

7 files changed

+0
-22
lines changed

7 files changed

+0
-22
lines changed

dev/tests/setup-integration/_files/Magento/TestSetupDeclarationModule7/Setup/InstallSchema.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ class InstallSchema implements InstallSchemaInterface
1717
{
1818
/**
1919
* {@inheritdoc}
20-
*
21-
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
2220
*/
2321
public function install(SchemaSetupInterface $setup, ModuleContextInterface $context)
2422
{

dev/tests/setup-integration/_files/Magento/TestSetupDeclarationModule7/Setup/UpgradeData.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ class UpgradeData implements UpgradeDataInterface
1717
{
1818
/**
1919
* {@inheritdoc}
20-
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
21-
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
22-
* @SuppressWarnings(PHPMD.NPathComplexity)
2320
*/
2421
public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface $context)
2522
{

dev/tests/setup-integration/_files/Magento/TestSetupDeclarationModule7/Setup/UpgradeSchema.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ class UpgradeSchema implements UpgradeSchemaInterface
1818
{
1919
/**
2020
* {@inheritdoc}
21-
*
22-
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
2321
*/
2422
public function upgrade(SchemaSetupInterface $setup, ModuleContextInterface $context)
2523
{

dev/tests/setup-integration/_files/Magento/TestSetupDeclarationModule7/revisions/swap_with_declaration/SomePatch.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
*/
1717
class SomePatch implements
1818
DataPatchInterface,
19-
PatchRevertableInterface,
2019
PatchVersionInterface
2120
{
2221
/**
@@ -58,10 +57,6 @@ public function apply()
5857
$adapter->insert('test_table', ['varchar' => "_ref"]);
5958
}
6059

61-
public function revert()
62-
{
63-
}
64-
6560
/**
6661
* @return array
6762
*/

dev/tests/setup-integration/_files/Magento/TestSetupDeclarationModule7/revisions/swap_with_declaration/SomeSkippedPatch.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
*/
1717
class SomeSkippedPatch implements
1818
DataPatchInterface,
19-
PatchRevertableInterface,
2019
PatchVersionInterface
2120
{
2221
/**
@@ -57,10 +56,6 @@ public function apply()
5756
throw new \Exception('This patch should be skipped!');
5857
}
5958

60-
public function revert()
61-
{
62-
}
63-
6459
/**
6560
* @return array
6661
*/

dev/tests/setup-integration/_files/Magento/TestSetupDeclarationModule7/revisions/us_to_us/UpgradeData.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ class UpgradeData implements UpgradeDataInterface
1717
{
1818
/**
1919
* {@inheritdoc}
20-
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
21-
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
22-
* @SuppressWarnings(PHPMD.NPathComplexity)
2320
*/
2421
public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface $context)
2522
{

dev/tests/setup-integration/_files/Magento/TestSetupDeclarationModule7/revisions/us_to_us/UpgradeSchema.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ class UpgradeSchema implements UpgradeSchemaInterface
1818
{
1919
/**
2020
* {@inheritdoc}
21-
*
22-
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
2321
*/
2422
public function upgrade(SchemaSetupInterface $setup, ModuleContextInterface $context)
2523
{

0 commit comments

Comments
 (0)