Skip to content

Commit 0ae799f

Browse files
mondrakeenzolutions
authored andcommitted
Fix failing TravisCI builds (#4165)
* Update services.yml * 1 * 2
1 parent 2a941ff commit 0ae799f

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

config/services/theme.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ services:
1616
- { name: drupal.command }
1717
console.theme_uninstall:
1818
class: Drupal\Console\Command\Theme\UninstallCommand
19-
arguments: ['@config.factory', '@theme_handler', '@console.chain_queue']
19+
arguments: ['@config.factory', '@theme_handler', '@console.chain_queue', '@console.site', '@console.validator','@module_installer','@console.drupal_api','@console.extension_manager','@app.root']
2020
tags:
2121
- { name: drupal.command }

src/Utils/Validator.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -315,22 +315,6 @@ public function getMissingModules($moduleList)
315315
return array_diff($moduleList, $modules);
316316
}
317317

318-
/**
319-
* @param $moduleList
320-
* @return array
321-
*/
322-
public function getMissingThemes($moduleList)
323-
{
324-
325-
$modules = $this->extensionManager->discoverThemes()
326-
->showInstalled()
327-
->showUninstalled()
328-
->showNoCore()
329-
->showCore()
330-
->getList(true);
331-
332-
return array_diff($moduleList, $modules);
333-
}
334318
/**
335319
* @param $moduleList
336320
* @return array

0 commit comments

Comments
 (0)