Skip to content

Commit

Permalink
ci: test against Drupal 10 (chapter-three#389)
Browse files Browse the repository at this point in the history
* ci: test against Drupal 10

* ci: configure exclude for Drupal 10

* fix(next): update HTMLRenderer
  • Loading branch information
shadcn authored Dec 6, 2022
1 parent fb049bb commit 1b6eac5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ jobs:
strategy:
matrix:
php: ["8.0", "8.1"]
drupal: ["9.3", "9.4"]
drupal: ["9.3", "9.4", "10.0.0-rc1"]
exclude:
- php: "8.0"
drupal: "10.0.0-rc1"
name: Drupal ${{ matrix.drupal }} - PHP ${{ matrix.php }}
services:
mysql:
Expand Down
2 changes: 1 addition & 1 deletion modules/next/src/Render/MainContent/HtmlRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class HtmlRenderer extends CoreHtmlRenderer {
* The theme manager.
*/
public function __construct(TitleResolverInterface $title_resolver, PluginManagerInterface $display_variant_manager, EventDispatcherInterface $event_dispatcher, ModuleHandlerInterface $module_handler, RendererInterface $renderer, RenderCacheInterface $render_cache, array $renderer_config, ConfigFactoryInterface $config_factory, NextEntityTypeManager $next_entity_type_manager, SitePreviewerManagerInterface $site_previewer_manager, ThemeManagerInterface $theme_manager) {
parent::__construct($title_resolver, $display_variant_manager, $event_dispatcher, $module_handler, $renderer, $render_cache, $renderer_config);
parent::__construct($title_resolver, $display_variant_manager, $event_dispatcher, $module_handler, $renderer, $render_cache, $renderer_config, $theme_manager);
$this->configFactory = $config_factory;
$this->nextEntityTypeManager = $next_entity_type_manager;
$this->sitePreviewerManager = $site_previewer_manager;
Expand Down

0 comments on commit 1b6eac5

Please sign in to comment.