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
36 changes: 0 additions & 36 deletions app/code/Magento/BundleSampleData/Setup/InstallData.php

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/

namespace Magento\BundleSampleData\Setup\Patch\Data;

use Magento\Framework\Setup;
use Magento\Setup\Model\Patch\DataPatchInterface;
use Magento\Setup\Model\Patch\PatchVersionInterface;

/**
* Class InstallBundleSampleData
* @package Magento\BundleSampleData\Setup\Patch\Data
*/
class InstallBundleSampleData implements DataPatchInterface, PatchVersionInterface
{
/**
* @var Setup\SampleData\Executor
*/
protected $executor;

/**
* @var \Magento\BundleSampleData\Setup\Installer
*/
protected $installer;

/**
* InstallBundleSampleData constructor.
* @param Setup\SampleData\Executor $executor
* @param \Magento\BundleSampleData\Setup\Installer $installer
*/
public function __construct(
Setup\SampleData\Executor $executor,
\Magento\BundleSampleData\Setup\Installer $installer
) {
$this->executor = $executor;
$this->installer = $installer;
}

/**
* {@inheritdoc}
*/
public function apply()
{
$this->executor->exec($this->installer);
}

/**
* {@inheritdoc}
*/
public static function getDependencies()
{
return [];
}

/**
* {@inheritdoc}
*/
public static function getVersion()
{
return '2.0.0';
}

/**
* {@inheritdoc}
*/
public function getAliases()
{
return [];
}
}
2 changes: 1 addition & 1 deletion app/code/Magento/BundleSampleData/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_BundleSampleData" setup_version="2.0.0">
<module name="Magento_BundleSampleData" >
<sequence>
<module name="Magento_Catalog"/>
<module name="Magento_Bundle"/>
Expand Down
35 changes: 0 additions & 35 deletions app/code/Magento/CatalogRuleSampleData/Setup/InstallData.php

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/

namespace Magento\CatalogRuleSampleData\Setup\Patch\Data;

use Magento\Framework\Setup;
use Magento\Setup\Model\Patch\DataPatchInterface;
use Magento\Setup\Model\Patch\PatchVersionInterface;

/**
* Class InstallCatalogRuleSampleData
* @package Magento\CatalogRuleSampleData\Setup\Patch\Data
*/
class InstallCatalogRuleSampleData implements DataPatchInterface, PatchVersionInterface
{
/**
* @var Setup\SampleData\Executor
*/
protected $executor;

/**
* @var \Magento\CatalogRuleSampleData\Setup\Installer
*/
protected $installer;

/**
* InstallCatalogRuleSampleData constructor.
* @param Setup\SampleData\Executor $executor
* @param \Magento\CatalogRuleSampleData\Setup\Installer $installer
*/
public function __construct(
Setup\SampleData\Executor $executor,
\Magento\CatalogRuleSampleData\Setup\Installer $installer
) {
$this->executor = $executor;
$this->installer = $installer;
}

/**
* {@inheritdoc}
*/
public function apply()
{
$this->executor->exec($this->installer);
}

/**
* {@inheritdoc}
*/
public static function getDependencies()
{
return [];
}

/**
* {@inheritdoc}
*/
public static function getVersion()
{
return '2.0.0';
}

/**
* {@inheritdoc}
*/
public function getAliases()
{
return [];
}
}
2 changes: 1 addition & 1 deletion app/code/Magento/CatalogRuleSampleData/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_CatalogRuleSampleData" setup_version="2.0.0">
<module name="Magento_CatalogRuleSampleData" >
<sequence>
<module name="Magento_CatalogRuleConfigurable"/>
<module name="Magento_SampleData"/>
Expand Down
35 changes: 0 additions & 35 deletions app/code/Magento/CatalogSampleData/Setup/InstallData.php

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/

namespace Magento\CatalogSampleData\Setup\Patch\Data;

use Magento\Framework\Setup;
use Magento\Setup\Model\Patch\DataPatchInterface;
use Magento\Setup\Model\Patch\PatchVersionInterface;

/**
* Class InstallCatalogSampleData
* @package Magento\CatalogSampleData\Setup\Patch\Data
*/
class InstallCatalogSampleData implements DataPatchInterface, PatchVersionInterface
{
/**
* @var Setup\SampleData\Executor
*/
protected $executor;

/**
* @var \Magento\CatalogSampleData\Setup\Installer
*/
protected $installer;

/**
* InstallCatalogSampleData constructor.
* @param Setup\SampleData\Executor $executor
* @param \Magento\CatalogSampleData\Setup\Installer $installer
*/
public function __construct(
Setup\SampleData\Executor $executor,
\Magento\CatalogSampleData\Setup\Installer $installer
) {
$this->executor = $executor;
$this->installer = $installer;
}

/**
* {@inheritdoc}
*/
public function apply()
{
$this->executor->exec($this->installer);
}

/**
* {@inheritdoc}
*/
public static function getDependencies()
{
return [];
}

/**
* {@inheritdoc}
*/
public static function getVersion()
{
return '2.0.0';
}

/**
* {@inheritdoc}
*/
public function getAliases()
{
return [];
}
}
2 changes: 1 addition & 1 deletion app/code/Magento/CatalogSampleData/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_CatalogSampleData" setup_version="2.0.0">
<module name="Magento_CatalogSampleData" >
<sequence>
<module name="Magento_Store"/>
<module name="Magento_Eav"/>
Expand Down
35 changes: 0 additions & 35 deletions app/code/Magento/CmsSampleData/Setup/InstallData.php

This file was deleted.

Loading