Joachim
Joachim
Events such as PrePoolCreateEvent have Composer\EventDispatcher\Event as their base class. Script events however, have as parent Composer\Script\Event which is a child of Composer\EventDispatcher\Event. This class adds methods such as getComposer()...
My `composer.json`: ```json ...replace me... ``` Output of `composer diagnose`: ``` Checking composer.json: OK Checking platform settings: OK Checking git settings: OK git version 2.42.0 Checking http connectivity to packagist:...
My `composer.json`: ```json { "name": "drupal/git-clone-project", "description": "TODO", "type": "project", "license": "GPL-2.0-or-later", "homepage": "https://www.drupal.org/project/drupal", "support": { "docs": "https://www.drupal.org/docs/user_guide/en/index.html", "chat": "https://www.drupal.org/node/314178" }, "repositories": [ { "type": "path", "url": "repos/drupal", "options": {...
# Feature request I had a custom class that extended Drupal\Core\Routing\RouteSubscriberBase. The old code had: ``` public static function getSubscribedEvents(): { ``` which was not compatible with D10 RouteSubscriberBase's ```...
**Describe the bug** I am getting this error message when doing `drush si --existing-config`: ``` In SiteInstallCommands.php line 182: Existing configuration directory not found or does not contain a core.extension.yml...
**Describe the bug** I did this: ``` ~/Sites/joachim-blog-9 joachim$ drush en -y admin_toolbar codefilter devel markdown [error] module not installed: markdown [success] Successfully enabled: admin_toolbar, codefilter, devel, markdown ``` The...
**Describe the bug** If I do `drush pmu oops_this_module_was_not_enabled_anyway` I get: ``` In PmCommands.php line 177: The following module(s) are not installed: layout_builder_admin_theme. No modules to uninstall. ``` The presence...
**Describe the bug** `drush help mim` says: ``` --progress[=PROGRESS] Show progress bar [default: true] ``` Reading this, I assumed I'd say ` --progress=false` to turn it off, since it gives...
If I use --list-tests, I get a list of all the data sets from the data provider: ``` $ vendor/bin/phpunit Test/Unit/ComponentPHPFile8Test.php --list-tests PHPUnit 7.5.20 by Sebastian Bergmann and contributors. Available...
If I do: ``` 'letters' => DI\create(Letters::class) ->method( 'setLetters', DI\get('alpha'), DI\get('beta'), ), ``` and ``` public function setLetters($alpha, $beta) { ``` then both services are passed in. But if I...