diff --git a/path_alias_xt.module b/path_alias_xt.module
index 4b7dd8e..725ef73 100644
--- a/path_alias_xt.module
+++ b/path_alias_xt.module
@@ -16,7 +16,7 @@ function path_alias_xt_help($route_name, RouteMatchInterface $route_match) {
     case 'help.page.path_alias_xt':
       $output = '<p>';
       $output .= t('Installation instructions are in the README.txt file. Further documentation is on the <a href="@path_alias_xt">Extended Path Aliases</a> project page.',
-        array('@path_alias_xt' => Url::fromUri('http://drupal.org/project/path_alias_xt')->toString()));
+        ['@path_alias_xt' => Url::fromUri('http://drupal.org/project/path_alias_xt')->toString()]);
       $output .= '</p>';
 
       return ['#markup' => $output];
diff --git a/src/Form/PathAliasXtSettingsForm.php b/src/Form/PathAliasXtSettingsForm.php
index d51c5ef..807dd79 100644
--- a/src/Form/PathAliasXtSettingsForm.php
+++ b/src/Form/PathAliasXtSettingsForm.php
@@ -31,22 +31,22 @@ class PathAliasXtSettingsForm extends ConfigFormBase {
   public function buildForm(array $form, FormStateInterface $form_state) {
     $config = $this->config('path_alias_xt.settings');
 
-    $form['user_special'] = array(
+    $form['user_special'] = [
       '#type' => 'checkbox',
       '#title' => $this->t('For the current user: instead of <em>/user/uid</em> or its alias, apply the alias for <em>/user</em>.'),
       '#default_value' => $config->get('user_special'),
-      '#description' => $this->t('If ticked and the system path <em>/user</em> has an <a target="alias" href="@alias">alias</a>, such as <em>/MyAccount</em>, then <em>/MyAccount</em> will also be applied when a user visits their <em>/user/uid/...</em> pages.<br/>For this feature to work you must complete the full installation procedure outlined in the <a href="@README">README</a>.', array(
+      '#description' => $this->t('If ticked and the system path <em>/user</em> has an <a target="alias" href="@alias">alias</a>, such as <em>/MyAccount</em>, then <em>/MyAccount</em> will also be applied when a user visits their <em>/user/uid/...</em> pages.<br/>For this feature to work you must complete the full installation procedure outlined in the <a href="@README">README</a>.', [
         '@alias' => Url::fromRoute('path.admin_overview')->toString(),
-        '@README' => Url::fromUserInput('/' . drupal_get_path('module', 'path_alias_xt') . '/README.txt')->toString()))
-    );
+        '@README' => Url::fromUserInput('/' . drupal_get_path('module', 'path_alias_xt') . '/README.txt')->toString()])
+    ];
 
-    $form['regex_pattern'] = array(
+    $form['regex_pattern'] = [
       '#type' => 'textfield',
       '#size' => 100,
       '#title' => $this->t('Regular expression to match system paths for nodes, users and taxonomy terms'),
       '#default_value' => $config->get('regex_pattern'),
       '#description' => $this->t("While you can always reset this configuration and recover without permanent damage to your site, a change to this expression may temporarily break all extended aliases. Change only when you know what you're doing.")
-    );
+    ];
 
     return parent::buildForm($form, $form_state);
   }
diff --git a/src/PathAliasXtProcessorAlias.php b/src/PathAliasXtProcessorAlias.php
index aab6b5b..518d3b4 100644
--- a/src/PathAliasXtProcessorAlias.php
+++ b/src/PathAliasXtProcessorAlias.php
@@ -54,7 +54,7 @@ class PathAliasXtProcessorAlias extends PathProcessorAlias {
   /**
    * {@inheritdoc}
    */
-  public function processOutbound($path, &$options = array(), Request $request = NULL, BubbleableMetadata $bubbleable_metadata = NULL) {
+  public function processOutbound($path, &$options = [], Request $request = NULL, BubbleableMetadata $bubbleable_metadata = NULL) {
     $path = parent::processOutbound($path, $options, $request, $bubbleable_metadata);
 
     $config = $this->configFactory->get('path_alias_xt.settings');
