Skip to content

Commit

Permalink
Merge pull request #632 from City-of-Helsinki/UHF-10015
Browse files Browse the repository at this point in the history
UHF-10015: Configure and update stage file proxy, update coder modules, phpcs fixes
  • Loading branch information
hyrsky authored Apr 25, 2024
2 parents f7a3f62 + 0a33cc8 commit 198bc9d
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 42 deletions.
4 changes: 2 additions & 2 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ DRUPAL_HOSTNAME=helfi-kasko.docker.so
# OpenShift project name
OC_PROJECT_NAME=hki-kasko-kasvatus-koulutus-test

STAGE_FILE_PROXY_ORIGIN=
STAGE_FILE_PROXY_ORIGIN_DIR=
STAGE_FILE_PROXY_ORIGIN=https://stplattaprod.blob.core.windows.net
STAGE_FILE_PROXY_ORIGIN_DIR=kasvatuskoulutus76e5cprod

COMPOSE_PROFILES=search,queue

Expand Down
70 changes: 35 additions & 35 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions public/modules/custom/helfi_group/helfi_group.module
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function helfi_group_entity_field_access(
$operation,
FieldDefinitionInterface $field_definition,
AccountInterface $account,
FieldItemListInterface $items = NULL
FieldItemListInterface $items = NULL,
) {
if ($field_definition->getname() == 'status' && !empty($items)) {
/** @var \Drupal\node\Entity\Node $entity */
Expand Down Expand Up @@ -201,7 +201,7 @@ function helfi_group_module_implements_alter(&$implementations, $hook) : void {
*/
function helfi_group_form_node_form_alter(
array &$form,
FormStateInterface $form_state
FormStateInterface $form_state,
): void {
$form['actions']['submit']['#submit'][] = 'helfi_group_menuitem_set_content_translation_status';

Expand Down Expand Up @@ -262,7 +262,7 @@ function helfi_group_form_node_form_alter(
*/
function helfi_group_menuitem_set_content_translation_status(
array &$form,
FormStateInterface $form_state
FormStateInterface $form_state,
) : void {
$menu_parent = $form['menu']['link']['menu_parent']['#default_value'];
if (!$menu_parent) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static function create(
ContainerInterface $container,
array $configuration,
$plugin_id,
$plugin_definition
$plugin_definition,
) : self {
return new self(
$configuration,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static function create(
ContainerInterface $container,
array $configuration,
$plugin_id,
$plugin_definition
$plugin_definition,
) : static {
$instance = parent::create($container, $configuration, $plugin_id,
$plugin_definition);
Expand Down

0 comments on commit 198bc9d

Please sign in to comment.