diff --git a/core/modules/contextual/src/Element/ContextualLinks.php b/core/modules/contextual/src/Element/ContextualLinks.php
index 62e8966..68021aa 100644
--- a/core/modules/contextual/src/Element/ContextualLinks.php
+++ b/core/modules/contextual/src/Element/ContextualLinks.php
@@ -45,14 +45,14 @@ public function getInfo() {
    *   - route_parameters: The route parameters passed to the url generator.
    *   - metadata: Any additional data needed in order to alter the link.
    *   @code
-   *     array('#contextual_links' => array(
-   *       'block' => array(
-   *         'route_parameters' => array('block' => 'system.menu-tools'),
-   *       ),
-   *       'menu' => array(
-   *         'route_parameters' => array('menu' => 'tools'),
-   *       ),
-   *     ))
+   *     ['#contextual_links' => [
+   *       'block' => [
+   *         'route_parameters' => ['block' => 'system.menu-tools'],
+   *       ],
+   *       'menu' => [
+   *         'route_parameters' => ['menu' => 'tools'],
+   *       ],
+   *     ]]
    *   @endcode
    *
    * @return array
diff --git a/core/modules/field_ui/src/Form/EntityDisplayFormBase.php b/core/modules/field_ui/src/Form/EntityDisplayFormBase.php
index 62a46b1..e420a57 100644
--- a/core/modules/field_ui/src/Form/EntityDisplayFormBase.php
+++ b/core/modules/field_ui/src/Form/EntityDisplayFormBase.php
@@ -76,8 +76,8 @@ public function getEntityFromRouteMatch(RouteMatchInterface $route_match, $entit
    * @return array
    *   Example usage:
    *   @code
-   *     return array(
-   *       'content' => array(
+   *     return [
+   *       'content' => [
    *         // label for the region.
    *         'title' => $this->t('Content'),
    *         // Indicates if the region is visible in the UI.
@@ -85,8 +85,8 @@ public function getEntityFromRouteMatch(RouteMatchInterface $route_match, $entit
    *         // A message to indicate that there is nothing to be displayed in
    *         // the region.
    *         'message' => $this->t('No field is displayed.'),
-   *       ),
-   *     );
+   *       ],
+   *     ];
    *   @endcode
    */
   public function getRegions() {
diff --git a/core/modules/locale/locale.bulk.inc b/core/modules/locale/locale.bulk.inc
index 3e256c2..2e1977e 100644
--- a/core/modules/locale/locale.bulk.inc
+++ b/core/modules/locale/locale.bulk.inc
@@ -205,7 +205,7 @@ function locale_translate_batch_import($file, array $options, &$context) {
           'seek' => 0,
         ];
       }
-      // Update the seek and the number of items in the $options array().
+      // Update the seek and the number of items in the $options array.
       $options['seek'] = $context['sandbox']['parse_state']['seek'];
       $options['items'] = $context['sandbox']['parse_state']['chunk_size'];
       $report = Gettext::fileToDatabase($file, $options);
diff --git a/core/modules/migrate/src/Plugin/Migration.php b/core/modules/migrate/src/Plugin/Migration.php
index 13092e7..a5c0252 100644
--- a/core/modules/migrate/src/Plugin/Migration.php
+++ b/core/modules/migrate/src/Plugin/Migration.php
@@ -162,15 +162,15 @@ class Migration extends PluginBase implements MigrationInterface, RequirementsIn
    *
    * The migration_dependencies value is structured like this:
    * @code
-   * array(
-   *   'required' => array(
+   * [
+   *   'required' => [
    *     // An array of migration IDs that must be run before this migration.
-   *   ),
-   *   'optional' => array(
+   *   ],
+   *   'optional' => [
    *     // An array of migration IDs that, if they exist, must be run before
    *     // this migration.
-   *   ),
-   * );
+   *   ],
+   * ];
    * @endcode
    *
    * @var array
diff --git a/core/modules/node/node.api.php b/core/modules/node/node.api.php
index 6041874..828e50d 100644
--- a/core/modules/node/node.api.php
+++ b/core/modules/node/node.api.php
@@ -43,20 +43,20 @@
  * access modules can also grant "view all" permission on their custom realms;
  * for example, a module could create a record in {node_access} with:
  * @code
- * $record = array(
+ * $record = [
  *   'nid' => 0,
  *   'gid' => 888,
  *   'realm' => 'example_realm',
  *   'grant_view' => 1,
  *   'grant_update' => 0,
  *   'grant_delete' => 0,
- * );
+ * ];
  * db_insert('node_access')->fields($record)->execute();
  * @endcode
  * And then in its hook_node_grants() implementation, it would need to return:
  * @code
  * if ($op == 'view') {
- *   $grants['example_realm'] = array(888);
+ *   $grants['example_realm'] = [888];
  * }
  * @endcode
  * If you decide to do this, be aware that the node_access_rebuild() function
@@ -130,14 +130,14 @@ function hook_node_grants(\Drupal\Core\Session\AccountInterface $account, $op) {
  * A "deny all" grant may be used to deny all access to a particular node or
  * node translation:
  * @code
- * $grants[] = array(
+ * $grants[] = [
  *   'realm' => 'all',
  *   'gid' => 0,
  *   'grant_view' => 0,
  *   'grant_update' => 0,
  *   'grant_delete' => 0,
  *   'langcode' => 'ca',
- * );
+ * ];
  * @endcode
  * Note that another module node access module could override this by granting
  * access to one or more nodes, since grants are additive. To enforce that
diff --git a/core/modules/node/src/Plugin/Search/NodeSearch.php b/core/modules/node/src/Plugin/Search/NodeSearch.php
index 6d7c8eb..d942612 100644
--- a/core/modules/node/src/Plugin/Search/NodeSearch.php
+++ b/core/modules/node/src/Plugin/Search/NodeSearch.php
@@ -237,7 +237,7 @@ protected function findResults() {
     // \Drupal::request()->query->get('f') is an array that looks like this in
     // the URL: ?f[]=type:page&f[]=term:27&f[]=term:13&f[]=langcode:en
     // So $parameters['f'] looks like:
-    // array('type:page', 'term:27', 'term:13', 'langcode:en');
+    // ['type:page', 'term:27', 'term:13', 'langcode:en'];
     // We need to parse this out into query conditions, some of which go into
     // the keywords string, and some of which are separate conditions.
     $parameters = $this->getParameters();
diff --git a/core/modules/rest/src/Plugin/ResourceInterface.php b/core/modules/rest/src/Plugin/ResourceInterface.php
index 7e92c57..43eafb9 100644
--- a/core/modules/rest/src/Plugin/ResourceInterface.php
+++ b/core/modules/rest/src/Plugin/ResourceInterface.php
@@ -46,7 +46,7 @@ public function permissions();
    * Returns the available HTTP request methods on this plugin.
    *
    * @return array
-   *   The list of supported methods. Example: array('GET', 'POST', 'PATCH').
+   *   The list of supported methods. Example: ['GET', 'POST', 'PATCH'].
    */
   public function availableMethods();
 
diff --git a/core/modules/simpletest/simpletest.module b/core/modules/simpletest/simpletest.module
index 8b1cc23..ae4f2ba 100644
--- a/core/modules/simpletest/simpletest.module
+++ b/core/modules/simpletest/simpletest.module
@@ -566,13 +566,13 @@ function simpletest_log_read($test_id, $database_prefix, $test_class) {
  *   An array of tests keyed with the groups, and then keyed by test classes.
  *   For example:
  *   @code
- *     $groups['Block'] => array(
- *       'BlockTestCase' => array(
+ *     $groups['Block'] => [
+ *       'BlockTestCase' => [
  *         'name' => 'Block functionality',
  *         'description' => 'Add, edit and delete custom block.',
  *         'group' => 'Block',
- *       ),
- *     );
+ *       ],
+ *     ];
  *   @endcode
  *
  * @deprecated in Drupal 8.3.x, for removal before 9.0.0 release. Use
diff --git a/core/modules/simpletest/src/BlockCreationTrait.php b/core/modules/simpletest/src/BlockCreationTrait.php
index b252d9e..bef22c5 100644
--- a/core/modules/simpletest/src/BlockCreationTrait.php
+++ b/core/modules/simpletest/src/BlockCreationTrait.php
@@ -21,9 +21,9 @@
    *   Override the defaults by specifying the key and value in the array, for
    *   example:
    *   @code
-   *     $this->drupalPlaceBlock('system_powered_by_block', array(
+   *     $this->drupalPlaceBlock('system_powered_by_block', [
    *       'label' => t('Hello, world!'),
-   *     ));
+   *     ]);
    *   @endcode
    *   The following defaults are provided:
    *   - label: Random string.
diff --git a/core/modules/simpletest/src/NodeCreationTrait.php b/core/modules/simpletest/src/NodeCreationTrait.php
index 20dc3f8..2a3d555 100644
--- a/core/modules/simpletest/src/NodeCreationTrait.php
+++ b/core/modules/simpletest/src/NodeCreationTrait.php
@@ -44,18 +44,18 @@ public function getNodeByTitle($title, $reset = FALSE) {
    *   entity_create(). Override the defaults by specifying the key and value
    *   in the array, for example:
    *   @code
-   *     $this->drupalCreateNode(array(
+   *     $this->drupalCreateNode([
    *       'title' => t('Hello, world!'),
    *       'type' => 'article',
-   *     ));
+   *     ]);
    *   @endcode
    *   The following defaults are provided:
    *   - body: Random string using the default filter format:
    *     @code
-   *       $settings['body'][0] = array(
+   *       $settings['body'][0] = [
    *         'value' => $this->randomMachineName(32),
    *         'format' => filter_default_format(),
-   *       );
+   *       ];
    *     @endcode
    *   - title: Random string.
    *   - type: 'page'.
diff --git a/core/modules/simpletest/src/TestBase.php b/core/modules/simpletest/src/TestBase.php
index 1491cc2..1a94cbd 100644
--- a/core/modules/simpletest/src/TestBase.php
+++ b/core/modules/simpletest/src/TestBase.php
@@ -854,7 +854,7 @@ protected function verbose($message) {
    *
    * @param $methods
    *   (optional) A list of method names in the test case class to run; e.g.,
-   *   array('testFoo', 'testBar'). By default, all methods of the class are
+   *   ['testFoo', 'testBar']. By default, all methods of the class are
    *   taken into account, but it can be useful to only run a few selected test
    *   methods during debugging.
    */
@@ -1351,18 +1351,18 @@ protected function settingsSet($name, $value) {
    *
    * Example:
    * @code
-   * $parameters = array(
-   *   'one' => array(0, 1),
-   *   'two' => array(2, 3),
-   * );
+   * $parameters = [
+   *   'one' => [0, 1],
+   *   'two' => [2, 3],
+   * ];
    * $permutations = TestBase::generatePermutations($parameters);
    * // Result:
-   * $permutations == array(
-   *   array('one' => 0, 'two' => 2),
-   *   array('one' => 1, 'two' => 2),
-   *   array('one' => 0, 'two' => 3),
-   *   array('one' => 1, 'two' => 3),
-   * )
+   * $permutations == [
+   *   ['one' => 0, 'two' => 2],
+   *   ['one' => 1, 'two' => 2],
+   *   ['one' => 0, 'two' => 3],
+   *   ['one' => 1, 'two' => 3],
+   * ]
    * @endcode
    *
    * @param $parameters
diff --git a/core/modules/simpletest/src/TestDiscovery.php b/core/modules/simpletest/src/TestDiscovery.php
index 5374520..ff1ca59 100644
--- a/core/modules/simpletest/src/TestDiscovery.php
+++ b/core/modules/simpletest/src/TestDiscovery.php
@@ -143,13 +143,13 @@ public function registerTestNamespaces() {
    * @return array
    *   An array of tests keyed by the the group name.
    * @code
-   *     $groups['block'] => array(
-   *       'Drupal\block\Tests\BlockTest' => array(
+   *     $groups['block'] => [
+   *       'Drupal\block\Tests\BlockTest' => [
    *         'name' => 'Drupal\block\Tests\BlockTest',
    *         'description' => 'Tests block UI CRUD functionality.',
    *         'group' => 'block',
-   *       ),
-   *     );
+   *       ],
+   *     ];
    * @endcode
    *
    * @todo Remove singular grouping; retain list of groups in 'group' key.
diff --git a/core/modules/simpletest/src/WebTestBase.php b/core/modules/simpletest/src/WebTestBase.php
index 2491bc8..ce5dc7e 100644
--- a/core/modules/simpletest/src/WebTestBase.php
+++ b/core/modules/simpletest/src/WebTestBase.php
@@ -316,7 +316,7 @@ protected function findBlockInstance(Block $block) {
    * For example:
    * @code
    *   // Create a user.
-   *   $account = $this->drupalCreateUser(array());
+   *   $account = $this->drupalCreateUser([]);
    *   $this->drupalLogin($account);
    *   // Load real user object.
    *   $pass_raw = $account->pass_raw;
@@ -562,10 +562,10 @@ protected function getDatabaseTypes() {
    *   Array of values containing the untranslated string and its translation.
    *   For example:
    *   @code
-   *   array(
-   *     '' => array('Sunday' => 'domingo'),
-   *     'Long month name' => array('March' => 'marzo'),
-   *   );
+   *   [
+   *     '' => ['Sunday' => 'domingo'],
+   *     'Long month name' => ['March' => 'marzo'],
+   *   ];
    *   @endcode
    *   Pass an empty array to remove all existing custom translations for the
    *   given $langcode.
@@ -923,7 +923,7 @@ protected function drupalGet($path, array $options = [], array $headers = []) {
    * @param array $options
    *   Array of URL options.
    * @param array $headers
-   *   Array of headers. Eg array('Accept: application/vnd.drupal-ajax').
+   *   Array of headers. Eg ['Accept: application/vnd.drupal-ajax'].
    *
    * @return array
    *   Decoded json.
@@ -1002,11 +1002,11 @@ protected function drupalGetXHR($path, array $options = [], array $headers = [])
    *
    *   @code
    *   // First step in form.
-   *   $edit = array(...);
+   *   $edit = [...];
    *   $this->drupalPostForm('some_url', $edit, t('Save'));
    *
    *   // Second step in form.
-   *   $edit = array(...);
+   *   $edit = [...];
    *   $this->drupalPostForm(NULL, $edit, t('Save'));
    *   @endcode
    * @param $edit
@@ -1030,8 +1030,8 @@ protected function drupalGetXHR($path, array $options = [], array $headers = [])
    *   be unchecked. Multiple select fields can be tested using 'name[]' and
    *   setting each of the desired values in an array:
    *   @code
-   *   $edit = array();
-   *   $edit['name[]'] = array('value1', 'value2');
+   *   $edit = [];
+   *   $edit['name[]'] = ['value1', 'value2'];
    *   @endcode
    * @param $submit
    *   Value of the submit button whose click is to be emulated. For example,
@@ -1195,7 +1195,7 @@ protected function drupalPostForm($path, $edit, $submit, array $options = [], ar
    *   The name of the form element that is responsible for triggering the Ajax
    *   functionality to test. May be a string or, if the triggering element is
    *   a button, an associative array where the key is the name of the button
-   *   and the value is the button label. i.e.) array('op' => t('Refresh')).
+   *   and the value is the button label. i.e.) ['op' => t('Refresh')].
    * @param $ajax_path
    *   (optional) Override the path set by the Ajax settings of the triggering
    *   element.
diff --git a/core/modules/user/user.module b/core/modules/user/user.module
index b865e95..c0c2015 100644
--- a/core/modules/user/user.module
+++ b/core/modules/user/user.module
@@ -1112,13 +1112,13 @@ function user_role_load($rid) {
  *   Any value that evaluates to FALSE will cause the permission to be
  *   revoked.
  *   @code
- *     array(
+ *     [
  *       'administer nodes' => 0,                // Revoke 'administer nodes'
  *       'administer blocks' => FALSE,           // Revoke 'administer blocks'
  *       'access user profiles' => 1,            // Grant 'access user profiles'
  *       'access content' => TRUE,               // Grant 'access content'
  *       'access comments' => 'access comments', // Grant 'access comments'
- *     )
+ *     ]
  *   @endcode
  *   Existing permissions are not changed, unless specified in $permissions.
  *
diff --git a/core/modules/views/src/Annotation/ViewsDisplay.php b/core/modules/views/src/Annotation/ViewsDisplay.php
index 85887e3..97aa5c7 100644
--- a/core/modules/views/src/Annotation/ViewsDisplay.php
+++ b/core/modules/views/src/Annotation/ViewsDisplay.php
@@ -84,10 +84,10 @@ class ViewsDisplay extends ViewsPluginAnnotationBase {
    * A list of places where contextual links should be added.
    * For example:
    * @code
-   * array(
+   * [
    *   'page',
    *   'block',
-   * )
+   * ]
    * @endcode
    *
    * If you don't specify it there will be contextual links rendered for all
diff --git a/core/modules/views/src/Plugin/Derivative/ViewsLocalTask.php b/core/modules/views/src/Plugin/Derivative/ViewsLocalTask.php
index bc6400c..d7c40c3 100644
--- a/core/modules/views/src/Plugin/Derivative/ViewsLocalTask.php
+++ b/core/modules/views/src/Plugin/Derivative/ViewsLocalTask.php
@@ -152,10 +152,10 @@ public function alterLocalTasks(&$local_tasks) {
    * @return array
    *   A list of arrays containing the $view and $display_id.
    * @code
-   * array(
-   *   array($view, $display_id),
-   *   array($view, $display_id),
-   * );
+   * [
+   *   [$view, $display_id],
+   *   [$view, $display_id],
+   * ];
    * @endcode
    */
   protected function getApplicableMenuViews() {
diff --git a/core/modules/views/src/Plugin/views/join/JoinPluginBase.php b/core/modules/views/src/Plugin/views/join/JoinPluginBase.php
index 0aa6aa3..0f6f69b 100644
--- a/core/modules/views/src/Plugin/views/join/JoinPluginBase.php
+++ b/core/modules/views/src/Plugin/views/join/JoinPluginBase.php
@@ -24,13 +24,13 @@
  * @endcode
  * Use this configuration:
  * @code
- * $configuration = array(
+ * $configuration = [
  *   'table' => 'two',
  *   'field' => 'field_b',
  *   'left_table' => 'one',
  *   'left_field' => 'field_a',
  *   'operator' => '=',
- * );
+ * ];
  * $join = Views::pluginManager('join')->createInstance('standard', $configuration);
  * @endcode
  * Note that the default join type is a LEFT join when 'type' is not supplied in
@@ -42,20 +42,20 @@
  * @endcode
  * Use this configuration:
  * @code
- * $configuration = array(
+ * $configuration = [
  *   'type' => 'INNER',
  *   'table' => 'two',
  *   'field' => 'field_b',
  *   'left_table' => 'one',
  *   'left_field' => 'field_a',
  *   'operator' => '=',
- *   'extra' => array(
- *     0 => array(
+ *   'extra' => [
+ *     0 => [
  *       'left_field' => 'field_c',
  *       'value' => 'some_val',
- *     ),
- *   ),
- * );
+ *     ],
+ *   ],
+ * ];
  * $join = Views::pluginManager('join')->createInstance('standard', $configuration);
  * @endcode
  *
@@ -65,20 +65,20 @@
  * @endcode
  * Use this configuration:
  * @code
- * $configuration = array(
+ * $configuration = [
  *   'type' => 'INNER',
  *   'table' => 'two',
  *   'field' => 'field_b',
  *   'left_table' => 'one',
  *   'left_field' => 'field_a',
  *   'operator' => '=',
- *   'extra' => array(
- *     0 => array(
+ *   'extra' => [
+ *     0 => [
  *       'field' => 'field_d',
  *       'value' => 'other_val',
- *     ),
- *   ),
- * );
+ *     ],
+ *   ],
+ * ];
  * $join = Views::pluginManager('join')->createInstance('standard', $configuration);
  * @endcode
  *
@@ -88,20 +88,20 @@
  * @endcode
  * Use this configuration:
  * @code
- * $configuration = array(
+ * $configuration = [
  *   'type' => 'INNER',
  *   'table' => 'two',
  *   'field' => 'field_b',
  *   'left_table' => 'one',
  *   'left_field' => 'field_a',
  *   'operator' => '=',
- *   'extra' => array(
- *     0 => array(
+ *   'extra' => [
+ *     0 => [
  *       'left_field' => 'field_c',
  *       'field' => 'field_d',
- *     ),
- *   ),
- * );
+ *     ],
+ *   ],
+ * ];
  * $join = Views::pluginManager('join')->createInstance('standard', $configuration);
  * @endcode
  *
diff --git a/core/modules/views/views.api.php b/core/modules/views/views.api.php
index c21b9c5..e7a55cf 100644
--- a/core/modules/views/views.api.php
+++ b/core/modules/views/views.api.php
@@ -837,7 +837,7 @@ function hook_views_pre_render(ViewExecutable $view) {
  * And then in the post-render, create an array with the text that should
  * go there:
  * @code
- *   strtr($output, array('<!--post-FIELD-1-->' => 'output for FIELD of nid 1');
+ *   strtr($output, ['<!--post-FIELD-1-->' => 'output for FIELD of nid 1'];
  * @endcode
  * All of the cached result data will be available in $view->result, as well,
  * so all ids used in the query should be discoverable.
diff --git a/core/modules/views_ui/admin.inc b/core/modules/views_ui/admin.inc
index a2d9fed..a7c6ac8 100644
--- a/core/modules/views_ui/admin.inc
+++ b/core/modules/views_ui/admin.inc
@@ -38,7 +38,7 @@
  *   An array of parent keys that point to the part of the form that will be
  *   refreshed by AJAX. For example, if triggering the AJAX behavior should
  *   cause $form['dynamic_content']['section'] to be refreshed, you would pass
- *   array('dynamic_content', 'section') for this parameter.
+ *   ['dynamic_content', 'section'] for this parameter.
  */
 function views_ui_add_ajax_trigger(&$wrapping_element, $trigger_key, $refresh_parents) {
   $seen_ids = &drupal_static(__FUNCTION__ . ':seen_ids', []);
diff --git a/core/modules/views_ui/src/Form/Ajax/RearrangeFilter.php b/core/modules/views_ui/src/Form/Ajax/RearrangeFilter.php
index 3298681..c150617 100644
--- a/core/modules/views_ui/src/Form/Ajax/RearrangeFilter.php
+++ b/core/modules/views_ui/src/Form/Ajax/RearrangeFilter.php
@@ -77,12 +77,12 @@ public function buildForm(array $form, FormStateInterface $form_state) {
 
     /**
      * Filter groups is an array that contains:
-     * array(
+     * [
      *   'operator' => 'and' || 'or',
-     *   'groups' => array(
+     *   'groups' => [
      *     $group_id => 'and' || 'or',
-     *   ),
-     * );
+     *   ],
+     * ];
      */
 
     $grouping = count(array_keys($groups['groups'])) > 1;
@@ -330,7 +330,7 @@ public function submitForm(array &$form, FormStateInterface $form_state) {
   /**
    * Adds one to each key of an array.
    *
-   * For example array(0 => 'foo') would be array(1 => 'foo').
+   * For example [0 => 'foo'] would be [1 => 'foo'].
    *
    * @param array $array
    *   The array to increment keys on.
diff --git a/core/phpcs.xml.dist b/core/phpcs.xml.dist
index a593e62..94c3a3b 100644
--- a/core/phpcs.xml.dist
+++ b/core/phpcs.xml.dist
@@ -2,6 +2,8 @@
 <ruleset name="drupal_core">
   <description>Default PHP CodeSniffer configuration for Drupal core.</description>
   <file>.</file>
+  <file>../sites/default/default.settings.php</file>
+  <file>./scripts/run-test.sh</file>
   <arg name="extensions" value="inc,install,module,php,profile,test,theme"/>
 
   <!--Exclude third party code.-->
diff --git a/core/scripts/run-tests.sh b/core/scripts/run-tests.sh
index 09a7aad..24e11b5 100755
--- a/core/scripts/run-tests.sh
+++ b/core/scripts/run-tests.sh
@@ -5,12 +5,12 @@
  * This script runs Drupal tests from command line.
  */
 
+use Drupal\Core\Asset\AttachedAssets;
 use Drupal\Component\FileSystem\FileSystem;
 use Drupal\Component\Utility\Html;
 use Drupal\Component\Utility\Timer;
 use Drupal\Component\Uuid\Php;
 use Drupal\Core\Database\Database;
-use Drupal\Core\Site\Settings;
 use Drupal\Core\StreamWrapper\PublicStream;
 use Drupal\Core\Test\TestDatabase;
 use Drupal\Core\Test\TestRunnerKernel;
@@ -98,7 +98,8 @@
   $test_discovery = NULL;
   try {
     $test_discovery = \Drupal::service('test_discovery');
-  } catch (Exception $e) {
+  }
+  catch (Exception $e) {
     error_log((string) $e);
     echo (string)$e;
     exit(SIMPLETEST_SCRIPT_EXIT_EXCEPTION);
@@ -113,7 +114,7 @@
   }
   // Output the list of files.
   else {
-    foreach(array_values($test_classes) as $test_class) {
+    foreach (array_values($test_classes) as $test_class) {
       echo $test_class . "\n";
     }
   }
@@ -147,7 +148,7 @@
 drupal_set_time_limit(0);
 simpletest_script_reporter_init();
 
-$tests_to_run = array();
+$tests_to_run = [];
 for ($i = 0; $i < $args['repeat']; $i++) {
   $tests_to_run = array_merge($tests_to_run, $test_list);
 }
@@ -344,7 +345,7 @@ function simpletest_script_help() {
  */
 function simpletest_script_parse_args() {
   // Set default values.
-  $args = array(
+  $args = [
     'script' => '',
     'help' => FALSE,
     'list' => FALSE,
@@ -366,7 +367,7 @@ function simpletest_script_parse_args() {
     'verbose' => FALSE,
     'keep-results' => FALSE,
     'keep-results-table' => FALSE,
-    'test_names' => array(),
+    'test_names' => [],
     'repeat' => 1,
     'die-on-fail' => FALSE,
     'browser' => FALSE,
@@ -375,7 +376,7 @@ function simpletest_script_parse_args() {
     'execute-test' => '',
     'xml' => '',
     'non-html' => FALSE,
-  );
+  ];
 
   // Override with set values.
   $args['script'] = basename(array_shift($_SERVER['argv']));
@@ -398,7 +399,7 @@ function simpletest_script_parse_args() {
           $args[$matches[1]] = array_shift($_SERVER['argv']);
         }
         // Clear extraneous values.
-        $args['test_names'] = array();
+        $args['test_names'] = [];
         $count++;
       }
       else {
@@ -423,7 +424,7 @@ function simpletest_script_parse_args() {
   if ($args['browser']) {
     $args['keep-results'] = TRUE;
   }
-  return array($args, $count);
+  return [$args, $count];
 }
 
 /**
@@ -591,13 +592,13 @@ function simpletest_script_setup_database($new = FALSE) {
     else {
       $sqlite = DRUPAL_ROOT . '/' . $args['sqlite'];
     }
-    $databases['test-runner']['default'] = array(
+    $databases['test-runner']['default'] = [
       'driver' => 'sqlite',
       'database' => $sqlite,
-      'prefix' => array(
+      'prefix' => [
         'default' => '',
-      ),
-    );
+      ],
+    ];
     // Create the test runner SQLite database, unless it exists already.
     if ($new && !file_exists($sqlite)) {
       if (!is_dir(dirname($sqlite))) {
@@ -659,7 +660,7 @@ function simpletest_script_execute_batch($test_classes) {
   $total_status = SIMPLETEST_SCRIPT_EXIT_SUCCESS;
 
   // Multi-process execution.
-  $children = array();
+  $children = [];
   while (!empty($test_classes) || !empty($children)) {
     while (count($children) < $args['concurrency']) {
       if (empty($test_classes)) {
@@ -669,7 +670,7 @@ function simpletest_script_execute_batch($test_classes) {
       try {
         $test_id = Database::getConnection('default', 'test-runner')
           ->insert('simpletest_test_id')
-          ->useDefaults(array('test_id'))
+          ->useDefaults(['test_id'])
           ->execute();
       }
       catch (Exception $e) {
@@ -681,7 +682,7 @@ function simpletest_script_execute_batch($test_classes) {
       $test_class = array_shift($test_classes);
       // Fork a child process.
       $command = simpletest_script_command($test_id, $test_class);
-      $process = proc_open($command, array(), $pipes, NULL, NULL, array('bypass_shell' => TRUE));
+      $process = proc_open($command, [], $pipes, NULL, NULL, ['bypass_shell' => TRUE]);
 
       if (!is_resource($process)) {
         echo "Unable to fork test process. Aborting.\n";
@@ -689,12 +690,12 @@ function simpletest_script_execute_batch($test_classes) {
       }
 
       // Register our new child.
-      $children[] = array(
+      $children[] = [
         'process' => $process,
         'test_id' => $test_id,
         'class' => $test_class,
         'pipes' => $pipes,
-      );
+      ];
     }
 
     // Wait for children every 200ms.
@@ -755,7 +756,7 @@ function simpletest_script_run_phpunit($test_id, $class) {
     set_time_limit($reflection->getStaticPropertyValue('runLimit'));
   }
 
-  $results = simpletest_run_phpunit_tests($test_id, array($class), $status);
+  $results = simpletest_run_phpunit_tests($test_id, [$class], $status);
   simpletest_process_phpunit_results($results);
 
   // Map phpunit results to a data structure we can pass to
@@ -781,7 +782,7 @@ function simpletest_script_run_one_test($test_id, $test_class) {
     else {
       $class_name = $test_class;
       // Use empty array to run all the test methods.
-      $methods = array();
+      $methods = [];
     }
     $test = new $class_name($test_id);
     if (is_subclass_of($test_class, TestCase::class)) {
@@ -834,7 +835,7 @@ function simpletest_script_command($test_id, $test_class) {
   }
   $command .= ' --php ' . escapeshellarg($php);
   $command .= " --test-id $test_id";
-  foreach (array('verbose', 'keep-results', 'color', 'die-on-fail') as $arg) {
+  foreach (['verbose', 'keep-results', 'color', 'die-on-fail'] as $arg) {
     if ($args[$arg]) {
       $command .= ' --' . $arg;
     }
@@ -887,7 +888,7 @@ function simpletest_script_cleanup($test_id, $test_class, $exitcode) {
 
   // Do not output verbose cleanup messages in case of a positive exitcode.
   $output = !empty($exitcode);
-  $messages = array();
+  $messages = [];
 
   $messages[] = "- Found database prefix '$db_prefix' for test ID $test_id.";
 
@@ -916,7 +917,7 @@ function simpletest_script_cleanup($test_id, $test_class, $exitcode) {
     // simpletest_clean_temporary_directories() cannot be used here, since it
     // would also delete file directories of other tests that are potentially
     // running concurrently.
-    file_unmanaged_delete_recursive($test_directory, array('Drupal\simpletest\TestBase', 'filePreDeleteCallback'));
+    file_unmanaged_delete_recursive($test_directory, ['Drupal\simpletest\TestBase', 'filePreDeleteCallback']);
     $messages[] = "- Removed test site directory.";
   }
 
@@ -957,7 +958,7 @@ function simpletest_script_get_test_list() {
   global $args;
 
   $types_processed = empty($args['types']);
-  $test_list = array();
+  $test_list = [];
   if ($args['all'] || $args['module']) {
     try {
       $groups = simpletest_test_get_all($args['module'], $args['types']);
@@ -967,7 +968,7 @@ function simpletest_script_get_test_list() {
       echo (string) $e;
       exit(SIMPLETEST_SCRIPT_EXIT_EXCEPTION);
     }
-    $all_tests = array();
+    $all_tests = [];
     foreach ($groups as $group => $tests) {
       $all_tests = array_merge($all_tests, array_keys($tests));
     }
@@ -975,7 +976,7 @@ function simpletest_script_get_test_list() {
   }
   else {
     if ($args['class']) {
-      $test_list = array();
+      $test_list = [];
       foreach ($args['test_names'] as $test_class) {
         list($class_name) = explode('::', $test_class, 2);
         if (class_exists($class_name)) {
@@ -989,7 +990,7 @@ function simpletest_script_get_test_list() {
             echo (string) $e;
             exit(SIMPLETEST_SCRIPT_EXIT_EXCEPTION);
           }
-          $all_classes = array();
+          $all_classes = [];
           foreach ($groups as $group) {
             $all_classes = array_merge($all_classes, array_keys($group));
           }
@@ -1036,7 +1037,7 @@ function simpletest_script_get_test_list() {
       // minimal conditions only; i.e., a '*.php' file that has '/Tests/' in
       // its path.
       // Ignore anything from third party vendors.
-      $ignore = array('.', '..', 'vendor');
+      $ignore = ['.', '..', 'vendor'];
       $files = [];
       if ($args['directory'][0] === '/') {
         $directory = $args['directory'];
@@ -1126,11 +1127,11 @@ function simpletest_script_get_test_list() {
 function simpletest_script_reporter_init() {
   global $args, $test_list, $results_map;
 
-  $results_map = array(
+  $results_map = [
     'pass' => 'Pass',
     'fail' => 'Fail',
     'exception' => 'Exception',
-  );
+  ];
 
   echo "\n";
   echo "Drupal test run\n";
@@ -1171,13 +1172,13 @@ function simpletest_script_reporter_display_summary($class, $results) {
   // Output all test results vertically aligned.
   // Cut off the class name after 60 chars, and pad each group with 3 digits
   // by default (more than 999 assertions are rare).
-  $output = vsprintf('%-60.60s %10s %9s %14s %12s', array(
+  $output = vsprintf('%-60.60s %10s %9s %14s %12s', [
     $class,
     $results['#pass'] . ' passes',
     !$results['#fail'] ? '' : $results['#fail'] . ' fails',
     !$results['#exception'] ? '' : $results['#exception'] . ' exceptions',
     !$results['#debug'] ? '' : $results['#debug'] . ' messages',
-  ));
+  ]);
 
   $status = ($results['#fail'] || $results['#exception'] ? 'fail' : 'pass');
   simpletest_script_print($output . "\n", simpletest_script_color_code($status));
@@ -1198,7 +1199,7 @@ function simpletest_script_reporter_write_xml_results() {
   }
 
   $test_class = '';
-  $xml_files = array();
+  $xml_files = [];
 
   foreach ($results as $result) {
     if (isset($results_map[$result->status])) {
@@ -1214,7 +1215,7 @@ function simpletest_script_reporter_write_xml_results() {
           $doc = new DomDocument('1.0');
           $root = $doc->createElement('testsuite');
           $root = $doc->appendChild($root);
-          $xml_files[$test_class] = array('doc' => $doc, 'suite' => $root);
+          $xml_files[$test_class] = ['doc' => $doc, 'suite' => $root];
         }
       }
 
@@ -1412,7 +1413,7 @@ function simpletest_script_color_code($status) {
  * @see http://php.net/manual/en/function.levenshtein.php
  */
 function simpletest_script_print_alternatives($string, $array, $degree = 4) {
-  $alternatives = array();
+  $alternatives = [];
   foreach ($array as $item) {
     $lev = levenshtein($string, $item);
     if ($lev <= strlen($item) / $degree || FALSE !== strpos($string, $item)) {
@@ -1440,7 +1441,7 @@ function simpletest_script_print_alternatives($string, $array, $degree = 4) {
  */
 function simpletest_script_load_messages_by_test_id($test_ids) {
   global $args;
-  $results = array();
+  $results = [];
 
   // Sqlite has a maximum number of variables per query. If required, the
   // database query is split into chunks.
@@ -1448,15 +1449,15 @@ function simpletest_script_load_messages_by_test_id($test_ids) {
     $test_id_chunks = array_chunk($test_ids, SIMPLETEST_SCRIPT_SQLITE_VARIABLE_LIMIT);
   }
   else {
-    $test_id_chunks = array($test_ids);
+    $test_id_chunks = [$test_ids];
   }
 
   foreach ($test_id_chunks as $test_id_chunk) {
     try {
       $result_chunk = Database::getConnection('default', 'test-runner')
-        ->query("SELECT * FROM {simpletest} WHERE test_id IN ( :test_ids[] ) ORDER BY test_class, message_id", array(
+        ->query("SELECT * FROM {simpletest} WHERE test_id IN ( :test_ids[] ) ORDER BY test_class, message_id", [
           ':test_ids[]' => $test_id_chunk,
-        ))->fetchAll();
+        ])->fetchAll();
     }
     catch (Exception $e) {
       echo (string) $e;
@@ -1492,12 +1493,12 @@ function simpletest_script_open_browser() {
   }
 
   // Get the results form.
-  $form = array();
+  $form = [];
   SimpletestResultsForm::addResultForm($form, $results);
 
   // Get the assets to make the details element collapsible and theme the result
   // form.
-  $assets = new \Drupal\Core\Asset\AttachedAssets();
+  $assets = new AttachedAssets();
   $assets->setLibraries([
     'core/drupal.collapse',
     'system/admin',
diff --git a/sites/default/default.settings.php b/sites/default/default.settings.php
index 2b2bdb7..7287710 100644
--- a/sites/default/default.settings.php
+++ b/sites/default/default.settings.php
@@ -86,7 +86,7 @@
  * );
  * @endcode
  */
-$databases = array();
+$databases = [];
 
 /**
  * Customizing database settings.
@@ -154,13 +154,13 @@
  * The 'default' element is mandatory and holds the prefix for any tables
  * not specified elsewhere in the array. Example:
  * @code
- *   'prefix' => array(
+ *   'prefix' => [
  *     'default'   => 'main_',
  *     'users'     => 'shared_',
  *     'sessions'  => 'shared_',
  *     'role'      => 'shared_',
  *     'authmap'   => 'shared_',
- *   ),
+ *   ],
  * @endcode
  * You can also use a reference to a schema/database as a prefix. This may be
  * useful if your Drupal installation exists in a schema that is not the default
@@ -168,13 +168,13 @@
  * time.
  * Example:
  * @code
- *   'prefix' => array(
+ *   'prefix' => [
  *     'default'   => 'main.',
  *     'users'     => 'shared.',
  *     'sessions'  => 'shared.',
  *     'role'      => 'shared.',
  *     'authmap'   => 'shared.',
- *   );
+ *   ];
  * @endcode
  * NOTE: MySQL and SQLite's definition of a schema is a database.
  *
@@ -183,14 +183,14 @@
  * example, to enable MySQL SELECT queries to exceed the max_join_size system
  * variable, and to reduce the database connection timeout to 5 seconds:
  * @code
- * $databases['default']['default'] = array(
- *   'init_commands' => array(
+ * $databases['default']['default'] = [
+ *   'init_commands' => [
  *     'big_selects' => 'SET SQL_BIG_SELECTS=1',
- *   ),
- *   'pdo' => array(
+ *   ],
+ *   'pdo' => [
  *     PDO::ATTR_TIMEOUT => 5,
- *   ),
- * );
+ *   ],
+ * ];
  * @endcode
  *
  * WARNING: The above defaults are designed for database portability. Changing
@@ -205,22 +205,22 @@
  *
  * Sample Database configuration format for PostgreSQL (pgsql):
  * @code
- *   $databases['default']['default'] = array(
+ *   $databases['default']['default'] = [
  *     'driver' => 'pgsql',
  *     'database' => 'databasename',
  *     'username' => 'sqlusername',
  *     'password' => 'sqlpassword',
  *     'host' => 'localhost',
  *     'prefix' => '',
- *   );
+ *   ];
  * @endcode
  *
  * Sample Database configuration format for SQLite (sqlite):
  * @code
- *   $databases['default']['default'] = array(
+ *   $databases['default']['default'] = [
  *     'driver' => 'sqlite',
  *     'database' => '/path/to/databasefilename',
- *   );
+ *   ];
  * @endcode
  */
 
@@ -244,12 +244,12 @@
  *
  * Example:
  * @code
- *   $config_directories = array(
+ *   $config_directories = [
  *     CONFIG_SYNC_DIRECTORY => '/directory/outside/webroot',
- *   );
+ *   ];
  * @endcode
  */
-$config_directories = array();
+$config_directories = [];
 
 /**
  * Settings:
@@ -377,7 +377,7 @@
  * Specify every reverse proxy IP address in your environment.
  * This setting is required if $settings['reverse_proxy'] is TRUE.
  */
-# $settings['reverse_proxy_addresses'] = array('a.b.c.d', ...);
+# $settings['reverse_proxy_addresses'] = ['a.b.c.d', ...];
 
 /**
  * Set this value if your proxy server sends the client IP in a header
@@ -462,16 +462,14 @@
  * example, to use Symfony's APC class loader without automatic detection,
  * uncomment the code below.
  */
-/*
-if ($settings['hash_salt']) {
-  $prefix = 'drupal.' . hash('sha256', 'drupal.' . $settings['hash_salt']);
-  $apc_loader = new \Symfony\Component\ClassLoader\ApcClassLoader($prefix, $class_loader);
-  unset($prefix);
-  $class_loader->unregister();
-  $apc_loader->register();
-  $class_loader = $apc_loader;
-}
-*/
+# if ($settings['hash_salt']) {
+#   $prefix = 'drupal.' . hash('sha256', 'drupal.' . $settings['hash_salt']);
+#   $apc_loader = new \Symfony\Component\ClassLoader\ApcClassLoader($prefix, $class_loader);
+#   unset($prefix);
+#   $class_loader->unregister();
+#   $apc_loader->register();
+#   $class_loader = $apc_loader;
+# }
 
 /**
  * Authorized file system operations:
@@ -562,10 +560,10 @@
  * The "en" part of the variable name, is dynamic and can be any langcode of
  * any added language. (eg locale_custom_strings_de for german).
  */
-# $settings['locale_custom_strings_en'][''] = array(
+# $settings['locale_custom_strings_en'][''] = [
 #   'forum'      => 'Discussion board',
 #   '@count min' => '@count minutes',
-# );
+# ];
 
 /**
  * A custom theme for the offline page:
@@ -619,7 +617,7 @@
  *   override in a services.yml file in the same directory as settings.php
  *   (definitions in this file will override service definition defaults).
  */
-# $settings['bootstrap_config_storage'] = array('Drupal\Core\Config\BootstrapConfigStorageFactory', 'getFileStorage');
+# $settings['bootstrap_config_storage'] = ['Drupal\Core\Config\BootstrapConfigStorageFactory', 'getFileStorage'];
 
 /**
  * Configuration overrides.
@@ -710,9 +708,9 @@
  *
  * For example:
  * @code
- * $settings['trusted_host_patterns'] = array(
+ * $settings['trusted_host_patterns'] = [
  *   '^www\.example\.com$',
- * );
+ * ];
  * @endcode
  * will allow the site to only run from www.example.com.
  *
@@ -723,12 +721,12 @@
  *
  * For example:
  * @code
- * $settings['trusted_host_patterns'] = array(
+ * $settings['trusted_host_patterns'] = [
  *   '^example\.com$',
  *   '^.+\.example\.com$',
  *   '^example\.org$',
  *   '^.+\.example\.org$',
- * );
+ * ];
  * @endcode
  * will allow the site to run off of all variants of example.com and
  * example.org, with all subdomains included.
