UpgradeData.php 809 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\TestSetupDeclarationModule3\Setup;
  7. use Magento\Framework\Setup\ModuleContextInterface;
  8. use Magento\Framework\Setup\ModuleDataSetupInterface;
  9. use Magento\Framework\Setup\UpgradeDataInterface;
  10. /**
  11. * Class InstallData
  12. * @package Magento\TestSetupDeclarationModule3\Setup
  13. */
  14. class UpgradeData implements UpgradeDataInterface
  15. {
  16. /**
  17. * {@inheritdoc}
  18. * @SuppressWarnings(PHPMD.CyclomaticComplexity)
  19. * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
  20. * @SuppressWarnings(PHPMD.NPathComplexity)
  21. */
  22. public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface $context)
  23. {
  24. $setup->startSetup();
  25. $setup->endSetup();
  26. }
  27. }