Skip to content

Commit 1a1b29c

Browse files
authoredDec 28, 2024
Issue #331: Done in PR #332
2 parents 57bf12e + 99cf97b commit 1a1b29c

File tree

6 files changed

+8
-10
lines changed

6 files changed

+8
-10
lines changed
 

‎composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"drupal/recaptcha_preloader": "2.0.1",
2323
"drupal/service": "3.0.0",
2424
"drupal/seven": "1.0.0",
25-
"drupal/standwithukraine": "2.0.3",
25+
"drupal/standwithukraine": "3.0.0",
2626
"drupal/symfony_mailer": "1.5.0",
2727
"php": "^8.3"
2828
},

‎d8.info.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: The installation profile for CMS Drupal 10 based on the most common
33

44
type: profile
55
core_version_requirement: ^10.3
6-
version: 0.21.0.189
6+
version: 0.21.0.190
77

88
php: 8.3
99

‎d8.install

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function _d8_update(): void {
7575
$sandbox = [];
7676

7777
foreach (func_get_args() as $number) {
78-
$function = $matches[1] . '_update_' . $number;
78+
$function = "{$matches[1]}_update_$number";
7979

8080
$function($sandbox);
8181
}

‎d8.profile

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function _d8_install_configure_form_submit(
5151
$values = [];
5252

5353
foreach (['name', 'mail'] as $key) {
54-
$values[$key] = (string) $form_state->getValue('site_' . $key);
54+
$values[$key] = (string) $form_state->getValue("site_$key");
5555
}
5656

5757
\Drupal::state()->set('d8', array_filter($values));

‎modules/features/d8_mail/d8_mail.module

+3-5
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ function d8_mail_help(
1919
$output = '';
2020

2121
if ($route_name === 'help.page.d8_mail') {
22-
$output .= '<h3>' . t('About') . '</h3>';
23-
24-
$output .= '<p>';
22+
$output .= "<h3>{t('About')}</h3><p>";
2523

2624
$url = Url::fromRoute('help.page', ['name' => 'symfony_mailer']);
2725

@@ -69,7 +67,7 @@ function d8_mail_theme(
6967
string $path,
7068
): array {
7169
$name = 'email_wrap';
72-
return [$name . '__html' => ['base hook' => $name]];
70+
return ["{$name}__html" => ['base hook' => $name]];
7371
}
7472

7573
/**
@@ -80,6 +78,6 @@ function d8_mail_theme_suggestions_email_wrap_alter(
8078
array $variables,
8179
): void {
8280
if ($variables['is_html']) {
83-
$suggestions[] = $variables['theme_hook_original'] . '__html';
81+
$suggestions[] = "{$variables['theme_hook_original']}__html";
8482
}
8583
}

‎modules/features/d8_standwithukraine/d8_standwithukraine.info.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Provides a wrapper for the StandWithUkraine 🇺🇦 module.
33
package: D8+
44

55
type: module
6-
core_version_requirement: ^10.1
6+
core_version_requirement: ^10.2 || ^11
77

88
dependencies:
99
- standwithukraine:standwithukraine

0 commit comments

Comments
 (0)