diff --git a/core/lib/Drupal/Core/DrupalKernel.php b/core/lib/Drupal/Core/DrupalKernel.php
index 4e6e9c4..08b4de9 100644
--- a/core/lib/Drupal/Core/DrupalKernel.php
+++ b/core/lib/Drupal/Core/DrupalKernel.php
@@ -1523,16 +1523,14 @@ protected function getInstallProfile() {
       $install_profile = $this->getDistribution();
     }
     return $install_profile;
-
   }
 
   /**
    * Get the name of any discovered profile that is a distribution.
    *
-   * Scans the filesystem looking for all installation profiles.
-   * Returns the one that has a 'distribution' entry in its info.yml
-   * file.  If multiple  profiles are distributions, an exception will
-   * be thrown.
+   * Scans the filesystem looking for all installation profiles. Returns the one
+   * that has a 'distribution' entry in its info.yml file. If multiple profiles
+   * are distributions, an exception will be thrown.
    *
    * This is used in two places:
    *  1) During installation, if there is a single distribution, then
@@ -1552,7 +1550,7 @@ protected function getInstallProfile() {
    */
   protected function getDistribution() {
     $listing = new ExtensionDiscovery($this->root);
-    $listing->setProfileDirectories(array());
+    $listing->setProfileDirectories([]);
     $info_parser = new InfoParser();
     $distributions = [];
     foreach ($listing->scan('profile') as $profile) {
diff --git a/core/modules/system/src/Tests/Installer/DistributionProfileExistingSettingsTest.php b/core/modules/system/src/Tests/Installer/DistributionProfileExistingSettingsTest.php
index 2c6bb01..13266bb 100644
--- a/core/modules/system/src/Tests/Installer/DistributionProfileExistingSettingsTest.php
+++ b/core/modules/system/src/Tests/Installer/DistributionProfileExistingSettingsTest.php
@@ -27,7 +27,7 @@ class DistributionProfileExistingSettingsTest extends InstallerTestBase {
   protected $info;
 
   protected function setUp() {
-    $this->info = array(
+    $this->info = [
       'type' => 'profile',
       'core' => \Drupal::CORE_COMPATIBILITY,
       'name' => 'Distribution profile',
@@ -37,7 +37,7 @@ protected function setUp() {
           'theme' => 'bartik',
         ],
       ],
-    );
+    ];
     // File API functions are not available yet.
     $path = $this->siteDirectory . '/profiles/mydistro';
     mkdir($path, 0777, TRUE);
diff --git a/core/modules/system/src/Tests/Installer/InstallerExistingSettingsMismatchProfileTest.php b/core/modules/system/src/Tests/Installer/InstallerExistingSettingsMismatchProfileTest.php
index 17d4660..a179039 100644
--- a/core/modules/system/src/Tests/Installer/InstallerExistingSettingsMismatchProfileTest.php
+++ b/core/modules/system/src/Tests/Installer/InstallerExistingSettingsMismatchProfileTest.php
@@ -41,10 +41,10 @@ protected function setUp() {
 
     // During interactive install we'll change this to a different profile and
     // this test will ensure that the new value is written to settings.php.
-    $this->settings['settings']['install_profile'] = (object) array(
+    $this->settings['settings']['install_profile'] = (object) [
       'value' => 'minimal',
       'required' => TRUE,
-    );
+    ];
 
     // Pre-configure config directories.
     $this->settings['config_directories'] = array(
diff --git a/core/modules/system/src/Tests/Installer/MultipleDistributionsProfileTest.php b/core/modules/system/src/Tests/Installer/MultipleDistributionsProfileTest.php
index 83e68b9..88f83cd 100644
--- a/core/modules/system/src/Tests/Installer/MultipleDistributionsProfileTest.php
+++ b/core/modules/system/src/Tests/Installer/MultipleDistributionsProfileTest.php
@@ -25,17 +25,17 @@ class MultipleDistributionsProfileTest extends InstallerTestBase {
   protected function setUp() {
     // Create two distributions.
     foreach (['distribution_one', 'distribution_two'] as $name) {
-      $info = array(
+      $info = [
         'type' => 'profile',
         'core' => \Drupal::CORE_COMPATIBILITY,
         'name' => $name . ' profile',
-        'distribution' => array(
+        'distribution' => [
           'name' => $name,
-          'install' => array(
+          'install' => [
             'theme' => 'bartik',
-          ),
-        ),
-      );
+          ],
+        ],
+      ];
       // File API functions are not available yet.
       $path = $this->siteDirectory . '/profiles/' . $name;
       mkdir($path, 0777, TRUE);
