Skip to content
Snippets Groups Projects
Commit cb16e5e6 authored by Luca Lusso's avatar Luca Lusso
Browse files

Fix webprofiler:export-database-data command

parent 945a4f41
No related branches found
No related tags found
No related merge requests found
Pipeline #488995 passed
......@@ -7,7 +7,8 @@ include:
- '/includes/include.drupalci.workflows.yml'
variables:
OPT_IN_TEST_NEXT_MAJOR: 1
OPT_IN_TEST_PREVIOUS_MINOR: 1
OPT_IN_TEST_NEXT_MINOR: 1
_SHOW_ENVIRONMENT_VARIABLES: 1
phpcs:
......
......@@ -16,6 +16,7 @@
],
"require": {
"php": ">=8.3",
"drupal/core": ">=11",
"drupal/devel": "^5.0",
"drupal/tracer": "^1.2",
"league/commonmark": "~2.4",
......@@ -37,13 +38,6 @@
"phpunit/phpunit": ">=9",
"previousnext/coding-standard": "^1.0"
},
"extra": {
"drush": {
"services": {
"drush.services.yml": "^11"
}
}
},
"config": {
"allow-plugins": {
"composer/installers": true,
......@@ -51,7 +45,8 @@
"php-http/discovery": true,
"phpstan/extension-installer": true,
"cweagans/composer-patches": true,
"drupal/core-composer-scaffold": true
"drupal/core-composer-scaffold": true,
"tbachert/spi": true
}
}
}
......@@ -24,6 +24,7 @@ final class ExportDatabaseDataCommands extends DrushCommands {
public function __construct(
#[Autowire('webprofiler.profiler')]
private readonly Profiler $profiler,
#[Autowire('webprofiler.twig.database_extension')]
private readonly DatabaseExtension $databaseExtension,
) {
parent::__construct();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment