From e7f4a0a63d4e1087a9fd30714cdff6b96d07aa06 Mon Sep 17 00:00:00 2001 From: Johannes Rauh Date: Tue, 19 May 2026 08:23:10 +0200 Subject: [PATCH] Convert `array()` to `[]` in application view scripts --- application/layouts/scripts/body.phtml | 4 +-- .../layouts/scripts/parts/navigation.phtml | 4 +-- application/views/scripts/about/index.phtml | 14 ++++---- .../views/scripts/announcements/index.phtml | 12 +++---- .../views/scripts/config/modules.phtml | 6 ++-- .../views/scripts/config/resource.phtml | 16 ++++----- .../scripts/config/userbackend/reorder.phtml | 20 +++++------ .../views/scripts/dashboard/settings.phtml | 22 ++++++------ .../scripts/form/reorder-authbackend.phtml | 12 +++---- application/views/scripts/group/list.phtml | 22 ++++++------ application/views/scripts/group/show.phtml | 22 ++++++------ .../views/scripts/joystickPagination.phtml | 36 +++++++++---------- .../views/scripts/mixedPagination.phtml | 6 ++-- .../views/scripts/navigation/dashboard.phtml | 2 +- .../views/scripts/navigation/index.phtml | 20 +++++------ .../views/scripts/navigation/shared.phtml | 10 +++--- .../views/scripts/pivottablePagination.phtml | 2 +- application/views/scripts/role/list.phtml | 14 ++++---- application/views/scripts/user/list.phtml | 22 ++++++------ application/views/scripts/user/show.phtml | 26 +++++++------- 20 files changed, 146 insertions(+), 146 deletions(-) diff --git a/application/layouts/scripts/body.phtml b/application/layouts/scripts/body.phtml index 87b570bfe..31d6d2abd 100644 --- a/application/layouts/scripts/body.phtml +++ b/application/layouts/scripts/body.phtml @@ -38,11 +38,11 @@ if ($this->layout()->inlineLayout) { '', Auth::getInstance()->isAuthenticated() ? 'dashboard' : '', null, - array( + [ 'aria-hidden' => 'true', 'data-base-target' => '_main', 'id' => 'header-logo' - ) + ] ); ?>
diff --git a/application/layouts/scripts/parts/navigation.phtml b/application/layouts/scripts/parts/navigation.phtml index dd973f5c5..e682f83c8 100644 --- a/application/layouts/scripts/parts/navigation.phtml +++ b/application/layouts/scripts/parts/navigation.phtml @@ -24,9 +24,9 @@ if (! $this->auth()->isAuthenticated()) { partial( 'layout/menu.phtml', 'default', - array( + [ 'menuRenderer' => (new Menu())->getRenderer()->setUseStandardItemRenderer() - ) + ] ) ?>