Problem/Motivation
TypeError: Drupal\hux\HuxModuleHandler::__construct(): Argument #1 ($inner) must be of type Drupal\Core\Extension\ModuleHandlerInterface&Drupal\Core\DestructableInterface, Drupal\Core\Extension\ModuleHandler given, called in /app/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 in Drupal\hux\HuxModuleHandler->__construct() (line 57 of modules/contrib/hux/src/HuxModuleHandler.php).
Steps to reproduce
Install hux on 11.1.0
Issue fork hux-3498052
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
acbramley commentedComment #4
geek-merlinI can confirm this (also see broken translation_bliss pipeline).
The patch looks solid and is green. So RTBC for 1.7.
This was a PITA in the first place and is more of that now, dunno what to do with 1.6 for both d10 and d11.
But targeting pre-change d11 and post-change is the same problem.
Is this core change in a release yet?
Comment #5
geek-merlinMaybe sth like this (plus dropping the &... property type hint) works:
Comment #6
dpiMight be easier to make this a change on only the 11.1 and higher branch.
Comment #7
dpiFYI interface change is in 11.1 and higher. The change is not in 11.0.
Comment #8
dpiComment #10
dpiAs found in 1.8.0