Skip to content

Commit

Permalink
Removed migrate_plus and migrate_tools dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tuutti committed Jan 19, 2021
1 parent 7519a3b commit 91a38ac
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 9 deletions.
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"license": "GPL-2.0-or-later",
"minimum-stability": "dev",
"require": {
"drupal/api_tools": "~1.0.0",
"drupal/migrate_plus": "~5.0"
"drupal/api_tools": "~1.0.0"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
Expand Down
1 change: 0 additions & 1 deletion helfi_api_base.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ core_version_requirement: ^8 || ^9
dependencies:
- api_tools
- migrate
- migrate_plus
2 changes: 1 addition & 1 deletion src/Plugin/Action/MigrationUpdateAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
use Drupal\Core\Session\AccountInterface;
use Drupal\helfi_api_base\Entity\RemoteEntityBase;
use Drupal\helfi_api_base\MigrateTrait;
use Drupal\migrate\MigrateExecutable;
use Drupal\migrate\MigrateMessage;
use Drupal\migrate\Plugin\MigrationInterface;
use Drupal\migrate\Plugin\MigrationPluginManagerInterface;
use Drupal\migrate_tools\MigrateExecutable;
use Symfony\Component\DependencyInjection\ContainerInterface;

/**
Expand Down
1 change: 0 additions & 1 deletion tests/src/Functional/MigrationTestBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ abstract class MigrationTestBase extends BrowserTestBase implements MigrateMessa
*/
protected static $modules = [
'migrate',
'migrate_plus',
'language',
'content_translation',
];
Expand Down
1 change: 0 additions & 1 deletion tests/src/Kernel/MigrationSubscriberTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ class MigrationSubscriberTest extends ApiKernelTestBase {
* {@inheritdoc}
*/
protected static $modules = [
'migrate_plus',
'migrate',
'system',
'remote_entity_test',
Expand Down
3 changes: 1 addition & 2 deletions tests/src/Kernel/MigrationTestBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ abstract class MigrationTestBase extends ApiKernelTestBase implements MigrateMes
*/
protected static $modules = [
'migrate',
'migrate_plus',
'language',
'content_translation',
];
Expand All @@ -31,7 +30,7 @@ abstract class MigrationTestBase extends ApiKernelTestBase implements MigrateMes
public function setUp() : void {
parent::setUp();

$this->installConfig(['language', 'content_translation', 'migrate_plus']);
$this->installConfig(['language', 'content_translation']);

foreach (['fi', 'sv'] as $langcode) {
ConfigurableLanguage::createFromLangcode($langcode)->save();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ class EntityChangedTest extends ApiKernelTestBase {
* {@inheritdoc}
*/
protected static $modules = [
'migrate_plus',
'migrate',
'system',
'remote_entity_test',
Expand Down

0 comments on commit 91a38ac

Please sign in to comment.