Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OEL-0000: Fix d10 upgrade leftovers. #249

Merged
merged 3 commits into from
Jan 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"drupal/core-composer-scaffold": "^10",
"drupal/core-dev": "^10",
"drupal/description_list_field": "^1.0@alpha",
"drupal/entity_reference_revisions": "^1.10",
"drupal/entity_reference_revisions": "^1.11",
"drupal/extra_field": "^2.3",
"drupal/facets_form": "^1.0.0-alpha6",
"drupal/field_group": "^3.4",
Expand All @@ -31,6 +31,7 @@
"drupal/typed_link": "^2.0.1",
"drush/drush": "^11.1",
"mikey179/vfsstream": "^1.6.10",
"nikic/php-parser": "^4",
"openeuropa/code-review": "^2.0.0-alpha6",
"openeuropa/oe_authentication": "^1.11",
"openeuropa/oe_contact_forms": "~1.11",
Expand Down Expand Up @@ -81,11 +82,6 @@
}
}
},
"patches": {
"drupal/entity_reference_revisions": {
"https://www.drupal.org/project/entity_reference_revisions/issues/2937835": "https://www.drupal.org/files/issues/2021-03-26/entity_reference_revisions-field_formatter_label-2937835-36.patch"
}
},
"drupal-scaffold": {
"locations": {
"web-root": "./build"
Expand All @@ -104,7 +100,10 @@
"build/themes/contrib/{$name}": [
"type:drupal-theme"
]
}
},
"_readme": [
"Explicit requirement of nikic/php-parser ^4 as later versions are not compatible with grumphp @see https://github.com/phpro/grumphp/issues/1119"
]
},
"config": {
"sort-packages": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class AddressInlineFormatterTest extends FormatterTestBase {
/**
* {@inheritdoc}
*/
public static $modules = [
protected static $modules = [
'oe_whitelabel_helper',
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: OpenEuropa Whitelabel Link Lists
type: module
description: Companion module for the OE Link Lists module.
package: OpenEuropa Whitelabel Theme
core_version_requirement: ^9.4 || ^10
core_version_requirement: ^10

dependencies:
- oe_link_lists:oe_link_lists
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ protected function setUp(): void {
// enhancers.
// @see CurrentUserContext::getRuntimeContexts().
// @see EntityConverter::convert().
module_load_include('install', 'user');
$this->container->get('module_handler')->loadInclude('user', 'install');
user_install();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ protected function setUp(): void {
'oe_media_iframe',
]);
// Call the install hook of the Media module.
module_load_include('install', 'media');
$this->container->get('module_handler')->loadInclude('media', 'install');
media_install();
}

Expand Down
2 changes: 1 addition & 1 deletion tests/src/Kernel/ContentRenderTestBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ protected function setUp(): void {
->grantPermission('view media')
->save();

module_load_include('install', 'oe_content');
$this->container->get('module_handler')->loadInclude('oe_content', 'install');
oe_content_install(FALSE);

$this->nodeViewBuilder = $this->container->get('entity_type.manager')->getViewBuilder('node');
Expand Down
2 changes: 1 addition & 1 deletion tests/src/Kernel/ProjectRenderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ protected function setUp(): void {
'oe_whitelabel_extra_project',
]);

module_load_include('install', 'oe_whitelabel_extra_project');
$this->container->get('module_handler')->loadInclude('oe_whitelabel_extra_project', 'install');
oe_whitelabel_extra_project_install(FALSE);
}

Expand Down