diff --git a/core/includes/common.inc b/core/includes/common.inc
index 037c5b0..1757fd2 100644
--- a/core/includes/common.inc
+++ b/core/includes/common.inc
@@ -708,7 +708,7 @@ function drupal_attach_tabledrag(&$element, array $options) {
     'subgroup' => NULL,
     'source' => NULL,
     'hidden' => TRUE,
-    'limit' => 0
+    'limit' => 0,
   );
 
   $group = $options['group'];
diff --git a/core/includes/install.core.inc b/core/includes/install.core.inc
index 1019270..0d19e9c 100644
--- a/core/includes/install.core.inc
+++ b/core/includes/install.core.inc
@@ -1991,7 +1991,7 @@ function install_check_requirements($install_state) {
         'severity' => REQUIREMENT_ERROR,
         'description' => t('The @drupal installer requires that the %default-file file not be modified in any way from the original download.', array(
             '@drupal' => drupal_install_profile_distribution_name(),
-            '%default-file' => $default_file
+            '%default-file' => $default_file,
           )),
       );
     }
@@ -2052,7 +2052,7 @@ function install_check_requirements($install_state) {
             '@drupal' => drupal_install_profile_distribution_name(),
             '%file' => $file,
             '%default_file' => $default_file,
-            ':install_txt' => base_path() . 'core/INSTALL.txt'
+            ':install_txt' => base_path() . 'core/INSTALL.txt',
           )),
       );
     }
@@ -2070,7 +2070,7 @@ function install_check_requirements($install_state) {
           'description' => t('@drupal requires read permissions to %file at all times. The <a href=":handbook_url">webhosting issues</a> documentation section offers help on this and other topics.', array(
               '@drupal' => drupal_install_profile_distribution_name(),
               '%file' => $file,
-              ':handbook_url' => 'https://www.drupal.org/server-permissions'
+              ':handbook_url' => 'https://www.drupal.org/server-permissions',
             )),
         );
       }
@@ -2083,7 +2083,7 @@ function install_check_requirements($install_state) {
           'description' => t('The @drupal installer requires write permissions to %file during the installation process. The <a href=":handbook_url">webhosting issues</a> documentation section offers help on this and other topics.', array(
               '@drupal' => drupal_install_profile_distribution_name(),
               '%file' => $file,
-              ':handbook_url' => 'https://www.drupal.org/server-permissions'
+              ':handbook_url' => 'https://www.drupal.org/server-permissions',
             )),
         );
       }
@@ -2103,7 +2103,7 @@ function install_check_requirements($install_state) {
               '%file' => $file,
               '%default_file' => $default_file,
               ':install_txt' => base_path() . 'core/INSTALL.txt',
-              ':handbook_url' => 'https://www.drupal.org/server-permissions'
+              ':handbook_url' => 'https://www.drupal.org/server-permissions',
             )),
         );
       }
diff --git a/core/lib/Drupal/Component/Utility/Html.php b/core/lib/Drupal/Component/Utility/Html.php
index 758a053..2c62ea2 100644
--- a/core/lib/Drupal/Component/Utility/Html.php
+++ b/core/lib/Drupal/Component/Utility/Html.php
@@ -103,7 +103,7 @@ public static function cleanCssIdentifier($identifier, array $filter = array(
     // Identifiers cannot start with a digit, two hyphens, or a hyphen followed by a digit.
     $identifier = preg_replace(array(
       '/^[0-9]/',
-      '/^(-[0-9])|^(--)/'
+      '/^(-[0-9])|^(--)/',
     ), array('_', '__'), $identifier);
     return $identifier;
   }
diff --git a/core/lib/Drupal/Core/Block/Plugin/Block/Broken.php b/core/lib/Drupal/Core/Block/Plugin/Block/Broken.php
index 0e4732e..b7f3a19 100644
--- a/core/lib/Drupal/Core/Block/Plugin/Block/Broken.php
+++ b/core/lib/Drupal/Core/Block/Plugin/Block/Broken.php
@@ -38,7 +38,7 @@ public function blockForm($form, FormStateInterface $form_state) {
    */
   protected function brokenMessage() {
     $build['message'] = [
-      '#markup' => $this->t('This block is broken or missing. You may be missing content or you might need to enable the original module.')
+      '#markup' => $this->t('This block is broken or missing. You may be missing content or you might need to enable the original module.'),
     ];
 
     return $build;
diff --git a/core/lib/Drupal/Core/Config/PreExistingConfigException.php b/core/lib/Drupal/Core/Config/PreExistingConfigException.php
index 4c19dfa..aea9090 100644
--- a/core/lib/Drupal/Core/Config/PreExistingConfigException.php
+++ b/core/lib/Drupal/Core/Config/PreExistingConfigException.php
@@ -59,7 +59,7 @@ public static function create($extension, array $config_objects) {
     $message = SafeMarkup::format('Configuration objects (@config_names) provided by @extension already exist in active configuration',
       array(
         '@config_names' => implode(', ', static::flattenConfigObjects($config_objects)),
-        '@extension' => $extension
+        '@extension' => $extension,
       )
     );
     $e = new static($message);
diff --git a/core/lib/Drupal/Core/Config/UnmetDependenciesException.php b/core/lib/Drupal/Core/Config/UnmetDependenciesException.php
index c74513c..10d2f19 100644
--- a/core/lib/Drupal/Core/Config/UnmetDependenciesException.php
+++ b/core/lib/Drupal/Core/Config/UnmetDependenciesException.php
@@ -78,7 +78,7 @@ public static function create($extension, array $config_objects) {
     $message = SafeMarkup::format('Configuration objects (@config_names) provided by @extension have unmet dependencies',
       array(
         '@config_names' => implode(', ', $config_objects),
-        '@extension' => $extension
+        '@extension' => $extension,
       )
     );
     $e = new static($message);
diff --git a/core/lib/Drupal/Core/Diff/DiffFormatter.php b/core/lib/Drupal/Core/Diff/DiffFormatter.php
index 52f2894..f26fded 100644
--- a/core/lib/Drupal/Core/Diff/DiffFormatter.php
+++ b/core/lib/Drupal/Core/Diff/DiffFormatter.php
@@ -67,7 +67,7 @@ protected function _block_header($xbeg, $xlen, $ybeg, $ylen) {
       array(
         'data' => $ybeg + $this->line_stats['offset']['y'],
         'colspan' => 2,
-      )
+      ),
     );
   }
 
@@ -104,7 +104,7 @@ protected function addedLine($line) {
       array(
         'data' => ['#markup' => $line],
         'class' => 'diff-context diff-addedline',
-      )
+      ),
     );
   }
 
@@ -126,7 +126,7 @@ protected function deletedLine($line) {
       array(
         'data' => ['#markup' => $line],
         'class' => 'diff-context diff-deletedline',
-      )
+      ),
     );
   }
 
@@ -145,7 +145,7 @@ protected function contextLine($line) {
       array(
         'data' => ['#markup' => $line],
         'class' => 'diff-context',
-      )
+      ),
     );
   }
 
diff --git a/core/lib/Drupal/Core/Entity/ContentEntityDeleteForm.php b/core/lib/Drupal/Core/Entity/ContentEntityDeleteForm.php
index ac94c26..26eef06 100644
--- a/core/lib/Drupal/Core/Entity/ContentEntityDeleteForm.php
+++ b/core/lib/Drupal/Core/Entity/ContentEntityDeleteForm.php
@@ -37,7 +37,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
         $form['deleted_translations'] = array(
           '#theme' => 'item_list',
           '#title' => $this->t('The following @entity-type translations will be deleted:', [
-            '@entity-type' => $entity->getEntityType()->getLowercaseLabel()
+            '@entity-type' => $entity->getEntityType()->getLowercaseLabel(),
           ]),
           '#items' => $languages,
         );
diff --git a/core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php b/core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php
index b2f64df..4a64e78 100644
--- a/core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php
+++ b/core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php
@@ -141,7 +141,7 @@ public function getRenderer($field_name) {
         'form_mode' => $this->originalMode,
         // No need to prepare, defaults have been merged in setComponent().
         'prepare' => FALSE,
-        'configuration' => $configuration
+        'configuration' => $configuration,
       ));
     }
     else {
@@ -327,7 +327,7 @@ public function getPluginCollections() {
     }
 
     return array(
-      'widgets' => new EntityDisplayPluginCollection($this->pluginManager, $configurations)
+      'widgets' => new EntityDisplayPluginCollection($this->pluginManager, $configurations),
     );
   }
 
diff --git a/core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php b/core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php
index b4a616a..3d87a92 100644
--- a/core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php
+++ b/core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php
@@ -198,7 +198,7 @@ public function getRenderer($field_name) {
         'view_mode' => $this->originalMode,
         // No need to prepare, defaults have been merged in setComponent().
         'prepare' => FALSE,
-        'configuration' => $configuration
+        'configuration' => $configuration,
       ));
     }
     else {
@@ -298,7 +298,7 @@ public function getPluginCollections() {
     }
 
     return array(
-      'formatters' => new EntityDisplayPluginCollection($this->pluginManager, $configurations)
+      'formatters' => new EntityDisplayPluginCollection($this->pluginManager, $configurations),
     );
   }
 
diff --git a/core/lib/Drupal/Core/Entity/EntityDisplayBase.php b/core/lib/Drupal/Core/Entity/EntityDisplayBase.php
index 4de891a..cc84d7e 100644
--- a/core/lib/Drupal/Core/Entity/EntityDisplayBase.php
+++ b/core/lib/Drupal/Core/Entity/EntityDisplayBase.php
@@ -163,7 +163,7 @@ protected function init() {
           // Extra fields are visible by default unless they explicitly say so.
           if (!isset($definition['visible']) || $definition['visible'] == TRUE) {
             $this->content[$name] = array(
-              'weight' => $definition['weight']
+              'weight' => $definition['weight'],
             );
           }
           else {
diff --git a/core/lib/Drupal/Core/Entity/Plugin/DataType/Deriver/EntityDeriver.php b/core/lib/Drupal/Core/Entity/Plugin/DataType/Deriver/EntityDeriver.php
index 4ee738f..1b9867d 100644
--- a/core/lib/Drupal/Core/Entity/Plugin/DataType/Deriver/EntityDeriver.php
+++ b/core/lib/Drupal/Core/Entity/Plugin/DataType/Deriver/EntityDeriver.php
@@ -86,7 +86,7 @@ public function getDerivativeDefinitions($base_plugin_definition) {
         if ($bundle !== $entity_type_id) {
           $this->derivatives[$entity_type_id . ':' . $bundle] = array(
             'label' => $bundle_info['label'],
-            'constraints' => $this->derivatives[$entity_type_id]['constraints']
+            'constraints' => $this->derivatives[$entity_type_id]['constraints'],
           ) + $base_plugin_definition;
         }
       }
diff --git a/core/lib/Drupal/Core/Entity/Routing/DefaultHtmlRouteProvider.php b/core/lib/Drupal/Core/Entity/Routing/DefaultHtmlRouteProvider.php
index a1958ff..0105672 100644
--- a/core/lib/Drupal/Core/Entity/Routing/DefaultHtmlRouteProvider.php
+++ b/core/lib/Drupal/Core/Entity/Routing/DefaultHtmlRouteProvider.php
@@ -286,7 +286,7 @@ protected function getEditFormRoute(EntityTypeInterface $entity_type) {
       $route
         ->setDefaults([
           '_entity_form' => "{$entity_type_id}.{$operation}",
-          '_title_callback' => '\Drupal\Core\Entity\Controller\EntityController::editTitle'
+          '_title_callback' => '\Drupal\Core\Entity\Controller\EntityController::editTitle',
         ])
         ->setRequirement('_entity_access', "{$entity_type_id}.update")
         ->setOption('parameters', [
diff --git a/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php b/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php
index ec3ebaf..508e4e3 100644
--- a/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php
+++ b/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php
@@ -964,7 +964,7 @@ protected function initializeRevisionDataTable(ContentEntityTypeInterface $entit
         $entity_type_id . '__revision' => array(
           'table' => $this->storage->getRevisionTable(),
           'columns' => array($revision_key => $revision_key),
-        )
+        ),
       ),
     );
 
@@ -1776,7 +1776,7 @@ protected function getDedicatedTableSchema(FieldStorageDefinitionInterface $stor
           'size' => 'tiny',
           'not null' => TRUE,
           'default' => 0,
-          'description' => 'A boolean indicating whether this data item has been deleted'
+          'description' => 'A boolean indicating whether this data item has been deleted',
         ),
         'entity_id' => $id_schema,
         'revision_id' => $revision_id_schema,
diff --git a/core/lib/Drupal/Core/EventSubscriber/ConfigImportSubscriber.php b/core/lib/Drupal/Core/EventSubscriber/ConfigImportSubscriber.php
index ad2eb5e..8b3cf25 100644
--- a/core/lib/Drupal/Core/EventSubscriber/ConfigImportSubscriber.php
+++ b/core/lib/Drupal/Core/EventSubscriber/ConfigImportSubscriber.php
@@ -209,19 +209,19 @@ protected function validateDependencies(ConfigImporter $config_importer) {
         if (!isset($core_extension['module'][$owner]) && isset($module_data[$owner])) {
           $message = $this->t('Configuration %name depends on the %owner module that will not be installed after import.', array(
             '%name' => $name,
-            '%owner' => $module_data[$owner]->info['name']
+            '%owner' => $module_data[$owner]->info['name'],
           ));
         }
         elseif (!isset($core_extension['theme'][$owner]) && isset($theme_data[$owner])) {
           $message = $this->t('Configuration %name depends on the %owner theme that will not be installed after import.', array(
             '%name' => $name,
-            '%owner' => $theme_data[$owner]->info['name']
+            '%owner' => $theme_data[$owner]->info['name'],
           ));
         }
         elseif (!isset($core_extension['module'][$owner]) && !isset($core_extension['theme'][$owner])) {
           $message = $this->t('Configuration %name depends on the %owner extension that will not be installed after import.', array(
             '%name' => $name,
-            '%owner' => $owner
+            '%owner' => $owner,
           ));
         }
 
diff --git a/core/lib/Drupal/Core/Extension/module.api.php b/core/lib/Drupal/Core/Extension/module.api.php
index b732387..e8d8bce 100644
--- a/core/lib/Drupal/Core/Extension/module.api.php
+++ b/core/lib/Drupal/Core/Extension/module.api.php
@@ -935,7 +935,7 @@ function hook_requirements($phase) {
     $requirements['drupal'] = array(
       'title' => t('Drupal'),
       'value' => \Drupal::VERSION,
-      'severity' => REQUIREMENT_INFO
+      'severity' => REQUIREMENT_INFO,
     );
   }
 
diff --git a/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/LanguageFormatter.php b/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/LanguageFormatter.php
index 3a0ee89..c10328a 100644
--- a/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/LanguageFormatter.php
+++ b/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/LanguageFormatter.php
@@ -118,7 +118,7 @@ protected function viewValue(FieldItemInterface $item) {
     // name. That only depends on formatter settings and no language condition.
     $languages = $this->getSetting('native_language') ? $this->languageManager->getNativeLanguages(LanguageInterface::STATE_ALL) : $this->languageManager->getLanguages(LanguageInterface::STATE_ALL);
     return [
-      '#plain_text' => $item->language && isset($languages[$item->language->getId()]) ? $languages[$item->language->getId()]->getName() : ''
+      '#plain_text' => $item->language && isset($languages[$item->language->getId()]) ? $languages[$item->language->getId()]->getName() : '',
     ];
   }
 
diff --git a/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/DecimalItem.php b/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/DecimalItem.php
index a8849fd..f0d7490 100644
--- a/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/DecimalItem.php
+++ b/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/DecimalItem.php
@@ -52,7 +52,7 @@ public static function schema(FieldStorageDefinitionInterface $field_definition)
           'type' => 'numeric',
           'precision' => $field_definition->getSetting('precision'),
           'scale' => $field_definition->getSetting('scale'),
-        )
+        ),
       ),
     );
   }
@@ -98,7 +98,7 @@ public function getConstraints() {
       'value' => array(
         'Regex' => array(
           'pattern' => '/^[+-]?((\d+(\.\d*)?)|(\.\d+))$/i',
-        )
+        ),
       ),
     ));
 
diff --git a/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EmailItem.php b/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EmailItem.php
index f42a2b4..0b044ec 100644
--- a/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EmailItem.php
+++ b/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EmailItem.php
@@ -59,7 +59,7 @@ public function getConstraints() {
         'Length' => array(
           'max' => Email::EMAIL_MAX_LENGTH,
           'maxMessage' => t('%name: the email address can not be longer than @max characters.', array('%name' => $this->getFieldDefinition()->getLabel(), '@max' => Email::EMAIL_MAX_LENGTH)),
-        )
+        ),
       ),
     ));
 
diff --git a/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php b/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
index e8832f3..cdd591a 100644
--- a/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
+++ b/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
@@ -490,7 +490,7 @@ public static function onDependencyRemoval(FieldDefinitionInterface $field_defin
                   '%target_entity_type' => $bundle->getEntityType()->getBundleOf(),
                   '%field_name' => $field_definition->getName(),
                   '%entity_type' => $field_definition->getTargetEntityTypeId(),
-                  '%bundle' => $field_definition->getTargetBundle()
+                  '%bundle' => $field_definition->getTargetBundle(),
                 ]);
               }
             }
@@ -637,8 +637,8 @@ public static function getPreconfiguredOptions() {
         'field_storage_config' => [
           'settings' => [
             'target_type' => $entity_type->id(),
-          ]
-        ]
+          ],
+        ],
       ];
     }
 
diff --git a/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/NumericItemBase.php b/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/NumericItemBase.php
index 678ab1f..959834d 100644
--- a/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/NumericItemBase.php
+++ b/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/NumericItemBase.php
@@ -86,7 +86,7 @@ public function getConstraints() {
           'Range' => array(
             'min' => $min,
             'minMessage' => t('%name: the value may be no less than %min.', array('%name' => $label, '%min' => $min)),
-          )
+          ),
         ),
       ));
     }
@@ -98,7 +98,7 @@ public function getConstraints() {
           'Range' => array(
             'max' => $max,
             'maxMessage' => t('%name: the value may be no greater than %max.', array('%name' => $label, '%max' => $max)),
-          )
+          ),
         ),
       ));
     }
diff --git a/core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php b/core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php
index b5e16c1..4050a7e 100644
--- a/core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php
+++ b/core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php
@@ -104,7 +104,7 @@ public function formElement(FieldItemListInterface $items, $delta, array $elemen
     if ($this->getSelectionHandlerSetting('auto_create') && ($bundle = $this->getAutocreateBundle())) {
       $element['#autocreate'] = array(
         'bundle' => $bundle,
-        'uid' => ($entity instanceof EntityOwnerInterface) ? $entity->getOwnerId() : \Drupal::currentUser()->id()
+        'uid' => ($entity instanceof EntityOwnerInterface) ? $entity->getOwnerId() : \Drupal::currentUser()->id(),
       );
     }
 
diff --git a/core/lib/Drupal/Core/Field/PluginSettingsBase.php b/core/lib/Drupal/Core/Field/PluginSettingsBase.php
index a6196ec..25282f7 100644
--- a/core/lib/Drupal/Core/Field/PluginSettingsBase.php
+++ b/core/lib/Drupal/Core/Field/PluginSettingsBase.php
@@ -141,7 +141,7 @@ public function calculateDependencies() {
     if (!empty($this->thirdPartySettings)) {
       // Create dependencies on any modules providing third party settings.
       return array(
-        'module' => array_keys($this->thirdPartySettings)
+        'module' => array_keys($this->thirdPartySettings),
       );
     }
     return array();
diff --git a/core/lib/Drupal/Core/Form/FormBuilder.php b/core/lib/Drupal/Core/Form/FormBuilder.php
index 544ee94..2885dff 100644
--- a/core/lib/Drupal/Core/Form/FormBuilder.php
+++ b/core/lib/Drupal/Core/Form/FormBuilder.php
@@ -760,9 +760,9 @@ public function prepareForm($form_id, &$form, FormStateInterface &$form_state) {
           '#attached' => [
             'placeholders' => [
               $placeholder => [
-                '#lazy_builder' => ['form_builder:renderFormTokenPlaceholder', [$placeholder]]
-              ]
-            ]
+                '#lazy_builder' => ['form_builder:renderFormTokenPlaceholder', [$placeholder]],
+              ],
+            ],
           ],
           '#cache' => [
             'max-age' => 0,
diff --git a/core/lib/Drupal/Core/Form/form.api.php b/core/lib/Drupal/Core/Form/form.api.php
index 701871f..79aa9a9 100644
--- a/core/lib/Drupal/Core/Form/form.api.php
+++ b/core/lib/Drupal/Core/Form/form.api.php
@@ -129,7 +129,7 @@ function callback_batch_finished($success, $results, $operations) {
     $error_operation = reset($operations);
     $message = t('An error occurred while processing %error_operation with arguments: @arguments', array(
       '%error_operation' => $error_operation[0],
-      '@arguments' => print_r($error_operation[1], TRUE)
+      '@arguments' => print_r($error_operation[1], TRUE),
     ));
     drupal_set_message($message, 'error');
   }
diff --git a/core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php b/core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php
index c6a3840..2c0da30 100644
--- a/core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php
+++ b/core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php
@@ -122,7 +122,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
       $form['settings'][$key]['#states'] = array(
         'visible' => array(
           ':input[name=driver]' => array('value' => $key),
-        )
+        ),
       );
     }
 
diff --git a/core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php b/core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php
index 9f3b428..a05d651 100644
--- a/core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php
+++ b/core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php
@@ -63,7 +63,7 @@ public function getAll() {
       'SELECT name, value FROM {' . $this->connection->escapeTable($this->table) . '} WHERE collection = :collection AND expire > :now',
       array(
         ':collection' => $this->collection,
-        ':now' => REQUEST_TIME
+        ':now' => REQUEST_TIME,
       ))->fetchAllKeyed();
     return array_map(array($this->serializer, 'decode'), $values);
   }
diff --git a/core/lib/Drupal/Core/Lock/DatabaseLockBackend.php b/core/lib/Drupal/Core/Lock/DatabaseLockBackend.php
index d095028..441fc9f 100644
--- a/core/lib/Drupal/Core/Lock/DatabaseLockBackend.php
+++ b/core/lib/Drupal/Core/Lock/DatabaseLockBackend.php
@@ -215,20 +215,20 @@ public function schemaDefinition() {
           'type' => 'varchar_ascii',
           'length' => 255,
           'not null' => TRUE,
-          'default' => ''
+          'default' => '',
         ],
         'value' => [
           'description' => 'A value for the semaphore.',
           'type' => 'varchar_ascii',
           'length' => 255,
           'not null' => TRUE,
-          'default' => ''
+          'default' => '',
         ],
         'expire' => [
           'description' => 'A Unix timestamp with microseconds indicating when the semaphore should expire.',
           'type' => 'float',
           'size' => 'big',
-          'not null' => TRUE
+          'not null' => TRUE,
         ],
       ],
       'indexes' => [
diff --git a/core/lib/Drupal/Core/Render/Element/SystemCompactLink.php b/core/lib/Drupal/Core/Render/Element/SystemCompactLink.php
index 455113d..cf9c1a9 100644
--- a/core/lib/Drupal/Core/Render/Element/SystemCompactLink.php
+++ b/core/lib/Drupal/Core/Render/Element/SystemCompactLink.php
@@ -65,7 +65,7 @@ public static function preRenderCompactLink($element) {
       $element['#url'] = BaseUrl::fromRoute('system.admin_compact_page', array('mode' => 'off'));
       $element['#options'] = array(
         'attributes' => array('title' => t('Expand layout to include descriptions.')),
-        'query' => \Drupal::destination()->getAsArray()
+        'query' => \Drupal::destination()->getAsArray(),
       );
     }
     else {
diff --git a/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php b/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php
index 54c40f6..ec56771 100644
--- a/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php
+++ b/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php
@@ -226,7 +226,7 @@ protected function prepare(array $main_content, Request $request, RouteMatchInte
           return $this->renderer->render($main_content, FALSE);
         });
         $main_content = $this->renderCache->getCacheableRenderArray($main_content) + [
-          '#title' => isset($main_content['#title']) ? $main_content['#title'] : NULL
+          '#title' => isset($main_content['#title']) ? $main_content['#title'] : NULL,
         ];
       }
 
diff --git a/core/lib/Drupal/Core/Render/RenderCache.php b/core/lib/Drupal/Core/Render/RenderCache.php
index 12d52e9..02e13d5 100644
--- a/core/lib/Drupal/Core/Render/RenderCache.php
+++ b/core/lib/Drupal/Core/Render/RenderCache.php
@@ -259,7 +259,7 @@ public function set(array &$elements, array $pre_bubbling_elements) {
           '#cache' => [
             'keys' => $elements['#cache']['keys'],
             'contexts' => $redirect_cacheability_updated->getCacheContexts(),
-          ]
+          ],
         ];
         $cid = $this->createCacheID($recalculated_cid_pseudo_element);
         // Ensure the about-to-be-cached data uses the merged cache contexts.
diff --git a/core/lib/Drupal/Core/Render/Renderer.php b/core/lib/Drupal/Core/Render/Renderer.php
index 09a1bf1..60722eb 100644
--- a/core/lib/Drupal/Core/Render/Renderer.php
+++ b/core/lib/Drupal/Core/Render/Renderer.php
@@ -324,7 +324,7 @@ protected function doRender(&$elements, $is_root_call = FALSE) {
         // by the Renderer, so we don't crash on them; them being missing when
         // their #lazy_builder callback is invoked won't surprise the developer.
         '#weight',
-        '#printed'
+        '#printed',
       ];
       $unsupported_keys = array_diff(array_keys($elements), $supported_keys);
       if (count($unsupported_keys)) {
diff --git a/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidator.php b/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidator.php
index 5829e39..cff5850 100644
--- a/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidator.php
+++ b/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidator.php
@@ -73,7 +73,7 @@ public function validate($value, Constraint $constraint) {
     if (!$valid) {
       // @todo: Provide a good violation message for each problem.
       $this->context->addViolation($constraint->message, array(
-        '%value' => is_object($value) ? get_class($value) : (is_array($value) ? 'Array' : (string) $value)
+        '%value' => is_object($value) ? get_class($value) : (is_array($value) ? 'Array' : (string) $value),
       ));
     }
   }
diff --git a/core/modules/action/src/Form/ActionAdminManageForm.php b/core/modules/action/src/Form/ActionAdminManageForm.php
index de48755..91b530a 100644
--- a/core/modules/action/src/Form/ActionAdminManageForm.php
+++ b/core/modules/action/src/Form/ActionAdminManageForm.php
@@ -71,7 +71,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
       '#empty_option' => $this->t('Choose an advanced action'),
     );
     $form['parent']['actions'] = array(
-      '#type' => 'actions'
+      '#type' => 'actions',
     );
     $form['parent']['actions']['submit'] = array(
       '#type' => 'submit',
diff --git a/core/modules/action/tests/src/Kernel/Migrate/d6/MigrateActionsTest.php b/core/modules/action/tests/src/Kernel/Migrate/d6/MigrateActionsTest.php
index 1737715..928b3c9 100644
--- a/core/modules/action/tests/src/Kernel/Migrate/d6/MigrateActionsTest.php
+++ b/core/modules/action/tests/src/Kernel/Migrate/d6/MigrateActionsTest.php
@@ -40,7 +40,7 @@ public function testActions() {
     $this->assertEntity('send_e_mail', 'Send e-mail', 'system', [
       "recipient" => "test@example.com",
       "subject" => "Drupal migration test",
-      "message" => "Drupal migration test"
+      "message" => "Drupal migration test",
     ]);
     $this->assertEntity('redirect_to_url', 'Redirect to URL', 'system', ["url" => "https://www.drupal.org"]);
 
diff --git a/core/modules/action/tests/src/Kernel/Migrate/d7/MigrateActionsTest.php b/core/modules/action/tests/src/Kernel/Migrate/d7/MigrateActionsTest.php
index 1601449..47049f3 100644
--- a/core/modules/action/tests/src/Kernel/Migrate/d7/MigrateActionsTest.php
+++ b/core/modules/action/tests/src/Kernel/Migrate/d7/MigrateActionsTest.php
@@ -40,7 +40,7 @@ public function testActions() {
     $this->assertEntity('send_e_mail', 'Send e-mail', 'system', [
       "recipient" => "test@example.com",
       "subject" => "Drupal migration test",
-      "message" => "Drupal migration test"
+      "message" => "Drupal migration test",
     ]);
     $this->assertEntity('redirect_to_url', 'Redirect to URL', 'system', ["url" => "https://www.drupal.org"]);
 
diff --git a/core/modules/aggregator/src/Plugin/aggregator/fetcher/DefaultFetcher.php b/core/modules/aggregator/src/Plugin/aggregator/fetcher/DefaultFetcher.php
index 99ec48d..2bd2e93 100644
--- a/core/modules/aggregator/src/Plugin/aggregator/fetcher/DefaultFetcher.php
+++ b/core/modules/aggregator/src/Plugin/aggregator/fetcher/DefaultFetcher.php
@@ -87,7 +87,7 @@ public function fetch(FeedInterface $feed) {
       $response = $this->httpClientFactory->fromOptions(['allow_redirects' => [
         'on_redirect' => function(RequestInterface $request, ResponseInterface $response, UriInterface $uri) use (&$actual_uri) {
           $actual_uri = (string) $uri;
-        }
+        },
       ]])->send($request);
 
       // In case of a 304 Not Modified, there is no new content, so return
diff --git a/core/modules/ban/tests/src/Unit/Plugin/migrate/source/d7/BlockedIpsTest.php b/core/modules/ban/tests/src/Unit/Plugin/migrate/source/d7/BlockedIpsTest.php
index 8ca8f58..802a0d8 100644
--- a/core/modules/ban/tests/src/Unit/Plugin/migrate/source/d7/BlockedIpsTest.php
+++ b/core/modules/ban/tests/src/Unit/Plugin/migrate/source/d7/BlockedIpsTest.php
@@ -35,7 +35,7 @@ protected function setUp() {
       [
         'iid' => 1,
         'ip' => '127.0.0.1',
-      ]
+      ],
     ];
     parent::setUp();
   }
diff --git a/core/modules/big_pipe/src/Tests/BigPipePlaceholderTestCases.php b/core/modules/big_pipe/src/Tests/BigPipePlaceholderTestCases.php
index 1cf10d4..8ea61a9 100644
--- a/core/modules/big_pipe/src/Tests/BigPipePlaceholderTestCases.php
+++ b/core/modules/big_pipe/src/Tests/BigPipePlaceholderTestCases.php
@@ -55,7 +55,7 @@ public static function cases(ContainerInterface $container = NULL, AccountInterf
       [
         '#lazy_builder' => [
           'Drupal\Core\Render\Element\StatusMessages::renderMessages',
-          [NULL]
+          [NULL],
         ],
       ]
     );
@@ -104,7 +104,7 @@ public static function cases(ContainerInterface $container = NULL, AccountInterf
         ],
         [
           'command' => 'add_css',
-          'data' => '<link rel="stylesheet" href="' . base_path() . 'core/themes/classy/css/components/messages.css?' . $container->get('state')->get('system.css_js_query_string') . '" media="all" />' . "\n"
+          'data' => '<link rel="stylesheet" href="' . base_path() . 'core/themes/classy/css/components/messages.css?' . $container->get('state')->get('system.css_js_query_string') . '" media="all" />' . "\n",
         ],
         [
           'command' => 'insert',
@@ -153,7 +153,7 @@ public static function cases(ContainerInterface $container = NULL, AccountInterf
       [
         '#lazy_builder' => [
           'route_processor_csrf:renderPlaceholderCsrfToken',
-          ['admin/config/user-interface/shortcut/manage/default/add-link-inline']
+          ['admin/config/user-interface/shortcut/manage/default/add-link-inline'],
         ],
       ]
     );
@@ -180,14 +180,14 @@ public static function cases(ContainerInterface $container = NULL, AccountInterf
         '#attached' => [
           'placeholders' => [
             '<hello' => ['#lazy_builder' => ['\Drupal\big_pipe_test\BigPipeTestController::helloOrYarhar', []]],
-          ]
+          ],
         ],
       ],
       '<hello',
       [
         '#lazy_builder' => [
           'hello_or_yarhar',
-          []
+          [],
         ],
       ]
     );
@@ -214,9 +214,9 @@ public static function cases(ContainerInterface $container = NULL, AccountInterf
               '#pre_render' => [
                 '\Drupal\big_pipe_test\BigPipeTestController::currentTime',
               ],
-            ]
-          ]
-        ]
+            ],
+          ],
+        ],
       ],
       '<time>CURRENT TIME</time>',
       [
diff --git a/core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipeTestController.php b/core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipeTestController.php
index 30594a5..bc73cca 100644
--- a/core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipeTestController.php
+++ b/core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipeTestController.php
@@ -86,7 +86,7 @@ public function multiOccurrence() {
   public static function currentTime() {
     return [
       '#markup' => '<time datetime=' . date('Y-m-d', 668948400) . '"></time>',
-      '#cache' => ['max-age' => 0]
+      '#cache' => ['max-age' => 0],
     ];
   }
 
diff --git a/core/modules/block/block.install b/core/modules/block/block.install
index 106815c..4f79303 100644
--- a/core/modules/block/block.install
+++ b/core/modules/block/block.install
@@ -78,7 +78,7 @@ function block_update_8001() {
         // their own updates.
         $update_backup[$block->get('id')] = [
           'missing_context_ids' => $backup_values,
-          'status' => $block->get('status')
+          'status' => $block->get('status'),
         ];
       }
     }
diff --git a/core/modules/block/block.post_update.php b/core/modules/block/block.post_update.php
index f208f65..c16409f 100644
--- a/core/modules/block/block.post_update.php
+++ b/core/modules/block/block.post_update.php
@@ -65,7 +65,7 @@ function block_post_update_disable_blocks_with_missing_contexts() {
     foreach ($blocks as $disabled_block_id => $disabled_block) {
       $message .= '<li>' . t('@label (Visibility: @plugin_ids)', array(
           '@label' => $disabled_block->get('settings')['label'],
-          '@plugin_ids' => implode(', ', array_intersect_key($condition_plugin_id_label_map, array_flip(array_keys($block_update_8001[$disabled_block_id]['missing_context_ids']))))
+          '@plugin_ids' => implode(', ', array_intersect_key($condition_plugin_id_label_map, array_flip(array_keys($block_update_8001[$disabled_block_id]['missing_context_ids'])))),
         )) . '</li>';
     }
     $message .= '</ul>';
diff --git a/core/modules/block/src/BlockListBuilder.php b/core/modules/block/src/BlockListBuilder.php
index 3365415..3dd1f2f 100644
--- a/core/modules/block/src/BlockListBuilder.php
+++ b/core/modules/block/src/BlockListBuilder.php
@@ -212,7 +212,7 @@ protected function buildBlocksForm() {
         '#theme_wrappers' => array(
           'container' => array(
             '#attributes' => array('class' => 'region-title__action'),
-          )
+          ),
         ),
         '#prefix' => $region != BlockInterface::BLOCK_REGION_NONE ? $title : $block_regions_with_disabled[$region],
         '#type' => 'link',
diff --git a/core/modules/block/src/Tests/BlockLanguageTest.php b/core/modules/block/src/Tests/BlockLanguageTest.php
index a2bf249..1b2d73a 100644
--- a/core/modules/block/src/Tests/BlockLanguageTest.php
+++ b/core/modules/block/src/Tests/BlockLanguageTest.php
@@ -164,7 +164,7 @@ public function testMultipleLanguageTypes() {
 
     // Change visibility to now depend on content language for this block.
     $edit = [
-      'visibility[language][context_mapping][language]' => '@language.current_language_context:language_content'
+      'visibility[language][context_mapping][language]' => '@language.current_language_context:language_content',
     ];
     $this->drupalPostForm('admin/structure/block/manage/' . $block_id, $edit, t('Save block'));
 
diff --git a/core/modules/block/src/Tests/BlockTest.php b/core/modules/block/src/Tests/BlockTest.php
index 039aa64..cf168eb 100644
--- a/core/modules/block/src/Tests/BlockTest.php
+++ b/core/modules/block/src/Tests/BlockTest.php
@@ -530,14 +530,14 @@ public function testBlockUserRoleDelete() {
 
     $this->assertEqual($block->getVisibility()['user_role']['roles'], [
       $role1->id() => $role1->id(),
-      $role2->id() => $role2->id()
+      $role2->id() => $role2->id(),
     ]);
 
     $role1->delete();
 
     $block = Block::load($block->id());
     $this->assertEqual($block->getVisibility()['user_role']['roles'], [
-      $role2->id() => $role2->id()
+      $role2->id() => $role2->id(),
     ]);
   }
 
diff --git a/core/modules/block/tests/modules/block_test/src/Form/FavoriteAnimalTestForm.php b/core/modules/block/tests/modules/block_test/src/Form/FavoriteAnimalTestForm.php
index 9aa74c6..bd5a042 100644
--- a/core/modules/block/tests/modules/block_test/src/Form/FavoriteAnimalTestForm.php
+++ b/core/modules/block/tests/modules/block_test/src/Form/FavoriteAnimalTestForm.php
@@ -20,7 +20,7 @@ public function getFormId() {
   public function buildForm(array $form, FormStateInterface $form_state) {
     $form['favorite_animal'] = [
       '#type' => 'textfield',
-      '#title' => $this->t('Your favorite animal.')
+      '#title' => $this->t('Your favorite animal.'),
     ];
 
     $form['submit_animal'] = [
diff --git a/core/modules/block/tests/modules/block_test/src/Form/TestForm.php b/core/modules/block/tests/modules/block_test/src/Form/TestForm.php
index 08fd6f6..5954781 100644
--- a/core/modules/block/tests/modules/block_test/src/Form/TestForm.php
+++ b/core/modules/block/tests/modules/block_test/src/Form/TestForm.php
@@ -20,7 +20,7 @@ public function getFormId() {
   public function buildForm(array $form, FormStateInterface $form_state) {
     $form['email'] = [
       '#type' => 'email',
-      '#title' => $this->t('Your .com email address.')
+      '#title' => $this->t('Your .com email address.'),
     ];
 
     $form['show'] = [
diff --git a/core/modules/block/tests/src/Kernel/Migrate/d6/MigrateBlockTest.php b/core/modules/block/tests/src/Kernel/Migrate/d6/MigrateBlockTest.php
index 1ceadd1..a807a1c 100644
--- a/core/modules/block/tests/src/Kernel/Migrate/d6/MigrateBlockTest.php
+++ b/core/modules/block/tests/src/Kernel/Migrate/d6/MigrateBlockTest.php
@@ -110,7 +110,7 @@ public function testBlockMigration() {
     $visibility = [];
     $visibility['user_role']['id'] = 'user_role';
     $visibility['user_role']['roles'] = [
-      'migrate_test_role_1' => 'migrate_test_role_1'
+      'migrate_test_role_1' => 'migrate_test_role_1',
     ];
     $context_mapping['user'] = '@user.current_user_context:current_user';
     $visibility['user_role']['context_mapping'] = $context_mapping;
diff --git a/core/modules/block/tests/src/Unit/BlockRepositoryTest.php b/core/modules/block/tests/src/Unit/BlockRepositoryTest.php
index aab11fe..06ebdfd 100644
--- a/core/modules/block/tests/src/Unit/BlockRepositoryTest.php
+++ b/core/modules/block/tests/src/Unit/BlockRepositoryTest.php
@@ -118,21 +118,21 @@ public function testGetVisibleBlocksPerRegion(array $blocks_config, array $expec
   public function providerBlocksConfig() {
     $blocks_config = array(
       'block1' => array(
-        AccessResult::allowed(), 'top', 0
+        AccessResult::allowed(), 'top', 0,
       ),
       // Test a block without access.
       'block2' => array(
-        AccessResult::forbidden(), 'bottom', 0
+        AccessResult::forbidden(), 'bottom', 0,
       ),
       // Test some blocks in the same region with specific weight.
       'block4' => array(
-        AccessResult::allowed(), 'bottom', 5
+        AccessResult::allowed(), 'bottom', 5,
       ),
       'block3' => array(
-        AccessResult::allowed(), 'bottom', 5
+        AccessResult::allowed(), 'bottom', 5,
       ),
       'block5' => array(
-        AccessResult::allowed(), 'bottom', -5
+        AccessResult::allowed(), 'bottom', -5,
       ),
     );
 
@@ -142,7 +142,7 @@ public function providerBlocksConfig() {
         'top' => ['block1'],
         'center' => [],
         'bottom' => ['block5', 'block3', 'block4'],
-      ]
+      ],
     ];
     return $test_cases;
   }
diff --git a/core/modules/block/tests/src/Unit/Plugin/migrate/source/BlockTest.php b/core/modules/block/tests/src/Unit/Plugin/migrate/source/BlockTest.php
index 4a60bd1..d4f9229 100644
--- a/core/modules/block/tests/src/Unit/Plugin/migrate/source/BlockTest.php
+++ b/core/modules/block/tests/src/Unit/Plugin/migrate/source/BlockTest.php
@@ -37,7 +37,7 @@ class BlockTest extends MigrateSqlSourceTestCase {
       'pages' => '',
       'title' => 'Test Title 01',
       'cache' => -1,
-      'roles' => [2]
+      'roles' => [2],
     ),
     array(
       'bid' => 2,
@@ -51,7 +51,7 @@ class BlockTest extends MigrateSqlSourceTestCase {
       'pages' => '<front>',
       'title' => 'Test Title 02',
       'cache' => -1,
-      'roles' => [2]
+      'roles' => [2],
     ),
   );
   /**
@@ -136,7 +136,7 @@ protected function setUp() {
         'schema_version' => '6055',
         'weight' => '0',
         'info' => 'a:0:{}',
-      )
+      ),
     );
     parent::setUp();
   }
diff --git a/core/modules/block_content/src/Controller/BlockContentController.php b/core/modules/block_content/src/Controller/BlockContentController.php
index 1caad74..8a03e72 100644
--- a/core/modules/block_content/src/Controller/BlockContentController.php
+++ b/core/modules/block_content/src/Controller/BlockContentController.php
@@ -102,7 +102,7 @@ public function add(Request $request) {
    */
   public function addForm(BlockContentTypeInterface $block_content_type, Request $request) {
     $block = $this->blockContentStorage->create(array(
-      'type' => $block_content_type->id()
+      'type' => $block_content_type->id(),
     ));
     if (($theme = $request->query->get('theme')) && in_array($theme, array_keys($this->themeHandler->listInfo()))) {
       // We have navigated to this page from the block library and will keep track
diff --git a/core/modules/block_content/src/Plugin/Block/BlockContentBlock.php b/core/modules/block_content/src/Plugin/Block/BlockContentBlock.php
index 2afd040..cc456d2 100644
--- a/core/modules/block_content/src/Plugin/Block/BlockContentBlock.php
+++ b/core/modules/block_content/src/Plugin/Block/BlockContentBlock.php
@@ -164,9 +164,9 @@ public function build() {
       return array(
         '#markup' => $this->t('Block with uuid %uuid does not exist. <a href=":url">Add custom block</a>.', array(
           '%uuid' => $this->getDerivativeId(),
-          ':url' => $this->urlGenerator->generate('block_content.add_page')
+          ':url' => $this->urlGenerator->generate('block_content.add_page'),
         )),
-        '#access' => $this->account->hasPermission('administer blocks')
+        '#access' => $this->account->hasPermission('administer blocks'),
       );
     }
   }
diff --git a/core/modules/block_content/src/Plugin/Derivative/BlockContent.php b/core/modules/block_content/src/Plugin/Derivative/BlockContent.php
index 63b68c0..c986e19 100644
--- a/core/modules/block_content/src/Plugin/Derivative/BlockContent.php
+++ b/core/modules/block_content/src/Plugin/Derivative/BlockContent.php
@@ -49,7 +49,7 @@ public function getDerivativeDefinitions($base_plugin_definition) {
       $this->derivatives[$block_content->uuid()] = $base_plugin_definition;
       $this->derivatives[$block_content->uuid()]['admin_label'] = $block_content->label();
       $this->derivatives[$block_content->uuid()]['config_dependencies']['content'] = array(
-        $block_content->getConfigDependencyName()
+        $block_content->getConfigDependencyName(),
       );
     }
     return parent::getDerivativeDefinitions($base_plugin_definition);
diff --git a/core/modules/block_content/src/Tests/BlockContentCacheTagsTest.php b/core/modules/block_content/src/Tests/BlockContentCacheTagsTest.php
index 7eefdc7..df5e5a6 100644
--- a/core/modules/block_content/src/Tests/BlockContentCacheTagsTest.php
+++ b/core/modules/block_content/src/Tests/BlockContentCacheTagsTest.php
@@ -29,7 +29,7 @@ protected function createEntity() {
     $block_content_type = BlockContentType::create(array(
       'id' => 'basic',
       'label' => 'basic',
-      'revision' => FALSE
+      'revision' => FALSE,
     ));
     $block_content_type->save();
     block_content_add_body_field($block_content_type->id());
diff --git a/core/modules/block_content/src/Tests/BlockContentCreationTest.php b/core/modules/block_content/src/Tests/BlockContentCreationTest.php
index 0cca85e..bf114b1 100644
--- a/core/modules/block_content/src/Tests/BlockContentCreationTest.php
+++ b/core/modules/block_content/src/Tests/BlockContentCreationTest.php
@@ -30,7 +30,7 @@ class BlockContentCreationTest extends BlockContentTestBase {
    */
   protected $permissions = array(
     'administer blocks',
-    'administer block_content display'
+    'administer block_content display',
   );
 
   /**
@@ -56,7 +56,7 @@ public function testBlockContentCreation() {
     // Check that the Basic block has been created.
     $this->assertRaw(format_string('@block %name has been created.', array(
       '@block' => 'basic',
-      '%name' => $edit['info[0][value]']
+      '%name' => $edit['info[0][value]'],
     )), 'Basic block created.');
 
     // Check that the view mode setting is hidden because only one exists.
@@ -73,7 +73,7 @@ public function testBlockContentCreation() {
 
     // Check that the Basic block has been created.
     $this->assertRaw(format_string('A custom block with block description %value already exists.', array(
-      '%value' => $edit['info[0][value]']
+      '%value' => $edit['info[0][value]'],
     )));
     $this->assertResponse(200);
   }
@@ -103,7 +103,7 @@ public function testBlockContentCreationMultipleViewModes() {
     // Check that the Basic block has been created.
     $this->assertRaw(format_string('@block %name has been created.', array(
       '@block' => 'basic',
-      '%name' => $edit['info[0][value]']
+      '%name' => $edit['info[0][value]'],
     )), 'Basic block created.');
 
     // Save our block permanently
@@ -152,7 +152,7 @@ public function testBlockContentCreationMultipleViewModes() {
 
     // Check that the Basic block has been created.
     $this->assertRaw(format_string('A custom block with block description %value already exists.', array(
-      '%value' => $edit['info[0][value]']
+      '%value' => $edit['info[0][value]'],
     )));
     $this->assertResponse(200);
   }
diff --git a/core/modules/block_content/src/Tests/BlockContentSaveTest.php b/core/modules/block_content/src/Tests/BlockContentSaveTest.php
index aabf7b6..cd56529 100644
--- a/core/modules/block_content/src/Tests/BlockContentSaveTest.php
+++ b/core/modules/block_content/src/Tests/BlockContentSaveTest.php
@@ -39,7 +39,7 @@ public function testImport() {
       'info' => $info,
       'body' => array('value' => $this->randomMachineName(32)),
       'type' => 'basic',
-      'id' => $test_id
+      'id' => $test_id,
     );
     $block = BlockContent::create($block_array);
     $block->enforceIsNew(TRUE);
diff --git a/core/modules/block_content/src/Tests/BlockContentTestBase.php b/core/modules/block_content/src/Tests/BlockContentTestBase.php
index 16df855..2a61f29 100644
--- a/core/modules/block_content/src/Tests/BlockContentTestBase.php
+++ b/core/modules/block_content/src/Tests/BlockContentTestBase.php
@@ -29,7 +29,7 @@
    * @var array
    */
   protected $permissions = array(
-    'administer blocks'
+    'administer blocks',
   );
 
   /**
@@ -78,7 +78,7 @@ protected function createBlockContent($title = FALSE, $bundle = 'basic', $save =
     $block_content = BlockContent::create(array(
       'info' => $title,
       'type' => $bundle,
-      'langcode' => 'en'
+      'langcode' => 'en',
     ));
     if ($block_content && $save === TRUE) {
       $block_content->save();
diff --git a/core/modules/block_content/src/Tests/BlockContentTranslationUITest.php b/core/modules/block_content/src/Tests/BlockContentTranslationUITest.php
index 7748b37..5ea21e0 100644
--- a/core/modules/block_content/src/Tests/BlockContentTranslationUITest.php
+++ b/core/modules/block_content/src/Tests/BlockContentTranslationUITest.php
@@ -24,7 +24,7 @@ class BlockContentTranslationUITest extends ContentTranslationUITestBase {
     'content_translation',
     'block',
     'field_ui',
-    'block_content'
+    'block_content',
   );
 
   /**
@@ -60,7 +60,7 @@ protected function setupBundle() {
     $bundle = BlockContentType::create(array(
       'id' => $this->bundle,
       'label' => $this->bundle,
-      'revision' => FALSE
+      'revision' => FALSE,
     ));
     $bundle->save();
   }
@@ -73,7 +73,7 @@ public function getTranslatorPermissions() {
       'translate any entity',
       'access administration pages',
       'administer blocks',
-      'administer block_content fields'
+      'administer block_content fields',
     ));
   }
 
@@ -96,7 +96,7 @@ protected function createBlockContent($title = FALSE, $bundle = FALSE) {
     $block_content = BlockContent::create(array(
       'info' => $title,
       'type' => $bundle,
-      'langcode' => 'en'
+      'langcode' => 'en',
     ));
     $block_content->save();
     return $block_content;
@@ -162,7 +162,7 @@ public function testDisabledBundle() {
     $bundle = BlockContentType::create(array(
       'id' => $disabled_bundle,
       'label' => $disabled_bundle,
-      'revision' => FALSE
+      'revision' => FALSE,
     ));
     $bundle->save();
 
diff --git a/core/modules/block_content/src/Tests/BlockContentTypeTest.php b/core/modules/block_content/src/Tests/BlockContentTypeTest.php
index e73aa2a..9b78e31 100644
--- a/core/modules/block_content/src/Tests/BlockContentTypeTest.php
+++ b/core/modules/block_content/src/Tests/BlockContentTypeTest.php
@@ -26,7 +26,7 @@ class BlockContentTypeTest extends BlockContentTestBase {
    */
   protected $permissions = array(
     'administer blocks',
-    'administer block_content fields'
+    'administer block_content fields',
   );
 
   /**
diff --git a/core/modules/block_content/src/Tests/Views/BlockContentTestBase.php b/core/modules/block_content/src/Tests/Views/BlockContentTestBase.php
index 65d33c88..303df46 100644
--- a/core/modules/block_content/src/Tests/Views/BlockContentTestBase.php
+++ b/core/modules/block_content/src/Tests/Views/BlockContentTestBase.php
@@ -94,7 +94,7 @@ protected function createBlockContentType(array $values = array()) {
     $values += array(
       'id' => $id,
       'label' => $id,
-      'revision' => FALSE
+      'revision' => FALSE,
     );
     $bundle = BlockContentType::create($values);
     $status = $bundle->save();
diff --git a/core/modules/book/book.module b/core/modules/book/book.module
index ecccb74..d51e09a 100644
--- a/core/modules/book/book.module
+++ b/core/modules/book/book.module
@@ -110,7 +110,7 @@ function book_node_links_alter(array &$links, NodeInterface $node, array &$conte
               'type' => 'html',
               'node' => $node->id(),
             ]),
-            'attributes' => array('title' => t('Show a printer-friendly version of this book page and its sub-pages.'))
+            'attributes' => array('title' => t('Show a printer-friendly version of this book page and its sub-pages.')),
           );
         }
       }
diff --git a/core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalImageCaption.php b/core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalImageCaption.php
index d01748a..33d82cf 100644
--- a/core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalImageCaption.php
+++ b/core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalImageCaption.php
@@ -70,7 +70,7 @@ public function getConfig(Editor $editor) {
    */
   public function getCssFiles(Editor $editor) {
     return array(
-      drupal_get_path('module', 'ckeditor') . '/css/plugins/drupalimagecaption/ckeditor.drupalimagecaption.css'
+      drupal_get_path('module', 'ckeditor') . '/css/plugins/drupalimagecaption/ckeditor.drupalimagecaption.css',
     );
   }
 
diff --git a/core/modules/ckeditor/src/Plugin/CKEditorPlugin/Language.php b/core/modules/ckeditor/src/Plugin/CKEditorPlugin/Language.php
index 145f741..45af2d3 100644
--- a/core/modules/ckeditor/src/Plugin/CKEditorPlugin/Language.php
+++ b/core/modules/ckeditor/src/Plugin/CKEditorPlugin/Language.php
@@ -129,7 +129,7 @@ public function settingsForm(array $form, FormStateInterface $form_state, Editor
    */
   function getCssFiles(Editor $editor) {
     return array(
-        drupal_get_path('module', 'ckeditor') . '/css/plugins/language/ckeditor.language.css'
+        drupal_get_path('module', 'ckeditor') . '/css/plugins/language/ckeditor.language.css',
     );
   }
 
diff --git a/core/modules/ckeditor/src/Plugin/CKEditorPlugin/StylesCombo.php b/core/modules/ckeditor/src/Plugin/CKEditorPlugin/StylesCombo.php
index 0244f83..07e1cd1 100644
--- a/core/modules/ckeditor/src/Plugin/CKEditorPlugin/StylesCombo.php
+++ b/core/modules/ckeditor/src/Plugin/CKEditorPlugin/StylesCombo.php
@@ -148,7 +148,7 @@ protected function generateStylesSetSetting($styles) {
       );
       if (!empty($classes)) {
         $configured_style['attributes'] = array(
-          'class' => implode(' ', array_map('trim', $classes))
+          'class' => implode(' ', array_map('trim', $classes)),
         );
       }
       $styles_set[] = $configured_style;
diff --git a/core/modules/ckeditor/src/Plugin/Editor/CKEditor.php b/core/modules/ckeditor/src/Plugin/Editor/CKEditor.php
index 170305d..d18f064 100644
--- a/core/modules/ckeditor/src/Plugin/Editor/CKEditor.php
+++ b/core/modules/ckeditor/src/Plugin/Editor/CKEditor.php
@@ -210,8 +210,8 @@ public function settingsForm(array $form, FormStateInterface $form_state, Editor
              0 => array(
                'name' => 'All existing buttons',
                'items' => $all_buttons,
-             )
-           )
+             ),
+           ),
          ),
         ),
         'plugins' => $settings['plugins'],
diff --git a/core/modules/ckeditor/tests/modules/src/Kernel/CKEditorPluginManagerTest.php b/core/modules/ckeditor/tests/modules/src/Kernel/CKEditorPluginManagerTest.php
index 92c448b..bf9af34 100644
--- a/core/modules/ckeditor/tests/modules/src/Kernel/CKEditorPluginManagerTest.php
+++ b/core/modules/ckeditor/tests/modules/src/Kernel/CKEditorPluginManagerTest.php
@@ -151,7 +151,7 @@ function testCssFiles() {
 
     // Case 2: CKEditor iframe instance CSS file.
     $expected = array(
-      'llama_css' => array(drupal_get_path('module', 'ckeditor_test') . '/css/llama.css')
+      'llama_css' => array(drupal_get_path('module', 'ckeditor_test') . '/css/llama.css'),
     );
     $this->assertIdentical($expected, $this->manager->getCssFiles($editor), 'Iframe instance CSS file found.');
   }
diff --git a/core/modules/ckeditor/tests/modules/src/Kernel/CKEditorTest.php b/core/modules/ckeditor/tests/modules/src/Kernel/CKEditorTest.php
index 2bbd1e6..3afb433 100644
--- a/core/modules/ckeditor/tests/modules/src/Kernel/CKEditorTest.php
+++ b/core/modules/ckeditor/tests/modules/src/Kernel/CKEditorTest.php
@@ -50,7 +50,7 @@ protected function setUp() {
           'status' => 1,
           'settings' => array(
             'allowed_html' => '<h2 id> <h3> <h4> <h5> <h6> <p> <br> <strong> <a href hreflang>',
-          )
+          ),
         ),
       ),
     ));
diff --git a/core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaCss.php b/core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaCss.php
index 294b39c..8b58afa 100644
--- a/core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaCss.php
+++ b/core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaCss.php
@@ -32,7 +32,7 @@ function getButtons() {
    */
   function getCssFiles(Editor $editor) {
     return array(
-      drupal_get_path('module', 'ckeditor_test') . '/css/llama.css'
+      drupal_get_path('module', 'ckeditor_test') . '/css/llama.css',
     );
   }
 
diff --git a/core/modules/ckeditor/tests/src/Unit/CKEditorPluginManagerTest.php b/core/modules/ckeditor/tests/src/Unit/CKEditorPluginManagerTest.php
index 6b9f9af..dfa1f16 100644
--- a/core/modules/ckeditor/tests/src/Unit/CKEditorPluginManagerTest.php
+++ b/core/modules/ckeditor/tests/src/Unit/CKEditorPluginManagerTest.php
@@ -20,7 +20,7 @@ public function providerGetEnabledButtons() {
     return [
       'empty' => [
         [],
-        []
+        [],
       ],
       '1 row, 1 group' => [
         [
@@ -28,9 +28,9 @@ public function providerGetEnabledButtons() {
           [
             // Group 1.
             ['name' => 'Formatting', 'items' => ['Bold', 'Italic']],
-          ]
+          ],
         ],
-        ['Bold', 'Italic']
+        ['Bold', 'Italic'],
       ],
       '1 row, >1 groups' => [
         [
@@ -42,7 +42,7 @@ public function providerGetEnabledButtons() {
             ['name' => 'Linking', 'items' => ['Link']],
           ],
         ],
-        ['Bold', 'Italic', 'Link']
+        ['Bold', 'Italic', 'Link'],
       ],
       '2 rows, 1 group each' => [
         [
@@ -76,7 +76,7 @@ public function providerGetEnabledButtons() {
             ['name' => 'Advanced', 'items' => ['Llama']],
           ],
         ],
-        ['Bold', 'Italic', 'Link', 'Source', 'Llama']
+        ['Bold', 'Italic', 'Link', 'Source', 'Llama'],
       ],
     ];
   }
diff --git a/core/modules/comment/src/CommentForm.php b/core/modules/comment/src/CommentForm.php
index 75191a3..4dca3de 100644
--- a/core/modules/comment/src/CommentForm.php
+++ b/core/modules/comment/src/CommentForm.php
@@ -359,7 +359,7 @@ public function save(array $form, FormStateInterface $form_state) {
       // Add a log entry.
       $logger->notice('Comment posted: %subject.', array(
           '%subject' => $comment->getSubject(),
-          'link' => $this->l(t('View'), $comment->urlInfo()->setOption('fragment', 'comment-' . $comment->id()))
+          'link' => $this->l(t('View'), $comment->urlInfo()->setOption('fragment', 'comment-' . $comment->id())),
         ));
 
       // Explain the approval queue if necessary.
diff --git a/core/modules/comment/src/CommentTypeForm.php b/core/modules/comment/src/CommentTypeForm.php
index 594726a..741221b 100644
--- a/core/modules/comment/src/CommentTypeForm.php
+++ b/core/modules/comment/src/CommentTypeForm.php
@@ -109,7 +109,7 @@ public function form(array $form, FormStateInterface $form_state) {
         '#default_value' => $comment_type->getTargetEntityTypeId(),
         '#title' => t('Target entity type'),
         '#options' => $options,
-        '#description' => t('The target entity type can not be changed after the comment type has been created.')
+        '#description' => t('The target entity type can not be changed after the comment type has been created.'),
       );
     }
     else {
diff --git a/core/modules/comment/src/CommentViewsData.php b/core/modules/comment/src/CommentViewsData.php
index 2d9b021..d2d74e1 100644
--- a/core/modules/comment/src/CommentViewsData.php
+++ b/core/modules/comment/src/CommentViewsData.php
@@ -201,7 +201,7 @@ public function getViewsData() {
               array(
                 'field' => 'entity_type',
                 'value' => $type,
-                'table' => 'comment_field_data'
+                'table' => 'comment_field_data',
               ),
             ),
           ),
diff --git a/core/modules/comment/src/Form/ConfirmDeleteMultiple.php b/core/modules/comment/src/Form/ConfirmDeleteMultiple.php
index 662cfa4..889bcdb 100644
--- a/core/modules/comment/src/Form/ConfirmDeleteMultiple.php
+++ b/core/modules/comment/src/Form/ConfirmDeleteMultiple.php
@@ -95,7 +95,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
         '#type' => 'hidden',
         '#value' => $cid,
         '#prefix' => '<li>',
-        '#suffix' => Html::escape($comment->label()) . '</li>'
+        '#suffix' => Html::escape($comment->label()) . '</li>',
       );
       $comment_counter++;
     }
diff --git a/core/modules/comment/src/Plugin/migrate/source/d6/CommentVariablePerCommentType.php b/core/modules/comment/src/Plugin/migrate/source/d6/CommentVariablePerCommentType.php
index ea987be..2f4af41 100644
--- a/core/modules/comment/src/Plugin/migrate/source/d6/CommentVariablePerCommentType.php
+++ b/core/modules/comment/src/Plugin/migrate/source/d6/CommentVariablePerCommentType.php
@@ -25,7 +25,7 @@ protected function getCommentVariables() {
         $return['comment'] = array(
           'comment_type' => 'comment',
           'label' => $this->t('Default comments'),
-          'description' => $this->t('Allows commenting on content')
+          'description' => $this->t('Allows commenting on content'),
         );
       }
       else {
@@ -33,7 +33,7 @@ protected function getCommentVariables() {
         $return['comment_no_subject'] = array(
           'comment_type' => 'comment_no_subject',
           'label' => $this->t('Comments without subject field'),
-          'description' => $this->t('Allows commenting on content, comments without subject field')
+          'description' => $this->t('Allows commenting on content, comments without subject field'),
         );
       }
     }
diff --git a/core/modules/comment/src/Plugin/views/field/StatisticsLastCommentName.php b/core/modules/comment/src/Plugin/views/field/StatisticsLastCommentName.php
index 61a5d17..4bcb61b 100644
--- a/core/modules/comment/src/Plugin/views/field/StatisticsLastCommentName.php
+++ b/core/modules/comment/src/Plugin/views/field/StatisticsLastCommentName.php
@@ -32,9 +32,9 @@ public function query() {
         array(
           'field' => 'uid',
           'operator' => '!=',
-          'value' => '0'
-        )
-      )
+          'value' => '0',
+        ),
+      ),
     );
     $join = \Drupal::service('plugin.manager.views.join')->createInstance('standard', $definition);
 
diff --git a/core/modules/comment/src/Tests/CommentAdminTest.php b/core/modules/comment/src/Tests/CommentAdminTest.php
index 5ae57cb..be3952e 100644
--- a/core/modules/comment/src/Tests/CommentAdminTest.php
+++ b/core/modules/comment/src/Tests/CommentAdminTest.php
@@ -52,7 +52,7 @@ function testApprovalAdminInterface() {
       'comment_body' => $body,
       'entity_id' => $this->node->id(),
       'entity_type' => 'node',
-      'field_name' => 'comment'
+      'field_name' => 'comment',
     ));
     $this->drupalLogout();
 
@@ -129,7 +129,7 @@ function testApprovalNodeInterface() {
       'comment_body' => $body,
       'entity_id' => $this->node->id(),
       'entity_type' => 'node',
-      'field_name' => 'comment'
+      'field_name' => 'comment',
     ));
     $this->drupalLogout();
 
diff --git a/core/modules/comment/src/Tests/CommentCSSTest.php b/core/modules/comment/src/Tests/CommentCSSTest.php
index f015f3f..b118171 100644
--- a/core/modules/comment/src/Tests/CommentCSSTest.php
+++ b/core/modules/comment/src/Tests/CommentCSSTest.php
@@ -20,7 +20,7 @@ protected function setUp() {
     // Allow anonymous users to see comments.
     user_role_grant_permissions(RoleInterface::ANONYMOUS_ID, array(
       'access comments',
-      'access content'
+      'access content',
     ));
   }
 
diff --git a/core/modules/comment/src/Tests/CommentNonNodeTest.php b/core/modules/comment/src/Tests/CommentNonNodeTest.php
index 1b37c1f..3d30692 100644
--- a/core/modules/comment/src/Tests/CommentNonNodeTest.php
+++ b/core/modules/comment/src/Tests/CommentNonNodeTest.php
@@ -251,7 +251,7 @@ function getUnapprovedComment($subject) {
    */
   function testCommentFunctionality() {
     $limited_user = $this->drupalCreateUser(array(
-      'administer entity_test fields'
+      'administer entity_test fields',
     ));
     $this->drupalLogin($limited_user);
     // Test that default field exists.
diff --git a/core/modules/comment/src/Tests/CommentPagerTest.php b/core/modules/comment/src/Tests/CommentPagerTest.php
index 760e25f..b1857ff 100644
--- a/core/modules/comment/src/Tests/CommentPagerTest.php
+++ b/core/modules/comment/src/Tests/CommentPagerTest.php
@@ -283,7 +283,7 @@ function testTwoPagers() {
         'weight' => 30,
         'settings' => array(
           'pager_id' => 1,
-        )
+        ),
       ))
       ->save();
 
diff --git a/core/modules/comment/src/Tests/CommentTranslationUITest.php b/core/modules/comment/src/Tests/CommentTranslationUITest.php
index b6fc4b9..908867c 100644
--- a/core/modules/comment/src/Tests/CommentTranslationUITest.php
+++ b/core/modules/comment/src/Tests/CommentTranslationUITest.php
@@ -98,7 +98,7 @@ protected function createEntity($values, $langcode, $comment_type = 'comment_art
     $node = $this->drupalCreateNode(array(
       'type' => $node_type,
       $field_name => array(
-        array('status' => CommentItemInterface::OPEN)
+        array('status' => CommentItemInterface::OPEN),
       ),
     ));
     $values['entity_id'] = $node->id();
diff --git a/core/modules/comment/src/Tests/Views/DefaultViewRecentCommentsTest.php b/core/modules/comment/src/Tests/Views/DefaultViewRecentCommentsTest.php
index ff151c6..c7a20b4 100644
--- a/core/modules/comment/src/Tests/Views/DefaultViewRecentCommentsTest.php
+++ b/core/modules/comment/src/Tests/Views/DefaultViewRecentCommentsTest.php
@@ -119,7 +119,7 @@ public function testBlockDisplay() {
     $map = array(
       'subject' => 'subject',
       'cid' => 'cid',
-      'comment_field_data_created' => 'created'
+      'comment_field_data_created' => 'created',
     );
     $expected_result = array();
     foreach (array_values($this->commentsCreated) as $key => $comment) {
diff --git a/core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php b/core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php
index 674c7f3..a2d5acf 100644
--- a/core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php
+++ b/core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php
@@ -201,7 +201,7 @@ public function testAccessToAdministrativeFields() {
     // Generate permutations.
     $combinations = [
       'comment' => [$comment1, $comment2, $comment3, $comment4],
-      'user' => [$comment_admin_user, $comment_enabled_user, $comment_no_edit_user, $comment_disabled_user, $anonymous_user]
+      'user' => [$comment_admin_user, $comment_enabled_user, $comment_no_edit_user, $comment_disabled_user, $anonymous_user],
     ];
     $permutations = TestBase::generatePermutations($combinations);
 
diff --git a/core/modules/comment/tests/src/Kernel/CommentValidationTest.php b/core/modules/comment/tests/src/Kernel/CommentValidationTest.php
index eb37006..bd908ea 100644
--- a/core/modules/comment/tests/src/Kernel/CommentValidationTest.php
+++ b/core/modules/comment/tests/src/Kernel/CommentValidationTest.php
@@ -51,7 +51,7 @@ public function testValidation() {
       'type' => 'comment',
       'settings' => array(
         'comment_type' => 'comment',
-      )
+      ),
     ))->save();
 
     // Create a page node type.
diff --git a/core/modules/comment/tests/src/Kernel/Views/CommentUserNameTest.php b/core/modules/comment/tests/src/Kernel/Views/CommentUserNameTest.php
index dae2c48..5249620 100644
--- a/core/modules/comment/tests/src/Kernel/Views/CommentUserNameTest.php
+++ b/core/modules/comment/tests/src/Kernel/Views/CommentUserNameTest.php
@@ -111,7 +111,7 @@ public function testUsername() {
                 'field' => 'name',
                 'id' => 'name',
                 'plugin_id' => 'field',
-                'type' => 'comment_username'
+                'type' => 'comment_username',
               ],
               'subject' => [
                 'table' => 'comment_field_data',
diff --git a/core/modules/config/src/Form/ConfigSync.php b/core/modules/config/src/Form/ConfigSync.php
index 8dd9ca0..2e5abd1 100644
--- a/core/modules/config/src/Form/ConfigSync.php
+++ b/core/modules/config/src/Form/ConfigSync.php
@@ -212,12 +212,12 @@ public function buildForm(array $form, FormStateInterface $form_state) {
         sort($change_list);
         $message = [
           [
-            '#markup' => $this->t('The following items in your active configuration have changes since the last import that may be lost on the next import.')
+            '#markup' => $this->t('The following items in your active configuration have changes since the last import that may be lost on the next import.'),
           ],
           [
             '#theme' => 'item_list',
             '#items' => $change_list,
-          ]
+          ],
         ];
         drupal_set_message($this->renderer->renderPlain($message), 'warning');
       }
@@ -293,7 +293,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
               'class' => array('use-ajax'),
               'data-dialog-type' => 'modal',
               'data-dialog-options' => json_encode(array(
-                'width' => 700
+                'width' => 700,
               )),
             ),
           );
diff --git a/core/modules/config/src/Tests/ConfigLanguageOverrideWebTest.php b/core/modules/config/src/Tests/ConfigLanguageOverrideWebTest.php
index f966e5f..37af959 100644
--- a/core/modules/config/src/Tests/ConfigLanguageOverrideWebTest.php
+++ b/core/modules/config/src/Tests/ConfigLanguageOverrideWebTest.php
@@ -21,7 +21,7 @@ class ConfigLanguageOverrideWebTest extends WebTestBase {
   public static $modules = [
     'block',
     'language',
-    'system'
+    'system',
   ];
 
   /**
diff --git a/core/modules/config/src/Tests/ConfigSingleImportExportTest.php b/core/modules/config/src/Tests/ConfigSingleImportExportTest.php
index 876cbfd..bb4cf00 100644
--- a/core/modules/config/src/Tests/ConfigSingleImportExportTest.php
+++ b/core/modules/config/src/Tests/ConfigSingleImportExportTest.php
@@ -20,7 +20,7 @@ class ConfigSingleImportExportTest extends WebTestBase {
   public static $modules = [
     'block',
     'config',
-    'config_test'
+    'config_test',
   ];
 
   protected function setUp() {
diff --git a/core/modules/config/tests/config_entity_static_cache_test/src/ConfigOverrider.php b/core/modules/config/tests/config_entity_static_cache_test/src/ConfigOverrider.php
index 2345d55..5cec7e7 100644
--- a/core/modules/config/tests/config_entity_static_cache_test/src/ConfigOverrider.php
+++ b/core/modules/config/tests/config_entity_static_cache_test/src/ConfigOverrider.php
@@ -18,7 +18,7 @@ public function loadOverrides($names) {
     return array(
       'config_test.dynamic.test_1' => array(
         'label' => 'Overridden label',
-      )
+      ),
     );
   }
 
diff --git a/core/modules/config/tests/config_events_test/src/EventSubscriber.php b/core/modules/config/tests/config_events_test/src/EventSubscriber.php
index bfa70db..87f375f 100644
--- a/core/modules/config/tests/config_events_test/src/EventSubscriber.php
+++ b/core/modules/config/tests/config_events_test/src/EventSubscriber.php
@@ -41,7 +41,7 @@ public function configEventRecorder(ConfigCrudEvent $event, $name) {
       'event_name' => $name,
       'current_config_data' => $config->get(),
       'original_config_data' => $config->getOriginal(),
-      'raw_config_data' => $config->getRawData()
+      'raw_config_data' => $config->getRawData(),
     ));
   }
 
diff --git a/core/modules/config/tests/config_override_test/src/ConfigOverriderLowPriority.php b/core/modules/config/tests/config_override_test/src/ConfigOverriderLowPriority.php
index 6f0b12d..16bb0f9 100644
--- a/core/modules/config/tests/config_override_test/src/ConfigOverriderLowPriority.php
+++ b/core/modules/config/tests/config_override_test/src/ConfigOverriderLowPriority.php
@@ -24,7 +24,7 @@ public function loadOverrides($names) {
             // This override should apply because it is not overridden by the
             // higher priority listener.
             'slogan' => 'Yay for overrides!',
-          )
+          ),
         );
       }
     }
diff --git a/core/modules/config_translation/src/ConfigEntityMapper.php b/core/modules/config_translation/src/ConfigEntityMapper.php
index 5ba4456..a822618 100644
--- a/core/modules/config_translation/src/ConfigEntityMapper.php
+++ b/core/modules/config_translation/src/ConfigEntityMapper.php
@@ -263,7 +263,7 @@ protected function processRoute(Route $route) {
     $parameters += array(
       $this->entityType => array(
         'type' => 'entity:' . $this->entityType,
-      )
+      ),
     );
     $route->setOption('parameters', $parameters);
   }
diff --git a/core/modules/config_translation/src/Tests/ConfigTranslationDateFormatUiTest.php b/core/modules/config_translation/src/Tests/ConfigTranslationDateFormatUiTest.php
index ceb69d0..afce2d3 100644
--- a/core/modules/config_translation/src/Tests/ConfigTranslationDateFormatUiTest.php
+++ b/core/modules/config_translation/src/Tests/ConfigTranslationDateFormatUiTest.php
@@ -15,7 +15,7 @@ class ConfigTranslationDateFormatUiTest extends WebTestBase {
   public static $modules = array(
     'language',
     'config_translation',
-    'system'
+    'system',
   );
 
   protected function setUp() {
diff --git a/core/modules/config_translation/src/Tests/ConfigTranslationListUiTest.php b/core/modules/config_translation/src/Tests/ConfigTranslationListUiTest.php
index 8bd3d71..ea80fae 100644
--- a/core/modules/config_translation/src/Tests/ConfigTranslationListUiTest.php
+++ b/core/modules/config_translation/src/Tests/ConfigTranslationListUiTest.php
@@ -189,7 +189,7 @@ public function doCustomContentTypeListTest() {
     $block_content_type = BlockContentType::create(array(
       'id' => Unicode::strtolower($this->randomMachineName(16)),
       'label' => $this->randomMachineName(),
-      'revision' => FALSE
+      'revision' => FALSE,
     ));
     $block_content_type->save();
 
@@ -395,7 +395,7 @@ public function doFieldListTest() {
     $block_content_type = BlockContentType::create(array(
       'id' => 'basic',
       'label' => 'Basic',
-      'revision' => FALSE
+      'revision' => FALSE,
     ));
     $block_content_type->save();
     $field = FieldConfig::create([
diff --git a/core/modules/config_translation/src/Tests/ConfigTranslationUiTest.php b/core/modules/config_translation/src/Tests/ConfigTranslationUiTest.php
index b69357e..adfc00d 100644
--- a/core/modules/config_translation/src/Tests/ConfigTranslationUiTest.php
+++ b/core/modules/config_translation/src/Tests/ConfigTranslationUiTest.php
@@ -910,7 +910,7 @@ public function testSequenceTranslation() {
     $expected = array(
       'kitten',
       'llama',
-      'elephant'
+      'elephant',
     );
     $actual = $config_factory
       ->getEditable('config_translation_test.content')
diff --git a/core/modules/contact/src/Tests/ContactPersonalTest.php b/core/modules/contact/src/Tests/ContactPersonalTest.php
index 936aed5..e409140 100644
--- a/core/modules/contact/src/Tests/ContactPersonalTest.php
+++ b/core/modules/contact/src/Tests/ContactPersonalTest.php
@@ -93,7 +93,7 @@ function testSendPersonalContactMessage() {
     $placeholders = array(
       '@sender_name' => $this->webUser->username,
       '@sender_email' => $this->webUser->getEmail(),
-      '@recipient_name' => $this->contactUser->getUsername()
+      '@recipient_name' => $this->contactUser->getUsername(),
     );
     $this->assertRaw(SafeMarkup::format('@sender_name (@sender_email) sent @recipient_name an email.', $placeholders));
     // Ensure an unescaped version of the email does not exist anywhere.
diff --git a/core/modules/contact/src/Tests/ContactSitewideTest.php b/core/modules/contact/src/Tests/ContactSitewideTest.php
index b049f25..fd9f569 100644
--- a/core/modules/contact/src/Tests/ContactSitewideTest.php
+++ b/core/modules/contact/src/Tests/ContactSitewideTest.php
@@ -76,7 +76,7 @@ function testSiteWideContact() {
     // field_ui enabled admin/structure/contact/manage/personal/fields exists.
     // @todo: See https://www.drupal.org/node/2031223 for the above.
     $edit_link = $this->xpath('//a[@href=:href]', array(
-      ':href' => \Drupal::url('entity.contact_form.edit_form', array('contact_form' => 'personal'))
+      ':href' => \Drupal::url('entity.contact_form.edit_form', array('contact_form' => 'personal')),
     ));
     $this->assertTrue(empty($edit_link), format_string('No link containing href %href found.',
       array('%href' => 'admin/structure/contact/manage/personal')
diff --git a/core/modules/contact/src/Tests/Views/ContactFieldsTest.php b/core/modules/contact/src/Tests/Views/ContactFieldsTest.php
index cf70799..08fbecb 100644
--- a/core/modules/contact/src/Tests/Views/ContactFieldsTest.php
+++ b/core/modules/contact/src/Tests/Views/ContactFieldsTest.php
@@ -34,7 +34,7 @@ protected function setUp() {
     $this->fieldStorage = FieldStorageConfig::create(array(
       'field_name' => strtolower($this->randomMachineName()),
       'entity_type' => 'contact_message',
-      'type' => 'text'
+      'type' => 'text',
     ));
     $this->fieldStorage->save();
 
diff --git a/core/modules/contact/tests/drupal-7.contact.database.php b/core/modules/contact/tests/drupal-7.contact.database.php
index 494e430..f823ed3 100644
--- a/core/modules/contact/tests/drupal-7.contact.database.php
+++ b/core/modules/contact/tests/drupal-7.contact.database.php
@@ -21,7 +21,7 @@
   'recipients',
   'reply',
   'weight',
-  'selected'
+  'selected',
 ))
 ->values(array(
   'category' => 'Upgrade test',
diff --git a/core/modules/contact/tests/src/Unit/Plugin/migrate/source/d6/ContactSettingsTest.php b/core/modules/contact/tests/src/Unit/Plugin/migrate/source/d6/ContactSettingsTest.php
index 95850cd..da6e726 100644
--- a/core/modules/contact/tests/src/Unit/Plugin/migrate/source/d6/ContactSettingsTest.php
+++ b/core/modules/contact/tests/src/Unit/Plugin/migrate/source/d6/ContactSettingsTest.php
@@ -47,7 +47,7 @@ protected function setUp() {
         'reply' => '',
         'weight' => '0',
         'selected' => '1',
-      )
+      ),
     );
     parent::setUp();
   }
diff --git a/core/modules/content_translation/content_translation.admin.inc b/core/modules/content_translation/content_translation.admin.inc
index 893fb4e..460c873 100644
--- a/core/modules/content_translation/content_translation.admin.inc
+++ b/core/modules/content_translation/content_translation.admin.inc
@@ -63,7 +63,7 @@ function content_translation_field_sync_widget(FieldDefinitionInterface $field,
       // does not get lost.
       $element[key($options)]['#attached']['drupalSettings']['contentTranslationDependentOptions'] = [
         'dependent_selectors' => [
-          $element_name => $require_all_groups_for_translation
+          $element_name => $require_all_groups_for_translation,
         ],
       ];
       $element[key($options)]['#attached']['library'][] = 'content_translation/drupal.content_translation.admin';
diff --git a/core/modules/content_translation/content_translation.install b/core/modules/content_translation/content_translation.install
index 0f8a184..26cbf22 100644
--- a/core/modules/content_translation/content_translation.install
+++ b/core/modules/content_translation/content_translation.install
@@ -18,14 +18,14 @@ function content_translation_install() {
   // Translation works when at least two languages are added.
   if (count(\Drupal::languageManager()->getLanguages()) < 2) {
     $t_args = [
-      ':language_url' => Url::fromRoute('entity.configurable_language.collection')->toString()
+      ':language_url' => Url::fromRoute('entity.configurable_language.collection')->toString(),
     ];
     $message = t('This site has only a single language enabled. <a href=":language_url">Add at least one more language</a> in order to translate content.', $t_args);
     drupal_set_message($message, 'warning');
   }
   // Point the user to the content translation settings.
   $t_args = [
-    ':settings_url' => Url::fromRoute('language.content_settings_page')->toString()
+    ':settings_url' => Url::fromRoute('language.content_settings_page')->toString(),
   ];
   $message = t('<a href=":settings_url">Enable translation</a> for <em>content types</em>, <em>taxonomy vocabularies</em>, <em>accounts</em>, or any other element you wish to translate.', $t_args);
   drupal_set_message($message, 'warning');
diff --git a/core/modules/content_translation/src/Tests/ContentTranslationSettingsTest.php b/core/modules/content_translation/src/Tests/ContentTranslationSettingsTest.php
index d7490c0..57f2837 100644
--- a/core/modules/content_translation/src/Tests/ContentTranslationSettingsTest.php
+++ b/core/modules/content_translation/src/Tests/ContentTranslationSettingsTest.php
@@ -154,7 +154,7 @@ function testSettingsUI() {
       'settings[node][article][settings][language][langcode]' => 'current_interface',
       'settings[node][article][settings][language][language_alterable]' => TRUE,
       'settings[node][article][translatable]' => TRUE,
-      'settings[node][article][fields][title]' => TRUE
+      'settings[node][article][fields][title]' => TRUE,
     );
     $this->assertSettings('node', NULL, TRUE, $edit);
 
diff --git a/core/modules/content_translation/src/Tests/ContentTranslationUISkipTest.php b/core/modules/content_translation/src/Tests/ContentTranslationUISkipTest.php
index 2f8be23..7f546c0 100644
--- a/core/modules/content_translation/src/Tests/ContentTranslationUISkipTest.php
+++ b/core/modules/content_translation/src/Tests/ContentTranslationUISkipTest.php
@@ -25,7 +25,7 @@ function testUICheckSkip() {
     $admin_user = $this->drupalCreateUser(array(
       'translate any entity',
       'administer content translation',
-      'administer languages'
+      'administer languages',
     ));
     $this->drupalLogin($admin_user);
     // Visit the content translation.
diff --git a/core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php b/core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php
index e9fff8d..a80dd5f 100644
--- a/core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php
+++ b/core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php
@@ -106,7 +106,7 @@ protected function doTestBasicTranslation() {
     $add_url = Url::fromRoute("entity.$entity_type_id.content_translation_add", [
       $entity->getEntityTypeId() => $entity->id(),
       'source' => $default_langcode,
-      'target' => $langcode
+      'target' => $langcode,
     ], array('language' => $language));
     $this->drupalPostForm($add_url, $this->getEditValues($values, $langcode), $this->getFormSubmitActionForNewTranslation($entity, $langcode));
 
@@ -167,7 +167,7 @@ protected function doTestBasicTranslation() {
     $add_url = Url::fromRoute("entity.$entity_type_id.content_translation_add", [
       $entity->getEntityTypeId() => $entity->id(),
       'source' => $default_langcode,
-      'target' => $langcode
+      'target' => $langcode,
     ], array('language' => $language));
     // This does not save anything, it merely reloads the form and fills in the
     // fields with the values from the different source language.
@@ -181,7 +181,7 @@ protected function doTestBasicTranslation() {
     $add_url = Url::fromRoute("entity.$entity_type_id.content_translation_add", [
       $entity->getEntityTypeId() => $entity->id(),
       'source' => $source_langcode,
-      'target' => $langcode
+      'target' => $langcode,
     ], array('language' => $language));
     $this->drupalPostForm($add_url, $edit, $this->getFormSubmitActionForNewTranslation($entity, $langcode));
     $entity = entity_load($this->entityTypeId, $this->entityId, TRUE);
diff --git a/core/modules/content_translation/tests/src/Kernel/ContentTranslationConfigImportTest.php b/core/modules/content_translation/tests/src/Kernel/ContentTranslationConfigImportTest.php
index f650270..faae057 100644
--- a/core/modules/content_translation/tests/src/Kernel/ContentTranslationConfigImportTest.php
+++ b/core/modules/content_translation/tests/src/Kernel/ContentTranslationConfigImportTest.php
@@ -74,7 +74,7 @@ function testConfigImportUpdates() {
       'langcode' => 'en',
       'status' => TRUE,
       'dependencies' => array(
-        'module' => array('content_translation')
+        'module' => array('content_translation'),
       ),
       'id' => $config_id,
       'target_entity_type_id' => 'entity_test_mul',
diff --git a/core/modules/contextual/contextual.module b/core/modules/contextual/contextual.module
index 8d734f1..6c2bb30 100644
--- a/core/modules/contextual/contextual.module
+++ b/core/modules/contextual/contextual.module
@@ -86,7 +86,7 @@ function contextual_help($route_name, RouteMatchInterface $route_match) {
       $sample_picture = [
         '#theme' => 'image',
         '#uri' => 'core/misc/icons/bebebe/pencil.svg',
-        '#alt' => t('contextual links button')
+        '#alt' => t('contextual links button'),
       ];
       $sample_picture = \Drupal::service('renderer')->render($sample_picture);
       $output .= '<li>' . t('Hovering over the area of interest will temporarily make the contextual links button visible (which looks like a pencil in most themes, and is normally displayed in the upper right corner of the area). The icon typically looks like this: @picture', array('@picture' => $sample_picture)) . '</li>';
diff --git a/core/modules/contextual/src/Plugin/views/field/ContextualLinks.php b/core/modules/contextual/src/Plugin/views/field/ContextualLinks.php
index 585b7f6..a4a28ec 100644
--- a/core/modules/contextual/src/Plugin/views/field/ContextualLinks.php
+++ b/core/modules/contextual/src/Plugin/views/field/ContextualLinks.php
@@ -130,8 +130,8 @@ public function render(ResultRow $values) {
           array(),
           array(
             'contextual-views-field-links' => UrlHelper::encodePath(Json::encode($links)),
-          )
-        )
+          ),
+        ),
       );
 
       $element = array(
diff --git a/core/modules/contextual/tests/src/Kernel/ContextualUnitTest.php b/core/modules/contextual/tests/src/Kernel/ContextualUnitTest.php
index 680303d..b8ab6cc 100644
--- a/core/modules/contextual/tests/src/Kernel/ContextualUnitTest.php
+++ b/core/modules/contextual/tests/src/Kernel/ContextualUnitTest.php
@@ -65,7 +65,7 @@ function _contextual_links_id_testcases() {
       'links' => array(
         'views_ui_edit' => array(
           'route_parameters' => array(
-            'view' => 'frontpage'
+            'view' => 'frontpage',
           ),
           'metadata' => array(
             'location' => 'page',
diff --git a/core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php b/core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php
index 0a171de..550e7ca 100644
--- a/core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php
+++ b/core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php
@@ -51,9 +51,9 @@ public function defaultValuesForm(array &$form, FormStateInterface $form_state)
           '#states' => array(
             'visible' => array(
               ':input[id="edit-default-value-input-default-date-type"]' => array('value' => static::DEFAULT_VALUE_CUSTOM),
-            )
-          )
-        )
+            ),
+          ),
+        ),
       );
 
       return $element;
@@ -104,7 +104,7 @@ public static function processDefaultValue($default_value, FieldableEntityInterf
         array(
           'value' => $value,
           'date' => $date,
-        )
+        ),
       );
     }
     return $default_value;
diff --git a/core/modules/datetime/src/Tests/DateTimeFieldTest.php b/core/modules/datetime/src/Tests/DateTimeFieldTest.php
index bf3ba07..59f1e49 100644
--- a/core/modules/datetime/src/Tests/DateTimeFieldTest.php
+++ b/core/modules/datetime/src/Tests/DateTimeFieldTest.php
@@ -214,7 +214,7 @@ function testDateField() {
       ->setComponent($field_name, $this->displayOptions)
       ->save();
     $expected = SafeMarkup::format($this->displayOptions['settings']['past_format'], [
-      '@interval' => \Drupal::service('date.formatter')->formatTimeDiffSince($timestamp, ['granularity' => $this->displayOptions['settings']['granularity']])
+      '@interval' => \Drupal::service('date.formatter')->formatTimeDiffSince($timestamp, ['granularity' => $this->displayOptions['settings']['granularity']]),
     ]);
     $this->renderTestEntity($id);
     $this->assertText($expected, SafeMarkup::format('Formatted date field using datetime_time_ago format displayed as %expected.', array('%expected' => $expected)));
@@ -235,7 +235,7 @@ function testDateField() {
       ->setComponent($field_name, $this->displayOptions)
       ->save();
     $expected = SafeMarkup::format($this->displayOptions['settings']['future_format'], [
-      '@interval' => \Drupal::service('date.formatter')->formatTimeDiffUntil($timestamp, ['granularity' => $this->displayOptions['settings']['granularity']])
+      '@interval' => \Drupal::service('date.formatter')->formatTimeDiffUntil($timestamp, ['granularity' => $this->displayOptions['settings']['granularity']]),
     ]);
     $this->renderTestEntity($id);
     $this->assertText($expected, SafeMarkup::format('Formatted date field using datetime_time_ago format displayed as %expected.', array('%expected' => $expected)));
@@ -354,7 +354,7 @@ function testDatetimeField() {
       ->setComponent($field_name, $this->displayOptions)
       ->save();
     $expected = SafeMarkup::format($this->displayOptions['settings']['past_format'], [
-      '@interval' => \Drupal::service('date.formatter')->formatTimeDiffSince($timestamp, ['granularity' => $this->displayOptions['settings']['granularity']])
+      '@interval' => \Drupal::service('date.formatter')->formatTimeDiffSince($timestamp, ['granularity' => $this->displayOptions['settings']['granularity']]),
     ]);
     $this->renderTestEntity($id);
     $this->assertText($expected, SafeMarkup::format('Formatted date field using datetime_time_ago format displayed as %expected.', array('%expected' => $expected)));
@@ -375,7 +375,7 @@ function testDatetimeField() {
       ->setComponent($field_name, $this->displayOptions)
       ->save();
     $expected = SafeMarkup::format($this->displayOptions['settings']['future_format'], [
-      '@interval' => \Drupal::service('date.formatter')->formatTimeDiffUntil($timestamp, ['granularity' => $this->displayOptions['settings']['granularity']])
+      '@interval' => \Drupal::service('date.formatter')->formatTimeDiffUntil($timestamp, ['granularity' => $this->displayOptions['settings']['granularity']]),
     ]);
     $this->renderTestEntity($id);
     $this->assertText($expected, SafeMarkup::format('Formatted date field using datetime_time_ago format displayed as %expected.', array('%expected' => $expected)));
diff --git a/core/modules/datetime/src/Tests/Views/ArgumentDateTimeTest.php b/core/modules/datetime/src/Tests/Views/ArgumentDateTimeTest.php
index e3a17bb..6e8e414 100644
--- a/core/modules/datetime/src/Tests/Views/ArgumentDateTimeTest.php
+++ b/core/modules/datetime/src/Tests/Views/ArgumentDateTimeTest.php
@@ -32,7 +32,7 @@ protected function setUp() {
       $this->nodes[] = $this->drupalCreateNode([
         'field_date' => [
           'value' => $date,
-        ]
+        ],
       ]);
     }
   }
diff --git a/core/modules/datetime/src/Tests/Views/DateTimeHandlerTestBase.php b/core/modules/datetime/src/Tests/Views/DateTimeHandlerTestBase.php
index 42f309d..944d371 100644
--- a/core/modules/datetime/src/Tests/Views/DateTimeHandlerTestBase.php
+++ b/core/modules/datetime/src/Tests/Views/DateTimeHandlerTestBase.php
@@ -44,7 +44,7 @@ protected function setUp() {
     // Add a date field to page nodes.
     $node_type = NodeType::create([
       'type' => 'page',
-      'name' => 'page'
+      'name' => 'page',
     ]);
     $node_type->save();
     $fieldStorage = FieldStorageConfig::create([
diff --git a/core/modules/datetime/src/Tests/Views/FilterDateTest.php b/core/modules/datetime/src/Tests/Views/FilterDateTest.php
index 2a8d7cd..59da437 100644
--- a/core/modules/datetime/src/Tests/Views/FilterDateTest.php
+++ b/core/modules/datetime/src/Tests/Views/FilterDateTest.php
@@ -51,7 +51,7 @@ protected function setUp() {
       $this->nodes[] = $this->drupalCreateNode([
         'field_date' => [
           'value' => $date,
-        ]
+        ],
       ]);
     }
   }
diff --git a/core/modules/datetime/src/Tests/Views/FilterDateTimeTest.php b/core/modules/datetime/src/Tests/Views/FilterDateTimeTest.php
index 70172e9..4a61b34 100644
--- a/core/modules/datetime/src/Tests/Views/FilterDateTimeTest.php
+++ b/core/modules/datetime/src/Tests/Views/FilterDateTimeTest.php
@@ -50,7 +50,7 @@ protected function setUp() {
       $this->nodes[] = $this->drupalCreateNode([
         'field_date' => [
           'value' => $date,
-        ]
+        ],
       ]);
     }
   }
diff --git a/core/modules/datetime/src/Tests/Views/SortDateTimeTest.php b/core/modules/datetime/src/Tests/Views/SortDateTimeTest.php
index c1f23a0..9c35db5 100644
--- a/core/modules/datetime/src/Tests/Views/SortDateTimeTest.php
+++ b/core/modules/datetime/src/Tests/Views/SortDateTimeTest.php
@@ -36,7 +36,7 @@ protected function setUp() {
       $this->nodes[] = $this->drupalCreateNode([
         'field_date' => [
           'value' => $date,
-        ]
+        ],
       ]);
     }
   }
diff --git a/core/modules/dblog/dblog.module b/core/modules/dblog/dblog.module
index 06fef10..c41ce45 100644
--- a/core/modules/dblog/dblog.module
+++ b/core/modules/dblog/dblog.module
@@ -101,7 +101,7 @@ function dblog_form_system_logging_settings_alter(&$form, FormStateInterface $fo
     '#title' => t('Database log messages to keep'),
     '#default_value' => \Drupal::configFactory()->getEditable('dblog.settings')->get('row_limit'),
     '#options' => array(0 => t('All')) + array_combine($row_limits, $row_limits),
-    '#description' => t('The maximum number of messages to keep in the database log. Requires a <a href=":cron">cron maintenance task</a>.', array(':cron' => \Drupal::url('system.status')))
+    '#description' => t('The maximum number of messages to keep in the database log. Requires a <a href=":cron">cron maintenance task</a>.', array(':cron' => \Drupal::url('system.status'))),
   );
 
   $form['#submit'][] = 'dblog_logging_settings_submit';
diff --git a/core/modules/editor/src/Tests/EditorLoadingTest.php b/core/modules/editor/src/Tests/EditorLoadingTest.php
index 88055e9..3f689a0 100644
--- a/core/modules/editor/src/Tests/EditorLoadingTest.php
+++ b/core/modules/editor/src/Tests/EditorLoadingTest.php
@@ -118,7 +118,7 @@ public function testLoading() {
         'directory' => 'inline-images',
         'max_size' => '',
         'max_dimensions' => array('width' => '', 'height' => ''),
-      )
+      ),
     ]);
     $editor->save();
 
@@ -194,7 +194,7 @@ public function testLoading() {
     $this->drupalCreateNode(array(
       'type' => 'article',
       'body' => array(
-        array('value' => $this->randomMachineName(32), 'format' => 'full_html')
+        array('value' => $this->randomMachineName(32), 'format' => 'full_html'),
       ),
     ));
 
@@ -226,7 +226,7 @@ public function testSupportedElementTypes() {
         'directory' => 'inline-images',
         'max_size' => '',
         'max_dimensions' => array('width' => '', 'height' => ''),
-      )
+      ),
     ]);
     $editor->save();
 
@@ -234,7 +234,7 @@ public function testSupportedElementTypes() {
     $this->drupalCreateNode(array(
       'type' => 'page',
       'field_text' => array(
-        array('value' => $this->randomMachineName(32), 'format' => 'full_html')
+        array('value' => $this->randomMachineName(32), 'format' => 'full_html'),
       ),
     ));
 
diff --git a/core/modules/editor/src/Tests/EditorSecurityTest.php b/core/modules/editor/src/Tests/EditorSecurityTest.php
index c771439..bf152a2 100644
--- a/core/modules/editor/src/Tests/EditorSecurityTest.php
+++ b/core/modules/editor/src/Tests/EditorSecurityTest.php
@@ -93,7 +93,7 @@ protected function setUp() {
           'status' => 1,
           'settings' => array(
             'allowed_html' => '<h2> <h3> <h4> <h5> <h6> <p> <br> <strong> <a>',
-          )
+          ),
         ),
       ),
     ));
@@ -108,7 +108,7 @@ protected function setUp() {
           'status' => 1,
           'settings' => array(
             'allowed_html' => '<h2> <h3> <h4> <h5> <h6> <p> <br> <strong> <a>',
-          )
+          ),
         ),
       ),
     ));
@@ -128,7 +128,7 @@ protected function setUp() {
           'status' => 1,
           'settings' => array(
             'allowed_html' => '<h2> <h3> <h4> <h5> <h6> <p> <br> <strong> <a> <embed>',
-          )
+          ),
         ),
       ),
     ));
@@ -210,9 +210,9 @@ protected function setUp() {
       $this->drupalCreateNode(array(
         'type' => 'article',
         'body' => array(
-          array('value' => self::$sampleContent, 'format' => $sample['format'])
+          array('value' => self::$sampleContent, 'format' => $sample['format']),
         ),
-        'uid' => $sample['author']
+        'uid' => $sample['author'],
       ));
     }
   }
diff --git a/core/modules/editor/src/Tests/EditorUploadImageScaleTest.php b/core/modules/editor/src/Tests/EditorUploadImageScaleTest.php
index ac6e46b..726d8d1 100644
--- a/core/modules/editor/src/Tests/EditorUploadImageScaleTest.php
+++ b/core/modules/editor/src/Tests/EditorUploadImageScaleTest.php
@@ -51,9 +51,9 @@ protected function setUp() {
         'max_size' => '',
         'max_dimensions' => [
           'width' => '',
-          'height' => ''
+          'height' => '',
         ],
-      ]
+      ],
     ])->save();
 
     // Create admin user.
diff --git a/core/modules/editor/src/Tests/QuickEditIntegrationLoadingTest.php b/core/modules/editor/src/Tests/QuickEditIntegrationLoadingTest.php
index 9a41f6b..635e26e 100644
--- a/core/modules/editor/src/Tests/QuickEditIntegrationLoadingTest.php
+++ b/core/modules/editor/src/Tests/QuickEditIntegrationLoadingTest.php
@@ -57,8 +57,8 @@ protected function setUp() {
         0 => array(
           'value' => '<p>Do you also love Drupal?</p><img src="druplicon.png" data-caption="Druplicon" />',
           'format' => 'filtered_html',
-        )
-      )
+        ),
+      ),
     ));
   }
 
@@ -73,7 +73,7 @@ public function testUsersWithoutPermission() {
     $users = array(
       $this->drupalCreateUser(static::$basicPermissions),
       $this->drupalCreateUser(array_merge(static::$basicPermissions, array('edit any article content'))),
-      $this->drupalCreateUser(array_merge(static::$basicPermissions, array('access in-place editing')))
+      $this->drupalCreateUser(array_merge(static::$basicPermissions, array('access in-place editing'))),
     );
 
     // Now test with each of the 3 users with insufficient permissions.
diff --git a/core/modules/editor/tests/src/Kernel/QuickEditIntegrationTest.php b/core/modules/editor/tests/src/Kernel/QuickEditIntegrationTest.php
index d62cb68..65e2bb6 100644
--- a/core/modules/editor/tests/src/Kernel/QuickEditIntegrationTest.php
+++ b/core/modules/editor/tests/src/Kernel/QuickEditIntegrationTest.php
@@ -221,7 +221,7 @@ public function testGetUntransformedTextCommand() {
       array(
         'command' => 'editorGetUntransformedText',
         'data' => 'Test',
-      )
+      ),
     );
 
     $ajax_response_attachments_processor = \Drupal::service('ajax_response.attachments_processor');
diff --git a/core/modules/editor/tests/src/Unit/EditorXssFilter/StandardTest.php b/core/modules/editor/tests/src/Unit/EditorXssFilter/StandardTest.php
index d19758e..2f9e46c 100644
--- a/core/modules/editor/tests/src/Unit/EditorXssFilter/StandardTest.php
+++ b/core/modules/editor/tests/src/Unit/EditorXssFilter/StandardTest.php
@@ -578,20 +578,20 @@ public function providerTestBlackListMode() {
         '<unknown style="visibility:hidden">Pink Fairy Armadillo</unknown><video src="gerenuk.mp4"><script>alert(0)</script>',
         '<unknown>Pink Fairy Armadillo</unknown><video src="gerenuk.mp4">alert(0)',
         'Disallow only the script tag',
-        array('script')
+        array('script'),
       ),
       array(
         '<unknown style="visibility:hidden">Pink Fairy Armadillo</unknown><video src="gerenuk.mp4"><script>alert(0)</script>',
         '<unknown>Pink Fairy Armadillo</unknown>alert(0)',
         'Disallow both the script and video tags',
-        array('script', 'video')
+        array('script', 'video'),
       ),
       // No real use case for this, but it is an edge case we must ensure works.
       array(
         '<unknown style="visibility:hidden">Pink Fairy Armadillo</unknown><video src="gerenuk.mp4"><script>alert(0)</script>',
         '<unknown>Pink Fairy Armadillo</unknown><video src="gerenuk.mp4"><script>alert(0)</script>',
         'Disallow no tags',
-        array()
+        array(),
       ),
     );
   }
diff --git a/core/modules/field/field.module b/core/modules/field/field.module
index 053ab4a..4b00ec3 100644
--- a/core/modules/field/field.module
+++ b/core/modules/field/field.module
@@ -259,7 +259,7 @@ function field_entity_bundle_delete($entity_type_id, $bundle) {
             '%target_entity_type' => $entity_type_id,
             '%field_name' => $field_config->getName(),
             '%entity_type' => $field_config->getTargetEntityTypeId(),
-            '%bundle' => $field_config->getTargetBundle()
+            '%bundle' => $field_config->getTargetBundle(),
           ]);
         }
       }
diff --git a/core/modules/field/src/Plugin/migrate/source/d7/FieldInstancePerFormDisplay.php b/core/modules/field/src/Plugin/migrate/source/d7/FieldInstancePerFormDisplay.php
index 823a5eb..266d77e 100644
--- a/core/modules/field/src/Plugin/migrate/source/d7/FieldInstancePerFormDisplay.php
+++ b/core/modules/field/src/Plugin/migrate/source/d7/FieldInstancePerFormDisplay.php
@@ -23,7 +23,7 @@ public function query() {
         'field_name',
         'bundle',
         'data',
-        'entity_type'
+        'entity_type',
       ))
       ->fields('fc', array(
         'type',
diff --git a/core/modules/field/src/Tests/Boolean/BooleanFieldTest.php b/core/modules/field/src/Tests/Boolean/BooleanFieldTest.php
index 30f67d1..d050d7c 100644
--- a/core/modules/field/src/Tests/Boolean/BooleanFieldTest.php
+++ b/core/modules/field/src/Tests/Boolean/BooleanFieldTest.php
@@ -120,7 +120,7 @@ function testBooleanField() {
         'type' => 'boolean_checkbox',
         'settings' => array(
           'display_label' => FALSE,
-        )
+        ),
       ))
       ->save();
 
diff --git a/core/modules/field/src/Tests/EntityReference/EntityReferenceAdminTest.php b/core/modules/field/src/Tests/EntityReference/EntityReferenceAdminTest.php
index d781084..87dd81b 100644
--- a/core/modules/field/src/Tests/EntityReference/EntityReferenceAdminTest.php
+++ b/core/modules/field/src/Tests/EntityReference/EntityReferenceAdminTest.php
@@ -283,7 +283,7 @@ public function testFieldAdminHandler() {
 
     $edit = array(
       'title[0][value]' => 'Example',
-      'field_test_entity_ref_field[0][target_id]' => 'Test'
+      'field_test_entity_ref_field[0][target_id]' => 'Test',
     );
     $this->drupalPostForm('node/add/' . $this->type, $edit, t('Save'));
 
@@ -292,7 +292,7 @@ public function testFieldAdminHandler() {
 
     $edit = array(
       'title[0][value]' => 'Test',
-      'field_test_entity_ref_field[0][target_id]' => $node1->getTitle()
+      'field_test_entity_ref_field[0][target_id]' => $node1->getTitle(),
     );
     $this->drupalPostForm('node/add/' . $this->type, $edit, t('Save'));
 
@@ -304,7 +304,7 @@ public function testFieldAdminHandler() {
 
     $edit = array(
       'title[0][value]' => 'Test',
-      'field_test_entity_ref_field[0][target_id]' => $node1->getTitle() . ' (' . $node1->id() . ')'
+      'field_test_entity_ref_field[0][target_id]' => $node1->getTitle() . ' (' . $node1->id() . ')',
     );
     $this->drupalPostForm('node/add/' . $this->type, $edit, t('Save'));
     $this->assertLink($node1->getTitle());
diff --git a/core/modules/field/src/Tests/EntityReference/EntityReferenceFileUploadTest.php b/core/modules/field/src/Tests/EntityReference/EntityReferenceFileUploadTest.php
index 6aef0f8..0ba645b 100644
--- a/core/modules/field/src/Tests/EntityReference/EntityReferenceFileUploadTest.php
+++ b/core/modules/field/src/Tests/EntityReference/EntityReferenceFileUploadTest.php
@@ -83,7 +83,7 @@ protected function setUp() {
     $field_storage = FieldStorageConfig::create(array(
       'field_name' => $file_field_name,
       'entity_type' => 'node',
-      'type' => 'file'
+      'type' => 'file',
     ));
     $field_storage->save();
     FieldConfig::create([
diff --git a/core/modules/field/src/Tests/EntityReference/EntityReferenceXSSTest.php b/core/modules/field/src/Tests/EntityReference/EntityReferenceXSSTest.php
index f72312f..a35698a 100644
--- a/core/modules/field/src/Tests/EntityReference/EntityReferenceXSSTest.php
+++ b/core/modules/field/src/Tests/EntityReference/EntityReferenceXSSTest.php
@@ -59,7 +59,7 @@ public function testEntityReferenceXSS() {
 
     $edit = [
       'title[0][value]' => $this->randomString(),
-      'entity_reference_test' => $referenced_node->id()
+      'entity_reference_test' => $referenced_node->id(),
     ];
     $this->drupalPostForm(NULL, $edit, 'Save and publish');
     $this->assertEscaped($referenced_node->getTitle());
diff --git a/core/modules/field/src/Tests/EntityReference/Views/SelectionTest.php b/core/modules/field/src/Tests/EntityReference/Views/SelectionTest.php
index e677dbc..6e822ad 100644
--- a/core/modules/field/src/Tests/EntityReference/Views/SelectionTest.php
+++ b/core/modules/field/src/Tests/EntityReference/Views/SelectionTest.php
@@ -127,7 +127,7 @@ public function testSelectionHandlerRelationship() {
         'table' => 'users_field_data',
         'field' => 'uid',
         'relationship' => 'test_relationship',
-      )
+      ),
     ));
 
     // Set view to distinct so only one row per node is returned.
diff --git a/core/modules/field/src/Tests/FormTest.php b/core/modules/field/src/Tests/FormTest.php
index a6014a7..f8e317b 100644
--- a/core/modules/field/src/Tests/FormTest.php
+++ b/core/modules/field/src/Tests/FormTest.php
@@ -116,7 +116,7 @@ function testFieldFormSingle() {
 
     // Submit with invalid value (field-level validation).
     $edit = array(
-      "{$field_name}[0][value]" => -1
+      "{$field_name}[0][value]" => -1,
     );
     $this->drupalPostForm(NULL, $edit, t('Save'));
     $this->assertRaw(t('%name does not accept the value -1.', array('%name' => $this->field['label'])), 'Field validation fails with invalid input.');
@@ -153,7 +153,7 @@ function testFieldFormSingle() {
     // Empty the field.
     $value = '';
     $edit = array(
-      "{$field_name}[0][value]" => $value
+      "{$field_name}[0][value]" => $value,
     );
     $this->drupalPostForm('entity_test/manage/' . $id . '/edit', $edit, t('Save'));
     $this->assertText(t('entity_test @id has been updated.', array('@id' => $id)), 'Entity was updated');
diff --git a/core/modules/field/src/Tests/Number/NumberFieldTest.php b/core/modules/field/src/Tests/Number/NumberFieldTest.php
index 14777ec..fa61f59 100644
--- a/core/modules/field/src/Tests/Number/NumberFieldTest.php
+++ b/core/modules/field/src/Tests/Number/NumberFieldTest.php
@@ -47,7 +47,7 @@ function testNumberDecimalField() {
       'type' => 'decimal',
       'settings' => array(
         'precision' => 8, 'scale' => 4,
-      )
+      ),
     ))->save();
     FieldConfig::create([
       'field_name' => $field_name,
@@ -59,7 +59,7 @@ function testNumberDecimalField() {
       ->setComponent($field_name, array(
         'type' => 'number',
         'settings' => array(
-          'placeholder' => '0.00'
+          'placeholder' => '0.00',
         ),
       ))
       ->save();
@@ -144,14 +144,14 @@ function testNumberIntegerField() {
       'bundle' => 'entity_test',
       'settings' => array(
         'min' => $minimum, 'max' => $maximum, 'prefix' => 'ThePrefix',
-      )
+      ),
     ])->save();
 
     entity_get_form_display('entity_test', 'entity_test', 'default')
       ->setComponent($field_name, array(
         'type' => 'number',
         'settings' => array(
-          'placeholder' => '4'
+          'placeholder' => '4',
         ),
       ))
       ->save();
@@ -170,12 +170,12 @@ function testNumberIntegerField() {
         'value' => array(
           'type' => 'int',
           'unsigned' => '',
-          'size' => 'normal'
+          'size' => 'normal',
         ),
       ),
       'unique keys' => array(),
       'indexes' => array(),
-      'foreign keys' => array()
+      'foreign keys' => array(),
     );
     $this->assertEqual($storage->getSchema(), $expected);
 
@@ -290,7 +290,7 @@ function testNumberFloatField() {
       ->setComponent($field_name, array(
         'type' => 'number',
         'settings' => array(
-          'placeholder' => '0.00'
+          'placeholder' => '0.00',
         ),
       ))
       ->save();
@@ -393,7 +393,7 @@ function testNumberFormatter() {
       'bundle' => $type,
       'settings' => array(
         'prefix' => $prefix,
-        'suffix' => $suffix
+        'suffix' => $suffix,
       ),
     ])->save();
 
@@ -403,7 +403,7 @@ function testNumberFormatter() {
       'bundle' => $type,
       'settings' => array(
         'prefix' => $prefix,
-        'suffix' => $suffix
+        'suffix' => $suffix,
       ),
     ])->save();
 
@@ -411,13 +411,13 @@ function testNumberFormatter() {
       ->setComponent($float_field, array(
         'type' => 'number',
         'settings' => array(
-          'placeholder' => '0.00'
+          'placeholder' => '0.00',
         ),
       ))
       ->setComponent($integer_field, array(
         'type' => 'number',
         'settings' => array(
-          'placeholder' => '0.00'
+          'placeholder' => '0.00',
         ),
       ))
       ->save();
diff --git a/core/modules/field/src/Tests/String/StringFieldTest.php b/core/modules/field/src/Tests/String/StringFieldTest.php
index 0ac5748..24ed5fb 100644
--- a/core/modules/field/src/Tests/String/StringFieldTest.php
+++ b/core/modules/field/src/Tests/String/StringFieldTest.php
@@ -55,7 +55,7 @@ function _testTextfieldWidgets($field_type, $widget_type) {
     $field_storage = FieldStorageConfig::create(array(
       'field_name' => $field_name,
       'entity_type' => 'entity_test',
-      'type' => $field_type
+      'type' => $field_type,
     ));
     $field_storage->save();
     FieldConfig::create([
diff --git a/core/modules/field/src/Tests/reEnableModuleFieldTest.php b/core/modules/field/src/Tests/reEnableModuleFieldTest.php
index b718e75..f7cddd3 100644
--- a/core/modules/field/src/Tests/reEnableModuleFieldTest.php
+++ b/core/modules/field/src/Tests/reEnableModuleFieldTest.php
@@ -23,7 +23,7 @@ class reEnableModuleFieldTest extends WebTestBase {
     'node',
     // We use telephone module instead of test_field because test_field is
     // hidden and does not display on the admin/modules page.
-    'telephone'
+    'telephone',
   );
 
   protected function setUp() {
diff --git a/core/modules/field/tests/fixtures/update/drupal-8.views_entity_reference_plugins-2429191.php b/core/modules/field/tests/fixtures/update/drupal-8.views_entity_reference_plugins-2429191.php
index 4ad0a77..87f4eb9 100644
--- a/core/modules/field/tests/fixtures/update/drupal-8.views_entity_reference_plugins-2429191.php
+++ b/core/modules/field/tests/fixtures/update/drupal-8.views_entity_reference_plugins-2429191.php
@@ -66,7 +66,7 @@
   ->condition('collection', 'entity.definitions.installed')
   ->condition('name', 'node.field_storage_definitions')
   ->fields([
-    'value' => serialize($installed)
+    'value' => serialize($installed),
   ])
   ->execute();
 
diff --git a/core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/TestItem.php b/core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/TestItem.php
index 1b8822f..0f2a6a0 100644
--- a/core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/TestItem.php
+++ b/core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/TestItem.php
@@ -120,7 +120,7 @@ public function getConstraints() {
         'TestField' => array(
           'value' => -1,
           'message' => t('%name does not accept the value @value.', array('%name' => $this->getFieldDefinition()->getLabel(), '@value' => -1)),
-        )
+        ),
       ),
     ));
 
diff --git a/core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/TestItemWithPreconfiguredOptions.php b/core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/TestItemWithPreconfiguredOptions.php
index 2dce022..6c98205 100644
--- a/core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/TestItemWithPreconfiguredOptions.php
+++ b/core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/TestItemWithPreconfiguredOptions.php
@@ -29,7 +29,7 @@ public static function getPreconfiguredOptions() {
         'field_storage_config' => [
           'cardinality' => FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED,
           'settings' => [
-            'test_field_storage_setting' => 'preconfigured_storage_setting'
+            'test_field_storage_setting' => 'preconfigured_storage_setting',
           ],
         ],
         'field_config' => [
diff --git a/core/modules/field/tests/src/Kernel/Boolean/BooleanFormatterTest.php b/core/modules/field/tests/src/Kernel/Boolean/BooleanFormatterTest.php
index 94f5bc6..1ef9d1a 100644
--- a/core/modules/field/tests/src/Kernel/Boolean/BooleanFormatterTest.php
+++ b/core/modules/field/tests/src/Kernel/Boolean/BooleanFormatterTest.php
@@ -115,7 +115,7 @@ public function testBooleanFormatter() {
     $format = [
       'format' => 'custom',
       'format_custom_false' => 'FALSE',
-      'format_custom_true' => 'TRUE'
+      'format_custom_true' => 'TRUE',
     ];
     $data[] = [0, $format, 'FALSE'];
     $data[] = [1, $format, 'TRUE'];
diff --git a/core/modules/field/tests/src/Kernel/BulkDeleteTest.php b/core/modules/field/tests/src/Kernel/BulkDeleteTest.php
index 41fedfc..d8ef726 100644
--- a/core/modules/field/tests/src/Kernel/BulkDeleteTest.php
+++ b/core/modules/field/tests/src/Kernel/BulkDeleteTest.php
@@ -105,7 +105,7 @@ protected function setUp() {
       'field_name' => 'bf_1',
       'entity_type' => $this->entityTypeId,
       'type' => 'test_field',
-      'cardinality' => 1
+      'cardinality' => 1,
     ));
     $field_storage->save();
     $this->fieldStorages[] = $field_storage;
@@ -113,7 +113,7 @@ protected function setUp() {
       'field_name' => 'bf_2',
       'entity_type' => $this->entityTypeId,
       'type' => 'test_field',
-      'cardinality' => 4
+      'cardinality' => 4,
     ));
     $field_storage->save();
     $this->fieldStorages[] = $field_storage;
diff --git a/core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php b/core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php
index e00848c..7f214c4 100644
--- a/core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php
+++ b/core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php
@@ -308,7 +308,7 @@ public function testSelectionHandlerSettings() {
       'entity_type' => 'entity_test',
       'type' => 'entity_reference',
       'settings' => array(
-        'target_type' => 'entity_test'
+        'target_type' => 'entity_test',
       ),
     ));
     $field_storage->save();
diff --git a/core/modules/field/tests/src/Kernel/FieldKernelTestBase.php b/core/modules/field/tests/src/Kernel/FieldKernelTestBase.php
index a780895..61d4619 100644
--- a/core/modules/field/tests/src/Kernel/FieldKernelTestBase.php
+++ b/core/modules/field/tests/src/Kernel/FieldKernelTestBase.php
@@ -113,7 +113,7 @@ protected function createFieldWithStorage($suffix = '', $entity_type = 'entity_t
         'type' => 'test_field_widget',
         'settings' => array(
           'test_widget_setting' => $this->randomMachineName(),
-        )
+        ),
       ))
       ->save();
   }
diff --git a/core/modules/field/tests/src/Kernel/FieldStorageCrudTest.php b/core/modules/field/tests/src/Kernel/FieldStorageCrudTest.php
index da1948c..4b15d95 100644
--- a/core/modules/field/tests/src/Kernel/FieldStorageCrudTest.php
+++ b/core/modules/field/tests/src/Kernel/FieldStorageCrudTest.php
@@ -113,7 +113,7 @@ function testCreate() {
     try {
       $field_storage_definition = array(
         'field_name' => 'test_field',
-        'type' => 'test_field'
+        'type' => 'test_field',
       );
       FieldStorageConfig::create($field_storage_definition)->save();
       $this->fail('Cannot create a field without an entity type.');
@@ -188,7 +188,7 @@ function testCreate() {
    */
   function testCreateWithExplicitSchema() {
     $schema = array(
-      'dummy' => 'foobar'
+      'dummy' => 'foobar',
     );
     $field_storage = FieldStorageConfig::create(array(
       'field_name' => 'field_2',
@@ -433,7 +433,7 @@ function testUpdateForbid() {
       'type' => 'test_field',
       'settings' => array(
         'changeable' => 0,
-        'unchangeable' => 0
+        'unchangeable' => 0,
     )));
     $field_storage->save();
     $field_storage->setSetting('changeable', $field_storage->getSetting('changeable') + 1);
diff --git a/core/modules/field/tests/src/Kernel/TestItemWithDependenciesTest.php b/core/modules/field/tests/src/Kernel/TestItemWithDependenciesTest.php
index 9766a06..145546c 100644
--- a/core/modules/field/tests/src/Kernel/TestItemWithDependenciesTest.php
+++ b/core/modules/field/tests/src/Kernel/TestItemWithDependenciesTest.php
@@ -48,7 +48,7 @@ public function testTestItemWithDepenencies() {
     $this->assertEqual([
       'content' => ['node:article:uuid'],
       'config' => ['field.storage.entity_test.field_test'],
-      'module' => ['entity_test', 'field_test', 'test_module']
+      'module' => ['entity_test', 'field_test', 'test_module'],
     ], $field->getDependencies());
   }
 
diff --git a/core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php b/core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php
index 3f687d4..5ef68ae 100644
--- a/core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php
+++ b/core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php
@@ -229,13 +229,13 @@ public function testOnDependencyRemoval() {
       'dependencies' => [
         'module' => [
           'fruiter',
-        ]
+        ],
       ],
       'third_party_settings' => [
         'fruiter' => [
           'fruit' => 'apple',
-        ]
-      ]
+        ],
+      ],
     ]);
     $changed = $field->onDependencyRemoval(['module' => ['fruiter']]);
     $this->assertTrue($changed);
diff --git a/core/modules/field/tests/src/Unit/Plugin/migrate/source/d6/FieldInstancePerFormDisplayTest.php b/core/modules/field/tests/src/Unit/Plugin/migrate/source/d6/FieldInstancePerFormDisplayTest.php
index d6184b5..0729ae1 100644
--- a/core/modules/field/tests/src/Unit/Plugin/migrate/source/d6/FieldInstancePerFormDisplayTest.php
+++ b/core/modules/field/tests/src/Unit/Plugin/migrate/source/d6/FieldInstancePerFormDisplayTest.php
@@ -53,7 +53,7 @@ protected function setUp() {
         'db_columns' => $empty_array,
         'active' => '1',
         'locked' => '0',
-      )
+      ),
     );
     $this->databaseContents['content_node_field_instance'] = array(
       array(
diff --git a/core/modules/field_ui/src/Element/FieldUiTable.php b/core/modules/field_ui/src/Element/FieldUiTable.php
index 05d5d04..a158c36 100644
--- a/core/modules/field_ui/src/Element/FieldUiTable.php
+++ b/core/modules/field_ui/src/Element/FieldUiTable.php
@@ -159,7 +159,7 @@ public static function preRenderRegionRows($elements) {
         $elements['#rows'][] = [
           'class' => [
             'region-title',
-            'region-' . $region_name_class . '-title'
+            'region-' . $region_name_class . '-title',
           ],
           'no_striping' => TRUE,
           'data' => [
diff --git a/core/modules/field_ui/src/FieldUiPermissions.php b/core/modules/field_ui/src/FieldUiPermissions.php
index be73db6..a127fcc 100644
--- a/core/modules/field_ui/src/FieldUiPermissions.php
+++ b/core/modules/field_ui/src/FieldUiPermissions.php
@@ -55,10 +55,10 @@ public function fieldPermissions() {
           'restrict access' => TRUE,
         ];
         $permissions['administer ' . $entity_type_id . ' form display'] = [
-          'title' => $this->t('%entity_label: Administer form display', ['%entity_label' => $entity_type->getLabel()])
+          'title' => $this->t('%entity_label: Administer form display', ['%entity_label' => $entity_type->getLabel()]),
         ];
         $permissions['administer ' . $entity_type_id . ' display'] = [
-          'title' => $this->t('%entity_label: Administer display', ['%entity_label' => $entity_type->getLabel()])
+          'title' => $this->t('%entity_label: Administer display', ['%entity_label' => $entity_type->getLabel()]),
         ];
       }
     }
diff --git a/core/modules/field_ui/src/Form/EntityDisplayFormBase.php b/core/modules/field_ui/src/Form/EntityDisplayFormBase.php
index 20e1487..b2574fd 100644
--- a/core/modules/field_ui/src/Form/EntityDisplayFormBase.php
+++ b/core/modules/field_ui/src/Form/EntityDisplayFormBase.php
@@ -94,11 +94,11 @@ public function getRegions() {
       'content' => array(
         'title' => $this->t('Content'),
         'invisible' => TRUE,
-        'message' => $this->t('No field is displayed.')
+        'message' => $this->t('No field is displayed.'),
       ),
       'hidden' => array(
         'title' => $this->t('Disabled', array(), array('context' => 'Plural')),
-        'message' => $this->t('No field is hidden.')
+        'message' => $this->t('No field is hidden.'),
       ),
     );
   }
@@ -234,7 +234,7 @@ public function form(array $form, FormStateInterface $form_state) {
         // spinners will be added manually by the client-side script.
         'progress' => 'none',
       ),
-      '#attributes' => array('class' => array('visually-hidden'))
+      '#attributes' => array('class' => array('visually-hidden')),
     );
 
     $form['actions'] = array('#type' => 'actions');
diff --git a/core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php b/core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php
index 20cd9a2..1b04700 100644
--- a/core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php
+++ b/core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php
@@ -72,8 +72,8 @@ protected function buildExtraFieldRow($field_id, $extra_field) {
     // Insert an empty placeholder for the label column.
     $label = array(
       'empty_cell' => array(
-        '#markup' => '&nbsp;'
-      )
+        '#markup' => '&nbsp;',
+      ),
     );
     $label_position = array_search('plugin', array_keys($extra_field_row));
     $extra_field_row = array_slice($extra_field_row, 0, $label_position, TRUE) + $label + array_slice($extra_field_row, $label_position, count($extra_field_row) - 1, TRUE);
diff --git a/core/modules/field_ui/src/Form/FieldConfigEditForm.php b/core/modules/field_ui/src/Form/FieldConfigEditForm.php
index 827bf1b..80a8dd7 100644
--- a/core/modules/field_ui/src/Form/FieldConfigEditForm.php
+++ b/core/modules/field_ui/src/Form/FieldConfigEditForm.php
@@ -75,7 +75,7 @@ public function form(array $form, FormStateInterface $form_state) {
     $ids = (object) array(
       'entity_type' => $this->entity->getTargetEntityTypeId(),
       'bundle' => $this->entity->getTargetBundle(),
-      'entity_id' => NULL
+      'entity_id' => NULL,
     );
     $form['#entity'] = _field_create_entity_from_ids($ids);
     $items = $form['#entity']->get($this->entity->getName());
diff --git a/core/modules/field_ui/src/Form/FieldStorageConfigEditForm.php b/core/modules/field_ui/src/Form/FieldStorageConfigEditForm.php
index bbaeb63..38afea7 100644
--- a/core/modules/field_ui/src/Form/FieldStorageConfigEditForm.php
+++ b/core/modules/field_ui/src/Form/FieldStorageConfigEditForm.php
@@ -82,7 +82,7 @@ public function form(array $form, FormStateInterface $form_state) {
     $ids = (object) array(
       'entity_type' => $form_state->get('entity_type_id'),
       'bundle' => $form_state->get('bundle'),
-      'entity_id' => NULL
+      'entity_id' => NULL,
     );
     $entity = _field_create_entity_from_ids($ids);
     $items = $entity->get($this->entity->getName());
@@ -99,7 +99,7 @@ public function form(array $form, FormStateInterface $form_state) {
       '#attributes' => array('class' => array(
         'container-inline',
         'fieldgroup',
-        'form-composite'
+        'form-composite',
       )),
     );
     $form['cardinality_container']['cardinality'] = array(
diff --git a/core/modules/field_ui/src/Tests/ManageFieldsTest.php b/core/modules/field_ui/src/Tests/ManageFieldsTest.php
index cbe9f53..3b68f49 100644
--- a/core/modules/field_ui/src/Tests/ManageFieldsTest.php
+++ b/core/modules/field_ui/src/Tests/ManageFieldsTest.php
@@ -409,7 +409,7 @@ function testDefaultValue() {
     FieldStorageConfig::create(array(
       'field_name' => $field_name,
       'entity_type' => 'node',
-      'type' => 'test_field'
+      'type' => 'test_field',
     ))->save();
     $field = FieldConfig::create(array(
       'field_name' => $field_name,
@@ -548,7 +548,7 @@ function testLockedField() {
       'entity_type' => 'node',
       'type' => 'test_field',
       'cardinality' => 1,
-      'locked' => TRUE
+      'locked' => TRUE,
     ));
     $field_storage->save();
     FieldConfig::create(array(
diff --git a/core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php b/core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php
index be188db..5781d74 100644
--- a/core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php
+++ b/core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php
@@ -183,7 +183,7 @@ public function testFieldComponent() {
     $field_storage = FieldStorageConfig::create(array(
       'field_name' => $field_name,
       'entity_type' => 'entity_test',
-      'type' => 'test_field'
+      'type' => 'test_field',
     ));
     $field_storage->save();
     $field = FieldConfig::create(array(
@@ -327,7 +327,7 @@ public function testDeleteField() {
     $field_storage = FieldStorageConfig::create(array(
       'field_name' => $field_name,
       'entity_type' => 'entity_test',
-      'type' => 'test_field'
+      'type' => 'test_field',
     ));
     $field_storage->save();
     $field = FieldConfig::create(array(
@@ -376,7 +376,7 @@ public function testOnDependencyRemoval() {
     $field_storage = FieldStorageConfig::create(array(
       'field_name' => $field_name,
       'entity_type' => 'entity_test',
-      'type' => 'text'
+      'type' => 'text',
     ));
     $field_storage->save();
     $field = FieldConfig::create(array(
diff --git a/core/modules/field_ui/tests/src/Kernel/EntityFormDisplayTest.php b/core/modules/field_ui/tests/src/Kernel/EntityFormDisplayTest.php
index e38db7c..ae80bb1 100644
--- a/core/modules/field_ui/tests/src/Kernel/EntityFormDisplayTest.php
+++ b/core/modules/field_ui/tests/src/Kernel/EntityFormDisplayTest.php
@@ -55,7 +55,7 @@ public function testFieldComponent() {
     $field_storage = FieldStorageConfig::create(array(
       'field_name' => $field_name,
       'entity_type' => 'entity_test',
-      'type' => 'test_field'
+      'type' => 'test_field',
     ));
     $field_storage->save();
     $field = FieldConfig::create(array(
@@ -183,7 +183,7 @@ public function testDeleteField() {
     $field_storage = FieldStorageConfig::create(array(
       'field_name' => $field_name,
       'entity_type' => 'entity_test',
-      'type' => 'test_field'
+      'type' => 'test_field',
     ));
     $field_storage->save();
     $field = FieldConfig::create(array(
@@ -232,7 +232,7 @@ public function testOnDependencyRemoval() {
     $field_storage = FieldStorageConfig::create(array(
       'field_name' => $field_name,
       'entity_type' => 'entity_test',
-      'type' => 'text'
+      'type' => 'text',
     ));
     $field_storage->save();
     $field = FieldConfig::create(array(
diff --git a/core/modules/file/src/Tests/FileFieldWidgetTest.php b/core/modules/file/src/Tests/FileFieldWidgetTest.php
index a0d0393..361d609 100644
--- a/core/modules/file/src/Tests/FileFieldWidgetTest.php
+++ b/core/modules/file/src/Tests/FileFieldWidgetTest.php
@@ -258,7 +258,7 @@ function testMultiValuedWidget() {
     $this->uploadNodeFiles($upload_files, $field_name, $nid, 1);
     $args = array(
       '%field' => $field_name,
-      '@count' => $cardinality
+      '@count' => $cardinality,
     );
     $this->assertRaw(t('%field: this field cannot hold more than @count values.', $args));
     $node_storage->resetCache(array($nid));
diff --git a/core/modules/file/src/Tests/SaveUploadTest.php b/core/modules/file/src/Tests/SaveUploadTest.php
index 3aaa5cf..2120016 100644
--- a/core/modules/file/src/Tests/SaveUploadTest.php
+++ b/core/modules/file/src/Tests/SaveUploadTest.php
@@ -280,7 +280,7 @@ function testHandleFileMunge() {
   function testExistingRename() {
     $edit = array(
       'file_test_replace' => FILE_EXISTS_RENAME,
-      'files[file_test_upload]' => drupal_realpath($this->image->getFileUri())
+      'files[file_test_upload]' => drupal_realpath($this->image->getFileUri()),
     );
     $this->drupalPostForm('file-test/upload', $edit, t('Submit'));
     $this->assertResponse(200, 'Received a 200 response for posted test file.');
@@ -296,7 +296,7 @@ function testExistingRename() {
   function testExistingReplace() {
     $edit = array(
       'file_test_replace' => FILE_EXISTS_REPLACE,
-      'files[file_test_upload]' => drupal_realpath($this->image->getFileUri())
+      'files[file_test_upload]' => drupal_realpath($this->image->getFileUri()),
     );
     $this->drupalPostForm('file-test/upload', $edit, t('Submit'));
     $this->assertResponse(200, 'Received a 200 response for posted test file.');
@@ -312,7 +312,7 @@ function testExistingReplace() {
   function testExistingError() {
     $edit = array(
       'file_test_replace' => FILE_EXISTS_ERROR,
-      'files[file_test_upload]' => drupal_realpath($this->image->getFileUri())
+      'files[file_test_upload]' => drupal_realpath($this->image->getFileUri()),
     );
     $this->drupalPostForm('file-test/upload', $edit, t('Submit'));
     $this->assertResponse(200, 'Received a 200 response for posted test file.');
@@ -341,7 +341,7 @@ function testDrupalMovingUploadedFileError() {
 
     $edit = array(
       'file_subdir' => $test_directory,
-      'files[file_test_upload]' => drupal_realpath($this->image->getFileUri())
+      'files[file_test_upload]' => drupal_realpath($this->image->getFileUri()),
     );
 
     \Drupal::state()->set('file_test.disable_error_collection', TRUE);
@@ -355,7 +355,7 @@ function testDrupalMovingUploadedFileError() {
     $this->assertResponse(200);
     $this->assertRaw(t('Upload error. Could not move uploaded file @file to destination @destination.', array(
       '@file' => $this->image->getFilename(),
-      '@destination' => 'temporary://' . $test_directory . '/' . $this->image->getFilename()
+      '@destination' => 'temporary://' . $test_directory . '/' . $this->image->getFilename(),
     )), 'Found upload error log entry.');
   }
 
diff --git a/core/modules/file/tests/src/Kernel/FileItemValidationTest.php b/core/modules/file/tests/src/Kernel/FileItemValidationTest.php
index a5c2d69..9472203 100644
--- a/core/modules/file/tests/src/Kernel/FileItemValidationTest.php
+++ b/core/modules/file/tests/src/Kernel/FileItemValidationTest.php
@@ -77,9 +77,9 @@ public function testFileValidationConstraint($file_type) {
         'default' => [
           'files' => [
             'test.txt' => str_repeat('a', 3000),
-          ]
-        ]
-      ]
+          ],
+        ],
+      ],
     ]);
 
     // Test for max filesize.
@@ -93,7 +93,7 @@ public function testFileValidationConstraint($file_type) {
       'uid' => $this->user->id(),
       'field_test_file' => [
         'target_id' => $file->id(),
-      ]
+      ],
     ]);
     $result = $entity_test->validate();
     $this->assertCount(2, $result);
diff --git a/core/modules/file/tests/src/Kernel/UsageTest.php b/core/modules/file/tests/src/Kernel/UsageTest.php
index fdf1231..74fb706 100644
--- a/core/modules/file/tests/src/Kernel/UsageTest.php
+++ b/core/modules/file/tests/src/Kernel/UsageTest.php
@@ -19,7 +19,7 @@ function testGetUsage() {
         'module' => 'testing',
         'type' => 'foo',
         'id' => 1,
-        'count' => 1
+        'count' => 1,
       ))
       ->execute();
     db_insert('file_usage')
@@ -28,7 +28,7 @@ function testGetUsage() {
         'module' => 'testing',
         'type' => 'bar',
         'id' => 2,
-        'count' => 2
+        'count' => 2,
       ))
       ->execute();
 
diff --git a/core/modules/file/tests/src/Kernel/Views/FileViewsFieldAccessTest.php b/core/modules/file/tests/src/Kernel/Views/FileViewsFieldAccessTest.php
index 18a6f51..539cb5d 100644
--- a/core/modules/file/tests/src/Kernel/Views/FileViewsFieldAccessTest.php
+++ b/core/modules/file/tests/src/Kernel/Views/FileViewsFieldAccessTest.php
@@ -48,7 +48,7 @@ public function testFileFields() {
       'uri' => 'public://test.txt',
       'status' => TRUE,
       'langcode' => 'fr',
-      'uid' => $user->id()
+      'uid' => $user->id(),
     ]);
     $file->save();
 
diff --git a/core/modules/filter/filter.module b/core/modules/filter/filter.module
index f52614a..d2d6da1 100644
--- a/core/modules/filter/filter.module
+++ b/core/modules/filter/filter.module
@@ -74,7 +74,7 @@ function filter_theme() {
         'caption' => NULL,
         'classes' => NULL,
       ),
-    )
+    ),
   );
 }
 
diff --git a/core/modules/filter/src/FilterPermissions.php b/core/modules/filter/src/FilterPermissions.php
index fc22f3c..bdad0e9 100644
--- a/core/modules/filter/src/FilterPermissions.php
+++ b/core/modules/filter/src/FilterPermissions.php
@@ -57,7 +57,7 @@ public function permissions() {
           'description' => [
             '#prefix' => '<em>',
             '#markup' => $this->t('Warning: This permission may have security implications depending on how the text format is configured.'),
-            '#suffix' => '</em>'
+            '#suffix' => '</em>',
           ],
         ];
       }
diff --git a/core/modules/filter/src/FilterProcessResult.php b/core/modules/filter/src/FilterProcessResult.php
index 4b07fad..786a228 100644
--- a/core/modules/filter/src/FilterProcessResult.php
+++ b/core/modules/filter/src/FilterProcessResult.php
@@ -142,7 +142,7 @@ public function createPlaceholder($callback, array $args) {
       'placeholders' => [
         $placeholder_markup => [
           '#lazy_builder' => [$callback, $args],
-        ]
+        ],
       ],
     ]);
 
diff --git a/core/modules/filter/src/Plugin/Filter/FilterHtml.php b/core/modules/filter/src/Plugin/Filter/FilterHtml.php
index 1dc3395..7c8f284 100644
--- a/core/modules/filter/src/Plugin/Filter/FilterHtml.php
+++ b/core/modules/filter/src/Plugin/Filter/FilterHtml.php
@@ -382,7 +382,7 @@ public function tips($long = FALSE) {
       'h3' => array($this->t('Heading'), '<h3>' . $this->t('Subtitle three') . '</h3>'),
       'h4' => array($this->t('Heading'), '<h4>' . $this->t('Subtitle four') . '</h4>'),
       'h5' => array($this->t('Heading'), '<h5>' . $this->t('Subtitle five') . '</h5>'),
-      'h6' => array($this->t('Heading'), '<h6>' . $this->t('Subtitle six') . '</h6>')
+      'h6' => array($this->t('Heading'), '<h6>' . $this->t('Subtitle six') . '</h6>'),
     );
     $header = array($this->t('Tag Description'), $this->t('You Type'), $this->t('You Get'));
     preg_match_all('/<([a-z0-9]+)[^a-z0-9]/i', $allowed_html, $out);
@@ -396,7 +396,7 @@ public function tips($long = FALSE) {
             array(
               '#prefix' => '<code>',
               '#plain_text' => $tips[$tag][1],
-              '#suffix' => '</code>'
+              '#suffix' => '</code>',
             ),
             'class' => array('type')),
           // The markup must not be escaped because this is the example output
diff --git a/core/modules/filter/src/Tests/FilterAdminTest.php b/core/modules/filter/src/Tests/FilterAdminTest.php
index e71b57a..23d6438 100644
--- a/core/modules/filter/src/Tests/FilterAdminTest.php
+++ b/core/modules/filter/src/Tests/FilterAdminTest.php
@@ -140,7 +140,7 @@ function testFormatAdmin() {
     // exists.
     // @todo: See https://www.drupal.org/node/2031223 for the above.
     $edit_link = $this->xpath('//a[@href=:href]', array(
-      ':href' => \Drupal::url('entity.filter_format.edit_form', ['filter_format' => $format_id])
+      ':href' => \Drupal::url('entity.filter_format.edit_form', ['filter_format' => $format_id]),
     ));
     $this->assertTrue($edit_link, format_string('Link href %href found.',
       array('%href' => 'admin/config/content/formats/manage/' . $format_id)
diff --git a/core/modules/filter/tests/src/Kernel/FilterAPITest.php b/core/modules/filter/tests/src/Kernel/FilterAPITest.php
index 50189a6..6709c13 100644
--- a/core/modules/filter/tests/src/Kernel/FilterAPITest.php
+++ b/core/modules/filter/tests/src/Kernel/FilterAPITest.php
@@ -48,7 +48,7 @@ function testCheckMarkupFilterOrder() {
             'allowed_html' => '<p>',
           ),
         ),
-      )
+      ),
     ));
     $crazy_format->save();
 
@@ -180,10 +180,10 @@ function testFilterFormatAPI() {
                 'a' => array('href' => TRUE),
                 'em' => TRUE,
               ),
-            )
+            ),
           ),
         ),
-      )
+      ),
     ));
     $very_restricted_html_format->save();
     $this->assertIdentical(
@@ -217,7 +217,7 @@ function testFilterFormatAPI() {
             'allowed_html' => '<a> <b class> <c class="*"> <d class="foo bar-* *">',
           ),
         ),
-      )
+      ),
     ));
     $nonsensical_restricted_html->save();
     $this->assertIdentical(
@@ -413,7 +413,7 @@ public function testFilterFormatPreSave() {
             'allowed_html' => '<p>',
           ),
         ),
-      )
+      ),
     ));
     $crazy_format->save();
     // Use config to directly load the configuration and check that only enabled
diff --git a/core/modules/filter/tests/src/Kernel/FilterKernelTest.php b/core/modules/filter/tests/src/Kernel/FilterKernelTest.php
index 06c1e4b..72264c8 100644
--- a/core/modules/filter/tests/src/Kernel/FilterKernelTest.php
+++ b/core/modules/filter/tests/src/Kernel/FilterKernelTest.php
@@ -195,7 +195,7 @@ function testCaptionFilter() {
         'allowed_html' => '<img src data-align data-caption>',
         'filter_html_help' => 1,
         'filter_html_nofollow' => 0,
-      )
+      ),
     ));
     $test_with_html_filter = function ($input) use ($filter, $html_filter, $renderer) {
       return $renderer->executeInRenderContext(new RenderContext(), function () use ($input, $filter, $html_filter) {
@@ -411,7 +411,7 @@ function testHtmlFilter() {
         'allowed_html' => '<a> <p> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <br>',
         'filter_html_help' => 1,
         'filter_html_nofollow' => 0,
-      )
+      ),
     ));
 
     // HTML filter is not able to secure some tags, these should never be
@@ -466,7 +466,7 @@ function testHtmlFilter() {
         'allowed_html' => '<a href llama> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <br>',
         'filter_html_help' => 1,
         'filter_html_nofollow' => 0,
-      )
+      ),
     ));
     $f = (string) $filter->process('<a kitten="cute" llama="awesome">link</a>', Language::LANGCODE_NOT_SPECIFIED);
     $this->assertNormalized($f, '<a llama="awesome">link</a>', 'HTML filter keeps explicitly allowed attributes, and removes attributes that are not explicitly allowed.');
@@ -478,7 +478,7 @@ function testHtmlFilter() {
         'allowed_html' => '<a href llama="majestical epic"> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <br>',
         'filter_html_help' => 1,
         'filter_html_nofollow' => 0,
-      )
+      ),
     ));
     $f = (string) $filter->process('<a kitten="cute" llama="awesome">link</a>', Language::LANGCODE_NOT_SPECIFIED);
     $this->assertIdentical($f, '<a>link</a>', 'HTML filter removes allowed attributes that do not have an explicitly allowed value.');
@@ -501,7 +501,7 @@ function testNoFollowFilter() {
         'allowed_html' => '<a href>',
         'filter_html_help' => 1,
         'filter_html_nofollow' => 1,
-      )
+      ),
     ));
 
     // Test if the rel="nofollow" attribute is added, even if we try to prevent
@@ -549,7 +549,7 @@ function testUrlFilter() {
     $filter->setConfiguration(array(
       'settings' => array(
         'filter_url_length' => 496,
-      )
+      ),
     ));
 
     // @todo Possible categories:
@@ -842,7 +842,7 @@ function testUrlFilter() {
     $filter->setConfiguration(array(
       'settings' => array(
         'filter_url_length' => 20,
-      )
+      ),
     ));
     $tests = array(
       'www.trimmed.com/d/ff.ext?a=1&b=2#a1' => array(
@@ -924,7 +924,7 @@ function testUrlFilterContent() {
     $filter->setConfiguration(array(
       'settings' => array(
         'filter_url_length' => 496,
-      )
+      ),
     ));
     $path = __DIR__ . '/../..';
 
diff --git a/core/modules/filter/tests/src/Unit/FilterUninstallValidatorTest.php b/core/modules/filter/tests/src/Unit/FilterUninstallValidatorTest.php
index 85de742..65a8357 100644
--- a/core/modules/filter/tests/src/Unit/FilterUninstallValidatorTest.php
+++ b/core/modules/filter/tests/src/Unit/FilterUninstallValidatorTest.php
@@ -157,7 +157,7 @@ public function testValidateNoMatchingFormats() {
       ]);
 
     $expected = [
-      'Provides a filter plugin that is in use in the following filter formats: <em class="placeholder">Filter Format 1 Label, Filter Format 2 Label</em>'
+      'Provides a filter plugin that is in use in the following filter formats: <em class="placeholder">Filter Format 1 Label, Filter Format 2 Label</em>',
     ];
     $reasons = $this->filterUninstallValidator->validate($this->randomMachineName());
     $this->assertSame($expected, $this->castSafeStrings($reasons));
diff --git a/core/modules/forum/forum.views.inc b/core/modules/forum/forum.views.inc
index fa7174f..ec2c92e 100644
--- a/core/modules/forum/forum.views.inc
+++ b/core/modules/forum/forum.views.inc
@@ -94,7 +94,7 @@ function forum_views_data() {
       'id' => 'date',
     ),
     'sort' => array(
-      'id' => 'date'
+      'id' => 'date',
     ),
     'filter' => array(
       'id' => 'date',
diff --git a/core/modules/forum/src/Form/Overview.php b/core/modules/forum/src/Form/Overview.php
index ba9c033..a95a33a 100644
--- a/core/modules/forum/src/Form/Overview.php
+++ b/core/modules/forum/src/Form/Overview.php
@@ -82,7 +82,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
     // Use the existing taxonomy overview submit handler.
     $form['terms']['#empty'] = $this->t('No containers or forums available. <a href=":container">Add container</a> or <a href=":forum">Add forum</a>.', array(
       ':container' => $this->url('forum.add_container'),
-      ':forum' => $this->url('forum.add_forum')
+      ':forum' => $this->url('forum.add_forum'),
     ));
     return $form;
   }
diff --git a/core/modules/forum/src/ForumManager.php b/core/modules/forum/src/ForumManager.php
index 9fe49a8..bc9c6a1 100644
--- a/core/modules/forum/src/ForumManager.php
+++ b/core/modules/forum/src/ForumManager.php
@@ -184,7 +184,7 @@ public function getTopics($tid, AccountInterface $account) {
         'cid',
         'last_comment_uid',
         'last_comment_timestamp',
-        'comment_count'
+        'comment_count',
       ));
 
       $query->join('forum_index', 'f', 'f.nid = n.nid');
@@ -435,7 +435,7 @@ public function getIndex() {
       'container' => 1,
       'parents' => array(),
       'isIndex' => TRUE,
-      'vid' => $vid
+      'vid' => $vid,
     ));
 
     // Load the tree below.
diff --git a/core/modules/forum/src/ForumSettingsForm.php b/core/modules/forum/src/ForumSettingsForm.php
index ac9b325..5627a25 100644
--- a/core/modules/forum/src/ForumSettingsForm.php
+++ b/core/modules/forum/src/ForumSettingsForm.php
@@ -50,7 +50,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
       1 => $this->t('Date - newest first'),
       2 => $this->t('Date - oldest first'),
       3 => $this->t('Posts - most active first'),
-      4 => $this->t('Posts - least active first')
+      4 => $this->t('Posts - least active first'),
     );
     $form['forum_order'] = array(
       '#type' => 'radios',
diff --git a/core/modules/forum/src/ForumUninstallValidator.php b/core/modules/forum/src/ForumUninstallValidator.php
index b2bb98b..cd5f77b 100644
--- a/core/modules/forum/src/ForumUninstallValidator.php
+++ b/core/modules/forum/src/ForumUninstallValidator.php
@@ -78,7 +78,7 @@ public function validate($module) {
         }
         else {
           $reasons[] = $this->t('To uninstall Forum, first delete all %vocabulary terms', [
-            '%vocabulary' => $vocabulary->label()
+            '%vocabulary' => $vocabulary->label(),
           ]);
         }
       }
diff --git a/core/modules/forum/src/Tests/Views/ForumIntegrationTest.php b/core/modules/forum/src/Tests/Views/ForumIntegrationTest.php
index 5502574..f5aa4d1 100644
--- a/core/modules/forum/src/Tests/Views/ForumIntegrationTest.php
+++ b/core/modules/forum/src/Tests/Views/ForumIntegrationTest.php
@@ -71,17 +71,17 @@ public function testForumIntegration() {
     $expected_result[] = array(
       'nid' => $nodes[0]->id(),
       'sticky' => NODE_STICKY,
-      'comment_count' => 1.
+      'comment_count' => 1.,
     );
     $expected_result[] = array(
       'nid' => $nodes[1]->id(),
       'sticky' => NODE_NOT_STICKY,
-      'comment_count' => 2.
+      'comment_count' => 2.,
     );
     $expected_result[] = array(
       'nid' => $nodes[2]->id(),
       'sticky' => NODE_NOT_STICKY,
-      'comment_count' => 3.
+      'comment_count' => 3.,
     );
     $column_map = array(
       'nid' => 'nid',
diff --git a/core/modules/hal/tests/src/Kernel/EntityNormalizeTest.php b/core/modules/hal/tests/src/Kernel/EntityNormalizeTest.php
index 88db403..aa5716e 100644
--- a/core/modules/hal/tests/src/Kernel/EntityNormalizeTest.php
+++ b/core/modules/hal/tests/src/Kernel/EntityNormalizeTest.php
@@ -67,7 +67,7 @@ public function testNode() {
       'sticky' => 0,
       'body' => [
         'value' => $this->randomMachineName(),
-        'format' => $this->randomMachineName()
+        'format' => $this->randomMachineName(),
       ],
       'revision_log' => $this->randomString(),
     ]);
@@ -149,7 +149,7 @@ public function testComment() {
       'sticky' => 0,
       'body' => [[
         'value' => $this->randomMachineName(),
-        'format' => $this->randomMachineName()
+        'format' => $this->randomMachineName(),
       ]],
     ]);
     $node->save();
diff --git a/core/modules/hal/tests/src/Kernel/NormalizeTest.php b/core/modules/hal/tests/src/Kernel/NormalizeTest.php
index 6ed064c..f53004f 100644
--- a/core/modules/hal/tests/src/Kernel/NormalizeTest.php
+++ b/core/modules/hal/tests/src/Kernel/NormalizeTest.php
@@ -48,7 +48,7 @@ public function testNormalize() {
       'name' => $this->randomMachineName(),
       'field_test_entity_reference' => array(
         'target_id' => $target_entity_en->id(),
-      )
+      ),
     );
 
     $entity = EntityTest::create($values);
diff --git a/core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php b/core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php
index 4c3a27d..8f43989 100644
--- a/core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php
+++ b/core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php
@@ -110,7 +110,7 @@ public function settingsForm(array $form, FormStateInterface $form_state) {
       '#empty_option' => t('None (original image)'),
       '#options' => $image_styles,
       '#description' => $description_link->toRenderable() + [
-        '#access' => $this->currentUser->hasPermission('administer image styles')
+        '#access' => $this->currentUser->hasPermission('administer image styles'),
       ],
     ];
     $link_types = array(
diff --git a/core/modules/image/src/Tests/ImageFieldDefaultImagesTest.php b/core/modules/image/src/Tests/ImageFieldDefaultImagesTest.php
index a0f0274..aeeb3ae 100644
--- a/core/modules/image/src/Tests/ImageFieldDefaultImagesTest.php
+++ b/core/modules/image/src/Tests/ImageFieldDefaultImagesTest.php
@@ -323,7 +323,7 @@ public function testInvalidDefaultImage() {
       'settings' => array(
         'default_image' => array(
           'uuid' => 100000,
-        )
+        ),
       ),
     ));
     $field_storage->save();
@@ -338,7 +338,7 @@ public function testInvalidDefaultImage() {
       'settings' => array(
         'default_image' => array(
           'uuid' => 100000,
-        )
+        ),
       ),
     ]);
     $field->save();
diff --git a/core/modules/image/src/Tests/ImageThemeFunctionTest.php b/core/modules/image/src/Tests/ImageThemeFunctionTest.php
index 52cf6c6..573b013 100644
--- a/core/modules/image/src/Tests/ImageThemeFunctionTest.php
+++ b/core/modules/image/src/Tests/ImageThemeFunctionTest.php
@@ -116,7 +116,7 @@ function testImageFormatterTheme() {
       ':fragment' => '#' . $fragment,
       ':url' => $url,
       ':width' => $image->getWidth(),
-      ':height' => $image->getHeight()
+      ':height' => $image->getHeight(),
     ));
     $this->assertEqual(count($elements), 1, 'theme_image_formatter() correctly renders a link fragment.');
   }
diff --git a/core/modules/image/tests/src/Kernel/ImageImportTest.php b/core/modules/image/tests/src/Kernel/ImageImportTest.php
index 14eeaa3..9cf6957 100644
--- a/core/modules/image/tests/src/Kernel/ImageImportTest.php
+++ b/core/modules/image/tests/src/Kernel/ImageImportTest.php
@@ -22,7 +22,7 @@ class ImageImportTest extends KernelTestBase {
    */
   public function testImport() {
     $style = ImageStyle::create([
-      'name' => 'test'
+      'name' => 'test',
     ]);
 
     $style->addImageEffect(['id' => 'image_module_test_null']);
diff --git a/core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageCacheTest.php b/core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageCacheTest.php
index 28e11bd..e5f7fe6 100644
--- a/core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageCacheTest.php
+++ b/core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageCacheTest.php
@@ -142,7 +142,7 @@ public function testInvalidCropValues() {
      $this->startCollectingMessages();
      $this->executeMigration('d6_imagecache_presets');
      $this->assertEqual(['error' => [
-       'The Drupal 8 image crop effect does not support numeric values for x and y offsets. Use keywords to set crop effect offsets instead.'
+       'The Drupal 8 image crop effect does not support numeric values for x and y offsets. Use keywords to set crop effect offsets instead.',
      ]], $this->migrateMessages);
   }
 
diff --git a/core/modules/image/tests/src/Unit/Plugin/migrate/source/d7/MigrateImageStylesTest.php b/core/modules/image/tests/src/Unit/Plugin/migrate/source/d7/MigrateImageStylesTest.php
index 3c3a8cc..efc0ec5 100644
--- a/core/modules/image/tests/src/Unit/Plugin/migrate/source/d7/MigrateImageStylesTest.php
+++ b/core/modules/image/tests/src/Unit/Plugin/migrate/source/d7/MigrateImageStylesTest.php
@@ -32,8 +32,8 @@ class MigrateImageStylesTest extends MigrateSqlSourceTestCase {
           'weight' => 1,
           'name' => 'image_desaturate',
           'data' => [],
-        ]
-      ]
+        ],
+      ],
     ],
   ];
 
diff --git a/core/modules/language/src/Form/LanguageFormBase.php b/core/modules/language/src/Form/LanguageFormBase.php
index 0077162..682c4fb 100644
--- a/core/modules/language/src/Form/LanguageFormBase.php
+++ b/core/modules/language/src/Form/LanguageFormBase.php
@@ -50,11 +50,11 @@ public function commonForm(array &$form) {
       $form['langcode_view'] = array(
         '#type' => 'item',
         '#title' => $this->t('Language code'),
-        '#markup' => $language->id()
+        '#markup' => $language->id(),
       );
       $form['langcode'] = array(
         '#type' => 'value',
-        '#value' => $language->id()
+        '#value' => $language->id(),
       );
     }
     else {
diff --git a/core/modules/language/src/Form/NegotiationConfigureForm.php b/core/modules/language/src/Form/NegotiationConfigureForm.php
index 41f57a3..ae296ae 100644
--- a/core/modules/language/src/Form/NegotiationConfigureForm.php
+++ b/core/modules/language/src/Form/NegotiationConfigureForm.php
@@ -234,7 +234,7 @@ protected function configureFormTable(array &$form, $type)  {
         '#attributes' => array('class' => array('language-customization-checkbox')),
         '#attached' => array(
           'library' => array(
-            'language/drupal.language.admin'
+            'language/drupal.language.admin',
           ),
         ),
       );
diff --git a/core/modules/language/src/Tests/LanguageConfigurationElementTest.php b/core/modules/language/src/Tests/LanguageConfigurationElementTest.php
index 93b821d..3967cbf 100644
--- a/core/modules/language/src/Tests/LanguageConfigurationElementTest.php
+++ b/core/modules/language/src/Tests/LanguageConfigurationElementTest.php
@@ -170,7 +170,7 @@ public function testNodeTypeUpdate() {
     $this->assertTrue($configuration->isLanguageAlterable(), 'The alterable language configuration has been saved on the Article content type.');
     // Update the article content type by changing the title label.
     $edit = array(
-      'title_label' => 'Name'
+      'title_label' => 'Name',
     );
     $this->drupalPostForm('admin/structure/types/manage/article', $edit, t('Save content type'));
     // Check that we still have the settings for the updated node type.
@@ -189,7 +189,7 @@ public function testNodeTypeDelete() {
     if ($this->profile != 'standard') {
       $this->drupalCreateContentType(array(
         'type' => 'article',
-        'name' => 'Article'
+        'name' => 'Article',
       ));
     }
     $admin_user = $this->drupalCreateUser(array('administer content types'));
@@ -240,7 +240,7 @@ public function testTaxonomyVocabularyUpdate() {
     $this->assertTrue($configuration->isLanguageAlterable(), 'The alterable language configuration has been saved on the Country vocabulary.');
     // Update the vocabulary.
     $edit = array(
-      'name' => 'Nation'
+      'name' => 'Nation',
     );
     $this->drupalPostForm('admin/structure/taxonomy/manage/country', $edit, t('Save'));
     // Check that we still have the settings for the updated vocabulary.
diff --git a/core/modules/language/src/Tests/LanguageNegotiationContentEntityTest.php b/core/modules/language/src/Tests/LanguageNegotiationContentEntityTest.php
index ba0a4db..95f0db4 100644
--- a/core/modules/language/src/Tests/LanguageNegotiationContentEntityTest.php
+++ b/core/modules/language/src/Tests/LanguageNegotiationContentEntityTest.php
@@ -90,7 +90,7 @@ public function testEnabledLanguageContentNegotiator() {
     $config->set('configurable', [LanguageInterface::TYPE_INTERFACE, LanguageInterface::TYPE_CONTENT]);
     $config->set('negotiation.language_content.enabled', [
       LanguageNegotiationUrl::METHOD_ID => 0,
-      LanguageNegotiationContentEntity::METHOD_ID => 1
+      LanguageNegotiationContentEntity::METHOD_ID => 1,
     ]);
     $config->save();
 
@@ -105,7 +105,7 @@ public function testEnabledLanguageContentNegotiator() {
     // language-url.
     $config->set('negotiation.language_content.enabled', [
       LanguageNegotiationContentEntity::METHOD_ID => 0,
-      LanguageNegotiationUrl::METHOD_ID => 1
+      LanguageNegotiationUrl::METHOD_ID => 1,
     ]);
     $config->save();
 
diff --git a/core/modules/language/src/Tests/LanguageUrlRewritingTest.php b/core/modules/language/src/Tests/LanguageUrlRewritingTest.php
index 5cd80dc..5e19b44 100644
--- a/core/modules/language/src/Tests/LanguageUrlRewritingTest.php
+++ b/core/modules/language/src/Tests/LanguageUrlRewritingTest.php
@@ -109,7 +109,7 @@ function testDomainNameNegotiationPort() {
     $edit = array(
       'language_negotiation_url_part' => LanguageNegotiationUrl::CONFIG_DOMAIN,
       'domain[en]' => $base_url_host,
-      'domain[fr]' => $language_domain
+      'domain[fr]' => $language_domain,
     );
     $this->drupalPostForm('admin/config/regional/language/detection/url', $edit, t('Save configuration'));
     // Rebuild the container so that the new language gets picked up by services
diff --git a/core/modules/language/tests/src/Kernel/EntityUrlLanguageTest.php b/core/modules/language/tests/src/Kernel/EntityUrlLanguageTest.php
index fb62f48..8154e42 100644
--- a/core/modules/language/tests/src/Kernel/EntityUrlLanguageTest.php
+++ b/core/modules/language/tests/src/Kernel/EntityUrlLanguageTest.php
@@ -74,7 +74,7 @@ public function testEntityUrlLanguageWithLanguageContentEnabled() {
     $config->set('configurable', [LanguageInterface::TYPE_INTERFACE, LanguageInterface::TYPE_CONTENT]);
     $config->set('negotiation.language_content.enabled', [
       LanguageNegotiationContentEntity::METHOD_ID => 0,
-      LanguageNegotiationUrl::METHOD_ID => 1
+      LanguageNegotiationUrl::METHOD_ID => 1,
     ]);
     $config->save();
 
@@ -98,7 +98,7 @@ public function testEntityUrlLanguageWithLanguageContentEnabled() {
     // where the language-content-entity is turned off.
     $config->set('negotiation.language_content.enabled', [
       LanguageNegotiationUrl::METHOD_ID => 0,
-      LanguageNegotiationContentEntity::METHOD_ID => 1
+      LanguageNegotiationContentEntity::METHOD_ID => 1,
     ]);
     $config->save();
 
diff --git a/core/modules/language/tests/src/Kernel/Views/FilterLanguageTest.php b/core/modules/language/tests/src/Kernel/Views/FilterLanguageTest.php
index 0c6241a..eebaa12 100644
--- a/core/modules/language/tests/src/Kernel/Views/FilterLanguageTest.php
+++ b/core/modules/language/tests/src/Kernel/Views/FilterLanguageTest.php
@@ -48,7 +48,7 @@ public function testFilter() {
         'en',
         'xx-lolspeak',
         'und',
-        'zxx'
+        'zxx',
       ];
       $this->assertIdentical(array_keys($view->filter['langcode']->getValueOptions()), $expected);
 
diff --git a/core/modules/link/src/Plugin/Field/FieldType/LinkItem.php b/core/modules/link/src/Plugin/Field/FieldType/LinkItem.php
index 4310fb9..6f24ec7 100644
--- a/core/modules/link/src/Plugin/Field/FieldType/LinkItem.php
+++ b/core/modules/link/src/Plugin/Field/FieldType/LinkItem.php
@@ -32,7 +32,7 @@ class LinkItem extends FieldItemBase implements LinkItemInterface {
   public static function defaultFieldSettings() {
     return array(
       'title' => DRUPAL_OPTIONAL,
-      'link_type' => LinkItemInterface::LINK_GENERIC
+      'link_type' => LinkItemInterface::LINK_GENERIC,
     ) + parent::defaultFieldSettings();
   }
 
diff --git a/core/modules/link/src/Tests/Views/LinkViewsTokensTest.php b/core/modules/link/src/Tests/Views/LinkViewsTokensTest.php
index ec06ca6..8ae3cf8 100644
--- a/core/modules/link/src/Tests/Views/LinkViewsTokensTest.php
+++ b/core/modules/link/src/Tests/Views/LinkViewsTokensTest.php
@@ -45,7 +45,7 @@ protected function setUp() {
     // Create Basic page node type.
     $this->drupalCreateContentType(array(
       'type' => 'page',
-      'name' => 'Basic page'
+      'name' => 'Basic page',
     ));
 
     // Create a field.
diff --git a/core/modules/locale/locale.batch.inc b/core/modules/locale/locale.batch.inc
index 81ca966..32fe6b0 100644
--- a/core/modules/locale/locale.batch.inc
+++ b/core/modules/locale/locale.batch.inc
@@ -241,7 +241,7 @@ function locale_translation_http_check($uri) {
     $response = \Drupal::service('http_client_factory')->fromOptions(['allow_redirects' => [
       'on_redirect' => function(RequestInterface $request, ResponseInterface $response, UriInterface $request_uri) use (&$actual_uri) {
         $actual_uri = (string) $request_uri;
-      }
+      },
     ]])->head($uri);
     $result = array();
 
diff --git a/core/modules/locale/src/Tests/LocaleConfigTranslationImportTest.php b/core/modules/locale/src/Tests/LocaleConfigTranslationImportTest.php
index 67faa81..c266ccc 100644
--- a/core/modules/locale/src/Tests/LocaleConfigTranslationImportTest.php
+++ b/core/modules/locale/src/Tests/LocaleConfigTranslationImportTest.php
@@ -122,7 +122,7 @@ public function testConfigTranslationModuleInstall() {
     $expected = [
       'translatable_no_default' => 'This translation is preserved',
       'translatable_default_with_translation' => 'This translation is preserved',
-      'translatable_default_with_no_translation' => 'This translation is preserved'
+      'translatable_default_with_no_translation' => 'This translation is preserved',
     ];
     $this->assertEqual($expected, $override->get());
   }
@@ -193,7 +193,7 @@ function testLocaleRemovalAndConfigOverridePreserve() {
     $expected = [
       'translatable_default_with_translation' => 'Locale can translate Afrikaans',
       'translatable_no_default' => 'This translation is preserved',
-      'translatable_default_with_no_translation' => 'This translation is preserved'
+      'translatable_default_with_no_translation' => 'This translation is preserved',
     ];
     $this->assertEqual($expected, $override->get());
 
@@ -215,7 +215,7 @@ function testLocaleRemovalAndConfigOverridePreserve() {
     $override = \Drupal::languageManager()->getLanguageConfigOverride('af', 'locale_test_translate.settings');
     $expected = [
       'translatable_no_default' => 'This translation is preserved',
-      'translatable_default_with_no_translation' => 'This translation is preserved'
+      'translatable_default_with_no_translation' => 'This translation is preserved',
     ];
     $this->assertEqual($expected, $override->get());
   }
diff --git a/core/modules/locale/src/Tests/LocaleFileSystemFormTest.php b/core/modules/locale/src/Tests/LocaleFileSystemFormTest.php
index 1e41755..635e0d1 100644
--- a/core/modules/locale/src/Tests/LocaleFileSystemFormTest.php
+++ b/core/modules/locale/src/Tests/LocaleFileSystemFormTest.php
@@ -45,7 +45,7 @@ function testFileConfigurationPage() {
     // The setting should persist.
     $translation_path = $this->publicFilesDirectory . '/translations_changed';
     $fields = array(
-      'translation_path' => $translation_path
+      'translation_path' => $translation_path,
     );
     $this->drupalPostForm(NULL, $fields, t('Save configuration'));
     $this->drupalGet('admin/config/media/file-system');
diff --git a/core/modules/locale/src/Tests/LocaleUpdateInterfaceTest.php b/core/modules/locale/src/Tests/LocaleUpdateInterfaceTest.php
index 6337b32..d7aa72e 100644
--- a/core/modules/locale/src/Tests/LocaleUpdateInterfaceTest.php
+++ b/core/modules/locale/src/Tests/LocaleUpdateInterfaceTest.php
@@ -86,7 +86,7 @@ public function testInterface() {
     $release_details = new FormattableMarkup('@module (@version). @info', [
       '@module' => 'Locale test translate',
       '@version' => '1.3-dev',
-      '@info' => t('File not found at %local_path', array('%local_path' => 'core/modules/locale/tests/test.de.po'))
+      '@info' => t('File not found at %local_path', array('%local_path' => 'core/modules/locale/tests/test.de.po')),
     ]);
     $this->assertRaw($release_details->__toString(), 'Release details');
 
diff --git a/core/modules/migrate/tests/src/Kernel/Plugin/MigrationTest.php b/core/modules/migrate/tests/src/Kernel/Plugin/MigrationTest.php
index 83bf24d..e55c9c9 100644
--- a/core/modules/migrate/tests/src/Kernel/Plugin/MigrationTest.php
+++ b/core/modules/migrate/tests/src/Kernel/Plugin/MigrationTest.php
@@ -34,7 +34,7 @@ public function testGetProcessPlugins() {
    */
   public function testGetMigrationDependencies() {
     $migration = \Drupal::service('plugin.manager.migration')->createStubMigration([
-        'migration_dependencies' => NULL
+        'migration_dependencies' => NULL,
     ]);
     $this->assertNotEmpty($migration->getMigrationDependencies(), 'Migration dependencies is not empty');
   }
diff --git a/core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php b/core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php
index b253d07..0dff622 100644
--- a/core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php
+++ b/core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php
@@ -383,7 +383,7 @@ public function testImportWithValidRowWithException() {
   public function testProcessRow() {
     $expected = array(
       'test' => 'test destination',
-      'test1' => 'test1 destination'
+      'test1' => 'test1 destination',
     );
     foreach ($expected as $key => $value) {
       $plugins[$key][0] = $this->getMock('Drupal\migrate\Plugin\MigrateProcessInterface');
diff --git a/core/modules/migrate/tests/src/Unit/MigrateSqlIdMapEnsureTablesTest.php b/core/modules/migrate/tests/src/Unit/MigrateSqlIdMapEnsureTablesTest.php
index a898a6c..b2e242a 100644
--- a/core/modules/migrate/tests/src/Unit/MigrateSqlIdMapEnsureTablesTest.php
+++ b/core/modules/migrate/tests/src/Unit/MigrateSqlIdMapEnsureTablesTest.php
@@ -28,7 +28,7 @@ public function testEnsureTablesNotExist() {
       'type' => 'varchar',
       'length' => 64,
       'not null' => 1,
-      'description' => 'Hash of source ids. Used as primary key'
+      'description' => 'Hash of source ids. Used as primary key',
     );
     $fields['sourceid1'] = array(
       'type' => 'int',
@@ -94,7 +94,7 @@ public function testEnsureTablesNotExist() {
       'type' => 'varchar',
       'length' => 64,
       'not null' => 1,
-      'description' => 'Hash of source ids. Used as primary key'
+      'description' => 'Hash of source ids. Used as primary key',
     );
     $fields['level'] = array(
       'type' => 'int',
diff --git a/core/modules/migrate_drupal/tests/src/Unit/source/d6/i18nVariableTest.php b/core/modules/migrate_drupal/tests/src/Unit/source/d6/i18nVariableTest.php
index bcfb6c2..e49e6af 100644
--- a/core/modules/migrate_drupal/tests/src/Unit/source/d6/i18nVariableTest.php
+++ b/core/modules/migrate_drupal/tests/src/Unit/source/d6/i18nVariableTest.php
@@ -43,7 +43,7 @@ class i18nVariableTest extends MigrateSqlSourceTestCase {
       'language' => 'mi',
       'site_slogan' => 'Ko whakamataku heke',
       'site_name' => 'ingoa_pae',
-    ]
+    ],
   ];
 
   /**
diff --git a/core/modules/node/node.admin.inc b/core/modules/node/node.admin.inc
index d6ffd10..3ae99f0 100644
--- a/core/modules/node/node.admin.inc
+++ b/core/modules/node/node.admin.inc
@@ -36,7 +36,7 @@ function node_mass_update(array $nodes, array $updates, $langcode = NULL, $load
   if (count($nodes) > 10) {
     $batch = array(
       'operations' => array(
-        array('_node_mass_update_batch_process', array($nodes, $updates, $langcode, $load, $revisions))
+        array('_node_mass_update_batch_process', array($nodes, $updates, $langcode, $load, $revisions)),
       ),
       'finished' => '_node_mass_update_batch_finished',
       'title' => t('Processing'),
diff --git a/core/modules/node/node.api.php b/core/modules/node/node.api.php
index ae36aa0..5fb3912 100644
--- a/core/modules/node/node.api.php
+++ b/core/modules/node/node.api.php
@@ -169,7 +169,7 @@ function hook_node_access_records(\Drupal\node\NodeInterface $node) {
         'grant_view' => 1,
         'grant_update' => 0,
         'grant_delete' => 0,
-        'langcode' => 'ca'
+        'langcode' => 'ca',
       );
     }
     // For the example_author array, the GID is equivalent to a UID, which
@@ -183,7 +183,7 @@ function hook_node_access_records(\Drupal\node\NodeInterface $node) {
         'grant_view' => 1,
         'grant_update' => 1,
         'grant_delete' => 1,
-        'langcode' => 'ca'
+        'langcode' => 'ca',
       );
     }
 
diff --git a/core/modules/node/node.module b/core/modules/node/node.module
index aade3e8..8832c92 100644
--- a/core/modules/node/node.module
+++ b/core/modules/node/node.module
@@ -809,7 +809,7 @@ function node_page_top(array &$page) {
     $page['page_top']['node_preview'] = array(
       '#type' => 'container',
       '#attributes' => array(
-        'class' => array('node-preview-container', 'container-inline')
+        'class' => array('node-preview-container', 'container-inline'),
       ),
     );
 
@@ -1154,7 +1154,7 @@ function node_access_rebuild($batch_mode = FALSE) {
         'operations' => array(
           array('_node_access_rebuild_batch_operation', array()),
         ),
-        'finished' => '_node_access_rebuild_batch_finished'
+        'finished' => '_node_access_rebuild_batch_finished',
       );
       batch_set($batch);
     }
diff --git a/core/modules/node/src/Form/NodePreviewForm.php b/core/modules/node/src/Form/NodePreviewForm.php
index 4027fdb..c5f52a0 100644
--- a/core/modules/node/src/Form/NodePreviewForm.php
+++ b/core/modules/node/src/Form/NodePreviewForm.php
@@ -98,7 +98,7 @@ public function buildForm(array $form, FormStateInterface $form_state, EntityInt
       '#default_value' => $view_mode,
       '#attributes' => array(
         'data-drupal-autosubmit' => TRUE,
-      )
+      ),
     );
 
     $form['submit'] = array(
diff --git a/core/modules/node/src/NodeTypeListBuilder.php b/core/modules/node/src/NodeTypeListBuilder.php
index bdd0874..005f309 100644
--- a/core/modules/node/src/NodeTypeListBuilder.php
+++ b/core/modules/node/src/NodeTypeListBuilder.php
@@ -56,7 +56,7 @@ public function getDefaultOperations(EntityInterface $entity) {
   public function render() {
     $build = parent::render();
     $build['table']['#empty'] = $this->t('No content types available. <a href=":link">Add content type</a>.', [
-        ':link' => Url::fromRoute('node.type_add')->toString()
+        ':link' => Url::fromRoute('node.type_add')->toString(),
       ]);
     return $build;
   }
diff --git a/core/modules/node/src/NodeViewBuilder.php b/core/modules/node/src/NodeViewBuilder.php
index f4243b2..8d49d0c 100644
--- a/core/modules/node/src/NodeViewBuilder.php
+++ b/core/modules/node/src/NodeViewBuilder.php
@@ -45,7 +45,7 @@ public function buildComponents(array &$build, array $entities, array $displays,
           '#title' => t('Language'),
           '#markup' => $entity->language()->getName(),
           '#prefix' => '<div id="field-language-display">',
-          '#suffix' => '</div>'
+          '#suffix' => '</div>',
         );
       }
     }
diff --git a/core/modules/node/src/NodeViewsData.php b/core/modules/node/src/NodeViewsData.php
index 21e1e44..db08177 100644
--- a/core/modules/node/src/NodeViewsData.php
+++ b/core/modules/node/src/NodeViewsData.php
@@ -330,7 +330,7 @@ public function getViewsData() {
             'field' => 'sid',
             'table' => 'search_index',
             'extra' => "node_search_index.type = 'node_search' AND node_search_index.langcode = node_field_data.langcode",
-          )
+          ),
         );
 
         $data['node_search_total']['table']['join'] = array(
diff --git a/core/modules/node/src/Plugin/Search/NodeSearch.php b/core/modules/node/src/Plugin/Search/NodeSearch.php
index d161a0a..9727117 100644
--- a/core/modules/node/src/Plugin/Search/NodeSearch.php
+++ b/core/modules/node/src/Plugin/Search/NodeSearch.php
@@ -475,7 +475,7 @@ protected function indexNode(NodeInterface $node) {
         '#prefix' => '<h1>',
         '#plain_text' => $node->label(),
         '#suffix' => '</h1>',
-        '#weight' => -1000
+        '#weight' => -1000,
       ];
       $text = $this->renderer->renderPlain($build);
 
@@ -781,7 +781,7 @@ public function buildConfigurationForm(array $form, FormStateInterface $form_sta
       '#open' => TRUE,
     );
     $form['content_ranking']['info'] = array(
-      '#markup' => '<p><em>' . $this->t('Influence is a numeric multiplier used in ordering search results. A higher number means the corresponding factor has more influence on search results; zero means the factor is ignored. Changing these numbers does not require the search index to be rebuilt. Changes take effect immediately.') . '</em></p>'
+      '#markup' => '<p><em>' . $this->t('Influence is a numeric multiplier used in ordering search results. A higher number means the corresponding factor has more influence on search results; zero means the factor is ignored. Changing these numbers does not require the search index to be rebuilt. Changes take effect immediately.') . '</em></p>',
     );
     // Prepare table.
     $header = [$this->t('Factor'), $this->t('Influence')];
diff --git a/core/modules/node/src/Plugin/views/wizard/Node.php b/core/modules/node/src/Plugin/views/wizard/Node.php
index 833b092..2a36c57 100644
--- a/core/modules/node/src/Plugin/views/wizard/Node.php
+++ b/core/modules/node/src/Plugin/views/wizard/Node.php
@@ -36,7 +36,7 @@ class Node extends WizardPluginBase {
       'plugin_id' => 'boolean',
       'entity_type' => 'node',
       'entity_field' => 'status',
-    )
+    ),
   );
 
   /**
@@ -49,7 +49,7 @@ class Node extends WizardPluginBase {
   public function getAvailableSorts() {
     // You can't execute functions in properties, so override the method
     return array(
-      'node_field_data-title:DESC' => $this->t('Title')
+      'node_field_data-title:DESC' => $this->t('Title'),
     );
   }
 
diff --git a/core/modules/node/src/Plugin/views/wizard/NodeRevision.php b/core/modules/node/src/Plugin/views/wizard/NodeRevision.php
index 64bc7be..1ef5ab6 100644
--- a/core/modules/node/src/Plugin/views/wizard/NodeRevision.php
+++ b/core/modules/node/src/Plugin/views/wizard/NodeRevision.php
@@ -35,7 +35,7 @@ class NodeRevision extends WizardPluginBase {
       'plugin_id' => 'boolean',
       'entity_type' => 'node',
       'entity_field' => 'status',
-    )
+    ),
   );
 
   /**
diff --git a/core/modules/node/src/Tests/NodeAccessFieldTest.php b/core/modules/node/src/Tests/NodeAccessFieldTest.php
index dcfa43d..3b767ca 100644
--- a/core/modules/node/src/Tests/NodeAccessFieldTest.php
+++ b/core/modules/node/src/Tests/NodeAccessFieldTest.php
@@ -54,7 +54,7 @@ protected function setUp() {
     FieldStorageConfig::create(array(
       'field_name' => $this->fieldName,
       'entity_type' => 'node',
-      'type' => 'text'
+      'type' => 'text',
     ))->save();
     FieldConfig::create([
       'field_name' => $this->fieldName,
diff --git a/core/modules/node/src/Tests/NodeAccessMenuLinkTest.php b/core/modules/node/src/Tests/NodeAccessMenuLinkTest.php
index c1bc0eb..9bbd1c2 100644
--- a/core/modules/node/src/Tests/NodeAccessMenuLinkTest.php
+++ b/core/modules/node/src/Tests/NodeAccessMenuLinkTest.php
@@ -33,7 +33,7 @@ protected function setUp() {
     $this->contentAdminUser = $this->drupalCreateUser(array(
       'access content',
       'administer content types',
-      'administer menu'
+      'administer menu',
     ));
 
     $this->config('user.role.' . RoleInterface::ANONYMOUS_ID)->set('permissions', array())->save();
diff --git a/core/modules/node/src/Tests/NodeRevisionsAllTest.php b/core/modules/node/src/Tests/NodeRevisionsAllTest.php
index 582ca5b..be1707b 100644
--- a/core/modules/node/src/Tests/NodeRevisionsAllTest.php
+++ b/core/modules/node/src/Tests/NodeRevisionsAllTest.php
@@ -23,7 +23,7 @@ protected function setUp() {
         'revert page revisions',
         'delete page revisions',
         'edit any page content',
-        'delete any page content'
+        'delete any page content',
       )
     );
     $this->drupalLogin($web_user);
@@ -81,7 +81,7 @@ function testRevisions() {
         'revert all revisions',
         'delete all revisions',
         'edit any page content',
-        'delete any page content'
+        'delete any page content',
       )
     );
     $this->drupalLogin($content_admin);
@@ -106,7 +106,7 @@ function testRevisions() {
       array(
         '@type' => 'Basic page',
         '%title' => $nodes[1]->getTitle(),
-        '%revision-date' => format_date($nodes[1]->getRevisionCreationTime())
+        '%revision-date' => format_date($nodes[1]->getRevisionCreationTime()),
       )),
       'Revision reverted.');
     $node_storage->resetCache(array($node->id()));
diff --git a/core/modules/node/src/Tests/NodeTestBase.php b/core/modules/node/src/Tests/NodeTestBase.php
index d4799d4..e5650ca 100644
--- a/core/modules/node/src/Tests/NodeTestBase.php
+++ b/core/modules/node/src/Tests/NodeTestBase.php
@@ -102,7 +102,7 @@ function nodeAccessAssertMessage($operation, $result, $langcode = NULL) {
       array(
         '@result' => $result ? 'true' : 'false',
         '%op' => $operation,
-        '%langcode' => !empty($langcode) ? $langcode : 'empty'
+        '%langcode' => !empty($langcode) ? $langcode : 'empty',
       )
     );
   }
diff --git a/core/modules/node/src/Tests/NodeTranslationUITest.php b/core/modules/node/src/Tests/NodeTranslationUITest.php
index b4dce56..1afc52f 100644
--- a/core/modules/node/src/Tests/NodeTranslationUITest.php
+++ b/core/modules/node/src/Tests/NodeTranslationUITest.php
@@ -27,7 +27,7 @@ class NodeTranslationUITest extends ContentTranslationUITestBase {
     'timezone',
     'url.path.parent',
     'url.query_args:_wrapper_format',
-    'user'
+    'user',
   ];
 
   /**
@@ -94,7 +94,7 @@ public function testPublishedStatusNoFields() {
     $add_url = Url::fromRoute("entity.$entity_type_id.content_translation_add", [
       $entity->getEntityTypeId() => $entity->id(),
       'source' => $default_langcode,
-      'target' => $langcode
+      'target' => $langcode,
     ], array('language' => $language));
     $this->drupalPostForm($add_url, $this->getEditValues($values, $langcode), t('Save and unpublish (this translation)'));
 
diff --git a/core/modules/node/src/Tests/NodeTypeTest.php b/core/modules/node/src/Tests/NodeTypeTest.php
index 0d2d8de..603b9da 100644
--- a/core/modules/node/src/Tests/NodeTypeTest.php
+++ b/core/modules/node/src/Tests/NodeTypeTest.php
@@ -238,7 +238,7 @@ public function testNodeTypeNoContentType() {
     // Navigate to content type administration screen
     $this->drupalGet('admin/structure/types');
     $this->assertRaw(t('No content types available. <a href=":link">Add content type</a>.', [
-        ':link' => Url::fromRoute('node.type_add')->toString()
+        ':link' => Url::fromRoute('node.type_add')->toString(),
       ]), 'Empty text when there are no content types in the system is correct.');
 
     $bundle_info->clearCachedBundles();
diff --git a/core/modules/node/src/Tests/Views/FrontPageTest.php b/core/modules/node/src/Tests/Views/FrontPageTest.php
index b27c416..6b8d299 100644
--- a/core/modules/node/src/Tests/Views/FrontPageTest.php
+++ b/core/modules/node/src/Tests/Views/FrontPageTest.php
@@ -281,7 +281,7 @@ protected function doTestFrontPageViewCacheTags($do_assert_views_caches) {
           [
             'value' => $this->randomMachineName(32),
             'format' => filter_default_format(),
-          ]
+          ],
         ],
         'type' => 'article',
         'created' => $i,
diff --git a/core/modules/node/src/Tests/Views/NodeLanguageTest.php b/core/modules/node/src/Tests/Views/NodeLanguageTest.php
index 4561508..61be377 100644
--- a/core/modules/node/src/Tests/Views/NodeLanguageTest.php
+++ b/core/modules/node/src/Tests/Views/NodeLanguageTest.php
@@ -75,7 +75,7 @@ protected function setUp() {
       ),
       'fr' => array(
         'Premier nœud fr',
-      )
+      ),
     );
 
     // Create nodes with translations.
diff --git a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeBundleSettingsTest.php b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeBundleSettingsTest.php
index 1f526b8..ae215a7 100644
--- a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeBundleSettingsTest.php
+++ b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeBundleSettingsTest.php
@@ -31,7 +31,7 @@ protected function setUp() {
     $this->executeMigrations([
       'd6_node_setting_promote',
       'd6_node_setting_status',
-      'd6_node_setting_sticky'
+      'd6_node_setting_sticky',
     ]);
   }
 
diff --git a/core/modules/node/tests/src/Unit/Plugin/migrate/source/d7/NodeTypeTest.php b/core/modules/node/tests/src/Unit/Plugin/migrate/source/d7/NodeTypeTest.php
index 19e1491..acef6fd 100644
--- a/core/modules/node/tests/src/Unit/Plugin/migrate/source/d7/NodeTypeTest.php
+++ b/core/modules/node/tests/src/Unit/Plugin/migrate/source/d7/NodeTypeTest.php
@@ -76,7 +76,7 @@ protected function setUp() {
         'bundle' => 'story',
         'field_name' => 'body',
         'data' => 'a:1:{s:5:"label";s:4:"Body";}',
-      )
+      ),
     );
     parent::setUp();
   }
diff --git a/core/modules/page_cache/src/Tests/PageCacheTest.php b/core/modules/page_cache/src/Tests/PageCacheTest.php
index 64e4ee9..9db67d0 100644
--- a/core/modules/page_cache/src/Tests/PageCacheTest.php
+++ b/core/modules/page_cache/src/Tests/PageCacheTest.php
@@ -359,7 +359,7 @@ function testPageCacheAnonymous403404() {
           0 => array(
             'value' => $this->randomString(),
             'format' => 'plain_text',
-          )
+          ),
         ),
       );
       $entity = EntityTest::create($entity_values);
diff --git a/core/modules/path/src/Form/PathFormBase.php b/core/modules/path/src/Form/PathFormBase.php
index dba3a3f..4b8d8a9 100644
--- a/core/modules/path/src/Form/PathFormBase.php
+++ b/core/modules/path/src/Form/PathFormBase.php
@@ -138,7 +138,7 @@ public function buildForm(array $form, FormStateInterface $form_state, $pid = NU
     else {
       $form['langcode'] = array(
         '#type' => 'value',
-        '#value' => $this->path['langcode']
+        '#value' => $this->path['langcode'],
       );
     }
 
diff --git a/core/modules/path/tests/src/Kernel/PathNoCanonicalLinkTest.php b/core/modules/path/tests/src/Kernel/PathNoCanonicalLinkTest.php
index df64a5c..bd0bbbd 100644
--- a/core/modules/path/tests/src/Kernel/PathNoCanonicalLinkTest.php
+++ b/core/modules/path/tests/src/Kernel/PathNoCanonicalLinkTest.php
@@ -42,7 +42,7 @@ protected function setUp() {
   public function testNoCanonicalLinkTemplate() {
     $entity_type = EntityTestTranslatableUISkip::create([
       'name' => 'name english',
-      'language' => 'en'
+      'language' => 'en',
     ]);
     $entity_type->save();
 
diff --git a/core/modules/quickedit/src/QuickEditController.php b/core/modules/quickedit/src/QuickEditController.php
index a42bcd0..d0ab570 100644
--- a/core/modules/quickedit/src/QuickEditController.php
+++ b/core/modules/quickedit/src/QuickEditController.php
@@ -221,7 +221,7 @@ public function fieldForm(EntityInterface $entity, $field_name, $langcode, $view
       $errors = $form_state->getErrors();
       if (count($errors)) {
         $status_messages = array(
-          '#type' => 'status_messages'
+          '#type' => 'status_messages',
         );
         $response->addCommand(new FieldFormValidationErrorsCommand($this->renderer->renderRoot($status_messages)));
       }
@@ -293,7 +293,7 @@ public function entitySave(EntityInterface $entity) {
     // to identify it.
     $output = array(
       'entity_type' => $entity->getEntityTypeId(),
-      'entity_id' => $entity->id()
+      'entity_id' => $entity->id(),
     );
 
     // Respond to client that the entity was saved properly.
diff --git a/core/modules/quickedit/src/Tests/QuickEditLoadingTest.php b/core/modules/quickedit/src/Tests/QuickEditLoadingTest.php
index 2a91fec..6482748 100644
--- a/core/modules/quickedit/src/Tests/QuickEditLoadingTest.php
+++ b/core/modules/quickedit/src/Tests/QuickEditLoadingTest.php
@@ -80,7 +80,7 @@ protected function setUp() {
         0 => array(
           'value' => '<p>How are you?</p>',
           'format' => 'filtered_html',
-        )
+        ),
       ),
       'revision_log' => $this->randomString(),
     ));
@@ -177,7 +177,7 @@ public function testUserWithPermission() {
         'label' => 'Body',
         'access' => TRUE,
         'editor' => 'form',
-      )
+      ),
     );
     $this->assertIdentical(Json::decode($response), $expected, 'The metadata HTTP request answers with the correct JSON response.');
     // Restore drupalSettings to build the next requests; simpletest wipes them
@@ -335,7 +335,7 @@ public function testTitleBaseField() {
         'label' => 'Title',
         'access' => TRUE,
         'editor' => 'plain_text',
-      )
+      ),
     );
     $this->assertIdentical(Json::decode($response), $expected, 'The metadata HTTP request answers with the correct JSON response.');
     // Restore drupalSettings to build the next requests; simpletest wipes them
diff --git a/core/modules/quickedit/tests/src/Kernel/MetadataGeneratorTest.php b/core/modules/quickedit/tests/src/Kernel/MetadataGeneratorTest.php
index 7fdc8fb..b76b7f7 100644
--- a/core/modules/quickedit/tests/src/Kernel/MetadataGeneratorTest.php
+++ b/core/modules/quickedit/tests/src/Kernel/MetadataGeneratorTest.php
@@ -169,7 +169,7 @@ public function testEditorWithCustomMetadata() {
       'label' => 'Rich text field',
       'editor' => 'wysiwyg',
       'custom' => array(
-        'format' => 'full_html'
+        'format' => 'full_html',
       ),
     );
     $this->assertEqual($expected, $metadata); //, 'The correct metadata (including custom metadata) is generated.');
diff --git a/core/modules/quickedit/tests/src/Kernel/QuickEditTestBase.php b/core/modules/quickedit/tests/src/Kernel/QuickEditTestBase.php
index bfdb229..fc72e0e 100644
--- a/core/modules/quickedit/tests/src/Kernel/QuickEditTestBase.php
+++ b/core/modules/quickedit/tests/src/Kernel/QuickEditTestBase.php
@@ -97,7 +97,7 @@ protected function createFieldWithStorage($field_name, $type, $cardinality, $lab
       ->setComponent($field_name, array(
         'label' => 'above',
         'type' => $formatter_type,
-        'settings' => $formatter_settings
+        'settings' => $formatter_settings,
       ))
       ->save();
   }
diff --git a/core/modules/rdf/src/Tests/UserAttributesTest.php b/core/modules/rdf/src/Tests/UserAttributesTest.php
index 232b5b2..10ace7a 100644
--- a/core/modules/rdf/src/Tests/UserAttributesTest.php
+++ b/core/modules/rdf/src/Tests/UserAttributesTest.php
@@ -45,7 +45,7 @@ function testUserAttributesInMarkup() {
     $authors = array(
       $this->drupalCreateUser(array(), $this->randomMachineName(30)),
       $this->drupalCreateUser(array(), $this->randomMachineName(20)),
-      $this->drupalCreateUser(array(), $this->randomMachineName(5))
+      $this->drupalCreateUser(array(), $this->randomMachineName(5)),
     );
 
     $this->drupalLogin($user1);
diff --git a/core/modules/responsive_image/src/ResponsiveImageStyleForm.php b/core/modules/responsive_image/src/ResponsiveImageStyleForm.php
index 3e5b051..eab69a2 100644
--- a/core/modules/responsive_image/src/ResponsiveImageStyleForm.php
+++ b/core/modules/responsive_image/src/ResponsiveImageStyleForm.php
@@ -257,7 +257,7 @@ public function save(array $form, FormStateInterface $form_state) {
               'image_mapping' => array(
                 'sizes' => $image_style_mapping['sizes'],
                 'sizes_image_styles' => array_keys(array_filter($image_style_mapping['sizes_image_styles'])),
-              )
+              ),
             );
             $responsive_image_style->addImageStyleMapping($breakpoint_id, $multiplier, $mapping);
           }
diff --git a/core/modules/responsive_image/src/Tests/ResponsiveImageFieldDisplayTest.php b/core/modules/responsive_image/src/Tests/ResponsiveImageFieldDisplayTest.php
index f5b277d..b2056f1 100644
--- a/core/modules/responsive_image/src/Tests/ResponsiveImageFieldDisplayTest.php
+++ b/core/modules/responsive_image/src/Tests/ResponsiveImageFieldDisplayTest.php
@@ -52,7 +52,7 @@ protected function setUp() {
       'create article content',
       'edit any article content',
       'delete any article content',
-      'administer image styles'
+      'administer image styles',
     ));
     $this->drupalLogin($this->adminUser);
     // Add responsive image style.
diff --git a/core/modules/responsive_image/src/Tests/ResponsiveImageFieldUiTest.php b/core/modules/responsive_image/src/Tests/ResponsiveImageFieldUiTest.php
index 8b1030f..aa1b07a 100644
--- a/core/modules/responsive_image/src/Tests/ResponsiveImageFieldUiTest.php
+++ b/core/modules/responsive_image/src/Tests/ResponsiveImageFieldUiTest.php
@@ -74,7 +74,7 @@ function testResponsiveImageFormatterUI() {
       ))
       ->addImageStyleMapping('responsive_image_test_module.narrow', '1x', array(
         'image_mapping_type' => 'image_style',
-        'image_mapping' => 'medium'
+        'image_mapping' => 'medium',
       ))
       // Test the normal output of mapping to an image style.
       ->addImageStyleMapping('responsive_image_test_module.wide', '1x', array(
diff --git a/core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php b/core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php
index 3911aad..53f4030 100644
--- a/core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php
+++ b/core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php
@@ -241,7 +241,7 @@ public function testGetKeyedImageStyleMappings() {
           'image_mapping_type' => 'image_style',
           'image_mapping' => '_original image_',
         ),
-      )
+      ),
     );
     $this->assertEquals($expected, $entity->getKeyedImageStyleMappings());
 
diff --git a/core/modules/rest/src/Entity/RestResourceConfig.php b/core/modules/rest/src/Entity/RestResourceConfig.php
index f2b8b0e..8fd4d5b 100644
--- a/core/modules/rest/src/Entity/RestResourceConfig.php
+++ b/core/modules/rest/src/Entity/RestResourceConfig.php
@@ -197,7 +197,7 @@ protected function getFormatsForMethodGranularity($method) {
    */
   public function getPluginCollections() {
     return [
-      'resource' => new DefaultSingleLazyPluginCollection($this->getResourcePluginManager(), $this->plugin_id, [])
+      'resource' => new DefaultSingleLazyPluginCollection($this->getResourcePluginManager(), $this->plugin_id, []),
     ];
   }
 
diff --git a/core/modules/rest/src/Tests/RESTTestBase.php b/core/modules/rest/src/Tests/RESTTestBase.php
index 4779b6b..ded8414 100644
--- a/core/modules/rest/src/Tests/RESTTestBase.php
+++ b/core/modules/rest/src/Tests/RESTTestBase.php
@@ -290,7 +290,7 @@ protected function enableService($resource_type, $method = 'GET', $format = NULL
         $resource_config = $this->resourceConfigStorage->create([
           'id' => $resource_config_id,
           'granularity' => RestResourceConfigInterface::METHOD_GRANULARITY,
-          'configuration' => []
+          'configuration' => [],
         ]);
       }
       $configuration = $resource_config->get('configuration');
diff --git a/core/modules/rest/src/Tests/Views/StyleSerializerTest.php b/core/modules/rest/src/Tests/Views/StyleSerializerTest.php
index 50e0e74..0a5f1a6 100644
--- a/core/modules/rest/src/Tests/Views/StyleSerializerTest.php
+++ b/core/modules/rest/src/Tests/Views/StyleSerializerTest.php
@@ -281,7 +281,7 @@ public function testRestRenderCaching() {
       'entity_test:7',
       'entity_test:8',
       'entity_test:9',
-      'entity_test_list'
+      'entity_test_list',
     ];
     $cache_contexts = [
       'entity_test_view_grants',
diff --git a/core/modules/rest/tests/fixtures/update/drupal-8.rest-rest_update_8201.php b/core/modules/rest/tests/fixtures/update/drupal-8.rest-rest_update_8201.php
index 72a143b..f4daebe 100644
--- a/core/modules/rest/tests/fixtures/update/drupal-8.rest-rest_update_8201.php
+++ b/core/modules/rest/tests/fixtures/update/drupal-8.rest-rest_update_8201.php
@@ -64,6 +64,6 @@
   ->fields([
     'name' => 'rest.settings',
     'data' => serialize($config),
-    'collection' => ''
+    'collection' => '',
   ])
   ->execute();
diff --git a/core/modules/search/search.module b/core/modules/search/search.module
index c36aa44..dc8f19e 100644
--- a/core/modules/search/search.module
+++ b/core/modules/search/search.module
@@ -782,7 +782,7 @@ function search_excerpt($keys, $text, $langcode = NULL) {
   $text = trim(preg_replace('/' . $preceded_by_boundary . '(?:' . implode('|', $keys) . ')' . $followed_by_boundary . '/iu', '<strong>\0</strong>', ' ' . $text . ' '));
   return [
     '#markup' => $text,
-    '#allowed_tags' => ['strong']
+    '#allowed_tags' => ['strong'],
   ];
 }
 
diff --git a/core/modules/search/src/SearchPageListBuilder.php b/core/modules/search/src/SearchPageListBuilder.php
index afbf54c..853ae82 100644
--- a/core/modules/search/src/SearchPageListBuilder.php
+++ b/core/modules/search/src/SearchPageListBuilder.php
@@ -145,7 +145,7 @@ public function buildRow(EntityInterface $entity) {
       $status = $entity->getPlugin()->indexStatus();
       $row['progress']['#markup'] = $this->t('%num_indexed of %num_total indexed', array(
         '%num_indexed' => $status['total'] - $status['remaining'],
-        '%num_total' => $status['total']
+        '%num_total' => $status['total'],
       ));
     }
     else {
@@ -215,7 +215,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
       '#open' => TRUE,
     );
     $form['indexing_settings']['info'] = array(
-      '#markup' => $this->t("<p>Search pages that use an index may use the default index provided by the Search module, or they may use a different indexing mechanism. These settings are for the default index. <em>Changing these settings will cause the default search index to be rebuilt to reflect the new settings. Searching will continue to work, based on the existing index, but new content won't be indexed until all existing content has been re-indexed.</em></p><p><em>The default settings should be appropriate for the majority of sites.</em></p>")
+      '#markup' => $this->t("<p>Search pages that use an index may use the default index provided by the Search module, or they may use a different indexing mechanism. These settings are for the default index. <em>Changing these settings will cause the default search index to be rebuilt to reflect the new settings. Searching will continue to work, based on the existing index, but new content won't be indexed until all existing content has been re-indexed.</em></p><p><em>The default settings should be appropriate for the majority of sites.</em></p>"),
     );
     $form['indexing_settings']['minimum_word_size'] = array(
       '#type' => 'number',
@@ -229,7 +229,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
       '#type' => 'checkbox',
       '#title' => $this->t('Simple CJK handling'),
       '#default_value' => $search_settings->get('index.overlap_cjk'),
-      '#description' => $this->t('Whether to apply a simple Chinese/Japanese/Korean tokenizer based on overlapping sequences. Turn this off if you want to use an external preprocessor for this instead. Does not affect other languages.')
+      '#description' => $this->t('Whether to apply a simple Chinese/Japanese/Korean tokenizer based on overlapping sequences. Turn this off if you want to use an external preprocessor for this instead. Does not affect other languages.'),
     );
 
     // Indexing settings:
diff --git a/core/modules/search/src/Tests/SearchPageCacheTagsTest.php b/core/modules/search/src/Tests/SearchPageCacheTagsTest.php
index 3a7bc67..0f8dcbc 100644
--- a/core/modules/search/src/Tests/SearchPageCacheTagsTest.php
+++ b/core/modules/search/src/Tests/SearchPageCacheTagsTest.php
@@ -152,7 +152,7 @@ public function testSearchTagsBubbling() {
     // reference field.
     $edit = [
       'title[0][value]' => 'Llama shop',
-      'field_test__ref[0][target_id]' => $this->node->getTitle()
+      'field_test__ref[0][target_id]' => $this->node->getTitle(),
     ];
     $this->drupalPostForm('node/add/' . $type->id(), $edit, t('Save'));
 
diff --git a/core/modules/search/tests/src/Kernel/SearchMatchTest.php b/core/modules/search/tests/src/Kernel/SearchMatchTest.php
index 0a17f71..08ccd90 100644
--- a/core/modules/search/tests/src/Kernel/SearchMatchTest.php
+++ b/core/modules/search/tests/src/Kernel/SearchMatchTest.php
@@ -156,7 +156,7 @@ function _testQueries() {
       '"am minim veniam" -"cillum dolore"' => array(5, 6),
       '"am minim veniam" -"dolore cillum"' => array(5, 6, 7),
       'xxxxx "minim am veniam es" OR dolore' => array(),
-      'xx "minim am veniam es" OR dolore' => array()
+      'xx "minim am veniam es" OR dolore' => array(),
     );
     foreach ($queries as $query => $results) {
       $result = db_select('search_index', 'i')
diff --git a/core/modules/shortcut/src/Tests/ShortcutTranslationUITest.php b/core/modules/shortcut/src/Tests/ShortcutTranslationUITest.php
index 5458217..1394995 100644
--- a/core/modules/shortcut/src/Tests/ShortcutTranslationUITest.php
+++ b/core/modules/shortcut/src/Tests/ShortcutTranslationUITest.php
@@ -28,7 +28,7 @@ class ShortcutTranslationUITest extends ContentTranslationUITestBase {
     'content_translation',
     'link',
     'shortcut',
-    'toolbar'
+    'toolbar',
   );
 
   /**
diff --git a/core/modules/simpletest/src/Form/SimpletestResultsForm.php b/core/modules/simpletest/src/Form/SimpletestResultsForm.php
index c22c0a7..da33dcf 100644
--- a/core/modules/simpletest/src/Form/SimpletestResultsForm.php
+++ b/core/modules/simpletest/src/Form/SimpletestResultsForm.php
@@ -288,7 +288,7 @@ public static function addResultForm(array &$form, array $results) {
       'Filename',
       'Line',
       'Function',
-      array('colspan' => 2, 'data' => 'Status')
+      array('colspan' => 2, 'data' => 'Status'),
     );
     $form['result']['results'] = array();
     foreach ($test_results as $group => $assertions) {
diff --git a/core/modules/simpletest/src/Tests/KernelTestBaseTest.php b/core/modules/simpletest/src/Tests/KernelTestBaseTest.php
index 15ecf1f..185b515 100644
--- a/core/modules/simpletest/src/Tests/KernelTestBaseTest.php
+++ b/core/modules/simpletest/src/Tests/KernelTestBaseTest.php
@@ -278,7 +278,7 @@ function testEnableModulesFixedList() {
     $field_storage = FieldStorageConfig::create(array(
       'field_name' => 'test_field',
       'entity_type' => 'entity_test',
-      'type' => 'test_field'
+      'type' => 'test_field',
     ));
     $field_storage->save();
     FieldConfig::create([
@@ -354,7 +354,7 @@ public function run(array $methods = array()) {
       $info = Database::getConnectionInfo();
       $connection->query('ATTACH DATABASE :database AS :prefix', [
         ':database' => $info['default']['database'] . '-' . $this->databasePrefix,
-        ':prefix' => $this->databasePrefix
+        ':prefix' => $this->databasePrefix,
       ]);
 
       $result = $connection->query("SELECT name FROM " . $this->databasePrefix . ".sqlite_master WHERE type = :type AND name LIKE :table_name AND name NOT LIKE :pattern", array(
diff --git a/core/modules/simpletest/src/Tests/MissingCheckedRequirementsTest.php b/core/modules/simpletest/src/Tests/MissingCheckedRequirementsTest.php
index 0b21d54..5cd914d 100644
--- a/core/modules/simpletest/src/Tests/MissingCheckedRequirementsTest.php
+++ b/core/modules/simpletest/src/Tests/MissingCheckedRequirementsTest.php
@@ -30,7 +30,7 @@ protected function setUp() {
   protected function checkRequirements() {
     if ($this->isInChildSite()) {
       return array(
-        'Test is not allowed to run.'
+        'Test is not allowed to run.',
       );
     }
     return parent::checkRequirements();
diff --git a/core/modules/simpletest/src/Tests/SimpleTestBrowserTest.php b/core/modules/simpletest/src/Tests/SimpleTestBrowserTest.php
index 5d1854b..dd2dcee 100644
--- a/core/modules/simpletest/src/Tests/SimpleTestBrowserTest.php
+++ b/core/modules/simpletest/src/Tests/SimpleTestBrowserTest.php
@@ -58,7 +58,7 @@ public function testInternalBrowser() {
     $this->maximumRedirects = 1;
     $edit = array(
       'name' => $user->getUsername(),
-      'pass' => $user->pass_raw
+      'pass' => $user->pass_raw,
     );
     $this->drupalPostForm('user/login', $edit, t('Log in'), array(
       'query' => array('destination' => 'user/logout'),
diff --git a/core/modules/simpletest/src/WebTestBase.php b/core/modules/simpletest/src/WebTestBase.php
index 04d1927..547bab5 100644
--- a/core/modules/simpletest/src/WebTestBase.php
+++ b/core/modules/simpletest/src/WebTestBase.php
@@ -458,7 +458,7 @@ protected function drupalLogin(AccountInterface $account) {
 
     $edit = array(
       'name' => $account->getUsername(),
-      'pass' => $account->pass_raw
+      'pass' => $account->pass_raw,
     );
     $this->drupalPostForm('user/login', $edit, t('Log in'));
 
@@ -642,7 +642,7 @@ protected function prepareSettings() {
       $services['services']['simpletest.config_schema_checker'] = [
         'class' => 'Drupal\Core\Config\Testing\ConfigSchemaChecker',
         'arguments' => ['@config.typed', $this->getConfigSchemaExclusions()],
-        'tags' => [['name' => 'event_subscriber']]
+        'tags' => [['name' => 'event_subscriber']],
       ];
       file_put_contents($directory . '/services.yml', $yaml->dump($services));
     }
@@ -1287,7 +1287,7 @@ protected function curlExec($curl_options, $redirect = FALSE) {
       '@method' => !empty($curl_options[CURLOPT_NOBODY]) ? 'HEAD' : (empty($curl_options[CURLOPT_POSTFIELDS]) ? 'GET' : 'POST'),
       '@url' => isset($original_url) ? $original_url : $url,
       '@status' => $status,
-      '@length' => format_size(strlen($this->getRawContent()))
+      '@length' => format_size(strlen($this->getRawContent())),
     );
     $message = SafeMarkup::format('@method @url returned @status (@length).', $message_vars);
     $this->assertTrue($this->getRawContent() !== FALSE, $message, 'Browser');
diff --git a/core/modules/statistics/src/Plugin/Block/StatisticsPopularBlock.php b/core/modules/statistics/src/Plugin/Block/StatisticsPopularBlock.php
index 8f4384e..e716139 100644
--- a/core/modules/statistics/src/Plugin/Block/StatisticsPopularBlock.php
+++ b/core/modules/statistics/src/Plugin/Block/StatisticsPopularBlock.php
@@ -24,7 +24,7 @@ public function defaultConfiguration() {
     return array(
       'top_day_num' => 0,
       'top_all_num' => 0,
-      'top_last_num' => 0
+      'top_last_num' => 0,
     );
   }
 
diff --git a/core/modules/statistics/src/Tests/StatisticsAttachedTest.php b/core/modules/statistics/src/Tests/StatisticsAttachedTest.php
index f869b2a..812a21c 100644
--- a/core/modules/statistics/src/Tests/StatisticsAttachedTest.php
+++ b/core/modules/statistics/src/Tests/StatisticsAttachedTest.php
@@ -46,7 +46,7 @@ public function testAttached() {
     $node = Node::create([
       'type' => 'page',
       'title' => 'Page node',
-      'body' => 'body text'
+      'body' => 'body text',
     ]);
     $node->save();
     $this->drupalGet('node/' . $node->id());
diff --git a/core/modules/system/src/Controller/DbUpdateController.php b/core/modules/system/src/Controller/DbUpdateController.php
index f378631..c346065 100644
--- a/core/modules/system/src/Controller/DbUpdateController.php
+++ b/core/modules/system/src/Controller/DbUpdateController.php
@@ -524,7 +524,7 @@ public function requirements($severity, array $requirements, Request $request) {
     $build['status_report'] = array(
       '#theme' => 'status_report',
       '#requirements' => $requirements,
-      '#suffix' => $this->t('Check the messages and <a href=":url">try again</a>.', array(':url' => $try_again_url))
+      '#suffix' => $this->t('Check the messages and <a href=":url">try again</a>.', array(':url' => $try_again_url)),
     );
 
     $build['#title'] = $this->t('Requirements problem');
diff --git a/core/modules/system/src/Form/ModulesListConfirmForm.php b/core/modules/system/src/Form/ModulesListConfirmForm.php
index 88452e0..e6f4e3d 100644
--- a/core/modules/system/src/Form/ModulesListConfirmForm.php
+++ b/core/modules/system/src/Form/ModulesListConfirmForm.php
@@ -179,7 +179,7 @@ public function submitForm(array &$form, FormStateInterface $form_state) {
             'Unable to install @extension, %config_names already exist in active configuration.',
             array(
               '%config_names' => implode(', ', $config_objects),
-              '@extension' => $this->modules['install'][$e->getExtension()]
+              '@extension' => $this->modules['install'][$e->getExtension()],
             )),
           'error'
         );
diff --git a/core/modules/system/src/Form/ModulesListForm.php b/core/modules/system/src/Form/ModulesListForm.php
index 7831c38..38d1a7e 100644
--- a/core/modules/system/src/Form/ModulesListForm.php
+++ b/core/modules/system/src/Form/ModulesListForm.php
@@ -463,7 +463,7 @@ public function submitForm(array &$form, FormStateInterface $form_state) {
             'Unable to install @extension, %config_names already exist in active configuration.',
             array(
               '%config_names' => implode(', ', $config_objects),
-              '@extension' => $modules['install'][$e->getExtension()]
+              '@extension' => $modules['install'][$e->getExtension()],
             )),
           'error'
         );
diff --git a/core/modules/system/src/Form/RegionalForm.php b/core/modules/system/src/Form/RegionalForm.php
index 9472a4c..aa07cb7 100644
--- a/core/modules/system/src/Form/RegionalForm.php
+++ b/core/modules/system/src/Form/RegionalForm.php
@@ -123,7 +123,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
       '#type' => 'checkbox',
       '#title' => t('Remind users at login if their time zone is not set'),
       '#default_value' => $system_date->get('timezone.user.warn'),
-      '#description' => t('Only applied if users may set their own time zone.')
+      '#description' => t('Only applied if users may set their own time zone.'),
     );
 
     $form['timezone']['configurable_timezones_wrapper']['user_default_timezone'] = array(
@@ -135,7 +135,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
         DRUPAL_USER_TIMEZONE_EMPTY   => t('Empty time zone'),
         DRUPAL_USER_TIMEZONE_SELECT  => t('Users may set their own time zone at registration'),
       ),
-      '#description' => t('Only applied if users may set their own time zone.')
+      '#description' => t('Only applied if users may set their own time zone.'),
     );
 
     return parent::buildForm($form, $form_state);
diff --git a/core/modules/system/src/Form/RssFeedsForm.php b/core/modules/system/src/Form/RssFeedsForm.php
index 79aa69b..beb5d06 100644
--- a/core/modules/system/src/Form/RssFeedsForm.php
+++ b/core/modules/system/src/Form/RssFeedsForm.php
@@ -33,7 +33,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
       '#type' => 'textarea',
       '#title' => t('Feed description'),
       '#default_value' => $rss_config->get('channel.description'),
-      '#description' => t('Description of your site, included in each feed.')
+      '#description' => t('Description of your site, included in each feed.'),
     );
     $options = array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30);
     $form['feed_default_items'] = array(
@@ -41,7 +41,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
       '#title' => t('Number of items in each feed'),
       '#default_value' => $rss_config->get('items.limit'),
       '#options' => array_combine($options, $options),
-      '#description' => t('Default number of items to include in each feed.')
+      '#description' => t('Default number of items to include in each feed.'),
     );
     $form['feed_view_mode'] = array(
       '#type' => 'select',
@@ -52,7 +52,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
         'teaser' => t('Titles plus teaser'),
         'fulltext' => t('Full text'),
       ),
-      '#description' => t('Global setting for the default display of content items in each feed.')
+      '#description' => t('Global setting for the default display of content items in each feed.'),
     );
 
     return parent::buildForm($form, $form_state);
diff --git a/core/modules/system/src/Form/ThemeSettingsForm.php b/core/modules/system/src/Form/ThemeSettingsForm.php
index 068eb0a..f7cdb5a 100644
--- a/core/modules/system/src/Form/ThemeSettingsForm.php
+++ b/core/modules/system/src/Form/ThemeSettingsForm.php
@@ -124,11 +124,11 @@ public function buildForm(array $form, FormStateInterface $form_state, $theme =
 
     $form['var'] = array(
       '#type' => 'hidden',
-      '#value' => $var
+      '#value' => $var,
     );
     $form['config_key'] = array(
       '#type' => 'hidden',
-      '#value' => $config_key
+      '#value' => $config_key,
     );
 
     // Toggle settings
@@ -203,7 +203,7 @@ public function buildForm(array $form, FormStateInterface $form_state, $theme =
         '#type' => 'file',
         '#title' => t('Upload logo image'),
         '#maxlength' => 40,
-        '#description' => t("If you don't have direct file access to the server, use this field to upload your logo.")
+        '#description' => t("If you don't have direct file access to the server, use this field to upload your logo."),
       );
     }
 
@@ -243,7 +243,7 @@ public function buildForm(array $form, FormStateInterface $form_state, $theme =
       $form['favicon']['settings']['favicon_upload'] = array(
         '#type' => 'file',
         '#title' => t('Upload icon image'),
-        '#description' => t("If you don't have direct file access to the server, use this field to upload your shortcut icon.")
+        '#description' => t("If you don't have direct file access to the server, use this field to upload your shortcut icon."),
       );
     }
 
diff --git a/core/modules/system/src/Plugin/views/field/BulkForm.php b/core/modules/system/src/Plugin/views/field/BulkForm.php
index f0f83a4..d04e091 100644
--- a/core/modules/system/src/Plugin/views/field/BulkForm.php
+++ b/core/modules/system/src/Plugin/views/field/BulkForm.php
@@ -358,7 +358,7 @@ public function viewsFormSubmit(&$form, FormStateInterface $form_state) {
           $this->drupalSetMessage($this->t('No access to execute %action on the @entity_type_label %entity_label.', [
             '%action' => $action->label(),
             '@entity_type_label' => $entity->getEntityType()->getLabel(),
-            '%entity_label' => $entity->label()
+            '%entity_label' => $entity->label(),
           ]), 'error');
           continue;
         }
diff --git a/core/modules/system/src/Tests/Ajax/DialogTest.php b/core/modules/system/src/Tests/Ajax/DialogTest.php
index 80b4650..2bc4f3d 100644
--- a/core/modules/system/src/Tests/Ajax/DialogTest.php
+++ b/core/modules/system/src/Tests/Ajax/DialogTest.php
@@ -111,7 +111,7 @@ public function testDialog() {
       ), array(), 'ajax-test/dialog-contents', array('query' => array(MainContentViewSubscriber::WRAPPER_FORMAT => 'drupal_dialog')), array(), NULL, array(
       'submit' => array(
         'dialogOptions[target]' => 'ajax-test-dialog-wrapper-1',
-      )
+      ),
     ));
     $this->assertEqual($normal_expected_response, $ajax_result[3], 'Normal dialog JSON response matches.');
 
@@ -123,7 +123,7 @@ public function testDialog() {
         'textfield' => 'test',
       ), array(), 'ajax-test/dialog-contents', array('query' => array(MainContentViewSubscriber::WRAPPER_FORMAT => 'drupal_dialog')), array(), NULL, array(
       // Don't send a target.
-      'submit' => array()
+      'submit' => array(),
     ));
     // Make sure the selector ID starts with the right string.
     $this->assert(strpos($ajax_result[3]['selector'], $no_target_expected_response['selector']) === 0, 'Selector starts with right string.');
diff --git a/core/modules/system/src/Tests/Common/SimpleTestErrorCollectorTest.php b/core/modules/system/src/Tests/Common/SimpleTestErrorCollectorTest.php
index 1be7e94..e560efe 100644
--- a/core/modules/system/src/Tests/Common/SimpleTestErrorCollectorTest.php
+++ b/core/modules/system/src/Tests/Common/SimpleTestErrorCollectorTest.php
@@ -74,7 +74,7 @@ protected function error($message = '', $group = 'Other', array $caller = NULL)
       $this->collectedErrors[] = array(
         'message' => $message,
         'group' => $group,
-        'caller' => $caller
+        'caller' => $caller,
       );
     }
   }
diff --git a/core/modules/system/src/Tests/Datetime/DrupalDateTimeTest.php b/core/modules/system/src/Tests/Datetime/DrupalDateTimeTest.php
index 219bc34..a86509e 100644
--- a/core/modules/system/src/Tests/Datetime/DrupalDateTimeTest.php
+++ b/core/modules/system/src/Tests/Datetime/DrupalDateTimeTest.php
@@ -33,7 +33,7 @@ public function testSystemTimezone() {
     $options = array(
       'query' => array(
         'date' => 'Tue+Sep+17+2013+21%3A35%3A31+GMT%2B0100+(BST)#',
-      )
+      ),
     );
     // Query the AJAX Timezone Callback with a long-format date.
     $response = $this->drupalGet('system/timezone/BST/3600/1', $options);
diff --git a/core/modules/system/src/Tests/FileTransfer/FileTransferTest.php b/core/modules/system/src/Tests/FileTransfer/FileTransferTest.php
index e8a6789..e6733b7 100644
--- a/core/modules/system/src/Tests/FileTransfer/FileTransferTest.php
+++ b/core/modules/system/src/Tests/FileTransfer/FileTransferTest.php
@@ -28,11 +28,11 @@ function _getFakeModuleFiles() {
       'fake.module',
       'fake.info.yml',
       'theme' => array(
-        'fake.html.twig'
+        'fake.html.twig',
       ),
       'inc' => array(
-        'fake.inc'
-      )
+        'fake.inc',
+      ),
     );
     return $files;
   }
diff --git a/core/modules/system/src/Tests/Form/LanguageSelectElementTest.php b/core/modules/system/src/Tests/Form/LanguageSelectElementTest.php
index 7b3d73c..53d55f6 100644
--- a/core/modules/system/src/Tests/Form/LanguageSelectElementTest.php
+++ b/core/modules/system/src/Tests/Form/LanguageSelectElementTest.php
@@ -45,7 +45,7 @@ function testLanguageSelectElementOptions() {
         'edit-languages-all' => LanguageInterface::STATE_ALL,
         'edit-languages-configurable' => LanguageInterface::STATE_CONFIGURABLE,
         'edit-languages-locked' => LanguageInterface::STATE_LOCKED,
-        'edit-languages-config-and-locked' => LanguageInterface::STATE_CONFIGURABLE | LanguageInterface::STATE_LOCKED
+        'edit-languages-config-and-locked' => LanguageInterface::STATE_CONFIGURABLE | LanguageInterface::STATE_LOCKED,
     );
     foreach ($ids as $id => $flags) {
       $this->assertField($id, format_string('The @id field was found on the page.', array('@id' => $id)));
diff --git a/core/modules/system/src/Tests/Form/ProgrammaticTest.php b/core/modules/system/src/Tests/Form/ProgrammaticTest.php
index 5fbefb5..d101404 100644
--- a/core/modules/system/src/Tests/Form/ProgrammaticTest.php
+++ b/core/modules/system/src/Tests/Form/ProgrammaticTest.php
@@ -95,7 +95,7 @@ private function submitForm($values, $valid_input) {
   public function testProgrammaticAccessBypass() {
     $form_state = (new FormState())->setValues([
       'textfield' => 'dummy value',
-      'field_restricted' => 'dummy value'
+      'field_restricted' => 'dummy value',
     ]);
 
     // Programmatically submit the form with a value for the restricted field.
diff --git a/core/modules/system/src/Tests/Form/ValidationTest.php b/core/modules/system/src/Tests/Form/ValidationTest.php
index 35b340b..309d2d1 100644
--- a/core/modules/system/src/Tests/Form/ValidationTest.php
+++ b/core/modules/system/src/Tests/Form/ValidationTest.php
@@ -61,7 +61,7 @@ function testValidate() {
     $this->drupalGet('form-test/validate');
     $edit = array(
       'name' => 'validate',
-      'form_token' => 'invalid token'
+      'form_token' => 'invalid token',
     );
     $this->drupalPostForm(NULL, $edit, 'Save');
     $this->assertNoFieldByName('name', '#value changed by #validate', 'Form element #value was not altered.');
diff --git a/core/modules/system/src/Tests/Path/UrlAliasFixtures.php b/core/modules/system/src/Tests/Path/UrlAliasFixtures.php
index a527fc5..21a8f98 100644
--- a/core/modules/system/src/Tests/Path/UrlAliasFixtures.php
+++ b/core/modules/system/src/Tests/Path/UrlAliasFixtures.php
@@ -51,23 +51,23 @@ public function sampleUrlAliases() {
       array(
         'source' => '/node/1',
         'alias' => '/alias_for_node_1_en',
-        'langcode' => 'en'
+        'langcode' => 'en',
       ),
       array(
         'source' => '/node/2',
         'alias' => '/alias_for_node_2_en',
-        'langcode' => 'en'
+        'langcode' => 'en',
       ),
       array(
         'source' => '/node/1',
         'alias' => '/alias_for_node_1_fr',
-        'langcode' => 'fr'
+        'langcode' => 'fr',
       ),
       array(
         'source' => '/node/1',
         'alias' => '/alias_for_node_1_und',
-        'langcode' => 'und'
-      )
+        'langcode' => 'und',
+      ),
     );
   }
 
diff --git a/core/modules/system/src/Tests/Render/AjaxPageStateTest.php b/core/modules/system/src/Tests/Render/AjaxPageStateTest.php
index 08cd276..979c390 100644
--- a/core/modules/system/src/Tests/Render/AjaxPageStateTest.php
+++ b/core/modules/system/src/Tests/Render/AjaxPageStateTest.php
@@ -60,9 +60,9 @@ public function testHtml5ShivIsNotLoaded() {
         "query" =>
           array(
             'ajax_page_state' => array(
-              'libraries' => 'core/html5shiv'
-            )
-          )
+              'libraries' => 'core/html5shiv',
+            ),
+          ),
       )
     );
     $this->assertNoRaw(
@@ -88,9 +88,9 @@ public function testMultipleLibrariesAreNotLoaded() {
         "query" =>
           array(
             'ajax_page_state' => array(
-              'libraries' => 'core/html5shiv,core/drupalSettings'
-            )
-          )
+              'libraries' => 'core/html5shiv,core/drupalSettings',
+            ),
+          ),
       )
     );
     $this->assertNoRaw(
diff --git a/core/modules/system/src/Tests/Session/SessionTest.php b/core/modules/system/src/Tests/Session/SessionTest.php
index 139fba5..b2ba842 100644
--- a/core/modules/system/src/Tests/Session/SessionTest.php
+++ b/core/modules/system/src/Tests/Session/SessionTest.php
@@ -57,7 +57,7 @@ function testSessionSaveRegenerate() {
     // session_test_user_login() which breaks a normal assertion.
     $edit = array(
       'name' => $user->getUsername(),
-      'pass' => $user->pass_raw
+      'pass' => $user->pass_raw,
     );
     $this->drupalPostForm('user/login', $edit, t('Log in'));
     $this->drupalGet('user');
diff --git a/core/modules/system/src/Tests/System/HtaccessTest.php b/core/modules/system/src/Tests/System/HtaccessTest.php
index ad6e09e..15bded4 100644
--- a/core/modules/system/src/Tests/System/HtaccessTest.php
+++ b/core/modules/system/src/Tests/System/HtaccessTest.php
@@ -75,7 +75,7 @@ protected function getProtectedFiles() {
 
     // Test extensions that should be permitted.
     $file_exts_to_allow = [
-      'php-info.txt'
+      'php-info.txt',
     ];
 
     foreach ($file_exts_to_allow as $file_ext) {
@@ -108,7 +108,7 @@ public function testFileAccess() {
     $node = $this->drupalCreateNode([
       'title' => 'This is a node',
       'type' => $type->id(),
-      'path' => '/test.php'
+      'path' => '/test.php',
     ]);
     $node->save();
     $this->drupalGet('test.php');
diff --git a/core/modules/system/src/Tests/System/PageTitleTest.php b/core/modules/system/src/Tests/System/PageTitleTest.php
index 848eacc..1766a6f 100644
--- a/core/modules/system/src/Tests/System/PageTitleTest.php
+++ b/core/modules/system/src/Tests/System/PageTitleTest.php
@@ -114,7 +114,7 @@ public function testRoutingTitle() {
 
     // Set some custom translated strings.
     $this->addCustomTranslations('en', array('' => array(
-      'Static title' => 'Static title translated'
+      'Static title' => 'Static title translated',
     )));
     $this->writeCustomTranslations();
 
diff --git a/core/modules/system/src/Tests/Theme/FunctionsTest.php b/core/modules/system/src/Tests/Theme/FunctionsTest.php
index fa5a2ac..48b92dc 100644
--- a/core/modules/system/src/Tests/Theme/FunctionsTest.php
+++ b/core/modules/system/src/Tests/Theme/FunctionsTest.php
@@ -209,7 +209,7 @@ function testLinks() {
         'url' => Url::fromRoute('router_test.1'),
         'query' => array(
           'key' => 'value',
-        )
+        ),
       ),
     );
 
@@ -330,7 +330,7 @@ function testIndexedKeyedLinks() {
         'url' => Url::fromRoute('router_test.1'),
         'query' => array(
           'key' => 'value',
-        )
+        ),
       ),
     );
 
diff --git a/core/modules/system/src/Tests/Theme/TwigTransTest.php b/core/modules/system/src/Tests/Theme/TwigTransTest.php
index 6473d6e..5c2fc2a 100644
--- a/core/modules/system/src/Tests/Theme/TwigTransTest.php
+++ b/core/modules/system/src/Tests/Theme/TwigTransTest.php
@@ -21,7 +21,7 @@ class TwigTransTest extends WebTestBase {
     'theme_test',
     'twig_theme_test',
     'locale',
-    'language'
+    'language',
   );
 
   /**
@@ -56,7 +56,7 @@ protected function setUp() {
       'administer languages',
       'access administration pages',
       'administer site configuration',
-      'translate interface'
+      'translate interface',
     ));
     $this->drupalLogin($this->adminUser);
 
diff --git a/core/modules/system/src/Tests/Update/RecalculatedDependencyTest.php b/core/modules/system/src/Tests/Update/RecalculatedDependencyTest.php
index 56a010c..5ceb422 100644
--- a/core/modules/system/src/Tests/Update/RecalculatedDependencyTest.php
+++ b/core/modules/system/src/Tests/Update/RecalculatedDependencyTest.php
@@ -56,7 +56,7 @@ public function testUpdate() {
     $this->assertEqual([
       'field.storage.node.field_tags',
       'node.type.article',
-      'taxonomy.vocabulary.tags'
+      'taxonomy.vocabulary.tags',
     ], $data['dependencies']['config']);
 
     $data = \Drupal::config('field.field.user.user.user_picture')->get();
diff --git a/core/modules/system/system.api.php b/core/modules/system/system.api.php
index 8534ebf..d4348e8 100644
--- a/core/modules/system/system.api.php
+++ b/core/modules/system/system.api.php
@@ -27,7 +27,7 @@ function hook_system_themes_page_alter(&$theme_groups) {
       $theme->operations[] = array(
         'title' => t('Foo'),
         'url' => Url::fromRoute('system.themes_page'),
-        'query' => array('theme' => $theme->getName())
+        'query' => array('theme' => $theme->getName()),
       );
     }
   }
diff --git a/core/modules/system/system.install b/core/modules/system/system.install
index c7cc531..07dd0d1 100644
--- a/core/modules/system/system.install
+++ b/core/modules/system/system.install
@@ -43,10 +43,10 @@ function system_requirements($phase) {
         'value' => t('%profile_name (%profile-%version)', array(
           '%profile_name' => $info['name'],
           '%profile' => $profile,
-          '%version' => $info['version']
+          '%version' => $info['version'],
         )),
         'severity' => REQUIREMENT_INFO,
-        'weight' => -9
+        'weight' => -9,
       );
     }
 
diff --git a/core/modules/system/tests/fixtures/update/drupal-8.block-context-manager-2354889.php b/core/modules/system/tests/fixtures/update/drupal-8.block-context-manager-2354889.php
index 34474bf..9c84842 100644
--- a/core/modules/system/tests/fixtures/update/drupal-8.block-context-manager-2354889.php
+++ b/core/modules/system/tests/fixtures/update/drupal-8.block-context-manager-2354889.php
@@ -47,7 +47,7 @@
 
 $connection->update('key_value')
   ->fields([
-    'value' => serialize(array_merge($existing_blocks, ['block.block.testfor2354889', 'block.block.secondtestfor2354889', 'block.block.thirdtestfor2354889']))
+    'value' => serialize(array_merge($existing_blocks, ['block.block.testfor2354889', 'block.block.secondtestfor2354889', 'block.block.thirdtestfor2354889'])),
   ])
   ->condition('collection', 'config.entity.key_store.block')
   ->condition('name', 'theme:bartik')
diff --git a/core/modules/system/tests/fixtures/update/drupal-8.local-actions-tasks-into-blocks-507488.php b/core/modules/system/tests/fixtures/update/drupal-8.local-actions-tasks-into-blocks-507488.php
index 33861a0..7bb5867 100644
--- a/core/modules/system/tests/fixtures/update/drupal-8.local-actions-tasks-into-blocks-507488.php
+++ b/core/modules/system/tests/fixtures/update/drupal-8.local-actions-tasks-into-blocks-507488.php
@@ -40,7 +40,7 @@
 
 $connection->update('key_value')
   ->fields([
-    'value' => serialize(array_merge($existing_blocks, ['block.block.seven_local_actions']))
+    'value' => serialize(array_merge($existing_blocks, ['block.block.seven_local_actions'])),
   ])
   ->condition('collection', 'config.entity.key_store.block')
   ->condition('name', 'theme:seven')
@@ -55,7 +55,7 @@
 $extensions = unserialize($extensions);
 $connection->update('config')
   ->fields([
-    'data' => serialize(array_merge_recursive($extensions, ['theme' => ['test_theme' => 0]]))
+    'data' => serialize(array_merge_recursive($extensions, ['theme' => ['test_theme' => 0]])),
   ])
   ->condition('name', 'core.extension')
   ->execute();
diff --git a/core/modules/system/tests/fixtures/update/drupal-8.page-title-into-block-2476947.php b/core/modules/system/tests/fixtures/update/drupal-8.page-title-into-block-2476947.php
index b259ccc..cc399fd 100644
--- a/core/modules/system/tests/fixtures/update/drupal-8.page-title-into-block-2476947.php
+++ b/core/modules/system/tests/fixtures/update/drupal-8.page-title-into-block-2476947.php
@@ -40,7 +40,7 @@
 
 $connection->update('key_value')
   ->fields([
-    'value' => serialize(array_merge($existing_blocks, ['block.block.bartik_page_title']))
+    'value' => serialize(array_merge($existing_blocks, ['block.block.bartik_page_title'])),
   ])
   ->condition('collection', 'config.entity.key_store.block')
   ->condition('name', 'theme:bartik')
@@ -55,7 +55,7 @@
 $extensions = unserialize($extensions);
 $connection->update('config')
   ->fields([
-    'data' => serialize(array_merge_recursive($extensions, ['theme' => ['test_theme' => 0]]))
+    'data' => serialize(array_merge_recursive($extensions, ['theme' => ['test_theme' => 0]])),
   ])
   ->condition('name', 'core.extension')
   ->execute();
diff --git a/core/modules/system/tests/fixtures/update/drupal-8.seven-secondary-local-tasks-block-2569529.php b/core/modules/system/tests/fixtures/update/drupal-8.seven-secondary-local-tasks-block-2569529.php
index f19c07c..9454f03 100644
--- a/core/modules/system/tests/fixtures/update/drupal-8.seven-secondary-local-tasks-block-2569529.php
+++ b/core/modules/system/tests/fixtures/update/drupal-8.seven-secondary-local-tasks-block-2569529.php
@@ -40,7 +40,7 @@
 
 $connection->update('key_value')
   ->fields([
-    'value' => serialize(array_merge($existing_blocks, ['block.block.seven_secondary_local_tasks']))
+    'value' => serialize(array_merge($existing_blocks, ['block.block.seven_secondary_local_tasks'])),
   ])
   ->condition('collection', 'config.entity.key_store.block')
   ->condition('name', 'theme:seven')
diff --git a/core/modules/system/tests/fixtures/update/drupal-8.site-branding-into-block-2005546.php b/core/modules/system/tests/fixtures/update/drupal-8.site-branding-into-block-2005546.php
index c632060..0a77143 100644
--- a/core/modules/system/tests/fixtures/update/drupal-8.site-branding-into-block-2005546.php
+++ b/core/modules/system/tests/fixtures/update/drupal-8.site-branding-into-block-2005546.php
@@ -40,7 +40,7 @@
 
 $connection->update('key_value')
   ->fields([
-    'value' => serialize(array_merge($existing_blocks, ['block.block.bartik_branding']))
+    'value' => serialize(array_merge($existing_blocks, ['block.block.bartik_branding'])),
   ])
   ->condition('collection', 'config.entity.key_store.block')
   ->condition('name', 'theme:bartik')
@@ -55,7 +55,7 @@
 $extensions = unserialize($extensions);
 $connection->update('config')
   ->fields([
-    'data' => serialize(array_merge_recursive($extensions, ['theme' => ['test_theme' => 0]]))
+    'data' => serialize(array_merge_recursive($extensions, ['theme' => ['test_theme' => 0]])),
   ])
   ->condition('name', 'core.extension')
   ->execute();
diff --git a/core/modules/system/tests/fixtures/update/drupal-8.stable-base-theme-2575421.php b/core/modules/system/tests/fixtures/update/drupal-8.stable-base-theme-2575421.php
index 7b658b4..537ecf1 100644
--- a/core/modules/system/tests/fixtures/update/drupal-8.stable-base-theme-2575421.php
+++ b/core/modules/system/tests/fixtures/update/drupal-8.stable-base-theme-2575421.php
@@ -19,7 +19,7 @@
 $extensions = unserialize($extensions);
 $connection->update('config')
   ->fields([
-    'data' => serialize(array_merge_recursive($extensions, ['theme' => ['test_stable' => 0]]))
+    'data' => serialize(array_merge_recursive($extensions, ['theme' => ['test_stable' => 0]])),
   ])
   ->condition('name', 'core.extension')
   ->execute();
diff --git a/core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php b/core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php
index b618f0a..2c42d8e 100644
--- a/core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php
+++ b/core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php
@@ -139,7 +139,7 @@ public function dialog() {
             'data-dialog-type' => 'modal',
             'data-dialog-options' => json_encode(array(
               'width' => 400,
-            ))
+            )),
           ),
         ),
         'link3' => array(
@@ -151,7 +151,7 @@ public function dialog() {
             'data-dialog-options' => json_encode(array(
               'target' => 'ajax-test-dialog-wrapper-1',
               'width' => 800,
-            ))
+            )),
           ),
         ),
         'link4' => array(
@@ -179,7 +179,7 @@ public function dialog() {
             'data-dialog-options' => json_encode(array(
               'width' => 800,
               'height' => 500,
-            ))
+            )),
           ),
         ),
         'link7' => array(
@@ -190,7 +190,7 @@ public function dialog() {
             'data-dialog-type' => 'dialog',
             'data-dialog-options' => json_encode(array(
               'width' => 800,
-            ))
+            )),
           ),
         ),
         'link8' => [
diff --git a/core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestDialogForm.php b/core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestDialogForm.php
index 304e2bb..39e8ea4 100644
--- a/core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestDialogForm.php
+++ b/core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestDialogForm.php
@@ -29,7 +29,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
     // to have a dummy field we can set in WebTestBase::drupalPostForm() else it won't
     // submit anything.
     $form['textfield'] = array(
-      '#type' => 'hidden'
+      '#type' => 'hidden',
     );
     $form['button1'] = array(
       '#type' => 'submit',
diff --git a/core/modules/system/tests/modules/batch_test/src/Controller/BatchTestController.php b/core/modules/system/tests/modules/batch_test/src/Controller/BatchTestController.php
index 811c7fc..f074489 100644
--- a/core/modules/system/tests/modules/batch_test/src/Controller/BatchTestController.php
+++ b/core/modules/system/tests/modules/batch_test/src/Controller/BatchTestController.php
@@ -19,7 +19,7 @@ public function testRedirect() {
     return array(
       'success' => array(
         '#markup' => 'Redirection successful.',
-      )
+      ),
     );
   }
 
@@ -103,7 +103,7 @@ function testProgrammatic($value = 1) {
     return array(
       'success' => array(
         '#markup' => 'Got out of a programmatic batched form.',
-      )
+      ),
     );
   }
 
diff --git a/core/modules/system/tests/modules/database_test/database_test.install b/core/modules/system/tests/modules/database_test/database_test.install
index f6b4f68..791395c 100644
--- a/core/modules/system/tests/modules/database_test/database_test.install
+++ b/core/modules/system/tests/modules/database_test/database_test.install
@@ -47,7 +47,7 @@ function database_test_schema() {
     ),
     'primary key' => array('id'),
     'unique keys' => array(
-      'name' => array('name')
+      'name' => array('name'),
     ),
     'indexes' => array(
       'ages' => array('age'),
@@ -148,7 +148,7 @@ function database_test_schema() {
       ),
       'blob2' => array(
         'description' => 'A second BLOB field.',
-        'type' => 'blob'
+        'type' => 'blob',
       ),
     ),
     'primary key' => array('id'),
@@ -211,7 +211,7 @@ function database_test_schema() {
     ),
     'primary key' => array('id'),
     'unique keys' => array(
-      'name' => array('name')
+      'name' => array('name'),
     ),
     'indexes' => array(
       'ages' => array('age'),
@@ -241,7 +241,7 @@ function database_test_schema() {
     ),
     'primary key' => array('id'),
     'unique keys' => array(
-      'name' => array('name')
+      'name' => array('name'),
     ),
   );
 
diff --git a/core/modules/system/tests/modules/entity_test/entity_test.module b/core/modules/system/tests/modules/entity_test/entity_test.module
index beb68ba..acb0b32 100644
--- a/core/modules/system/tests/modules/entity_test/entity_test.module
+++ b/core/modules/system/tests/modules/entity_test/entity_test.module
@@ -263,7 +263,7 @@ function entity_test_entity_extra_field_info() {
         'description' => t('An extra field on the display side, hidden by default.'),
         'visible' => FALSE,
       ),
-    )
+    ),
   );
 
   return $extra;
diff --git a/core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php b/core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php
index 03ae366..f29ca00 100644
--- a/core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php
+++ b/core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php
@@ -88,7 +88,7 @@ public function triggerRendererException() {
       '#post_render' => [
         function () {
           throw new \Exception('This is an exception that occurs during rendering');
-        }
+        },
       ],
     ];
   }
diff --git a/core/modules/system/tests/modules/menu_test/src/TestControllers.php b/core/modules/system/tests/modules/menu_test/src/TestControllers.php
index 9ed7851..f7b6bef 100644
--- a/core/modules/system/tests/modules/menu_test/src/TestControllers.php
+++ b/core/modules/system/tests/modules/menu_test/src/TestControllers.php
@@ -77,9 +77,9 @@ public function testContextual() {
         '#contextual_links' => [
           'menu_test_menu' => [
             'route_parameters' => ['bar' => 1],
-          ]
-        ]
-      ]
+          ],
+        ],
+      ],
     ];
   }
 
diff --git a/core/modules/system/tests/modules/pager_test/src/Controller/PagerTestController.php b/core/modules/system/tests/modules/pager_test/src/Controller/PagerTestController.php
index a4d9de9..74182f9 100644
--- a/core/modules/system/tests/modules/pager_test/src/Controller/PagerTestController.php
+++ b/core/modules/system/tests/modules/pager_test/src/Controller/PagerTestController.php
@@ -54,7 +54,7 @@ public function queryParameters() {
       ),
       '#pre_render' => [
         'Drupal\pager_test\Controller\PagerTestController::showPagerCacheContext',
-      ]
+      ],
     );
 
     return $build;
diff --git a/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlockDeriver.php b/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlockDeriver.php
index 413eb13..ff423f6 100644
--- a/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlockDeriver.php
+++ b/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlockDeriver.php
@@ -45,7 +45,7 @@ public function getDerivativeDefinitions($base_plugin_definition) {
         // Instead of the derivative label, the specific label will be used.
         'label' => t('Derivative label'),
         // This setting will be merged in.
-         'setting' => 'default'
+         'setting' => 'default',
       ) + $base_plugin_definition,
     );
 
diff --git a/core/modules/system/tests/modules/twig_extension_test/src/TwigExtensionTestController.php b/core/modules/system/tests/modules/twig_extension_test/src/TwigExtensionTestController.php
index 44e42d9..0f12463 100644
--- a/core/modules/system/tests/modules/twig_extension_test/src/TwigExtensionTestController.php
+++ b/core/modules/system/tests/modules/twig_extension_test/src/TwigExtensionTestController.php
@@ -20,8 +20,8 @@ public function testFilterRender() {
       '#safe_join_items' => [
         '<em>will be escaped</em>',
         $this->t('<em>will be markup</em>'),
-        ['#markup' => '<strong>will be rendered</strong>']
-      ]
+        ['#markup' => '<strong>will be rendered</strong>'],
+      ],
     );
   }
 
diff --git a/core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php b/core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php
index 7408ce8..50475d0 100644
--- a/core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php
+++ b/core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php
@@ -100,7 +100,7 @@ public function registryLoaderRender() {
   public function renderable() {
     return [
       '#theme' => 'twig_theme_test_renderable',
-      '#renderable' => new ExampleRenderable()
+      '#renderable' => new ExampleRenderable(),
     ];
   }
 
diff --git a/core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php b/core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php
index ca1c5af..07f1125 100644
--- a/core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php
+++ b/core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php
@@ -162,13 +162,13 @@ public function testSystemMenuBlockConfigDependencies() {
     $dependencies = $block->calculateDependencies()->getDependencies();
     $expected = array(
       'config' => array(
-        'system.menu.' . $this->menu->id()
+        'system.menu.' . $this->menu->id(),
       ),
       'module' => array(
-        'system'
+        'system',
       ),
       'theme' => array(
-        'stark'
+        'stark',
       ),
     );
     $this->assertIdentical($expected, $dependencies);
@@ -249,7 +249,7 @@ public function testConfigLevelDepth() {
       'test.example2' => [
         'test.example3' => [
           'test.example4' => [],
-        ]
+        ],
       ],
       'test.example5' => [
         'test.example7' => [],
diff --git a/core/modules/system/tests/src/Kernel/Scripts/DbCommandBaseTest.php b/core/modules/system/tests/src/Kernel/Scripts/DbCommandBaseTest.php
index c11770d..ec754da 100644
--- a/core/modules/system/tests/src/Kernel/Scripts/DbCommandBaseTest.php
+++ b/core/modules/system/tests/src/Kernel/Scripts/DbCommandBaseTest.php
@@ -34,7 +34,7 @@ public function testSpecifyDatabaseKey() {
     Database::addConnectionInfo('magic_db', 'default', Database::getConnectionInfo('default')['default']);
 
     $command_tester->execute([
-      '--database' => 'magic_db'
+      '--database' => 'magic_db',
     ]);
     $this->assertEquals('magic_db', $command->getDatabaseConnection($command_tester->getInput())->getKey(),
        'Special db key is returned');
@@ -49,7 +49,7 @@ public function testSpecifyDatabaseDoesNotExist() {
     $command = new DbCommandBaseTester();
     $command_tester = new CommandTester($command);
     $command_tester->execute([
-      '--database' => 'dne'
+      '--database' => 'dne',
     ]);
     $command->getDatabaseConnection($command_tester->getInput());
   }
@@ -63,13 +63,13 @@ public function testSpecifyDbUrl() {
     $command = new DbCommandBaseTester();
     $command_tester = new CommandTester($command);
     $command_tester->execute([
-      '-db-url' => $connection_info['driver'] . '://' . $connection_info['username'] . ':' . $connection_info['password'] . '@' . $connection_info['host'] . '/' . $connection_info['database']
+      '-db-url' => $connection_info['driver'] . '://' . $connection_info['username'] . ':' . $connection_info['password'] . '@' . $connection_info['host'] . '/' . $connection_info['database'],
     ]);
     $this->assertEquals('db-tools', $command->getDatabaseConnection($command_tester->getInput())->getKey());
 
     Database::removeConnection('db-tools');
     $command_tester->execute([
-      '--database-url' => $connection_info['driver'] . '://' . $connection_info['username'] . ':' . $connection_info['password'] . '@' . $connection_info['host'] . '/' . $connection_info['database']
+      '--database-url' => $connection_info['driver'] . '://' . $connection_info['username'] . ':' . $connection_info['password'] . '@' . $connection_info['host'] . '/' . $connection_info['database'],
     ]);
     $this->assertEquals('db-tools', $command->getDatabaseConnection($command_tester->getInput())->getKey());
   }
diff --git a/core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php b/core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php
index c2014d5..cb4367b 100644
--- a/core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php
+++ b/core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php
@@ -134,7 +134,7 @@ public function providerTestBuildCacheability() {
       '#theme' => 'menu__mock',
       '#items' => [
         // To be filled when generating test cases, using $get_built_element().
-      ]
+      ],
     ];
 
     $get_built_element = function(MenuLinkTreeElement $element) {
@@ -249,10 +249,10 @@ public function providerTestBuildCacheability() {
           new MenuLinkTreeElement($multi_level_root_a, TRUE, 0, FALSE, [
             new MenuLinkTreeElement($multi_level_parent_c, TRUE, 0, FALSE, [
               new MenuLinkTreeElement($links[0], FALSE, 0, FALSE, []),
-            ])
+            ]),
           ]),
           new MenuLinkTreeElement($multi_level_root_b, TRUE, 0, FALSE, [
-            new MenuLinkTreeElement($links[1], FALSE, 1, FALSE, [])
+            new MenuLinkTreeElement($links[1], FALSE, 1, FALSE, []),
           ]),
         ];
         $tree[0]->subtree[0]->subtree[0]->access = $access;
diff --git a/core/modules/taxonomy/src/Plugin/migrate/source/d7/Vocabulary.php b/core/modules/taxonomy/src/Plugin/migrate/source/d7/Vocabulary.php
index e9eb4aa..6f964f0 100644
--- a/core/modules/taxonomy/src/Plugin/migrate/source/d7/Vocabulary.php
+++ b/core/modules/taxonomy/src/Plugin/migrate/source/d7/Vocabulary.php
@@ -42,7 +42,7 @@ public function fields() {
       'hierarchy' => $this->t('The type of hierarchy allowed within the vocabulary. (0 = disabled, 1 = single, 2 = multiple)'),
       'module' => $this->t('Module responsible for the vocabulary.'),
       'weight' => $this->t('The weight of the vocabulary in relation to other vocabularies.'),
-      'machine_name' => $this->t('Unique machine name of the vocabulary.')
+      'machine_name' => $this->t('Unique machine name of the vocabulary.'),
     );
   }
 
diff --git a/core/modules/taxonomy/src/TermViewsData.php b/core/modules/taxonomy/src/TermViewsData.php
index 00bc589..53ada8d 100644
--- a/core/modules/taxonomy/src/TermViewsData.php
+++ b/core/modules/taxonomy/src/TermViewsData.php
@@ -61,7 +61,7 @@ public function getViewsData() {
         'argument field' => 'tid',
         'base'   => 'node_field_data',
         'field'  => 'nid',
-        'relationship' => 'node_field_data:term_node_tid'
+        'relationship' => 'node_field_data:term_node_tid',
       ),
     );
 
@@ -216,7 +216,7 @@ public function getViewsData() {
       'title' => $this->t('Post date'),
       'help' => $this->t('The date the content related to a term was posted.'),
       'sort' => [
-        'id' => 'date'
+        'id' => 'date',
       ],
       'filter' => [
         'id' => 'date',
diff --git a/core/modules/taxonomy/src/Tests/TermTranslationFieldViewTest.php b/core/modules/taxonomy/src/Tests/TermTranslationFieldViewTest.php
index 18cf720..5d54cf7 100644
--- a/core/modules/taxonomy/src/Tests/TermTranslationFieldViewTest.php
+++ b/core/modules/taxonomy/src/Tests/TermTranslationFieldViewTest.php
@@ -76,7 +76,7 @@ protected function setUpNode() {
       'type' => 'article',
       'description' => [[
         'value' => $this->randomMachineName(),
-        'format' => 'basic_html'
+        'format' => 'basic_html',
       ]],
       $this->termFieldName => array(array('target_id' => $this->term->id())),
       'langcode' => $this->baseLangcode,
diff --git a/core/modules/taxonomy/src/Tests/Views/TaxonomyIndexTidUiTest.php b/core/modules/taxonomy/src/Tests/Views/TaxonomyIndexTidUiTest.php
index 7dff50a..dd6560f 100644
--- a/core/modules/taxonomy/src/Tests/Views/TaxonomyIndexTidUiTest.php
+++ b/core/modules/taxonomy/src/Tests/Views/TaxonomyIndexTidUiTest.php
@@ -200,7 +200,7 @@ public function testExposedFilter() {
     // Select 'Term' and 'Vocabulary' as filters.
     $edit = [
       'name[taxonomy_term_field_data.tid]' => TRUE,
-      'name[taxonomy_term_field_data.vid]' => TRUE
+      'name[taxonomy_term_field_data.vid]' => TRUE,
     ];
     $this->drupalPostForm('admin/structure/views/nojs/add-handler/test_taxonomy_term_name/default/filter', $edit, 'Add and configure filter criteria');
     // Select 'Empty Vocabulary' and 'Autocomplete' from the list of options.
diff --git a/core/modules/taxonomy/src/Tests/VocabularyCrudTest.php b/core/modules/taxonomy/src/Tests/VocabularyCrudTest.php
index 914b7f2..69d4f74 100644
--- a/core/modules/taxonomy/src/Tests/VocabularyCrudTest.php
+++ b/core/modules/taxonomy/src/Tests/VocabularyCrudTest.php
@@ -149,7 +149,7 @@ function testUninstallReinstall() {
       'field_name' => $field_name,
       'entity_type' => 'taxonomy_term',
       'type' => 'text',
-      'cardinality' => 4
+      'cardinality' => 4,
     );
     FieldStorageConfig::create($storage_definition)->save();
     $field_definition = array(
diff --git a/core/modules/telephone/src/Plugin/Field/FieldType/TelephoneItem.php b/core/modules/telephone/src/Plugin/Field/FieldType/TelephoneItem.php
index 20950e5..83fb970 100644
--- a/core/modules/telephone/src/Plugin/Field/FieldType/TelephoneItem.php
+++ b/core/modules/telephone/src/Plugin/Field/FieldType/TelephoneItem.php
@@ -67,7 +67,7 @@ public function getConstraints() {
         'Length' => array(
           'max' => $max_length,
           'maxMessage' => t('%name: the telephone number may not be longer than @max characters.', array('%name' => $this->getFieldDefinition()->getLabel(), '@max' => $max_length)),
-        )
+        ),
       ),
     ));
 
diff --git a/core/modules/telephone/src/Tests/TelephoneFieldTest.php b/core/modules/telephone/src/Tests/TelephoneFieldTest.php
index f7452b0..a7c61d8 100644
--- a/core/modules/telephone/src/Tests/TelephoneFieldTest.php
+++ b/core/modules/telephone/src/Tests/TelephoneFieldTest.php
@@ -21,7 +21,7 @@ class TelephoneFieldTest extends WebTestBase {
   public static $modules = array(
     'field',
     'node',
-    'telephone'
+    'telephone',
   );
 
   /**
diff --git a/core/modules/text/src/Plugin/Field/FieldType/TextItem.php b/core/modules/text/src/Plugin/Field/FieldType/TextItem.php
index ed896ad..d845ee2 100644
--- a/core/modules/text/src/Plugin/Field/FieldType/TextItem.php
+++ b/core/modules/text/src/Plugin/Field/FieldType/TextItem.php
@@ -62,7 +62,7 @@ public function getConstraints() {
           'Length' => array(
             'max' => $max_length,
             'maxMessage' => t('%name: the text may not be longer than @max characters.', array('%name' => $this->getFieldDefinition()->getLabel(), '@max' => $max_length)),
-          )
+          ),
         ),
       ));
     }
diff --git a/core/modules/text/src/Tests/TextFieldTest.php b/core/modules/text/src/Tests/TextFieldTest.php
index 993346a..0fea874 100644
--- a/core/modules/text/src/Tests/TextFieldTest.php
+++ b/core/modules/text/src/Tests/TextFieldTest.php
@@ -44,7 +44,7 @@ function testTextFieldValidation() {
       'type' => 'text',
       'settings' => array(
         'max_length' => $max_length,
-      )
+      ),
     ));
     $field_storage->save();
     FieldConfig::create([
@@ -90,7 +90,7 @@ function testRequiredLongTextWithFileUpload() {
     $field_storage = FieldStorageConfig::create(array(
       'field_name' => $file_field_name,
       'entity_type' => 'entity_test',
-      'type' => 'file'
+      'type' => 'file',
     ));
     $field_storage->save();
     FieldConfig::create([
@@ -117,7 +117,7 @@ function testRequiredLongTextWithFileUpload() {
     $this->drupalPostForm('entity_test/add', $edit, 'Upload');
     $this->assertResponse(200);
     $edit = array(
-      'text_long[0][value]' => 'Long text'
+      'text_long[0][value]' => 'Long text',
     );
     $this->drupalPostForm(NULL, $edit, 'Save');
     $this->assertResponse(200);
@@ -153,7 +153,7 @@ function _testTextfieldWidgetsFormatted($field_type, $widget_type) {
     $field_storage = FieldStorageConfig::create(array(
       'field_name' => $field_name,
       'entity_type' => 'entity_test',
-      'type' => $field_type
+      'type' => $field_type,
     ));
     $field_storage->save();
     FieldConfig::create([
diff --git a/core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php b/core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php
index 4ee40d6..6e9eeec 100644
--- a/core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php
+++ b/core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php
@@ -106,7 +106,7 @@ protected function createField($entity_type) {
       'type' => 'text_with_summary',
       'settings' => array(
         'max_length' => 10,
-      )
+      ),
     ));
     $this->fieldStorage->save();
     $this->field = FieldConfig::create([
diff --git a/core/modules/text/tests/src/Unit/Migrate/TextFieldTest.php b/core/modules/text/tests/src/Unit/Migrate/TextFieldTest.php
index 323fbce..354ba2c 100644
--- a/core/modules/text/tests/src/Unit/Migrate/TextFieldTest.php
+++ b/core/modules/text/tests/src/Unit/Migrate/TextFieldTest.php
@@ -75,7 +75,7 @@ public function testProcessBooleanTextImplicitValues() {
       'widget_type' => 'optionwidgets_onoff',
       'global_settings' => array(
         'allowed_values' => "foo\nbar",
-      )
+      ),
     );
     $this->plugin->processCckFieldValues($this->migration, 'field', $info);
 
@@ -100,7 +100,7 @@ public function testProcessBooleanTextExplicitValues() {
       'widget_type' => 'optionwidgets_onoff',
       'global_settings' => array(
         'allowed_values' => "foo|Foo\nbaz|Baz",
-      )
+      ),
     );
     $this->plugin->processCckFieldValues($this->migration, 'field', $info);
 
diff --git a/core/modules/tour/src/Tests/TourTest.php b/core/modules/tour/src/Tests/TourTest.php
index 78304c6..b3a7aee 100644
--- a/core/modules/tour/src/Tests/TourTest.php
+++ b/core/modules/tour/src/Tests/TourTest.php
@@ -45,7 +45,7 @@ protected function setUp() {
 
     $this->drupalPlaceBlock('local_actions_block', [
       'theme' => 'seven',
-      'region' => 'content'
+      'region' => 'content',
     ]);
   }
 
@@ -130,7 +130,7 @@ public function testTourFunctionality() {
           'url' => 'http://local/image.png',
           'weight' => 1,
           'attributes' => array(
-            'data-id' => 'tour-code-test-2'
+            'data-id' => 'tour-code-test-2',
           ),
         ),
       ),
diff --git a/core/modules/tracker/src/Tests/Views/TrackerUserUidTest.php b/core/modules/tracker/src/Tests/Views/TrackerUserUidTest.php
index 68b7777..1779af4 100644
--- a/core/modules/tracker/src/Tests/Views/TrackerUserUidTest.php
+++ b/core/modules/tracker/src/Tests/Views/TrackerUserUidTest.php
@@ -31,7 +31,7 @@ public function testUserUid() {
       array(
         'nid' => $this->node->id(),
         'title' => $this->node->label(),
-      )
+      ),
     );
 
     $view = Views::getView('test_tracker_user_uid');
diff --git a/core/modules/tracker/tests/src/Unit/Plugin/migrate/source/d7/TrackerNodeTest.php b/core/modules/tracker/tests/src/Unit/Plugin/migrate/source/d7/TrackerNodeTest.php
index 49f4240..c04dd4a 100644
--- a/core/modules/tracker/tests/src/Unit/Plugin/migrate/source/d7/TrackerNodeTest.php
+++ b/core/modules/tracker/tests/src/Unit/Plugin/migrate/source/d7/TrackerNodeTest.php
@@ -25,7 +25,7 @@ class TrackerNodeTest extends MigrateSqlSourceTestCase {
       'nid' => '2',
       'published' => '1',
       'changed' => '1421727536',
-    ]
+    ],
   ];
 
   /**
diff --git a/core/modules/tracker/tests/src/Unit/Plugin/migrate/source/d7/TrackerUserTest.php b/core/modules/tracker/tests/src/Unit/Plugin/migrate/source/d7/TrackerUserTest.php
index 847869e..a923166 100644
--- a/core/modules/tracker/tests/src/Unit/Plugin/migrate/source/d7/TrackerUserTest.php
+++ b/core/modules/tracker/tests/src/Unit/Plugin/migrate/source/d7/TrackerUserTest.php
@@ -26,7 +26,7 @@ class TrackerUserTest extends MigrateSqlSourceTestCase {
       'uid' => '2',
       'published' => '1',
       'changed' => '1421727536',
-    ]
+    ],
   ];
 
   /**
diff --git a/core/modules/tracker/tracker.views.inc b/core/modules/tracker/tracker.views.inc
index b7e4b95..c80a900 100644
--- a/core/modules/tracker/tracker.views.inc
+++ b/core/modules/tracker/tracker.views.inc
@@ -173,7 +173,7 @@ function tracker_views_data_alter(&$data) {
       'field' => 'uid',
       'name table' => 'users_field_data',
       'name field' => 'name',
-      'id' => 'tracker_user_uid'
+      'id' => 'tracker_user_uid',
     ),
   );
 }
diff --git a/core/modules/update/src/Controller/UpdateController.php b/core/modules/update/src/Controller/UpdateController.php
index cdd63b8..e479527 100644
--- a/core/modules/update/src/Controller/UpdateController.php
+++ b/core/modules/update/src/Controller/UpdateController.php
@@ -45,7 +45,7 @@ public static function create(ContainerInterface $container) {
    */
   public function updateStatus() {
     $build = array(
-      '#theme' => 'update_report'
+      '#theme' => 'update_report',
     );
     if ($available = update_get_available(TRUE)) {
       $this->moduleHandler()->loadInclude('update', 'compare.inc');
diff --git a/core/modules/update/src/UpdateSettingsForm.php b/core/modules/update/src/UpdateSettingsForm.php
index 1565f66..86c9c16 100644
--- a/core/modules/update/src/UpdateSettingsForm.php
+++ b/core/modules/update/src/UpdateSettingsForm.php
@@ -93,7 +93,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
         'all' => t('All newer versions'),
         'security' => t('Only security updates'),
       ),
-      '#description' => t('You can choose to send email only if a security update is available, or to be notified about all newer versions. If there are updates available of Drupal core or any of your installed modules and themes, your site will always print a message on the <a href=":status_report">status report</a> page, and will also display an error message on administration pages if there is a security update.', array(':status_report' => $this->url('system.status')))
+      '#description' => t('You can choose to send email only if a security update is available, or to be notified about all newer versions. If there are updates available of Drupal core or any of your installed modules and themes, your site will always print a message on the <a href=":status_report">status report</a> page, and will also display an error message on administration pages if there is a security update.', array(':status_report' => $this->url('system.status'))),
     );
 
     return parent::buildForm($form, $form_state);
diff --git a/core/modules/update/update.authorize.inc b/core/modules/update/update.authorize.inc
index 58f1464..48e427d 100644
--- a/core/modules/update/update.authorize.inc
+++ b/core/modules/update/update.authorize.inc
@@ -261,7 +261,7 @@ function update_authorize_update_batch_finished($success, $results) {
       'absolute' => TRUE,
       'base_url' => $GLOBALS['base_url'],
     ],
-    '#access' => $url->access(\Drupal::currentUser())
+    '#access' => $url->access(\Drupal::currentUser()),
   ];
 
   // Unset the variable since it is no longer needed.
diff --git a/core/modules/update/update.report.inc b/core/modules/update/update.report.inc
index 5f198d9..afc81f6 100644
--- a/core/modules/update/update.report.inc
+++ b/core/modules/update/update.report.inc
@@ -31,7 +31,7 @@ function template_preprocess_update_report(&$variables) {
       'library' => array(
         'update/drupal.update.admin',
       ),
-    )
+    ),
   );
 
   // For no project update data, populate no data message.
@@ -231,7 +231,7 @@ function template_preprocess_update_project_status(&$variables) {
       $extra_item['data'] = [
         '#prefix' => '<em>',
         '#markup' => $value['data'],
-        '#suffix' => '</em>'
+        '#suffix' => '</em>',
       ];
       $variables['extras'][] = $extra_item;
     }
diff --git a/core/modules/user/src/AccountForm.php b/core/modules/user/src/AccountForm.php
index dbdb08b..4fec900 100644
--- a/core/modules/user/src/AccountForm.php
+++ b/core/modules/user/src/AccountForm.php
@@ -351,7 +351,7 @@ protected function getEditedFieldNames(FormStateInterface $form_state) {
       'timezone',
       'langcode',
       'preferred_langcode',
-      'preferred_admin_langcode'
+      'preferred_admin_langcode',
     ), parent::getEditedFieldNames($form_state));
   }
 
@@ -369,7 +369,7 @@ protected function flagViolations(EntityConstraintViolationListInterface $violat
       'timezone',
       'langcode',
       'preferred_langcode',
-      'preferred_admin_langcode'
+      'preferred_admin_langcode',
     );
     foreach ($violations->getByFields($field_names) as $violation) {
       list($field_name) = explode('.', $violation->getPropertyPath(), 2);
diff --git a/core/modules/user/src/AccountSettingsForm.php b/core/modules/user/src/AccountSettingsForm.php
index 1e5cd49..b9f20d6 100644
--- a/core/modules/user/src/AccountSettingsForm.php
+++ b/core/modules/user/src/AccountSettingsForm.php
@@ -152,13 +152,13 @@ public function buildForm(array $form, FormStateInterface $form_state) {
         USER_REGISTER_ADMINISTRATORS_ONLY => $this->t('Administrators only'),
         USER_REGISTER_VISITORS => $this->t('Visitors'),
         USER_REGISTER_VISITORS_ADMINISTRATIVE_APPROVAL => $this->t('Visitors, but administrator approval is required'),
-      )
+      ),
     );
     $form['registration_cancellation']['user_email_verification'] = array(
       '#type' => 'checkbox',
       '#title' => $this->t('Require email verification when a visitor creates an account'),
       '#default_value' => $config->get('verify_mail'),
-      '#description' => $this->t('New users will be required to validate their email address prior to logging into the site, and will be assigned a system-generated password. With this setting disabled, users will be logged in immediately upon registering, and may select their own passwords during registration.')
+      '#description' => $this->t('New users will be required to validate their email address prior to logging into the site, and will be assigned a system-generated password. With this setting disabled, users will be logged in immediately upon registering, and may select their own passwords during registration.'),
     );
     $form['registration_cancellation']['user_password_strength'] = array(
       '#type' => 'checkbox',
diff --git a/core/modules/user/src/Plugin/views/wizard/Users.php b/core/modules/user/src/Plugin/views/wizard/Users.php
index efd4272..60bb395 100644
--- a/core/modules/user/src/Plugin/views/wizard/Users.php
+++ b/core/modules/user/src/Plugin/views/wizard/Users.php
@@ -35,7 +35,7 @@ class Users extends WizardPluginBase {
       'plugin_id' => 'boolean',
       'entity_type' => 'user',
       'entity_field' => 'status',
-    )
+    ),
   );
 
   /**
diff --git a/core/modules/user/src/Tests/UserAdminTest.php b/core/modules/user/src/Tests/UserAdminTest.php
index 60fd56b..7ab8e10 100644
--- a/core/modules/user/src/Tests/UserAdminTest.php
+++ b/core/modules/user/src/Tests/UserAdminTest.php
@@ -103,7 +103,7 @@ function testUserAdmin() {
     $this->drupalPostForm('admin/people', $edit, t('Apply to selected items'), array(
       // Sort the table by username so that we know reliably which user will be
       // targeted with the blocking action.
-      'query' => array('order' => 'name', 'sort' => 'asc')
+      'query' => array('order' => 'name', 'sort' => 'asc'),
     ));
     $site_name = $this->config('system.site')->get('name');
     $this->assertMailString('body', 'Your account on ' . $site_name . ' has been blocked.', 1, 'Blocked message found in the mail sent to user C.');
@@ -124,7 +124,7 @@ function testUserAdmin() {
     $this->drupalPostForm('admin/people', $editunblock, t('Apply to selected items'), array(
       // Sort the table by username so that we know reliably which user will be
       // targeted with the blocking action.
-      'query' => array('order' => 'name', 'sort' => 'asc')
+      'query' => array('order' => 'name', 'sort' => 'asc'),
     ));
     $user_storage->resetCache(array($user_c->id()));
     $account = $user_storage->load($user_c->id());
diff --git a/core/modules/user/src/Tests/Views/HandlerFilterUserNameTest.php b/core/modules/user/src/Tests/Views/HandlerFilterUserNameTest.php
index eaf24aa..2f32ec0 100644
--- a/core/modules/user/src/Tests/Views/HandlerFilterUserNameTest.php
+++ b/core/modules/user/src/Tests/Views/HandlerFilterUserNameTest.php
@@ -96,7 +96,7 @@ public function testAdminUserInterface() {
     $users = array($this->randomMachineName());
     $users = array_map('strtolower', $users);
     $edit = array(
-      'options[value]' => implode(', ', $users)
+      'options[value]' => implode(', ', $users),
     );
     $this->drupalPostForm($path, $edit, t('Apply'));
     $this->assertRaw(t('There are no entities matching "%value".', array('%value' => implode(', ', $users))));
@@ -106,7 +106,7 @@ public function testAdminUserInterface() {
     $users = array($random_name, $this->names[0]);
     $users = array_map('strtolower', $users);
     $edit = array(
-      'options[value]' => implode(', ', $users)
+      'options[value]' => implode(', ', $users),
     );
     $users = array($users[0]);
     $this->drupalPostForm($path, $edit, t('Apply'));
@@ -116,7 +116,7 @@ public function testAdminUserInterface() {
     $users = $this->names;
     $users = array_map('strtolower', $users);
     $edit = array(
-      'options[value]' => implode(', ', $users)
+      'options[value]' => implode(', ', $users),
     );
     $this->drupalPostForm($path, $edit, t('Apply'));
     $this->assertNoRaw(t('There are no entities matching "%value".', array('%value' => implode(', ', $users))));
diff --git a/core/modules/user/src/UserViewsData.php b/core/modules/user/src/UserViewsData.php
index e222911..64c5440 100644
--- a/core/modules/user/src/UserViewsData.php
+++ b/core/modules/user/src/UserViewsData.php
@@ -60,7 +60,7 @@ public function getViewsData() {
         'argument field' => 'uid',
         'base' => 'node_field_data',
         'field' => 'nid',
-        'relationship' => 'node_field_data:uid'
+        'relationship' => 'node_field_data:uid',
       ),
     );
 
diff --git a/core/modules/user/tests/fixtures/update/drupal-8.user-email-token-2587275.php b/core/modules/user/tests/fixtures/update/drupal-8.user-email-token-2587275.php
index 28dab8b..b374164 100644
--- a/core/modules/user/tests/fixtures/update/drupal-8.user-email-token-2587275.php
+++ b/core/modules/user/tests/fixtures/update/drupal-8.user-email-token-2587275.php
@@ -18,5 +18,5 @@
 ->values(array(
   'collection' => '',
   'name' => 'user.mail',
-  'data' => "a:10:{s:14:\"cancel_confirm\";a:2:{s:4:\"body\";s:369:\"[user:name],\n\nA request to cancel your account has been made at [site:name].\n\nYou may now cancel your account on [site:url-brief] by clicking this link or copying and pasting it into your browser:\n\n[user:cancel-url]\n\nNOTE: The cancellation of your account is not reversible.\n\nThis link expires in one day and nothing will happen if it is not used.\n\n--  [site:name] team\";s:7:\"subject\";s:59:\"Account cancellation request for [user:name] at [site:name]\";}s:14:\"password_reset\";a:2:{s:4:\"body\";s:397:\"[user:name],\n\nA request to reset the password for your account has been made at [site:name].\n\nYou may now log in by clicking this link or copying and pasting it to your browser:\n\n[user:one-time-login-url]\n\nThis link can only be used once to log in and will lead you to a page where you can set your password. It expires after one day and nothing will happen if it's not used.\n\n--  [site:name] team\";s:7:\"subject\";s:60:\"Replacement login information for [user:name] at [site:name]\";}s:22:\"register_admin_created\";a:2:{s:4:\"body\";s:463:\"[user:name],\n\nA site administrator at [site:name] has created an account for you. You may now log in by clicking this link or copying and pasting it to your browser:\n\n[user:one-time-login-url]\n\nThis link can only be used once to log in and will lead you to a page where you can set your password.\n\nAfter setting your password, you will be able to log in at [site:login-url] in the future using:\n\nusername: [user:name]\npassword: Your password\n\n--  [site:name] team\";s:7:\"subject\";s:58:\"An administrator created an account for you at [site:name]\";}s:29:\"register_no_approval_required\";a:2:{s:4:\"body\";s:437:\"[user:name],\n\nThank you for registering at [site:name]. You may now log in by clicking this link or copying and pasting it to your browser:\n\n[user:one-time-login-url]\n\nThis link can only be used once to log in and will lead you to a page where you can set your password.\n\nAfter setting your password, you will be able to log in at [site:login-url] in the future using:\n\nusername: [user:name]\npassword: Your password\n\n--  [site:name] team\";s:7:\"subject\";s:46:\"Account details for [user:name] at [site:name]\";}s:25:\"register_pending_approval\";a:2:{s:4:\"body\";s:281:\"[user:name],\n\nThank you for registering at [site:name]. Your application for an account is currently pending approval. Once it has been approved, you will receive another email containing information about how to log in, set your password, and other details.\n\n\n--  [site:name] team\";s:7:\"subject\";s:71:\"Account details for [user:name] at [site:name] (pending admin approval)\";}s:31:\"register_pending_approval_admin\";a:2:{s:4:\"body\";s:56:\"[user:name] has applied for an account.\n\n[user:edit-url]\";s:7:\"subject\";s:71:\"Account details for [user:name] at [site:name] (pending admin approval)\";}s:16:\"status_activated\";a:2:{s:4:\"body\";s:446:\"[user:name],\n\nYour account at [site:name] has been activated.\n\nYou may now log in by clicking this link or copying and pasting it into your browser:\n\n[user:one-time-login-url]\n\nThis link can only be used once to log in and will lead you to a page where you can set your password.\n\nAfter setting your password, you will be able to log in at [site:login-url] in the future using:\n\nusername: [user:name]\npassword: Your password\n\n--  [site:name] team\";s:7:\"subject\";s:57:\"Account details for [user:name] at [site:name] (approved)\";}s:14:\"status_blocked\";a:2:{s:4:\"body\";s:89:\"[user:name],\n\nYour account on [site:account-name] has been blocked.\n\n--  [site:name] team\";s:7:\"subject\";s:56:\"Account details for [user:name] at [site:name] (blocked)\";}s:15:\"status_canceled\";a:2:{s:4:\"body\";s:82:\"[user:name],\n\nYour account on [site:name] has been canceled.\n\n--  [site:name] team\";s:7:\"subject\";s:57:\"Account details for [user:name] at [site:name] (canceled)\";}s:8:\"langcode\";s:2:\"en\";}"
+  'data' => "a:10:{s:14:\"cancel_confirm\";a:2:{s:4:\"body\";s:369:\"[user:name],\n\nA request to cancel your account has been made at [site:name].\n\nYou may now cancel your account on [site:url-brief] by clicking this link or copying and pasting it into your browser:\n\n[user:cancel-url]\n\nNOTE: The cancellation of your account is not reversible.\n\nThis link expires in one day and nothing will happen if it is not used.\n\n--  [site:name] team\";s:7:\"subject\";s:59:\"Account cancellation request for [user:name] at [site:name]\";}s:14:\"password_reset\";a:2:{s:4:\"body\";s:397:\"[user:name],\n\nA request to reset the password for your account has been made at [site:name].\n\nYou may now log in by clicking this link or copying and pasting it to your browser:\n\n[user:one-time-login-url]\n\nThis link can only be used once to log in and will lead you to a page where you can set your password. It expires after one day and nothing will happen if it's not used.\n\n--  [site:name] team\";s:7:\"subject\";s:60:\"Replacement login information for [user:name] at [site:name]\";}s:22:\"register_admin_created\";a:2:{s:4:\"body\";s:463:\"[user:name],\n\nA site administrator at [site:name] has created an account for you. You may now log in by clicking this link or copying and pasting it to your browser:\n\n[user:one-time-login-url]\n\nThis link can only be used once to log in and will lead you to a page where you can set your password.\n\nAfter setting your password, you will be able to log in at [site:login-url] in the future using:\n\nusername: [user:name]\npassword: Your password\n\n--  [site:name] team\";s:7:\"subject\";s:58:\"An administrator created an account for you at [site:name]\";}s:29:\"register_no_approval_required\";a:2:{s:4:\"body\";s:437:\"[user:name],\n\nThank you for registering at [site:name]. You may now log in by clicking this link or copying and pasting it to your browser:\n\n[user:one-time-login-url]\n\nThis link can only be used once to log in and will lead you to a page where you can set your password.\n\nAfter setting your password, you will be able to log in at [site:login-url] in the future using:\n\nusername: [user:name]\npassword: Your password\n\n--  [site:name] team\";s:7:\"subject\";s:46:\"Account details for [user:name] at [site:name]\";}s:25:\"register_pending_approval\";a:2:{s:4:\"body\";s:281:\"[user:name],\n\nThank you for registering at [site:name]. Your application for an account is currently pending approval. Once it has been approved, you will receive another email containing information about how to log in, set your password, and other details.\n\n\n--  [site:name] team\";s:7:\"subject\";s:71:\"Account details for [user:name] at [site:name] (pending admin approval)\";}s:31:\"register_pending_approval_admin\";a:2:{s:4:\"body\";s:56:\"[user:name] has applied for an account.\n\n[user:edit-url]\";s:7:\"subject\";s:71:\"Account details for [user:name] at [site:name] (pending admin approval)\";}s:16:\"status_activated\";a:2:{s:4:\"body\";s:446:\"[user:name],\n\nYour account at [site:name] has been activated.\n\nYou may now log in by clicking this link or copying and pasting it into your browser:\n\n[user:one-time-login-url]\n\nThis link can only be used once to log in and will lead you to a page where you can set your password.\n\nAfter setting your password, you will be able to log in at [site:login-url] in the future using:\n\nusername: [user:name]\npassword: Your password\n\n--  [site:name] team\";s:7:\"subject\";s:57:\"Account details for [user:name] at [site:name] (approved)\";}s:14:\"status_blocked\";a:2:{s:4:\"body\";s:89:\"[user:name],\n\nYour account on [site:account-name] has been blocked.\n\n--  [site:name] team\";s:7:\"subject\";s:56:\"Account details for [user:name] at [site:name] (blocked)\";}s:15:\"status_canceled\";a:2:{s:4:\"body\";s:82:\"[user:name],\n\nYour account on [site:name] has been canceled.\n\n--  [site:name] team\";s:7:\"subject\";s:57:\"Account details for [user:name] at [site:name] (canceled)\";}s:8:\"langcode\";s:2:\"en\";}",
 ))->execute();
diff --git a/core/modules/user/tests/src/Unit/PermissionAccessCheckTest.php b/core/modules/user/tests/src/Unit/PermissionAccessCheckTest.php
index bcfd750..fb353b6 100644
--- a/core/modules/user/tests/src/Unit/PermissionAccessCheckTest.php
+++ b/core/modules/user/tests/src/Unit/PermissionAccessCheckTest.php
@@ -76,7 +76,7 @@ public function testAccess($requirements, $access, array $contexts = []) {
       ->will($this->returnValueMap([
           ['allowed', TRUE],
           ['denied', FALSE],
-          ['other', FALSE]
+          ['other', FALSE],
         ]
       ));
     $route = new Route('', [], $requirements);
diff --git a/core/modules/user/tests/src/Unit/PermissionHandlerTest.php b/core/modules/user/tests/src/Unit/PermissionHandlerTest.php
index 593d8c4..73278df 100644
--- a/core/modules/user/tests/src/Unit/PermissionHandlerTest.php
+++ b/core/modules/user/tests/src/Unit/PermissionHandlerTest.php
@@ -395,7 +395,7 @@ class TestPermissionCallbacks {
 
   public function singleDescription() {
     return array(
-      'access_module_a' => 'single_description'
+      'access_module_a' => 'single_description',
     );
   }
 
diff --git a/core/modules/user/tests/src/Unit/Views/Argument/RolesRidTest.php b/core/modules/user/tests/src/Unit/Views/Argument/RolesRidTest.php
index 8693fc4..5880ba7 100644
--- a/core/modules/user/tests/src/Unit/Views/Argument/RolesRidTest.php
+++ b/core/modules/user/tests/src/Unit/Views/Argument/RolesRidTest.php
@@ -21,7 +21,7 @@ class RolesRidTest extends UnitTestCase {
   public function testTitleQuery() {
     $role1 = new Role(array(
       'id' => 'test_rid_1',
-      'label' => 'test rid 1'
+      'label' => 'test rid 1',
     ), 'user_role');
     $role2 = new Role(array(
       'id' => 'test_rid_2',
diff --git a/core/modules/user/user.module b/core/modules/user/user.module
index 1394b23..d4900b1 100644
--- a/core/modules/user/user.module
+++ b/core/modules/user/user.module
@@ -589,7 +589,7 @@ function user_pass_reset_url($account, $options = array()) {
     ),
     array(
       'absolute' => TRUE,
-      'language' => \Drupal::languageManager()->getLanguage($langcode)
+      'language' => \Drupal::languageManager()->getLanguage($langcode),
     )
   );
 }
@@ -618,7 +618,7 @@ function user_cancel_url(UserInterface $account, $options = array()) {
   return \Drupal::url('user.cancel_confirm', [
     'user' => $account->id(),
     'timestamp' => $timestamp,
-    'hashed_pass' => user_pass_rehash($account, $timestamp)
+    'hashed_pass' => user_pass_rehash($account, $timestamp),
   ], $url_options);
 }
 
diff --git a/core/modules/views/src/Entity/View.php b/core/modules/views/src/Entity/View.php
index 1e9fac1..91ef9a6 100644
--- a/core/modules/views/src/Entity/View.php
+++ b/core/modules/views/src/Entity/View.php
@@ -378,7 +378,7 @@ public static function preCreate(EntityStorageInterface $storage, array &$values
           'position' => 0,
           'display_options' => array(),
         ),
-      )
+      ),
     );
   }
 
diff --git a/core/modules/views/src/EntityViewsData.php b/core/modules/views/src/EntityViewsData.php
index 61def5a..c3c722f 100644
--- a/core/modules/views/src/EntityViewsData.php
+++ b/core/modules/views/src/EntityViewsData.php
@@ -200,7 +200,7 @@ public function getViewsData() {
       $data[$base_table]['table']['join'][$data_table] = [
         'left_field' => $base_field,
         'field' => $base_field,
-        'type' => 'INNER'
+        'type' => 'INNER',
       ];
       $data[$data_table]['table']['group'] = $this->entityType->getLabel();
       $data[$data_table]['table']['provider'] = $this->entityType->getProvider();
diff --git a/core/modules/views/src/Form/ViewsExposedForm.php b/core/modules/views/src/Form/ViewsExposedForm.php
index bacd554..b8da5dd 100644
--- a/core/modules/views/src/Form/ViewsExposedForm.php
+++ b/core/modules/views/src/Form/ViewsExposedForm.php
@@ -101,7 +101,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
     }
 
     $form['actions'] = array(
-      '#type' => 'actions'
+      '#type' => 'actions',
     );
     $form['actions']['submit'] = array(
       // Prevent from showing up in \Drupal::request()->query.
diff --git a/core/modules/views/src/Plugin/Derivative/DefaultWizardDeriver.php b/core/modules/views/src/Plugin/Derivative/DefaultWizardDeriver.php
index 072d692..e269775 100644
--- a/core/modules/views/src/Plugin/Derivative/DefaultWizardDeriver.php
+++ b/core/modules/views/src/Plugin/Derivative/DefaultWizardDeriver.php
@@ -25,7 +25,7 @@ public function getDerivativeDefinitions($base_plugin_definition) {
           'id' => 'standard',
           'base_table' => $table,
           'title' => $views_info['table']['base']['title'],
-          'class' => 'Drupal\views\Plugin\views\wizard\Standard'
+          'class' => 'Drupal\views\Plugin\views\wizard\Standard',
         );
       }
     }
diff --git a/core/modules/views/src/Plugin/Derivative/ViewsBlock.php b/core/modules/views/src/Plugin/Derivative/ViewsBlock.php
index 37e0dc8..208497c 100644
--- a/core/modules/views/src/Plugin/Derivative/ViewsBlock.php
+++ b/core/modules/views/src/Plugin/Derivative/ViewsBlock.php
@@ -106,8 +106,8 @@ public function getDerivativeDefinitions($base_plugin_definition) {
             'config_dependencies' => array(
               'config' => array(
                 $view->getConfigDependencyName(),
-              )
-            )
+              ),
+            ),
           );
           $this->derivatives[$delta] += $base_plugin_definition;
         }
diff --git a/core/modules/views/src/Plugin/Derivative/ViewsExposedFilterBlock.php b/core/modules/views/src/Plugin/Derivative/ViewsExposedFilterBlock.php
index 3f85fc4..d28f6c7 100644
--- a/core/modules/views/src/Plugin/Derivative/ViewsExposedFilterBlock.php
+++ b/core/modules/views/src/Plugin/Derivative/ViewsExposedFilterBlock.php
@@ -91,8 +91,8 @@ public function getDerivativeDefinitions($base_plugin_definition) {
               'config_dependencies' => array(
                 'config' => array(
                   $view->getConfigDependencyName(),
-                )
-              )
+                ),
+              ),
             );
             $this->derivatives[$delta] += $base_plugin_definition;
           }
diff --git a/core/modules/views/src/Plugin/views/PluginBase.php b/core/modules/views/src/Plugin/views/PluginBase.php
index 6d5aec1..f185680 100644
--- a/core/modules/views/src/Plugin/views/PluginBase.php
+++ b/core/modules/views/src/Plugin/views/PluginBase.php
@@ -396,7 +396,7 @@ protected function viewsTokenReplace($text, $tokens) {
         '#post_render' => [
           function ($children, $elements) {
             return Xss::filterAdmin($children);
-          }
+          },
         ],
       );
 
diff --git a/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php b/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
index 7abd1df..6e0cfcf 100644
--- a/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
+++ b/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
@@ -547,7 +547,7 @@ public function defaultArgumentForm(&$form, FormStateInterface $form_state) {
       '#type' => 'checkbox',
       '#title' => $this->t('Skip default argument for view URL'),
       '#default_value' => $this->options['default_argument_skip_url'],
-      '#description' => $this->t('Select whether to include this default argument when constructing the URL for this view. Skipping default arguments is useful e.g. in the case of feeds.')
+      '#description' => $this->t('Select whether to include this default argument when constructing the URL for this view. Skipping default arguments is useful e.g. in the case of feeds.'),
     );
 
     $form['default_argument_type'] = array(
@@ -637,7 +637,7 @@ public function defaultSummaryForm(&$form, FormStateInterface $form_state) {
       '#default_value' => $this->options['summary']['number_of_records'],
       '#options' => array(
         0 => $this->getSortName(),
-        1 => $this->t('Number of records')
+        1 => $this->t('Number of records'),
       ),
       '#states' => array(
         'visible' => array(
diff --git a/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php b/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
index 102718d..e0a001f 100644
--- a/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
+++ b/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
@@ -1026,13 +1026,13 @@ public function optionLink($text, $section, $class = '', $title = '') {
         'js' => 'nojs',
         'view' => $this->view->storage->id(),
         'display_id' => $this->display['id'],
-        'type' => $section
+        'type' => $section,
       ), array(
         'attributes' => array(
           'class' => array('views-ajax-link', $class),
           'title' => $title,
-          'id' => Html::getUniqueId('views-' . $this->display['id'] . '-' . $section)
-        )
+          'id' => Html::getUniqueId('views-' . $this->display['id'] . '-' . $section),
+        ),
     )));
   }
 
@@ -2575,7 +2575,7 @@ public function getArgumentText() {
   public function getPagerText() {
     return array(
       'items per page title' => $this->t('Items to display'),
-      'items per page description' => $this->t('Enter 0 for no limit.')
+      'items per page description' => $this->t('Enter 0 for no limit.'),
     );
   }
 
diff --git a/core/modules/views/src/Plugin/views/display/Page.php b/core/modules/views/src/Plugin/views/display/Page.php
index d79b75b..2db9542 100644
--- a/core/modules/views/src/Plugin/views/display/Page.php
+++ b/core/modules/views/src/Plugin/views/display/Page.php
@@ -247,7 +247,7 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) {
             'none' => $this->t('No menu entry'),
             'normal' => $this->t('Normal menu entry'),
             'tab' => $this->t('Menu tab'),
-            'default tab' => $this->t('Default menu tab')
+            'default tab' => $this->t('Default menu tab'),
           ),
           '#default_value' => $menu['type'],
         );
@@ -520,7 +520,7 @@ public function getArgumentText() {
   public function getPagerText() {
     return array(
       'items per page title' => $this->t('Items per page'),
-      'items per page description' => $this->t('Enter 0 for no limit.')
+      'items per page description' => $this->t('Enter 0 for no limit.'),
     );
   }
 
diff --git a/core/modules/views/src/Plugin/views/field/Field.php b/core/modules/views/src/Plugin/views/field/Field.php
index c4003b4..8fa6899 100644
--- a/core/modules/views/src/Plugin/views/field/Field.php
+++ b/core/modules/views/src/Plugin/views/field/Field.php
@@ -400,10 +400,10 @@ protected function defineOptions() {
     );
 
     $options['multi_type'] = array(
-      'default' => 'separator'
+      'default' => 'separator',
     );
     $options['separator'] = array(
-      'default' => ', '
+      'default' => ', ',
     );
 
     $options['field_api_classes'] = array(
diff --git a/core/modules/views/src/Plugin/views/field/FieldPluginBase.php b/core/modules/views/src/Plugin/views/field/FieldPluginBase.php
index cde5ecb..2d15409 100644
--- a/core/modules/views/src/Plugin/views/field/FieldPluginBase.php
+++ b/core/modules/views/src/Plugin/views/field/FieldPluginBase.php
@@ -302,7 +302,7 @@ public function getElements() {
       // @todo Add possible html5 elements.
       $elements = array(
         '' => $this->t('- Use default -'),
-        '0' => $this->t('- None -')
+        '0' => $this->t('- None -'),
       );
       $elements += \Drupal::config('views.settings')->get('field_rewrite_elements');
     }
@@ -1353,7 +1353,7 @@ protected function renderAsLink($alter, $text, $tokens) {
     );
 
     $alter += [
-      'path' => NULL
+      'path' => NULL,
     ];
 
     $path = $alter['path'];
diff --git a/core/modules/views/src/Plugin/views/field/PrerenderList.php b/core/modules/views/src/Plugin/views/field/PrerenderList.php
index aa8f752..b7d40be 100644
--- a/core/modules/views/src/Plugin/views/field/PrerenderList.php
+++ b/core/modules/views/src/Plugin/views/field/PrerenderList.php
@@ -78,8 +78,8 @@ public function renderItems($items) {
           '#template' => '{{ items|safe_join(separator) }}',
           '#context' => [
             'items' => $items,
-            'separator' => $this->sanitizeValue($this->options['separator'], 'xss_admin')
-          ]
+            'separator' => $this->sanitizeValue($this->options['separator'], 'xss_admin'),
+          ],
         ];
       }
       else {
diff --git a/core/modules/views/src/Plugin/views/filter/FilterPluginBase.php b/core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
index 34b8cb4..4407642 100644
--- a/core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
+++ b/core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
@@ -1066,7 +1066,7 @@ protected function buildExposedFiltersGroupForm(&$form, FormStateInterface $form
       '#required' => TRUE,
       '#attributes' => array(
         'class' => array('default-radios'),
-      )
+      ),
     );
     // From all groups, let chose which is the default.
     $form['group_info']['default_group_multiple'] = array(
@@ -1075,7 +1075,7 @@ protected function buildExposedFiltersGroupForm(&$form, FormStateInterface $form
       '#default_value' => $this->options['group_info']['default_group_multiple'],
       '#attributes' => array(
         'class' => array('default-checkboxes'),
-      )
+      ),
     );
 
     $form['group_info']['add_group'] = array(
diff --git a/core/modules/views/src/Plugin/views/filter/NumericFilter.php b/core/modules/views/src/Plugin/views/filter/NumericFilter.php
index e1ad6b3..0a18614 100644
--- a/core/modules/views/src/Plugin/views/filter/NumericFilter.php
+++ b/core/modules/views/src/Plugin/views/filter/NumericFilter.php
@@ -197,7 +197,7 @@ protected function valueForm(&$form, FormStateInterface $form_state) {
         '#title' => !$exposed ? $this->t('Min') : $this->exposedInfo()['label'],
         '#size' => 30,
         '#default_value' => $this->value['min'],
-        '#description' => !$exposed ? '' : $this->exposedInfo()['description']
+        '#description' => !$exposed ? '' : $this->exposedInfo()['description'],
       );
       $form['value']['max'] = array(
         '#type' => 'textfield',
@@ -227,7 +227,7 @@ protected function valueForm(&$form, FormStateInterface $form_state) {
         // Ensure there is something in the 'value'.
         $form['value'] = array(
           '#type' => 'value',
-          '#value' => NULL
+          '#value' => NULL,
         );
       }
     }
diff --git a/core/modules/views/src/Plugin/views/filter/StringFilter.php b/core/modules/views/src/Plugin/views/filter/StringFilter.php
index 10c4070..3d19f58 100644
--- a/core/modules/views/src/Plugin/views/filter/StringFilter.php
+++ b/core/modules/views/src/Plugin/views/filter/StringFilter.php
@@ -225,7 +225,7 @@ protected function valueForm(&$form, FormStateInterface $form_state) {
       // Ensure there is something in the 'value'.
       $form['value'] = array(
         '#type' => 'value',
-        '#value' => NULL
+        '#value' => NULL,
       );
     }
   }
diff --git a/core/modules/views/src/Plugin/views/join/JoinPluginBase.php b/core/modules/views/src/Plugin/views/join/JoinPluginBase.php
index 37c1e06..8a4529a 100644
--- a/core/modules/views/src/Plugin/views/join/JoinPluginBase.php
+++ b/core/modules/views/src/Plugin/views/join/JoinPluginBase.php
@@ -225,7 +225,7 @@ public function __construct(array $configuration, $plugin_id, $plugin_definition
     // Merge in some default values.
     $configuration += array(
       'type' => 'LEFT',
-      'extra_operator' => 'AND'
+      'extra_operator' => 'AND',
     );
     $this->configuration = $configuration;
 
diff --git a/core/modules/views/src/Plugin/views/query/Sql.php b/core/modules/views/src/Plugin/views/query/Sql.php
index cfe593c..3238328 100644
--- a/core/modules/views/src/Plugin/views/query/Sql.php
+++ b/core/modules/views/src/Plugin/views/query/Sql.php
@@ -154,7 +154,7 @@ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$o
       'link' => NULL,
       'table' => $base_table,
       'alias' => $base_table,
-      'base' => $base_table
+      'base' => $base_table,
     );
 
     // init the table queue with our primary table.
@@ -990,7 +990,7 @@ public function addOrderBy($table, $field = NULL, $order = 'ASC', $alias = '', $
 
     $this->orderby[] = array(
       'field' => $as,
-      'direction' => strtoupper($order)
+      'direction' => strtoupper($order),
     );
   }
 
@@ -1738,7 +1738,7 @@ public function getAggregationInfo() {
           'filter' => 'groupby_numeric',
           'sort' => 'groupby_numeric',
         ),
-      )
+      ),
     );
   }
 
diff --git a/core/modules/views/src/Plugin/views/relationship/EntityReverse.php b/core/modules/views/src/Plugin/views/relationship/EntityReverse.php
index 42d6fa1..b6e5c80 100644
--- a/core/modules/views/src/Plugin/views/relationship/EntityReverse.php
+++ b/core/modules/views/src/Plugin/views/relationship/EntityReverse.php
@@ -53,7 +53,7 @@ public function query() {
       'left_field' => $left_field,
       'table' => $this->definition['field table'],
       'field' => $this->definition['field field'],
-      'adjusted' => TRUE
+      'adjusted' => TRUE,
     );
     if (!empty($this->options['required'])) {
       $first['type'] = 'INNER';
@@ -81,7 +81,7 @@ public function query() {
       'left_field' => 'entity_id',
       'table' => $this->definition['base'],
       'field' => $this->definition['base field'],
-      'adjusted' => TRUE
+      'adjusted' => TRUE,
     );
 
     if (!empty($this->options['required'])) {
diff --git a/core/modules/views/src/Tests/DefaultViewsTest.php b/core/modules/views/src/Tests/DefaultViewsTest.php
index 5c1f601..b519c9f 100644
--- a/core/modules/views/src/Tests/DefaultViewsTest.php
+++ b/core/modules/views/src/Tests/DefaultViewsTest.php
@@ -97,7 +97,7 @@ protected function setUp() {
         'status' => CommentInterface::PUBLISHED,
         'entity_id' => $node->id(),
         'entity_type' => 'node',
-        'field_name' => 'comment'
+        'field_name' => 'comment',
       );
       Comment::create($comment)->save();
     }
diff --git a/core/modules/views/src/Tests/Entity/FieldEntityTest.php b/core/modules/views/src/Tests/Entity/FieldEntityTest.php
index 215b631..f44df0e 100644
--- a/core/modules/views/src/Tests/Entity/FieldEntityTest.php
+++ b/core/modules/views/src/Tests/Entity/FieldEntityTest.php
@@ -65,7 +65,7 @@ public function testGetEntity() {
       'uid' => $account->id(),
       'entity_id' => $node->id(),
       'entity_type' => 'node',
-      'field_name' => 'comment'
+      'field_name' => 'comment',
     ));
     $comment->save();
 
diff --git a/core/modules/views/src/Tests/Entity/FilterEntityBundleTest.php b/core/modules/views/src/Tests/Entity/FilterEntityBundleTest.php
index adbbb6f..72a25b7 100644
--- a/core/modules/views/src/Tests/Entity/FilterEntityBundleTest.php
+++ b/core/modules/views/src/Tests/Entity/FilterEntityBundleTest.php
@@ -81,7 +81,7 @@ public function testFilterEntity() {
         'node.type.test_bundle_2',
       ],
       'module' => [
-        'node'
+        'node',
       ],
     ];
     $this->assertIdentical($expected, $view->getDependencies());
diff --git a/core/modules/views/src/Tests/FieldApiDataTest.php b/core/modules/views/src/Tests/FieldApiDataTest.php
index 086f179..75e5a71 100644
--- a/core/modules/views/src/Tests/FieldApiDataTest.php
+++ b/core/modules/views/src/Tests/FieldApiDataTest.php
@@ -23,7 +23,7 @@ protected function setUp() {
       'field_name' => $field_names[0],
       'entity_type' => 'node',
       'bundle' => 'page',
-      'label' => 'GiraffeA" label'
+      'label' => 'GiraffeA" label',
     );
     FieldConfig::create($field)->save();
 
@@ -33,7 +33,7 @@ protected function setUp() {
       'field_name' => $field_names[0],
       'entity_type' => 'node',
       'bundle' => 'article',
-      'label' => 'GiraffeB" label'
+      'label' => 'GiraffeB" label',
     ])->save();
 
     // Now create some example nodes/users for the view result.
@@ -103,7 +103,7 @@ function testViewsData() {
       'field_name' => $this->fieldStorages[0]->getName(),
       'entity_type' => 'node',
       'bundle' => 'news',
-      'label' => 'GiraffeB" label'
+      'label' => 'GiraffeB" label',
     ])->save();
     $this->container->get('views.views_data')->clear();
     $data = $this->getViewsData();
diff --git a/core/modules/views/src/Tests/GlossaryTest.php b/core/modules/views/src/Tests/GlossaryTest.php
index 508a4eb..28f740e 100644
--- a/core/modules/views/src/Tests/GlossaryTest.php
+++ b/core/modules/views/src/Tests/GlossaryTest.php
@@ -40,7 +40,7 @@ public function testGlossaryView() {
     $nodes_by_char = [];
     foreach ($nodes_per_char as $char => $count) {
       $setting = array(
-        'type' => $type->id()
+        'type' => $type->id(),
       );
       for ($i = 0; $i < $count; $i++) {
         $node = $setting;
diff --git a/core/modules/views/src/Tests/Handler/AreaTest.php b/core/modules/views/src/Tests/Handler/AreaTest.php
index 454ab58..57cf8d6 100644
--- a/core/modules/views/src/Tests/Handler/AreaTest.php
+++ b/core/modules/views/src/Tests/Handler/AreaTest.php
@@ -40,8 +40,8 @@ protected function viewsData() {
       'title' => 'Test Example area',
       'help' => 'A area handler which just exists for tests.',
       'area' => array(
-        'id' => 'test_example'
-      )
+        'id' => 'test_example',
+      ),
     );
 
     return $data;
diff --git a/core/modules/views/src/Tests/Handler/FieldWebTest.php b/core/modules/views/src/Tests/Handler/FieldWebTest.php
index a6ff1b4..e203766 100644
--- a/core/modules/views/src/Tests/Handler/FieldWebTest.php
+++ b/core/modules/views/src/Tests/Handler/FieldWebTest.php
@@ -483,7 +483,7 @@ public function testFieldClasses() {
       'p',
       'strong',
       'em',
-      'marquee'
+      'marquee',
     );
 
     $this->assertEqual(array_keys($element_types), $expected_elements);
@@ -580,28 +580,28 @@ public function testTextRendering() {
       array(
         'value' => $random_text_8,
         'trimmed_value' => '',
-        'trimmed' => TRUE
+        'trimmed' => TRUE,
       ),
       // Create one string with two words which doesn't fit both into the limit.
       array(
         'value' => $random_text_8 . ' ' . $random_text_8,
         'trimmed_value' => '',
-        'trimmed' => TRUE
+        'trimmed' => TRUE,
       ),
       // Create one string which contains of two words, of which only the first
       // fits into the limit.
       array(
         'value' => $random_text_4 . ' ' . $random_text_8,
         'trimmed_value' => $random_text_4,
-        'trimmed' => TRUE
+        'trimmed' => TRUE,
       ),
       // Create one string which contains of two words, of which both fits into
       // the limit.
       array(
         'value' => $random_text_2 . ' ' . $random_text_2,
         'trimmed_value' => $random_text_2 . ' ' . $random_text_2,
-        'trimmed' => FALSE
-      )
+        'trimmed' => FALSE,
+      ),
     );
 
     foreach ($tuples as $tuple) {
diff --git a/core/modules/views/src/Tests/Plugin/ArgumentDefaultTest.php b/core/modules/views/src/Tests/Plugin/ArgumentDefaultTest.php
index 0708b86..798636e 100644
--- a/core/modules/views/src/Tests/Plugin/ArgumentDefaultTest.php
+++ b/core/modules/views/src/Tests/Plugin/ArgumentDefaultTest.php
@@ -52,9 +52,9 @@ public function testArgumentDefaultPlugin() {
     $options = array(
       'default_argument_type' => 'argument_default_test',
       'default_argument_options' => array(
-        'value' => 'John'
+        'value' => 'John',
       ),
-      'default_action' => 'default'
+      'default_action' => 'default',
     );
     $id = $view->addHandler('default', 'argument', 'views_test_data', 'name', $options);
     $view->initHandlers();
diff --git a/core/modules/views/src/Tests/Plugin/CacheWebTest.php b/core/modules/views/src/Tests/Plugin/CacheWebTest.php
index f41e786..d1dcc36 100644
--- a/core/modules/views/src/Tests/Plugin/CacheWebTest.php
+++ b/core/modules/views/src/Tests/Plugin/CacheWebTest.php
@@ -50,8 +50,8 @@ public function testCacheOutputOnPage() {
       'type' => 'time',
       'options' => array(
         'results_lifespan' => '3600',
-        'output_lifespan' => '3600'
-      )
+        'output_lifespan' => '3600',
+      ),
     ));
     $view->save();
     $this->container->get('router.builder')->rebuildIfNeeded();
@@ -69,7 +69,7 @@ public function testCacheOutputOnPage() {
       'config:user.role.anonymous',
       'config:views.view.test_display',
       'node_list',
-      'rendered'
+      'rendered',
     ];
     $this->assertCacheTags($cache_tags);
 
diff --git a/core/modules/views/src/Tests/Plugin/DisplayTest.php b/core/modules/views/src/Tests/Plugin/DisplayTest.php
index 3bbfd66..372c50a 100644
--- a/core/modules/views/src/Tests/Plugin/DisplayTest.php
+++ b/core/modules/views/src/Tests/Plugin/DisplayTest.php
@@ -346,7 +346,7 @@ public function testOutputIsEmpty() {
       'table' => 'views_test_data',
       'field' => 'id',
       'id' => 'id',
-      'value' => array('value' => 7297)
+      'value' => array('value' => 7297),
     );
     $view->setHandler('default', 'filter', 'id', $item);
     $this->executeView($view);
diff --git a/core/modules/views/src/Tests/Plugin/ExposedFormTest.php b/core/modules/views/src/Tests/Plugin/ExposedFormTest.php
index 0204468..5d7995c 100644
--- a/core/modules/views/src/Tests/Plugin/ExposedFormTest.php
+++ b/core/modules/views/src/Tests/Plugin/ExposedFormTest.php
@@ -102,9 +102,9 @@ public function testExposedIdentifier() {
           'label' => 'Content: Type',
           'operator_id' => 'type_op',
           'reduce' => FALSE,
-          'description' => 'Exposed overridden description'
+          'description' => 'Exposed overridden description',
         ],
-      ]
+      ],
     ));
     $view->save();
     $this->drupalGet('test_exposed_form_buttons', array('query' => array($identifier => 'article')));
@@ -129,9 +129,9 @@ public function testExposedIdentifier() {
           'label' => 'Content: Type',
           'operator_id' => 'type_op',
           'reduce' => FALSE,
-          'description' => 'Exposed overridden description'
+          'description' => 'Exposed overridden description',
         ],
-      ]
+      ],
     ));
     $this->executeView($view);
 
@@ -343,7 +343,7 @@ public function testExposedSortAndItemsPerPage() {
       'entity_test_view_grants',
       'theme',
       'url.query_args',
-      'languages:language_content'
+      'languages:language_content',
     ];
 
     $this->drupalGet('test_exposed_form_sort_items_per_page');
diff --git a/core/modules/views/src/Tests/Plugin/PagerTest.php b/core/modules/views/src/Tests/Plugin/PagerTest.php
index f922748..0548427 100644
--- a/core/modules/views/src/Tests/Plugin/PagerTest.php
+++ b/core/modules/views/src/Tests/Plugin/PagerTest.php
@@ -417,7 +417,7 @@ public function testPagerLocale() {
       // Create source string.
       $source = $this->localeStorage->createString(
         array(
-          'source' => $label
+          'source' => $label,
         )
       );
       $source->save();
diff --git a/core/modules/views/src/Tests/Update/ArgumentPlaceholderUpdatePathTest.php b/core/modules/views/src/Tests/Update/ArgumentPlaceholderUpdatePathTest.php
index c42cf19..1741611 100644
--- a/core/modules/views/src/Tests/Update/ArgumentPlaceholderUpdatePathTest.php
+++ b/core/modules/views/src/Tests/Update/ArgumentPlaceholderUpdatePathTest.php
@@ -20,7 +20,7 @@ class ArgumentPlaceholderUpdatePathTest extends UpdatePathTestBase {
   protected function setDatabaseDumpFiles() {
     $this->databaseDumpFiles = [
       __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz',
-      __DIR__ . '/../../../tests/fixtures/update/argument-placeholder.php'
+      __DIR__ . '/../../../tests/fixtures/update/argument-placeholder.php',
     ];
   }
 
diff --git a/core/modules/views/src/Tests/ViewElementTest.php b/core/modules/views/src/Tests/ViewElementTest.php
index 2ec2e67..c56c567 100644
--- a/core/modules/views/src/Tests/ViewElementTest.php
+++ b/core/modules/views/src/Tests/ViewElementTest.php
@@ -75,7 +75,7 @@ public function testViewElement() {
         'table' => 'views_test_data',
         'field' => 'age',
         'plugin_id' => 'numeric',
-      )
+      ),
     ));
     $view->save();
 
@@ -144,7 +144,7 @@ public function testViewElementEmbed() {
         'table' => 'views_test_data',
         'field' => 'age',
         'plugin_id' => 'numeric',
-      )
+      ),
     ));
     $view->save();
 
diff --git a/core/modules/views/src/Tests/ViewTestData.php b/core/modules/views/src/Tests/ViewTestData.php
index d54902d..97ba598 100644
--- a/core/modules/views/src/Tests/ViewTestData.php
+++ b/core/modules/views/src/Tests/ViewTestData.php
@@ -105,7 +105,7 @@ public static function schemaDefinition() {
       ),
       'primary key' => array('id'),
       'unique keys' => array(
-        'name' => array('name')
+        'name' => array('name'),
       ),
       'indexes' => array(
         'ages' => array('age'),
diff --git a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/query/QueryTest.php b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/query/QueryTest.php
index 449474a..dd9d6ce 100644
--- a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/query/QueryTest.php
+++ b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/query/QueryTest.php
@@ -60,7 +60,7 @@ public function addWhere($group, $field, $value = NULL, $operator = NULL) {
     $this->conditions[] = array(
       'field' => $field,
       'value' => $value,
-      'operator' => $operator
+      'operator' => $operator,
     );
 
   }
diff --git a/core/modules/views/tests/modules/views_test_data/views_test_data.install b/core/modules/views/tests/modules/views_test_data/views_test_data.install
index eeb5faa..020fd71 100644
--- a/core/modules/views/tests/modules/views_test_data/views_test_data.install
+++ b/core/modules/views/tests/modules/views_test_data/views_test_data.install
@@ -29,7 +29,7 @@ function views_test_data_install() {
     'p' => 'P',
     'strong' => 'STRONG',
     'em' => 'EM',
-    'marquee' => 'MARQUEE'
+    'marquee' => 'MARQUEE',
   );
   \Drupal::configFactory()->getEditable('views.settings')->set('field_rewrite_elements', $values)->save();
 }
diff --git a/core/modules/views/tests/src/Kernel/Entity/ViewEntityDependenciesTest.php b/core/modules/views/tests/src/Kernel/Entity/ViewEntityDependenciesTest.php
index f97659a..e03025c 100644
--- a/core/modules/views/tests/src/Kernel/Entity/ViewEntityDependenciesTest.php
+++ b/core/modules/views/tests/src/Kernel/Entity/ViewEntityDependenciesTest.php
@@ -90,7 +90,7 @@ public function testGetDependencies() {
         'comment',
         'node',
         'user',
-      ]
+      ],
     ];
     // Tests dependencies of relationships.
     $expected['test_relationship_dependency'] = [
@@ -98,7 +98,7 @@ public function testGetDependencies() {
         'comment',
         'node',
         'user',
-      ]
+      ],
     ];
     $expected['test_plugin_dependencies'] = [
       'module' => [
@@ -109,24 +109,24 @@ public function testGetDependencies() {
         'RowTest',
         'StaticTest',
         'StyleTest',
-      ]
+      ],
     ];
 
     $expected['test_argument_dependency'] = [
       'config' => [
         'core.entity_view_mode.node.teaser',
-        'field.storage.node.body'
+        'field.storage.node.body',
       ],
       'content' => [
         'ArgumentDefaultTest',
-        'ArgumentValidatorTest'
+        'ArgumentValidatorTest',
       ],
       'module' => [
         'node',
         // The argument handler is provided by the search module.
         'search',
         'text',
-        'user'
+        'user',
       ],
     ];
 
@@ -146,24 +146,24 @@ public function testGetDependencies() {
       ],
       'content' => [
         'ArgumentDefaultTest',
-        'ArgumentValidatorTest'
+        'ArgumentValidatorTest',
       ],
       'module' => [
         'core',
         'node',
         'search',
         'user',
-        'views'
+        'views',
       ],
     ];
     $expected_display['page'] = [
       'config' => [
-        'field.storage.node.body'
+        'field.storage.node.body',
       ],
       'module' => [
         'core',
         'text',
-        'views'
+        'views',
       ],
     ];
 
diff --git a/core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php b/core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php
index 12f68ed..b64eed2 100644
--- a/core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php
@@ -62,7 +62,7 @@ function testSimple() {
         'table' => 'views',
         'field' => 'counter',
         'relationship' => 'none',
-        'counter_start' => $rand_start
+        'counter_start' => $rand_start,
       ),
       'name' => array(
         'id' => 'name',
diff --git a/core/modules/views/tests/src/Kernel/Handler/FieldFieldTest.php b/core/modules/views/tests/src/Kernel/Handler/FieldFieldTest.php
index 1a9df82..9aa8f6c 100644
--- a/core/modules/views/tests/src/Kernel/Handler/FieldFieldTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/FieldFieldTest.php
@@ -82,7 +82,7 @@ protected function setUp($import_test_views = TRUE) {
       $this->testUsers[$i] = User::create([
         'name' => 'test ' . $i,
         'timezone' => User::getAllowedTimezones()[$i],
-        'created' => REQUEST_TIME - rand(0, 3600)
+        'created' => REQUEST_TIME - rand(0, 3600),
       ]);
       $this->testUsers[$i]->save();
     }
@@ -279,8 +279,8 @@ public function testAttachedRender() {
     $render = $executable->display_handler->render();
     $expected_attachments = [
       'library' => [
-        'views/views.module'
-      ]
+        'views/views.module',
+      ],
     ];
     foreach ($this->entities as $entity) {
       $expected_attachments['library'][] = 'foo/fake_library';
diff --git a/core/modules/views/tests/src/Kernel/Handler/FieldKernelTest.php b/core/modules/views/tests/src/Kernel/Handler/FieldKernelTest.php
index a57e478..c7f76e6 100644
--- a/core/modules/views/tests/src/Kernel/Handler/FieldKernelTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/FieldKernelTest.php
@@ -748,7 +748,7 @@ public function testTrimText() {
       'khoảng cách từ đại lí đến',
       'của hãng bao gồm ba dòng',
       'сд асд асд ас',
-      'асд асд асд ас'
+      'асд асд асд ас',
     );
     // Just test maxlength without word boundary.
     $alter = array(
diff --git a/core/modules/views/tests/src/Kernel/Plugin/ArgumentValidatorTest.php b/core/modules/views/tests/src/Kernel/Plugin/ArgumentValidatorTest.php
index cac7985..6536f3e 100644
--- a/core/modules/views/tests/src/Kernel/Plugin/ArgumentValidatorTest.php
+++ b/core/modules/views/tests/src/Kernel/Plugin/ArgumentValidatorTest.php
@@ -41,8 +41,8 @@ public function testArgumentValidatorPlugin() {
     $options = [
       'specify_validation' => TRUE,
       'validate' => [
-        'type' => 'argument_validator_test'
-      ]
+        'type' => 'argument_validator_test',
+      ],
     ];
     $id = $view->addHandler('default', 'argument', 'views_test_data', 'name', $options);
     $view->initHandlers();
diff --git a/core/modules/views/tests/src/Kernel/Plugin/BlockDependenciesTest.php b/core/modules/views/tests/src/Kernel/Plugin/BlockDependenciesTest.php
index 6b5de6e..cdfed50 100644
--- a/core/modules/views/tests/src/Kernel/Plugin/BlockDependenciesTest.php
+++ b/core/modules/views/tests/src/Kernel/Plugin/BlockDependenciesTest.php
@@ -37,7 +37,7 @@ public function testExposedBlock() {
     $expected = array(
       'config' => array('views.view.test_exposed_block'),
       'module' => array('views'),
-      'theme' => array('stark')
+      'theme' => array('stark'),
     );
     $this->assertIdentical($expected, $dependencies);
   }
@@ -53,7 +53,7 @@ public function testViewsBlock() {
     $expected = array(
       'config' => array('views.view.content_recent'),
       'module' => array('views'),
-      'theme' => array('stark')
+      'theme' => array('stark'),
     );
     $this->assertIdentical($expected, $dependencies);
   }
diff --git a/core/modules/views/tests/src/Kernel/Plugin/CacheTest.php b/core/modules/views/tests/src/Kernel/Plugin/CacheTest.php
index 31805d8..e00109b 100644
--- a/core/modules/views/tests/src/Kernel/Plugin/CacheTest.php
+++ b/core/modules/views/tests/src/Kernel/Plugin/CacheTest.php
@@ -75,7 +75,7 @@ public function testTimeResultCaching() {
       'options' => array(
         'results_lifespan' => '3600',
         'output_lifespan' => '3600',
-      )
+      ),
     ));
 
     // Test the default (non-paged) display.
@@ -189,7 +189,7 @@ public function testTimeResultCachingWithPager() {
       'options' => array(
         'results_lifespan' => '3600',
         'output_lifespan' => '3600',
-      )
+      ),
     ));
 
     $mapping = ['views_test_data_name' => 'name'];
@@ -272,7 +272,7 @@ function testHeaderStorage() {
       'type' => 'time',
       'options' => array(
         'output_lifespan' => '3600',
-      )
+      ),
     ));
 
     $output = $view->buildRenderable();
@@ -331,7 +331,7 @@ public function testCacheData() {
       'options' => array(
         'results_lifespan' => '3600',
         'output_lifespan' => '3600',
-      )
+      ),
     ));
     $this->executeView($view);
 
diff --git a/core/modules/views/tests/src/Kernel/Plugin/Display/ViewsMenuLinkTest.php b/core/modules/views/tests/src/Kernel/Plugin/Display/ViewsMenuLinkTest.php
index 9e05ebc..9925c96 100644
--- a/core/modules/views/tests/src/Kernel/Plugin/Display/ViewsMenuLinkTest.php
+++ b/core/modules/views/tests/src/Kernel/Plugin/Display/ViewsMenuLinkTest.php
@@ -17,7 +17,7 @@ class ViewsMenuLinkTest extends ViewsKernelTestBase {
   public static $modules = [
     'menu_ui',
     'user',
-    'views'
+    'views',
   ];
 
   /**
diff --git a/core/modules/views/tests/src/Kernel/Plugin/JoinTest.php b/core/modules/views/tests/src/Kernel/Plugin/JoinTest.php
index db0262a..2e6603e 100644
--- a/core/modules/views/tests/src/Kernel/Plugin/JoinTest.php
+++ b/core/modules/views/tests/src/Kernel/Plugin/JoinTest.php
@@ -130,12 +130,12 @@ public function testBasePlugin() {
     $configuration['extra'] = array(
       array(
         'field' => 'name',
-        'value' => $random_name_1
+        'value' => $random_name_1,
       ),
       array(
         'field' => 'name',
         'value' => $random_name_2,
-        'operator' => '<>'
+        'operator' => '<>',
       ),
     );
     $join = $this->manager->createInstance('standard', $configuration);
@@ -157,7 +157,7 @@ public function testBasePlugin() {
     $configuration['extra'] = array(
       array(
         'field' => 'name',
-        'value' => $random_name_1
+        'value' => $random_name_1,
       ),
       array(
         'field' => 'name',
@@ -179,7 +179,7 @@ public function testBasePlugin() {
     $configuration['extra'] = array(
       array(
         'field' => 'langcode',
-        'value' => 'en'
+        'value' => 'en',
       ),
       array(
         'left_field' => 'status',
@@ -188,7 +188,7 @@ public function testBasePlugin() {
       ),
       array(
         'field' => 'name',
-        'left_field' => 'name'
+        'left_field' => 'name',
       ),
     );
     $join = $this->manager->createInstance('standard', $configuration);
diff --git a/core/modules/views/tests/src/Kernel/Plugin/RelationshipJoinTestBase.php b/core/modules/views/tests/src/Kernel/Plugin/RelationshipJoinTestBase.php
index cf604f9..87bba77 100644
--- a/core/modules/views/tests/src/Kernel/Plugin/RelationshipJoinTestBase.php
+++ b/core/modules/views/tests/src/Kernel/Plugin/RelationshipJoinTestBase.php
@@ -53,7 +53,7 @@ protected function schemaDefinition() {
       'type' => 'int',
       'unsigned' => TRUE,
       'not null' => TRUE,
-      'default' => 0
+      'default' => 0,
     );
 
     return $schema;
@@ -72,8 +72,8 @@ protected function viewsData() {
       'relationship' => array(
         'id' => 'standard',
         'base' => 'users_field_data',
-        'base field' => 'uid'
-      )
+        'base field' => 'uid',
+      ),
     );
 
     return $data;
diff --git a/core/modules/views/tests/src/Kernel/Plugin/RelationshipTest.php b/core/modules/views/tests/src/Kernel/Plugin/RelationshipTest.php
index 846da66..97f541d 100644
--- a/core/modules/views/tests/src/Kernel/Plugin/RelationshipTest.php
+++ b/core/modules/views/tests/src/Kernel/Plugin/RelationshipTest.php
@@ -78,8 +78,8 @@ public function testRelationshipQuery() {
     $expected_result = array(
       array(
         'name' => 'John',
-        'uid' => 1
-      )
+        'uid' => 1,
+      ),
     );
     $this->assertIdenticalResultset($view, $expected_result, $this->columnMap);
     $view->destroy();
@@ -101,8 +101,8 @@ public function testRelationshipQuery() {
     $expected_result = array(
       array(
         'name' => 'John',
-        'uid' => 1
-      )
+        'uid' => 1,
+      ),
     );
     $this->assertIdenticalResultset($view, $expected_result, $this->columnMap);
     $view->destroy();
diff --git a/core/modules/views/tests/src/Kernel/ViewStorageTest.php b/core/modules/views/tests/src/Kernel/ViewStorageTest.php
index fa264bd..65ecb22 100644
--- a/core/modules/views/tests/src/Kernel/ViewStorageTest.php
+++ b/core/modules/views/tests/src/Kernel/ViewStorageTest.php
@@ -183,22 +183,22 @@ protected function displayMethodTests() {
         'display_plugin' => 'page',
         'id' => 'page_2',
         'display_title' => 'Page 1',
-        'position' => 1
+        'position' => 1,
       ),
       'feed_1' => array(
         'display_options' => array('path' => 'test.xml'),
         'display_plugin' => 'feed',
         'id' => 'feed',
         'display_title' => 'Feed',
-        'position' => 2
+        'position' => 2,
       ),
       'page_2' => array(
         'display_options' => array('path' => 'test/%/extra'),
         'display_plugin' => 'page',
         'id' => 'page_2',
         'display_title' => 'Page 2',
-        'position' => 3
-      )
+        'position' => 3,
+      ),
     );
     $view = $this->controller->create($config);
 
@@ -275,8 +275,8 @@ protected function displayMethodTests() {
 
     $options = array(
       'alter' => array(
-        'text' => $this->randomMachineName()
-      )
+        'text' => $this->randomMachineName(),
+      ),
     );
     $id2 = $view->addHandler($display_id, 'field', 'views_test_data', 'name', $options);
     $item2 = $view->getHandler($display_id, 'field', 'name');
@@ -296,7 +296,7 @@ protected function displayMethodTests() {
     $item = array(
       'alter' => array(
         'text' => $this->randomMachineName(),
-      )
+      ),
     ) + $item1;
     $expected_items[$id1] = $item;
     $view->setHandler($display_id, 'field', $id1, $item);
diff --git a/core/modules/views/tests/src/Unit/EntityViewsDataTest.php b/core/modules/views/tests/src/Unit/EntityViewsDataTest.php
index 245b8f1..722da2f 100644
--- a/core/modules/views/tests/src/Unit/EntityViewsDataTest.php
+++ b/core/modules/views/tests/src/Unit/EntityViewsDataTest.php
@@ -293,7 +293,7 @@ public function testRevisionTableWithRevisionDataTableAndDataTable() {
     $this->assertCount(1, $revision_field_data['table']['join']);
     $this->assertEquals([
       'entity_test_mul_property_data' => [
-        'left_field' => 'revision_id', 'field' => 'revision_id', 'type' => 'INNER'
+        'left_field' => 'revision_id', 'field' => 'revision_id', 'type' => 'INNER',
       ],
     ], $revision_field_data['table']['join']);
 
@@ -301,7 +301,7 @@ public function testRevisionTableWithRevisionDataTableAndDataTable() {
     $this->assertCount(1, $revision_base_data['table']['join']);
     $this->assertEquals([
       'entity_test_mulrev_property_revision' => [
-        'left_field' => 'revision_id', 'field' => 'revision_id', 'type' => 'INNER'
+        'left_field' => 'revision_id', 'field' => 'revision_id', 'type' => 'INNER',
       ],
     ], $revision_base_data['table']['join']);
 
@@ -337,7 +337,7 @@ public function testRevisionTableWithRevisionDataTable() {
     $this->assertCount(1, $revision_field_data['table']['join']);
     $this->assertEquals([
       'entity_test_mulrev_field_data' => [
-        'left_field' => 'revision_id', 'field' => 'revision_id', 'type' => 'INNER'
+        'left_field' => 'revision_id', 'field' => 'revision_id', 'type' => 'INNER',
       ],
     ], $revision_field_data['table']['join']);
 
@@ -345,7 +345,7 @@ public function testRevisionTableWithRevisionDataTable() {
     $this->assertCount(1, $revision_base_data['table']['join']);
     $this->assertEquals([
       'entity_test_mulrev_property_revision' => [
-        'left_field' => 'revision_id', 'field' => 'revision_id', 'type' => 'INNER'
+        'left_field' => 'revision_id', 'field' => 'revision_id', 'type' => 'INNER',
       ],
     ], $revision_base_data['table']['join']);
     $this->assertFalse(isset($data['data_table']));
@@ -438,7 +438,7 @@ public function testBaseTableFields() {
         ->setLabel('ID')
         ->setDescription('The ID of the user entity.')
         ->setReadOnly(TRUE)
-        ->setSetting('unsigned', TRUE)
+        ->setSetting('unsigned', TRUE),
     ];
     $this->entityManager->expects($this->any())
       ->method('getBaseFieldDefinitions')
@@ -555,7 +555,7 @@ public function testDataTableFields() {
         ->setLabel('ID')
         ->setDescription('The ID of the user entity.')
         ->setReadOnly(TRUE)
-        ->setSetting('unsigned', TRUE)
+        ->setSetting('unsigned', TRUE),
     ];
     $entity_test_type = new ConfigEntityType(['id' => 'entity_test_bundle']);
 
@@ -706,7 +706,7 @@ public function testRevisionTableFields() {
         ->setLabel('ID')
         ->setDescription('The ID of the user entity.')
         ->setReadOnly(TRUE)
-        ->setSetting('unsigned', TRUE)
+        ->setSetting('unsigned', TRUE),
     ];
     $this->entityManager->expects($this->any())
       ->method('getBaseFieldDefinitions')
diff --git a/core/modules/views/tests/src/Unit/Plugin/Derivative/ViewsLocalTaskTest.php b/core/modules/views/tests/src/Unit/Plugin/Derivative/ViewsLocalTaskTest.php
index af9a683..5b8b45f 100644
--- a/core/modules/views/tests/src/Unit/Plugin/Derivative/ViewsLocalTaskTest.php
+++ b/core/modules/views/tests/src/Unit/Plugin/Derivative/ViewsLocalTaskTest.php
@@ -39,7 +39,7 @@ class ViewsLocalTaskTest extends UnitTestCase {
 
   protected $baseDefinition = array(
     'class' => '\Drupal\views\Plugin\Menu\LocalTask\ViewsLocalTask',
-    'deriver' => '\Drupal\views\Plugin\Derivative\ViewsLocalTask'
+    'deriver' => '\Drupal\views\Plugin\Derivative\ViewsLocalTask',
   );
 
   /**
diff --git a/core/modules/views/tests/src/Unit/Plugin/HandlerBaseTest.php b/core/modules/views/tests/src/Unit/Plugin/HandlerBaseTest.php
index 12b7ca1..84b5d89 100644
--- a/core/modules/views/tests/src/Unit/Plugin/HandlerBaseTest.php
+++ b/core/modules/views/tests/src/Unit/Plugin/HandlerBaseTest.php
@@ -44,7 +44,7 @@ public function testGetEntityTypeForFieldOnBaseTable() {
       ->method('get')
       ->with('test_entity_type_table')
       ->willReturn([
-        'table' => ['entity type' => 'test_entity_type']
+        'table' => ['entity type' => 'test_entity_type'],
       ]);
     $handler->setViewsData($this->viewsData);
 
diff --git a/core/modules/views/tests/src/Unit/Plugin/area/ViewTest.php b/core/modules/views/tests/src/Unit/Plugin/area/ViewTest.php
index f472ab2..5f542a8 100644
--- a/core/modules/views/tests/src/Unit/Plugin/area/ViewTest.php
+++ b/core/modules/views/tests/src/Unit/Plugin/area/ViewTest.php
@@ -54,7 +54,7 @@ public function testCalculateDependencies() {
       ->method('load')
       ->willReturnMap([
         ['this', $view_this],
-        ['other', $view_other]
+        ['other', $view_other],
     ]);
     $this->viewHandler->view->storage = $view_this;
 
diff --git a/core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php b/core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php
index 90bd2cc..8f4e2da 100644
--- a/core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php
+++ b/core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php
@@ -118,7 +118,7 @@ public function testConstruct() {
   public function testDefineOptionsWithNoOptions() {
     $definition = [
       'entity_type' => 'test_entity',
-      'field_name' => 'title'
+      'field_name' => 'title',
     ];
     $handler = new Field([], 'field', $definition, $this->entityManager, $this->formatterPluginManager, $this->fieldTypePluginManager, $this->languageManager, $this->renderer);
 
@@ -147,7 +147,7 @@ public function testDefineOptionsWithDefaultFormatterOnFieldDefinition() {
       'entity_type' => 'test_entity',
       'field_name' => 'title',
       'default_formatter' => 'test_example',
-      'default_formatter_settings' => ['link_to_entity' => TRUE]
+      'default_formatter_settings' => ['link_to_entity' => TRUE],
     ];
     $handler = new Field([], 'field', $definition, $this->entityManager, $this->formatterPluginManager, $this->fieldTypePluginManager, $this->languageManager, $this->renderer);
 
@@ -174,7 +174,7 @@ public function testDefineOptionsWithDefaultFormatterOnFieldType() {
     $definition = [
       'entity_type' => 'test_entity',
       'field_name' => 'title',
-      'default_formatter_settings' => ['link_to_entity' => TRUE]
+      'default_formatter_settings' => ['link_to_entity' => TRUE],
     ];
     $handler = new Field([], 'field', $definition, $this->entityManager, $this->formatterPluginManager, $this->fieldTypePluginManager, $this->languageManager, $this->renderer);
 
@@ -200,7 +200,7 @@ public function testDefineOptionsWithDefaultFormatterOnFieldType() {
   public function testCalculateDependenciesWithBaseField() {
     $definition = [
       'entity_type' => 'test_entity',
-      'field_name' => 'title'
+      'field_name' => 'title',
     ];
     $handler = new Field([], 'field', $definition, $this->entityManager, $this->formatterPluginManager, $this->fieldTypePluginManager, $this->languageManager, $this->renderer);
 
@@ -222,7 +222,7 @@ public function testCalculateDependenciesWithBaseField() {
   public function testCalculateDependenciesWithConfiguredField() {
     $definition = [
       'entity_type' => 'test_entity',
-      'field_name' => 'body'
+      'field_name' => 'body',
     ];
     $handler = new Field([], 'field', $definition, $this->entityManager, $this->formatterPluginManager, $this->fieldTypePluginManager, $this->languageManager, $this->renderer);
 
@@ -263,7 +263,7 @@ public function testAccess() {
       ->method('get')
       ->with('test_entity_table')
       ->willReturn([
-        'table' => ['entity type' => 'test_entity']
+        'table' => ['entity type' => 'test_entity'],
       ]);
 
     $access_control_handler = $this->getMock('Drupal\Core\Entity\EntityAccessControlHandlerInterface');
diff --git a/core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php b/core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php
index f137105..e03a39d 100644
--- a/core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php
+++ b/core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php
@@ -195,7 +195,7 @@ public function providerTestHasMoreRecords() {
       // Now we are on the second page, which has just a single one left.
       array(5, 6, 1, FALSE),
       // Increase the total items, so we have some available on the third page.
-      array(5, 12, 1, TRUE)
+      array(5, 12, 1, TRUE),
     );
   }
 
diff --git a/core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php b/core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php
index d522bcf..6d8843b 100644
--- a/core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php
+++ b/core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php
@@ -116,7 +116,7 @@ public function testRenderWithDestination() {
 
     $expected_build = array(
       '#type' => 'operations',
-      '#links' => $operations
+      '#links' => $operations,
     );
     $expected_build['#links']['foo']['query'] = ['destination' => 'foobar'];
     $build = $this->plugin->render($result);
@@ -158,7 +158,7 @@ public function testRenderWithoutDestination() {
 
     $expected_build = array(
       '#type' => 'operations',
-      '#links' => $operations
+      '#links' => $operations,
     );
     $build = $this->plugin->render($result);
     $this->assertSame($expected_build, $build);
diff --git a/core/modules/views/tests/src/Unit/PluginBaseTest.php b/core/modules/views/tests/src/Unit/PluginBaseTest.php
index ef19e11..3efb9b6 100644
--- a/core/modules/views/tests/src/Unit/PluginBaseTest.php
+++ b/core/modules/views/tests/src/Unit/PluginBaseTest.php
@@ -102,7 +102,7 @@ public function providerTestUnpackOptions() {
       'expected' => array(
         'key' => 'value2',
       ),
-      ''
+      '',
     );
     // Set no storage but an options value, so the options value should be kept.
     $test_parameters[] = array(
diff --git a/core/modules/views/tests/src/Unit/ViewExecutableTest.php b/core/modules/views/tests/src/Unit/ViewExecutableTest.php
index d3e2222..2ddbd61 100644
--- a/core/modules/views/tests/src/Unit/ViewExecutableTest.php
+++ b/core/modules/views/tests/src/Unit/ViewExecutableTest.php
@@ -286,7 +286,7 @@ public function testBuildThemeFunctions() {
     unset($view->display_handler);
     $expected = [
       'test_hook__test_view',
-      'test_hook'
+      'test_hook',
     ];
     $this->assertEquals($expected, $view->buildThemeFunctions('test_hook'));
 
@@ -298,7 +298,7 @@ public function testBuildThemeFunctions() {
       'test_hook__two',
       'test_hook__and_three',
       'test_hook__test_view',
-      'test_hook'
+      'test_hook',
     ];
     $this->assertEquals($expected, $view->buildThemeFunctions('test_hook'));
 
@@ -314,7 +314,7 @@ public function testBuildThemeFunctions() {
       'test_hook__test_view__default2',
       'test_hook__default2',
       'test_hook__test_view',
-      'test_hook'
+      'test_hook',
     ];
     $this->assertEquals($expected, $view->buildThemeFunctions('test_hook'));
   }
diff --git a/core/modules/views/tests/src/Unit/ViewsTest.php b/core/modules/views/tests/src/Unit/ViewsTest.php
index 4924154..d2341f5 100644
--- a/core/modules/views/tests/src/Unit/ViewsTest.php
+++ b/core/modules/views/tests/src/Unit/ViewsTest.php
@@ -123,7 +123,7 @@ public function testGetApplicableViews($applicable_type, $expected) {
         'type_a' => [
           'display_plugin' => 'type_a',
           'display_options' => [
-            'enabled' => FALSE
+            'enabled' => FALSE,
           ],
         ],
         // Type D intentionally doesn't exist.
diff --git a/core/modules/views/views.module b/core/modules/views/views.module
index e1a4d8c..5dca50a 100644
--- a/core/modules/views/views.module
+++ b/core/modules/views/views.module
@@ -118,7 +118,7 @@ function views_theme($existing, $type, $theme, $path) {
     'exposed_form' => array('view' => NULL, 'options' => NULL),
     'pager' => array(
       'view' => NULL, 'options' => NULL,
-      'tags' => array(), 'quantity' => 9, 'element' => 0, 'parameters' => array()
+      'tags' => array(), 'quantity' => 9, 'element' => 0, 'parameters' => array(),
     ),
   );
 
diff --git a/core/modules/views/views.theme.inc b/core/modules/views/views.theme.inc
index 94c519e..34b309c 100644
--- a/core/modules/views/views.theme.inc
+++ b/core/modules/views/views.theme.inc
@@ -573,12 +573,12 @@ function template_preprocess_views_view_table(&$variables) {
           if (!empty($column_reference['content']) && !empty($options['info'][$column]['separator'])) {
             $column_reference['content'][] = [
               'separator' => ['#markup' => $options['info'][$column]['separator']],
-              'field_output' => ['#markup' => $field_output]
+              'field_output' => ['#markup' => $field_output],
             ];
           }
           else {
             $column_reference['content'][] = [
-              'field_output' => ['#markup' => $field_output]
+              'field_output' => ['#markup' => $field_output],
             ];
           }
         }
diff --git a/core/modules/views_ui/admin.inc b/core/modules/views_ui/admin.inc
index fd031d2..5fc6bb0 100644
--- a/core/modules/views_ui/admin.inc
+++ b/core/modules/views_ui/admin.inc
@@ -285,7 +285,7 @@ function views_ui_build_form_url(FormStateInterface $form_state) {
   $route_parameters = [
     'js' => $ajax,
     'view' => $name,
-    'display_id' => $display_id
+    'display_id' => $display_id,
   ];
   $url = Url::fromRoute($route_name, $route_parameters);
   if ($type = $form_state->get('type')) {
diff --git a/core/modules/views_ui/src/Form/AdvancedSettingsForm.php b/core/modules/views_ui/src/Form/AdvancedSettingsForm.php
index 88661a7..1a71425 100644
--- a/core/modules/views_ui/src/Form/AdvancedSettingsForm.php
+++ b/core/modules/views_ui/src/Form/AdvancedSettingsForm.php
@@ -76,7 +76,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
         '#default_value' => array_filter($config->get('display_extenders')),
         '#options' => $options,
         '#type' => 'checkboxes',
-        '#description' => $this->t('Select extensions of the views interface.')
+        '#description' => $this->t('Select extensions of the views interface.'),
       );
     }
 
diff --git a/core/modules/views_ui/src/Form/Ajax/Rearrange.php b/core/modules/views_ui/src/Form/Ajax/Rearrange.php
index 0487769..c37a011 100644
--- a/core/modules/views_ui/src/Form/Ajax/Rearrange.php
+++ b/core/modules/views_ui/src/Form/Ajax/Rearrange.php
@@ -83,7 +83,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
           'action' => 'order',
           'relationship' => 'sibling',
           'group' => 'weight',
-        )
+        ),
       ),
       '#tree' => TRUE,
       '#prefix' => '<div class="scroll" data-drupal-views-scroll>',
diff --git a/core/modules/views_ui/src/Form/Ajax/ReorderDisplays.php b/core/modules/views_ui/src/Form/Ajax/ReorderDisplays.php
index 7d1285f..facdf94 100644
--- a/core/modules/views_ui/src/Form/Ajax/ReorderDisplays.php
+++ b/core/modules/views_ui/src/Form/Ajax/ReorderDisplays.php
@@ -42,7 +42,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
     ]);
     $form['view'] = array(
       '#type' => 'value',
-      '#value' => $view
+      '#value' => $view,
     );
 
     $displays = $view->get('display');
@@ -66,7 +66,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
           'action' => 'order',
           'relationship' => 'sibling',
           'group' => 'weight',
-        )
+        ),
       ),
       '#tree' => TRUE,
       '#prefix' => '<div class="scroll" data-drupal-views-scroll>',
diff --git a/core/modules/views_ui/src/Tests/DisplayPathTest.php b/core/modules/views_ui/src/Tests/DisplayPathTest.php
index 8baa506..5931b16 100644
--- a/core/modules/views_ui/src/Tests/DisplayPathTest.php
+++ b/core/modules/views_ui/src/Tests/DisplayPathTest.php
@@ -199,7 +199,7 @@ public function testDefaultMenuTabRegression() {
     $edit = [
       'title[0][value]' => 'Menu title',
       'link[0][uri]' => '/admin/foo',
-      'menu_parent' => 'admin:system.admin'
+      'menu_parent' => 'admin:system.admin',
     ];
     $this->drupalPostForm('admin/structure/menu/manage/admin/add', $edit, t('Save'));
 
diff --git a/core/modules/views_ui/src/Tests/DisplayTest.php b/core/modules/views_ui/src/Tests/DisplayTest.php
index 7f5f125..992e57f 100644
--- a/core/modules/views_ui/src/Tests/DisplayTest.php
+++ b/core/modules/views_ui/src/Tests/DisplayTest.php
@@ -54,7 +54,7 @@ public function testAddDisplay() {
    */
   public function testReorderDisplay() {
     $view = array(
-      'block[create]' => TRUE
+      'block[create]' => TRUE,
     );
     $view = $this->randomView($view);
 
@@ -69,7 +69,7 @@ public function testReorderDisplay() {
     // Put the block display in front of the page display.
     $edit = array(
       'displays[page_1][weight]' => 2,
-      'displays[block_1][weight]' => 1
+      'displays[block_1][weight]' => 1,
     );
     $this->drupalPostForm(NULL, $edit, t('Apply'));
     $this->drupalPostForm(NULL, array(), t('Save'));
diff --git a/core/modules/views_ui/src/Tests/HandlerTest.php b/core/modules/views_ui/src/Tests/HandlerTest.php
index bc61a37..ae81a7f 100644
--- a/core/modules/views_ui/src/Tests/HandlerTest.php
+++ b/core/modules/views_ui/src/Tests/HandlerTest.php
@@ -51,7 +51,7 @@ protected function schemaDefinition() {
       'type' => 'int',
       'unsigned' => TRUE,
       'not null' => TRUE,
-      'default' => 0
+      'default' => 0,
     );
 
     return $schema;
@@ -72,8 +72,8 @@ protected function viewsData() {
       'relationship' => array(
         'id' => 'standard',
         'base' => 'users_field_data',
-        'base field' => 'uid'
-      )
+        'base field' => 'uid',
+      ),
     );
 
     // Create a dummy field with no help text.
@@ -178,14 +178,14 @@ public function testHandlerHelpEscaping() {
       'field_name' => 'field_test',
       'entity_type' => 'node',
       'bundle' => 'page',
-      'label' => 'The giraffe" label'
+      'label' => 'The giraffe" label',
     ])->save();
 
     FieldConfig::create([
       'field_name' => 'field_test',
       'entity_type' => 'node',
       'bundle' => 'article',
-      'label' => 'The <em>giraffe"</em> label <script>alert("the return of the xss")</script>'
+      'label' => 'The <em>giraffe"</em> label <script>alert("the return of the xss")</script>',
     ])->save();
 
     $this->drupalGet('admin/structure/views/nojs/add-handler/content/default/field');
diff --git a/core/modules/views_ui/src/Tests/RowUITest.php b/core/modules/views_ui/src/Tests/RowUITest.php
index 188e0b5..328af64 100644
--- a/core/modules/views_ui/src/Tests/RowUITest.php
+++ b/core/modules/views_ui/src/Tests/RowUITest.php
@@ -34,13 +34,13 @@ public function testRowUI() {
     $this->assertFieldByName('row[type]', 'fields', 'The default row plugin selected in the UI should be fields.');
 
     $edit = array(
-      'row[type]' => 'test_row'
+      'row[type]' => 'test_row',
     );
     $this->drupalPostForm(NULL, $edit, t('Apply'));
     $this->assertFieldByName('row_options[test_option]', NULL, 'Make sure the custom settings form from the test plugin appears.');
     $random_name = $this->randomMachineName();
     $edit = array(
-      'row_options[test_option]' => $random_name
+      'row_options[test_option]' => $random_name,
     );
     $this->drupalPostForm(NULL, $edit, t('Apply'));
     $this->drupalGet($row_options_url);
diff --git a/core/modules/views_ui/src/Tests/StyleUITest.php b/core/modules/views_ui/src/Tests/StyleUITest.php
index f83cb03..b3fd9af 100644
--- a/core/modules/views_ui/src/Tests/StyleUITest.php
+++ b/core/modules/views_ui/src/Tests/StyleUITest.php
@@ -33,13 +33,13 @@ public function testStyleUI() {
     $this->assertFieldByName('style[type]', 'default', 'The default style plugin selected in the UI should be unformatted list.');
 
     $edit = array(
-      'style[type]' => 'test_style'
+      'style[type]' => 'test_style',
     );
     $this->drupalPostForm(NULL, $edit, t('Apply'));
     $this->assertFieldByName('style_options[test_option]', NULL, 'Make sure the custom settings form from the test plugin appears.');
     $random_name = $this->randomMachineName();
     $edit = array(
-      'style_options[test_option]' => $random_name
+      'style_options[test_option]' => $random_name,
     );
     $this->drupalPostForm(NULL, $edit, t('Apply'));
     $this->drupalGet($style_options_url);
diff --git a/core/modules/views_ui/src/Tests/ViewsUITourTest.php b/core/modules/views_ui/src/Tests/ViewsUITourTest.php
index ccc0f29..1634074 100644
--- a/core/modules/views_ui/src/Tests/ViewsUITourTest.php
+++ b/core/modules/views_ui/src/Tests/ViewsUITourTest.php
@@ -76,7 +76,7 @@ public function testViewsUiTourTipsTranslated() {
     foreach ($handler_titles as $handler_title) {
       // Create source string.
       $source = $this->localeStorage->createString(array(
-        'source' => $handler_title
+        'source' => $handler_title,
       ));
       $source->save();
       $this->createTranslation($source, $langcode);
diff --git a/core/modules/views_ui/src/ViewListBuilder.php b/core/modules/views_ui/src/ViewListBuilder.php
index 112e1c4..d74f908 100644
--- a/core/modules/views_ui/src/ViewListBuilder.php
+++ b/core/modules/views_ui/src/ViewListBuilder.php
@@ -91,7 +91,7 @@ public function buildRow(EntityInterface $view) {
           'data' => array(
             '#theme' => 'views_ui_view_info',
             '#view' => $view,
-            '#displays' => $this->getDisplaysList($view)
+            '#displays' => $this->getDisplaysList($view),
           ),
         ),
         'description' => array(
diff --git a/core/modules/views_ui/src/ViewPreviewForm.php b/core/modules/views_ui/src/ViewPreviewForm.php
index 48e22c5..d800d6e 100644
--- a/core/modules/views_ui/src/ViewPreviewForm.php
+++ b/core/modules/views_ui/src/ViewPreviewForm.php
@@ -75,7 +75,7 @@ protected function actions(array $form, FormStateInterface $form_state) {
     return array(
       '#attributes' => array(
         'id' => 'preview-submit-wrapper',
-        'class' => array('preview-submit-wrapper')
+        'class' => array('preview-submit-wrapper'),
       ),
       'button' => array(
         '#type' => 'submit',
diff --git a/core/modules/views_ui/src/ViewUI.php b/core/modules/views_ui/src/ViewUI.php
index 6195c8c..419330a 100644
--- a/core/modules/views_ui/src/ViewUI.php
+++ b/core/modules/views_ui/src/ViewUI.php
@@ -710,7 +710,7 @@ public function renderPreview($display_id, $args = array()) {
                 'data' => array(
                   '#markup' => $path,
                 ),
-              )
+              ),
             );
           }
           if ($show_stats) {
diff --git a/core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php b/core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php
index 215728c..a296e13 100644
--- a/core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php
+++ b/core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php
@@ -48,7 +48,7 @@ public function testBuildRowEntityList() {
             'theme' => 'views_view',
             'no_ui' => TRUE,
             'admin' => '',
-          )
+          ),
         ),
         array(
           'page',
@@ -61,7 +61,7 @@ public function testBuildRowEntityList() {
             'contextual_links_locations' => array('page'),
             'theme' => 'views_view',
             'admin' => 'Page admin label',
-          )
+          ),
         ),
         array(
           'embed',
@@ -71,7 +71,7 @@ public function testBuildRowEntityList() {
             'title' => 'embed',
             'theme' => 'views_view',
             'admin' => 'Embed admin label',
-          )
+          ),
         ),
       )));
 
diff --git a/core/modules/views_ui/views_ui.theme.inc b/core/modules/views_ui/views_ui.theme.inc
index 3b58678..98532e6 100644
--- a/core/modules/views_ui/views_ui.theme.inc
+++ b/core/modules/views_ui/views_ui.theme.inc
@@ -158,7 +158,7 @@ function template_preprocess_views_ui_build_group_filter_form(&$variables) {
         'action' => 'order',
         'relationship' => 'sibling',
         'group' => 'weight',
-      )
+      ),
     ),
   );
 
@@ -327,7 +327,7 @@ function template_preprocess_views_ui_rearrange_filter_form(&$variables) {
           'action' => 'order',
           'relationship' => 'sibling',
           'group' => 'weight',
-        )
+        ),
       ),
     );
   }
diff --git a/core/phpcs.xml.dist b/core/phpcs.xml.dist
index 29468f7..54ad6ad 100644
--- a/core/phpcs.xml.dist
+++ b/core/phpcs.xml.dist
@@ -12,6 +12,11 @@
 
   <!-- Only include specific sniffs that pass. This ensures that, if new sniffs are added, HEAD does not fail.-->
   <!-- Drupal sniffs -->
+  <rule ref="Drupal.Array.Array">
+    <exclude name="Drupal.Array.Array.ArrayClosingIndentation"/>
+    <exclude name="Drupal.Array.Array.ArrayIndentation"/>
+    <exclude name="Drupal.Array.Array.LongLineDeclaration"/>
+  </rule>
   <rule ref="Drupal.Classes.ClassCreateInstance"/>
   <rule ref="Drupal.Classes.ClassDeclaration"/>
   <rule ref="Drupal.Classes.FullyQualifiedNamespace"/>
diff --git a/core/tests/Drupal/KernelTests/Core/Config/CacheabilityMetadataConfigOverrideTest.php b/core/tests/Drupal/KernelTests/Core/Config/CacheabilityMetadataConfigOverrideTest.php
index c52e3ea..4ceebf5 100644
--- a/core/tests/Drupal/KernelTests/Core/Config/CacheabilityMetadataConfigOverrideTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Config/CacheabilityMetadataConfigOverrideTest.php
@@ -21,7 +21,7 @@ class CacheabilityMetadataConfigOverrideTest extends KernelTestBase {
     'config',
     'config_override_test',
     'system',
-    'user'
+    'user',
   ];
 
   /**
diff --git a/core/tests/Drupal/KernelTests/Core/Config/ConfigDependencyTest.php b/core/tests/Drupal/KernelTests/Core/Config/ConfigDependencyTest.php
index d30b3c5..8385fa4 100644
--- a/core/tests/Drupal/KernelTests/Core/Config/ConfigDependencyTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Config/ConfigDependencyTest.php
@@ -48,9 +48,9 @@ public function testDependencyManagement() {
         'id' => 'entity1',
         'dependencies' => array(
           'enforced' => array(
-            'module' => array('node')
-          )
-        )
+            'module' => array('node'),
+          ),
+        ),
       )
     );
     $entity1->save();
@@ -196,7 +196,7 @@ public function testConfigEntityUninstall() {
         'id' => 'entity1',
         'dependencies' => array(
           'enforced' => array(
-            'module' => array('node', 'config_test')
+            'module' => array('node', 'config_test'),
           ),
         ),
       )
@@ -260,7 +260,7 @@ public function testConfigEntityUninstallComplex(array $entity_id_suffixes) {
         'id' => 'entity_' . $entity_id_suffixes[0],
         'dependencies' => array(
           'enforced' => array(
-            'module' => array('node', 'config_test')
+            'module' => array('node', 'config_test'),
           ),
         ),
       )
@@ -305,7 +305,7 @@ public function testConfigEntityUninstallComplex(array $entity_id_suffixes) {
         'dependencies' => array(
           'enforced' => array(
             'config' => array($entity_1->getConfigDependencyName()),
-            'module' => array('node', 'config_test')
+            'module' => array('node', 'config_test'),
           ),
         ),
       )
@@ -357,7 +357,7 @@ public function testConfigEntityDelete() {
     // Test dependencies between configuration entities.
     $entity1 = $storage->create(
       array(
-        'id' => 'entity1'
+        'id' => 'entity1',
       )
     );
     $entity1->save();
@@ -470,7 +470,7 @@ public function testContentEntityDelete() {
         'id' => 'entity1',
         'dependencies' => array(
           'enforced' => array(
-            'content' => array($content_entity->getConfigDependencyName())
+            'content' => array($content_entity->getConfigDependencyName()),
           ),
         ),
       )
@@ -481,7 +481,7 @@ public function testContentEntityDelete() {
         'id' => 'entity2',
         'dependencies' => array(
           'enforced' => array(
-            'config' => array($entity1->getConfigDependencyName())
+            'config' => array($entity1->getConfigDependencyName()),
           ),
         ),
       )
diff --git a/core/tests/Drupal/KernelTests/Core/Config/ConfigEntityNormalizeTest.php b/core/tests/Drupal/KernelTests/Core/Config/ConfigEntityNormalizeTest.php
index bfa8233..4289ee8 100644
--- a/core/tests/Drupal/KernelTests/Core/Config/ConfigEntityNormalizeTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Config/ConfigEntityNormalizeTest.php
@@ -31,7 +31,7 @@ public function testNormalize() {
     $config = $this->config('config_test.dynamic.system');
     $data = array(
       'label' => 'foobar',
-      'additional_key' => TRUE
+      'additional_key' => TRUE,
     ) + $config->getRawData();
     $config->setData($data)->save();
     $this->assertNotIdentical($config_entity->toArray(), $config->getRawData(), 'Stored config entity is not is equivalent to config schema.');
diff --git a/core/tests/Drupal/KernelTests/Core/Config/ConfigEntityUnitTest.php b/core/tests/Drupal/KernelTests/Core/Config/ConfigEntityUnitTest.php
index 23251cc..8f1d207 100644
--- a/core/tests/Drupal/KernelTests/Core/Config/ConfigEntityUnitTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Config/ConfigEntityUnitTest.php
@@ -97,7 +97,7 @@ public function testStorageMethods() {
     $entity = $this->storage->create(array(
       'id' => $this->randomMachineName(),
       'label' => $this->randomString(),
-      'style' => 999
+      'style' => 999,
     ));
     $entity->save();
     $this->assertIdentical('999', $entity->style);
diff --git a/core/tests/Drupal/KernelTests/Core/Config/ConfigImportRenameValidationTest.php b/core/tests/Drupal/KernelTests/Core/Config/ConfigImportRenameValidationTest.php
index 48b9c46..7444027 100644
--- a/core/tests/Drupal/KernelTests/Core/Config/ConfigImportRenameValidationTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Config/ConfigImportRenameValidationTest.php
@@ -106,7 +106,7 @@ public function testRenameValidation() {
     catch (ConfigImporterException $e) {
       $this->pass('Expected ConfigImporterException thrown when a renamed configuration entity does not match the existing entity type.');
       $expected = array(
-        SafeMarkup::format('Entity type mismatch on rename. @old_type not equal to @new_type for existing configuration @old_name and staged configuration @new_name.', array('@old_type' => 'node_type', '@new_type' => 'config_test', '@old_name' => 'node.type.' . $content_type->id(), '@new_name' => 'config_test.dynamic.' . $test_entity_id))
+        SafeMarkup::format('Entity type mismatch on rename. @old_type not equal to @new_type for existing configuration @old_name and staged configuration @new_name.', array('@old_type' => 'node_type', '@new_type' => 'config_test', '@old_name' => 'node.type.' . $content_type->id(), '@new_name' => 'config_test.dynamic.' . $test_entity_id)),
       );
       $this->assertEqual($expected, $this->configImporter->getErrors());
     }
@@ -135,7 +135,7 @@ public function testRenameSimpleConfigValidation() {
     // UUIDs match.
     $this->configImporter->reset();
     $expected = array(
-      'config_test.old::config_test.new'
+      'config_test.old::config_test.new',
     );
     $renames = $this->configImporter->getUnprocessedConfiguration('rename');
     $this->assertIdentical($expected, $renames);
@@ -149,7 +149,7 @@ public function testRenameSimpleConfigValidation() {
     catch (ConfigImporterException $e) {
       $this->pass('Expected ConfigImporterException thrown when simple configuration is renamed.');
       $expected = array(
-        SafeMarkup::format('Rename operation for simple configuration. Existing configuration @old_name and staged configuration @new_name.', array('@old_name' => 'config_test.old', '@new_name' => 'config_test.new'))
+        SafeMarkup::format('Rename operation for simple configuration. Existing configuration @old_name and staged configuration @new_name.', array('@old_name' => 'config_test.old', '@new_name' => 'config_test.new')),
       );
       $this->assertEqual($expected, $this->configImporter->getErrors());
     }
diff --git a/core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php b/core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php
index 945e994..de6e4a5 100644
--- a/core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php
@@ -226,7 +226,7 @@ function testSecondaryWritePrimaryFirst() {
       // Add a dependency on primary, to ensure that is synced first.
       'dependencies' => array(
         'config' => array($name_primary),
-      )
+      ),
     );
     $sync->write($name_secondary, $values_secondary);
 
@@ -265,7 +265,7 @@ function testSecondaryWriteSecondaryFirst() {
       // Add a dependency on secondary, so that is synced first.
       'dependencies' => array(
         'config' => array($name_secondary),
-      )
+      ),
     );
     $sync->write($name_primary, $values_primary);
     $values_secondary = array(
@@ -322,7 +322,7 @@ function testSecondaryUpdateDeletedDeleterFirst() {
       // Add a dependency on deleter, to make sure that is synced first.
       'dependencies' => array(
         'config' => array($name_deleter),
-      )
+      ),
     );
     $storage->write($name_deletee, $values_deletee);
     $values_deletee['label'] = 'Updated Deletee';
@@ -338,7 +338,7 @@ function testSecondaryUpdateDeletedDeleterFirst() {
       // will also be synced after the deletee due to alphabetical ordering.
       'dependencies' => array(
         'config' => array($name_deleter),
-      )
+      ),
     );
     $storage->write($name_other, $values_other);
     $values_other['label'] = 'Updated other';
diff --git a/core/tests/Drupal/KernelTests/Core/Config/ConfigSchemaTest.php b/core/tests/Drupal/KernelTests/Core/Config/ConfigSchemaTest.php
index ae3abdd..0e3d599 100644
--- a/core/tests/Drupal/KernelTests/Core/Config/ConfigSchemaTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Config/ConfigSchemaTest.php
@@ -334,7 +334,7 @@ public function testConfigSaveWithSchema() {
       // If the config schema doesn't have a type it shouldn't be casted.
       'no_type' => 1,
       'mapping' => array(
-        'string' => 1
+        'string' => 1,
       ),
       'float' => '3.14',
       'null_float' => '',
@@ -357,7 +357,7 @@ public function testConfigSaveWithSchema() {
       'boolean' => TRUE,
       'no_type' => 1,
       'mapping' => array(
-        'string' => '1'
+        'string' => '1',
       ),
       'float' => 3.14,
       'null_float' => NULL,
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php b/core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php
index ec81f7b..376d134 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php
@@ -63,7 +63,7 @@ protected function setUp() {
 
     for ($i = 1; $i < 3; $i++) {
       $entity = EntityTest::create(array(
-        'name' => $this->randomMachineName()
+        'name' => $this->randomMachineName(),
       ));
       $entity->save();
       $this->referencedEntities[] = $entity;
@@ -262,7 +262,7 @@ public function testInvalidEntityAutocompleteElement() {
     $form_state = (new FormState())
       ->setValues([
         'single_no_validate' => 'single - non-existent label',
-        'single_autocreate_no_validate' => 'single - autocreate non-existent label'
+        'single_autocreate_no_validate' => 'single - autocreate non-existent label',
       ]);
     $form_builder->submitForm($this, $form_state);
 
@@ -274,7 +274,7 @@ public function testInvalidEntityAutocompleteElement() {
     $form_state = (new FormState())
       ->setValues([
         'single_no_validate' => 'single - non-existent label (42)',
-        'single_autocreate_no_validate' => 'single - autocreate non-existent label (43)'
+        'single_autocreate_no_validate' => 'single - autocreate non-existent label (43)',
       ]);
     $form_builder->submitForm($this, $form_state);
 
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php
index eb0fbf6..85ff538 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php
@@ -105,11 +105,11 @@ protected function setUp() {
     // to their langcode.
     $units[] = array($greetings, 'tr', array(
       'value' => 'merhaba',
-      'format' => 'format-tr'
+      'format' => 'format-tr',
     ));
     $units[] = array($greetings, 'pl', array(
       'value' => 'siema',
-      'format' => 'format-pl'
+      'format' => 'format-pl',
     ));
     // Make these languages available to the greetings field.
     ConfigurableLanguage::createFromLangcode('tr')->save();
@@ -667,7 +667,7 @@ public function testCaseSensitivity() {
       'translatable' => FALSE,
       'settings' => array(
         'case_sensitive' => FALSE,
-      )
+      ),
     ));
     $field_storage->save();
 
@@ -713,7 +713,7 @@ public function testCaseSensitivity() {
       'name' => $this->randomMachineName(),
       'langcode' => 'en',
       'field_ci' => $fixtures[0]['uppercase'] . $fixtures[1]['lowercase'],
-      'field_cs' => $fixtures[0]['uppercase'] . $fixtures[1]['lowercase']
+      'field_cs' => $fixtures[0]['uppercase'] . $fixtures[1]['lowercase'],
     ))->save();
 
     // Check the case insensitive field, = operator.
@@ -904,7 +904,7 @@ public function testForwardRevisions() {
     $entity->isDefaultRevision(FALSE);
     $entity->{$this->figures}->setValue([
       'color' => 'red',
-      'shape' => 'square'
+      'shape' => 'square',
     ]);
     $entity->save();
 
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php
index 8f2239d..d8d95ab 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php
@@ -212,7 +212,7 @@ public function testReferencedEntitiesStringId() {
     // Create the default target entity.
     $target_entity = EntityTestStringId::create([
       'id' => $this->randomString(),
-      'type' => $this->bundle
+      'type' => $this->bundle,
     ]);
     $target_entity->save();
 
@@ -381,7 +381,7 @@ public function testTargetEntityNoLoad() {
     $definitions = array(
       'target_reference' => BaseFieldDefinition::create('entity_reference')
         ->setSetting('target_type', $entity_type->id())
-        ->setSetting('handler', 'default')
+        ->setSetting('handler', 'default'),
     );
     $this->state->set('entity_test_update.additional_base_field_definitions', $definitions);
     $this->entityManager->clearCachedDefinitions();
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/FieldSqlStorageTest.php b/core/tests/Drupal/KernelTests/Core/Entity/FieldSqlStorageTest.php
index 07c5ec5..634d6a7 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/FieldSqlStorageTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/FieldSqlStorageTest.php
@@ -89,7 +89,7 @@ protected function setUp() {
     $this->fieldStorage->save();
     $this->field = FieldConfig::create([
       'field_storage' => $this->fieldStorage,
-      'bundle' => $entity_type
+      'bundle' => $entity_type,
     ]);
     $this->field->save();
 
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/FieldWidgetConstraintValidatorTest.php b/core/tests/Drupal/KernelTests/Core/Entity/FieldWidgetConstraintValidatorTest.php
index 50d173b..5bf2539 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/FieldWidgetConstraintValidatorTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/FieldWidgetConstraintValidatorTest.php
@@ -143,7 +143,7 @@ public function testValidationWithCompositeConstraint() {
    */
   public function testEntityLevelConstraintValidation() {
     $entity = EntityTestCompositeConstraint::create([
-      'name' => 'entity-level-violation'
+      'name' => 'entity-level-violation',
     ]);
     $entity->save();
 
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/RouteProviderTest.php b/core/tests/Drupal/KernelTests/Core/Entity/RouteProviderTest.php
index df9f4b1..d68a1f5 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/RouteProviderTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/RouteProviderTest.php
@@ -34,7 +34,7 @@ protected function setUp() {
 
     /** @var \Drupal\user\RoleInterface $role */
     $role = Role::create([
-      'id' => RoleInterface::ANONYMOUS_ID
+      'id' => RoleInterface::ANONYMOUS_ID,
     ]);
     $role
       ->grantPermission('administer entity_test content')
diff --git a/core/tests/Drupal/KernelTests/Core/Field/FieldSettingsTest.php b/core/tests/Drupal/KernelTests/Core/Field/FieldSettingsTest.php
index a55888f..a50b4eb 100644
--- a/core/tests/Drupal/KernelTests/Core/Field/FieldSettingsTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Field/FieldSettingsTest.php
@@ -54,7 +54,7 @@ public function testConfigurableFieldStorageSettings() {
     $field_storage = FieldStorageConfig::create([
       'field_name' => 'test_field',
       'entity_type' => 'entity_test',
-      'type' => 'test_field'
+      'type' => 'test_field',
     ]);
 
     // Check that the default settings have been populated.
@@ -81,11 +81,11 @@ public function testConfigurableFieldSettings() {
     $field_storage = FieldStorageConfig::create([
       'field_name' => 'test_field',
       'entity_type' => 'entity_test',
-      'type' => 'test_field'
+      'type' => 'test_field',
     ]);
     $field = FieldConfig::create([
       'field_storage' => $field_storage,
-      'bundle' => 'entity_test'
+      'bundle' => 'entity_test',
     ]);
     // Note: FieldConfig does not populate default settings until the config
     // is saved.
diff --git a/core/tests/Drupal/KernelTests/Core/File/MimeTypeTest.php b/core/tests/Drupal/KernelTests/Core/File/MimeTypeTest.php
index 00fdf58..523104f 100644
--- a/core/tests/Drupal/KernelTests/Core/File/MimeTypeTest.php
+++ b/core/tests/Drupal/KernelTests/Core/File/MimeTypeTest.php
@@ -60,7 +60,7 @@ public function testFileMimeTypeDetection() {
       'extensions' => array(
          'jar' => 0,
          'jpg' => 1,
-      )
+      ),
     );
 
     $test_case = array(
diff --git a/core/tests/Drupal/KernelTests/Core/Image/ToolkitGdTest.php b/core/tests/Drupal/KernelTests/Core/Image/ToolkitGdTest.php
index 6a10cfc..520e669 100644
--- a/core/tests/Drupal/KernelTests/Core/Image/ToolkitGdTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Image/ToolkitGdTest.php
@@ -242,7 +242,7 @@ function testManipulations() {
             array_fill(0, 3, 76) + array(3 => 0),
             array_fill(0, 3, 149) + array(3 => 0),
             array_fill(0, 3, 29) + array(3 => 0),
-            array_fill(0, 3, 225) + array(3 => 127)
+            array_fill(0, 3, 225) + array(3 => 127),
           ),
         ),
       );
diff --git a/core/tests/Drupal/KernelTests/Core/Render/Element/TableTest.php b/core/tests/Drupal/KernelTests/Core/Render/Element/TableTest.php
index 34cbfc0..6bfbc23 100644
--- a/core/tests/Drupal/KernelTests/Core/Render/Element/TableTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Render/Element/TableTest.php
@@ -266,7 +266,7 @@ public function testThemeTableRowRenderArray() {
       array(
         '1-one',
         array(
-          'data' => '1-two'
+          'data' => '1-two',
         ),
         '1-three',
       ),
diff --git a/core/tests/Drupal/KernelTests/Core/Render/RenderTest.php b/core/tests/Drupal/KernelTests/Core/Render/RenderTest.php
index 8860c19..a1b23a4 100644
--- a/core/tests/Drupal/KernelTests/Core/Render/RenderTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Render/RenderTest.php
@@ -36,7 +36,7 @@ function testDrupalRenderThemePreprocessAttached() {
       'library' => [
         'test/generic_preprocess',
         'test/specific_preprocess',
-      ]
+      ],
     ];
     $this->assertEqual($expected_attached, $test_element['#attached'], 'All expected assets from theme preprocess hooks attached.');
 
diff --git a/core/tests/Drupal/KernelTests/Core/Site/SettingsRewriteTest.php b/core/tests/Drupal/KernelTests/Core/Site/SettingsRewriteTest.php
index 948236b..a576c78 100644
--- a/core/tests/Drupal/KernelTests/Core/Site/SettingsRewriteTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Site/SettingsRewriteTest.php
@@ -111,7 +111,7 @@ function testDrupalRewriteSettings() {
           'required' => TRUE,
         ),
       ),
-      'expected' => '$no_index = true;'
+      'expected' => '$no_index = true;',
     );
     // Make an empty file.
     $filename = Settings::get('file_public_path', $site_path . '/files') . '/mock_settings.php';
diff --git a/core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php b/core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php
index 748e2bb..d190cc5 100644
--- a/core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php
+++ b/core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php
@@ -19,7 +19,7 @@ class TranslationStringTest extends KernelTestBase {
    * @var array
    */
   public static $modules = [
-    'language'
+    'language',
   ];
 
   /**
diff --git a/core/tests/Drupal/KernelTests/Core/Theme/ThemeRenderAndAutoescapeTest.php b/core/tests/Drupal/KernelTests/Core/Theme/ThemeRenderAndAutoescapeTest.php
index 98423ca..fc19a6e 100644
--- a/core/tests/Drupal/KernelTests/Core/Theme/ThemeRenderAndAutoescapeTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Theme/ThemeRenderAndAutoescapeTest.php
@@ -73,7 +73,7 @@ public function providerTestThemeRenderAndAutoescape() {
       'type markup with EM tags is rendered' => [['#markup' => '<em>hi</em>'], '<em>hi</em>'],
       'SCRIPT tag in string is escaped' => [
         '<script>alert(123)</script>',
-        Html::escape('<script>alert(123)</script>')
+        Html::escape('<script>alert(123)</script>'),
       ],
       'type plain_text render array EM tag is escaped' => [['#plain_text' => '<em>hi</em>'], Html::escape('<em>hi</em>')],
       'type hidden render array is rendered' => [['#type' => 'hidden', '#name' => 'foo', '#value' => 'bar'], "<input type=\"hidden\" name=\"foo\" value=\"bar\" />\n"],
diff --git a/core/tests/Drupal/KernelTests/Core/Theme/TwigMarkupInterfaceTest.php b/core/tests/Drupal/KernelTests/Core/Theme/TwigMarkupInterfaceTest.php
index 2e6e5a4..0c476ab 100644
--- a/core/tests/Drupal/KernelTests/Core/Theme/TwigMarkupInterfaceTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Theme/TwigMarkupInterfaceTest.php
@@ -30,7 +30,7 @@ class TwigMarkupInterfaceTest extends KernelTestBase {
    * @var array
    */
   public static $modules = [
-    'language'
+    'language',
   ];
 
   /**
diff --git a/core/tests/Drupal/KernelTests/Core/TypedData/ComplexDataConstraintValidatorTest.php b/core/tests/Drupal/KernelTests/Core/TypedData/ComplexDataConstraintValidatorTest.php
index 078cb7a..8d6c99a 100644
--- a/core/tests/Drupal/KernelTests/Core/TypedData/ComplexDataConstraintValidatorTest.php
+++ b/core/tests/Drupal/KernelTests/Core/TypedData/ComplexDataConstraintValidatorTest.php
@@ -37,7 +37,7 @@ public function testValidation() {
       ->setPropertyDefinition('key', DataDefinition::create('integer'))
       ->addConstraint('ComplexData', array(
         'key' => array(
-          'AllowedValues' => array(1, 2, 3)
+          'AllowedValues' => array(1, 2, 3),
         ),
       ));
 
@@ -67,7 +67,7 @@ public function testValidation() {
       ->setPropertyDefinition('key', DataDefinition::create('integer'))
       ->addConstraint('ComplexData', array(
         'key' => array(
-          'NotNull' => array()
+          'NotNull' => array(),
         ),
       ));
 
diff --git a/core/tests/Drupal/KernelTests/Core/TypedData/TypedDataTest.php b/core/tests/Drupal/KernelTests/Core/TypedData/TypedDataTest.php
index 08f27b3..d820563 100644
--- a/core/tests/Drupal/KernelTests/Core/TypedData/TypedDataTest.php
+++ b/core/tests/Drupal/KernelTests/Core/TypedData/TypedDataTest.php
@@ -470,7 +470,7 @@ public function testTypedDataMaps() {
     $this->assertEqual($value, array(
       'one' => 'uno',
       'two' => 'zwei',
-      'three' => 'drei'
+      'three' => 'drei',
     ));
 
     $properties = $typed_data->getProperties();
diff --git a/core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php b/core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php
index 6042b6f..2c516d0 100644
--- a/core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php
+++ b/core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php
@@ -158,7 +158,7 @@ public function testAllCallable() {
       [__CLASS__, 'callMeStatic'],
       function() {
         return TRUE;
-      }
+      },
     ]));
 
     $this->assertFalse(Inspector::assertAllCallable([
@@ -168,7 +168,7 @@ function() {
       function() {
         return TRUE;
       },
-      "I'm not callable"
+      "I'm not callable",
     ]));
   }
 
diff --git a/core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php b/core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php
index 3c89804..6624f9f 100644
--- a/core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php
+++ b/core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php
@@ -952,7 +952,7 @@ protected function getMockContainerDefinition() {
       'arguments' => array(),
       'configurator' => array(
         $this->getServiceCall('configurator'),
-        'configureService'
+        'configureService',
       ),
     );
     $services['configurable_service_exception'] = array(
diff --git a/core/tests/Drupal/Tests/Component/FileSystem/RegexDirectoryIteratorTest.php b/core/tests/Drupal/Tests/Component/FileSystem/RegexDirectoryIteratorTest.php
index 6a9cd0c..a029c07 100644
--- a/core/tests/Drupal/Tests/Component/FileSystem/RegexDirectoryIteratorTest.php
+++ b/core/tests/Drupal/Tests/Component/FileSystem/RegexDirectoryIteratorTest.php
@@ -91,7 +91,7 @@ public function providerTestRegexDirectoryIterator() {
         [
           '1.yml',
           '2.yml',
-          '3.txt'
+          '3.txt',
         ],
       ],
       [
diff --git a/core/tests/Drupal/Tests/Component/Utility/ColorTest.php b/core/tests/Drupal/Tests/Component/Utility/ColorTest.php
index c65bf55..243ab67 100644
--- a/core/tests/Drupal/Tests/Component/Utility/ColorTest.php
+++ b/core/tests/Drupal/Tests/Component/Utility/ColorTest.php
@@ -56,7 +56,7 @@ public function providerTestHexToRgb() {
     // Add invalid data types (hex value must be a string).
     foreach (array(
       1, 12, 1234, 12345, 123456, 1234567, 12345678, 123456789, 123456789,
-      -1, PHP_INT_MAX, PHP_INT_MAX + 1, -PHP_INT_MAX, 0x0, 0x010
+      -1, PHP_INT_MAX, PHP_INT_MAX + 1, -PHP_INT_MAX, 0x0, 0x010,
     ) as $value) {
       $invalid[] = array($value, '', TRUE);
     }
diff --git a/core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php b/core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php
index 92db2ac..4e720c8 100644
--- a/core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php
+++ b/core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php
@@ -265,10 +265,10 @@ public function testFilter($array, $callable, $expected) {
   public function providerTestFilter() {
     $data = [];
     $data['1d-array'] = [
-      [0, 1, '', TRUE], NULL, [1 => 1, 3 => TRUE]
+      [0, 1, '', TRUE], NULL, [1 => 1, 3 => TRUE],
     ];
     $data['1d-array-callable'] = [
-      [0, 1, '', TRUE], function ($element) { return $element === ''; }, [2 => '']
+      [0, 1, '', TRUE], function ($element) { return $element === ''; }, [2 => ''],
     ];
     $data['2d-array'] = [
       [[0, 1, '', TRUE], [0, 1, 2, 3]], NULL, [0 => [1 => 1, 3 => TRUE], 1 => [1 => 1, 2 => 2, 3 => 3]],
diff --git a/core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php b/core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php
index 3ff7ed1..cd60d93 100644
--- a/core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php
+++ b/core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php
@@ -49,42 +49,42 @@ public function providerSortByWeightElement() {
     $tests[] = array(
       array('weight' => 1),
       array('weight' => 1),
-      0
+      0,
     );
 
     // Weights set and $a is less (lighter) than $b.
     $tests[] = array(
       array('weight' => 1),
       array('weight' => 2),
-      -1
+      -1,
     );
 
     // Weights set and $a is greater (heavier) than $b.
     $tests[] = array(
       array('weight' => 2),
       array('weight' => 1),
-      1
+      1,
     );
 
     // Weights not set.
     $tests[] = array(
       array(),
       array(),
-      0
+      0,
     );
 
     // Weights for $b not set.
     $tests[] = array(
       array('weight' => 1),
       array(),
-      1
+      1,
     );
 
     // Weights for $a not set.
     $tests[] = array(
       array(),
       array('weight' => 1),
-      -1
+      -1,
     );
 
     return $tests;
@@ -125,42 +125,42 @@ public function providerSortByWeightProperty() {
     $tests[] = array(
       array('#weight' => 1),
       array('#weight' => 1),
-      0
+      0,
     );
 
     // Weights set and $a is less (lighter) than $b.
     $tests[] = array(
       array('#weight' => 1),
       array('#weight' => 2),
-      -1
+      -1,
     );
 
     // Weights set and $a is greater (heavier) than $b.
     $tests[] = array(
       array('#weight' => 2),
       array('#weight' => 1),
-      1
+      1,
     );
 
     // Weights not set.
     $tests[] = array(
       array(),
       array(),
-      0
+      0,
     );
 
     // Weights for $b not set.
     $tests[] = array(
       array('#weight' => 1),
       array(),
-      1
+      1,
     );
 
     // Weights for $a not set.
     $tests[] = array(
       array(),
       array('#weight' => 1),
-      -1
+      -1,
     );
 
     return $tests;
@@ -201,35 +201,35 @@ public function providerSortByTitleElement() {
     $tests[] = array(
       array('title' => 'test'),
       array('title' => 'test'),
-      0
+      0,
     );
 
     // Title $a not set.
     $tests[] = array(
       array(),
       array('title' => 'test'),
-      -4
+      -4,
     );
 
     // Title $b not set.
     $tests[] = array(
       array('title' => 'test'),
       array(),
-      4
+      4,
     );
 
     // Titles set but not equal.
     $tests[] = array(
       array('title' => 'test'),
       array('title' => 'testing'),
-      -1
+      -1,
     );
 
     // Titles set but not equal.
     $tests[] = array(
       array('title' => 'testing'),
       array('title' => 'test'),
-      1
+      1,
     );
 
     return $tests;
@@ -270,35 +270,35 @@ public function providerSortByTitleProperty() {
     $tests[] = array(
       array('#title' => 'test'),
       array('#title' => 'test'),
-      0
+      0,
     );
 
     // Title $a not set.
     $tests[] = array(
       array(),
       array('#title' => 'test'),
-      -4
+      -4,
     );
 
     // Title $b not set.
     $tests[] = array(
       array('#title' => 'test'),
       array(),
-      4
+      4,
     );
 
     // Titles set but not equal.
     $tests[] = array(
       array('#title' => 'test'),
       array('#title' => 'testing'),
-      -1
+      -1,
     );
 
     // Titles set but not equal.
     $tests[] = array(
       array('#title' => 'testing'),
       array('#title' => 'test'),
-      1
+      1,
     );
 
     return $tests;
diff --git a/core/tests/Drupal/Tests/Component/Utility/XssTest.php b/core/tests/Drupal/Tests/Component/Utility/XssTest.php
index c41bf22..94a1d3d 100644
--- a/core/tests/Drupal/Tests/Component/Utility/XssTest.php
+++ b/core/tests/Drupal/Tests/Component/Utility/XssTest.php
@@ -503,19 +503,19 @@ public function providerTestAttributes() {
         '<img src="http://example.com/foo.jpg" title="Example: title" alt="Example: alt">',
         '<img src="http://example.com/foo.jpg" title="Example: title" alt="Example: alt">',
         'Image tag with alt and title attribute',
-        array('img')
+        array('img'),
       ),
       array(
         '<img src="http://example.com/foo.jpg" data-caption="Drupal 8: The best release ever.">',
         '<img src="http://example.com/foo.jpg" data-caption="Drupal 8: The best release ever.">',
         'Image tag with data attribute',
-        array('img')
+        array('img'),
       ),
       array(
         '<a data-a2a-url="foo"></a>',
         '<a data-a2a-url="foo"></a>',
         'Link tag with numeric data attribute',
-        array('a')
+        array('a'),
       ),
     );
   }
diff --git a/core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php b/core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php
index ead56ae..918ed53 100644
--- a/core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php
+++ b/core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php
@@ -55,7 +55,7 @@ public function providerTestGet() {
       array(
         'value' => 'Foo',
       ),
-      'Foo'
+      'Foo',
     );
     $random = $this->randomMachineName();
     $random_html_entity = '&' . $random;
diff --git a/core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php b/core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php
index 107cb2e..73e027f 100644
--- a/core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php
+++ b/core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php
@@ -141,12 +141,12 @@ public function providerAttachedAssets() {
       'same libraries, different timestamps' => [
         (new AttachedAssets())->setAlreadyLoadedLibraries([])->setLibraries(['core/drupal'])->setSettings(['currentTime' => $time]),
         (new AttachedAssets())->setAlreadyLoadedLibraries([])->setLibraries(['core/drupal'])->setSettings(['currentTime' => $time + 100]),
-        1
+        1,
       ],
       'different libraries, same timestamps' => [
         (new AttachedAssets())->setAlreadyLoadedLibraries([])->setLibraries(['core/drupal'])->setSettings(['currenttime' => $time]),
         (new AttachedAssets())->setAlreadyLoadedLibraries([])->setLibraries(['core/drupal', 'core/jquery'])->setSettings(['currentTime' => $time]),
-        2
+        2,
       ],
     ];
   }
diff --git a/core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php b/core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php
index 4b78213..3712994 100644
--- a/core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php
+++ b/core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php
@@ -129,7 +129,7 @@ function providerTestRender() {
         '#tag' => 'style',
         '#value' => $value,
         '#attributes' => array(
-          'media' => $media
+          'media' => $media,
         ),
         '#browsers' => $browsers,
       );
@@ -496,7 +496,7 @@ function testRenderInvalidType() {
       'media' => 'all',
       'preprocess' => TRUE,
       'browsers' => array(),
-      'data' => 'http://example.com/popular.js'
+      'data' => 'http://example.com/popular.js',
     );
     $this->renderer->render($css_group);
   }
diff --git a/core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php b/core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php
index da6e994..03c8130 100644
--- a/core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php
+++ b/core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php
@@ -128,7 +128,7 @@ public function providerSetCacheMaxAge() {
      [new \stdClass(), TRUE],
      [300, FALSE],
      [[], TRUE],
-     [8.0, TRUE]
+     [8.0, TRUE],
    ];
   }
 
diff --git a/core/tests/Drupal/Tests/Core/Common/AttributesTest.php b/core/tests/Drupal/Tests/Core/Common/AttributesTest.php
index 39d7fc1..6ce61aa 100644
--- a/core/tests/Drupal/Tests/Core/Common/AttributesTest.php
+++ b/core/tests/Drupal/Tests/Core/Common/AttributesTest.php
@@ -38,7 +38,7 @@ public function providerTestAttributeData() {
           'alt' => 'Alternate',
         ),
         ' id="id-test" class="first last" alt="Alternate"',
-        'Multiple attributes.'
+        'Multiple attributes.',
       ),
       // Verify empty attributes array is rendered.
       array(array(), '', 'Empty attributes array.'),
diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php
index 4710765..e5bb713 100644
--- a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php
+++ b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php
@@ -281,13 +281,13 @@ public function providerCalculateDependenciesWithPluginCollections() {
           'config_dependencies' => array(
             'config' => array($instance_dependency_1),
             'module' => array($instance_dependency_2),
-          )
+          ),
         ),
         array(
           'config' => array($instance_dependency_1),
-          'module' => array($instance_dependency_2, 'test')
-        )
-      )
+          'module' => array($instance_dependency_2, 'test'),
+        ),
+      ),
     );
   }
 
diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityDependencyTest.php b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityDependencyTest.php
index 5d617ce..5bc0ca6 100644
--- a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityDependencyTest.php
+++ b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityDependencyTest.php
@@ -29,7 +29,7 @@ public function testWithDependencies() {
       'dependencies' => array(
         'module' => array(
           'node',
-          'views'
+          'views',
         ),
         'config' => array(
           'config_test.dynamic.entity_id:745b0ce0-aece-42dd-a800-ade5b8455e84',
diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php
index b131b26..f9b2494 100644
--- a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php
+++ b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php
@@ -86,7 +86,7 @@ public function testConstruct() {
   public function testConstructBadStorage() {
     new ConfigEntityType([
       'id' => 'example_config_entity_type',
-      'handlers' => ['storage' => '\Drupal\Core\Entity\KeyValueStore\KeyValueEntityStorage']
+      'handlers' => ['storage' => '\Drupal\Core\Entity\KeyValueStore\KeyValueEntityStorage'],
     ]);
   }
 
diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php b/core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php
index 75fe625..1ebb16e 100644
--- a/core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php
+++ b/core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php
@@ -37,42 +37,42 @@ public function providerTestGetKeys() {
     $tests[] = [
       ['uuid:abc'],
       'uuid',
-      $this->getConfigObject('test')->set('uuid', 'abc')
+      $this->getConfigObject('test')->set('uuid', 'abc'),
     ];
 
     // Tests a lookup being set to a top level key when sub-keys exist.
     $tests[] = [
       [],
       'uuid',
-      $this->getConfigObject('test')->set('uuid.blah', 'abc')
+      $this->getConfigObject('test')->set('uuid.blah', 'abc'),
     ];
 
     // Tests a non existent key.
     $tests[] = [
       [],
       'uuid',
-      $this->getConfigObject('test')
+      $this->getConfigObject('test'),
     ];
 
     // Tests a non existent sub key.
     $tests[] = [
       [],
       'uuid.blah',
-      $this->getConfigObject('test')->set('uuid', 'abc')
+      $this->getConfigObject('test')->set('uuid', 'abc'),
     ];
 
     // Tests a existent sub key.
     $tests[] = [
       ['uuid.blah:abc'],
       'uuid.blah',
-      $this->getConfigObject('test')->set('uuid.blah', 'abc')
+      $this->getConfigObject('test')->set('uuid.blah', 'abc'),
     ];
 
     // One wildcard.
     $tests[] = [
       ['test.*.value:a', 'test.*.value:b'],
       'test.*.value',
-      $this->getConfigObject('test')->set('test.a.value', 'a')->set('test.b.value', 'b')
+      $this->getConfigObject('test')->set('test.a.value', 'a')->set('test.b.value', 'b'),
     ];
 
     // Three wildcards.
@@ -82,14 +82,14 @@ public function providerTestGetKeys() {
       $this->getConfigObject('test')
         ->set('test.a.sub2.a.sub4.a.value', 'aaa')
         ->set('test.a.sub2.a.sub4.b.value', 'aab')
-        ->set('test.b.sub2.a.sub4.b.value', 'bab')
+        ->set('test.b.sub2.a.sub4.b.value', 'bab'),
     ];
 
     // Three wildcards in a row.
     $tests[] = [
       ['test.*.*.*.value:abc', 'test.*.*.*.value:abd'],
       'test.*.*.*.value',
-      $this->getConfigObject('test')->set('test.a.b.c.value', 'abc')->set('test.a.b.d.value', 'abd')
+      $this->getConfigObject('test')->set('test.a.b.c.value', 'abc')->set('test.a.b.d.value', 'abd'),
     ];
 
     return $tests;
diff --git a/core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php b/core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php
index e339af7..d8f285d 100644
--- a/core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php
+++ b/core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php
@@ -63,7 +63,7 @@ protected function getConfigData() {
         'uuid' => $uuid->generate(),
         'dependencies' => array(
           'config' => array(
-            'field.storage.node.body'
+            'field.storage.node.body',
           ),
         ),
       ),
@@ -89,7 +89,7 @@ protected function getConfigData() {
       ),
       // Simple config.
       'system.performance' => array(
-        'stale_file_threshold' => 2592000
+        'stale_file_threshold' => 2592000,
       ),
 
     );
diff --git a/core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php b/core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
index 98a18a3..f38101c 100644
--- a/core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
+++ b/core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
@@ -160,7 +160,7 @@ public function providerTestGetController() {
       // Tests passing a controller via the request.
       array(array('_controller' => 'Drupal\Tests\Core\Controller\MockContainerAware::getResult'), 'Drupal\Tests\Core\Controller\MockContainerAware', 'This is container aware.'),
       // Tests a request with no controller specified.
-      array(array(), FALSE)
+      array(array(), FALSE),
     );
   }
 
diff --git a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
index 2eeb603..d14f9cd 100644
--- a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
+++ b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
@@ -267,7 +267,7 @@ public function testProcessNoPriorityAndExtraArguments() {
     $container
       ->register('consumer_id', __NAMESPACE__ . '\ValidConsumerWithExtraArguments')
       ->addTag('service_collector', array(
-        'call' => 'addNoPriority'
+        'call' => 'addNoPriority',
       ));
 
     $container
@@ -296,7 +296,7 @@ public function testProcessWithIdAndExtraArguments() {
     $container
       ->register('consumer_id', __NAMESPACE__ . '\ValidConsumerWithExtraArguments')
       ->addTag('service_collector', array(
-        'call' => 'addWithId'
+        'call' => 'addWithId',
       ));
 
     $container
@@ -328,7 +328,7 @@ public function testProcessWithDifferentArgumentsOrderAndDefaultValue() {
     $container
       ->register('consumer_id', __NAMESPACE__ . '\ValidConsumerWithExtraArguments')
       ->addTag('service_collector', array(
-        'call' => 'addWithDifferentOrder'
+        'call' => 'addWithDifferentOrder',
       ));
 
     $container
@@ -336,7 +336,7 @@ public function testProcessWithDifferentArgumentsOrderAndDefaultValue() {
       ->addTag('consumer_id', array(
         'priority' => 0,
         'extra1' => 'extra1',
-        'extra3' => 'extra3'
+        'extra3' => 'extra3',
       ));
 
     $handler_pass = new TaggedHandlersPass();
diff --git a/core/tests/Drupal/Tests/Core/DrupalKernel/DiscoverServiceProvidersTest.php b/core/tests/Drupal/Tests/Core/DrupalKernel/DiscoverServiceProvidersTest.php
index 164da9d..9913be5 100644
--- a/core/tests/Drupal/Tests/Core/DrupalKernel/DiscoverServiceProvidersTest.php
+++ b/core/tests/Drupal/Tests/Core/DrupalKernel/DiscoverServiceProvidersTest.php
@@ -21,7 +21,7 @@ class DiscoverServiceProvidersTest extends UnitTestCase {
   public function testDiscoverServiceCustom() {
     new Settings(array(
       'container_yamls' => array(
-        __DIR__ . '/fixtures/custom.yml'
+        __DIR__ . '/fixtures/custom.yml',
       ),
     ));
 
diff --git a/core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php b/core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php
index 36caa00..92a371b 100644
--- a/core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php
+++ b/core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php
@@ -58,7 +58,7 @@ public function providerTestTrustedHosts() {
         'www.example.com',
         'www.example.com',
         'canonical URL is trusted',
-        TRUE
+        TRUE,
       ];
 
       // Tests missing hostname for HTTP/1.0 compatibility where the Host
@@ -70,25 +70,25 @@ public function providerTestTrustedHosts() {
         'example.com',
         'www.example.com',
         'host from settings is trusted',
-        TRUE
+        TRUE,
       ];
       $data[] = [
         'subdomain.example.com',
         'www.example.com',
         'host from settings is trusted',
-        TRUE
+        TRUE,
       ];
       $data[] = [
         'www.example.org',
         'www.example.com',
         'host from settings is trusted',
-        TRUE
+        TRUE,
       ];
       $data[] = [
         'example.org',
         'www.example.com',
         'host from settings is trusted',
-        TRUE
+        TRUE,
       ];
 
       // Tests mismatch.
@@ -96,7 +96,7 @@ public function providerTestTrustedHosts() {
         'www.blackhat.com',
         'www.example.com',
         'unspecified host is untrusted',
-        FALSE
+        FALSE,
       ];
 
       return $data;
@@ -122,8 +122,8 @@ public function testFindSitePath() {
       vfsStream::create(['sites' => [
         'sites.php' => $sites_php,
         'example' => [
-          'settings.php' => 'test'
-        ]
+          'settings.php' => 'test',
+        ],
       ]]);
 
       $request = new Request();
diff --git a/core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php b/core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
index dbd50e7..5240262 100644
--- a/core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
+++ b/core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
@@ -41,7 +41,7 @@ protected function setUp() {
     $this->fieldTypeDefinition = array(
       'id' => $this->fieldType,
       'storage_settings' => array(
-        'some_setting' => 'value 1'
+        'some_setting' => 'value 1',
       ),
       'field_settings' => array(
         'some_instance_setting' => 'value 2',
diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php
index 7cad93c..cc19923 100644
--- a/core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php
+++ b/core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php
@@ -678,7 +678,7 @@ public function testGetFieldMap() {
           'type' => 'string',
           'bundles' => ['second_bundle' => 'second_bundle'],
         ],
-      ]
+      ],
     ];
     $this->assertEquals($expected, $this->entityFieldManager->getFieldMap());
   }
@@ -697,7 +697,7 @@ public function testGetFieldMapFromCache() {
           'type' => 'string',
           'bundles' => ['second_bundle' => 'second_bundle'],
         ],
-      ]
+      ],
     ];
     $this->setUpEntityTypeDefinitions();
     $this->cacheBackend->get('entity_field_map')->willReturn((object) ['data' => $expected]);
diff --git a/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php b/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php
index 1ce87c5..120a075 100644
--- a/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php
+++ b/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php
@@ -155,7 +155,7 @@ public function testGetSchemaBase() {
         ),
         'domain' => array(
           'type' => 'varchar',
-        )
+        ),
       ),
       'unique keys' => array(
         'email' => array('username', 'hostname', array('domain', 3)),
@@ -194,7 +194,7 @@ public function testGetSchemaBase() {
         ),
         'city' => array(
           'type' => 'varchar',
-        )
+        ),
       ),
       'indexes' => array(
         'country_state_city' => array('country', 'state', array('city', 10)),
@@ -420,7 +420,7 @@ public function testGetSchemaRevisionable() {
           'revision_id' => array(
             'type' => 'int',
             'not null' => FALSE,
-          )
+          ),
         ),
         'primary key' => array('id'),
         'unique keys' => array(
@@ -431,7 +431,7 @@ public function testGetSchemaRevisionable() {
           'entity_test__revision' => array(
             'table' => 'entity_test_revision',
             'columns' => array('revision_id' => 'revision_id'),
-          )
+          ),
         ),
       ),
       'entity_test_revision' => array(
@@ -524,7 +524,7 @@ public function testGetSchemaTranslatable() {
           'langcode' => array(
             'type' => 'varchar',
             'not null' => TRUE,
-          )
+          ),
         ),
         'primary key' => array('id'),
         'unique keys' => array(),
@@ -652,7 +652,7 @@ public function testGetSchemaRevisionableTranslatable() {
           'langcode' => array(
             'type' => 'varchar',
             'not null' => TRUE,
-          )
+          ),
         ),
         'primary key' => array('id'),
         'unique keys' => array(
@@ -835,7 +835,7 @@ public function testDedicatedTableSchema() {
         'color' => array(
           'table' => 'color',
           'columns' => array(
-            'color' => 'id'
+            'color' => 'id',
           ),
         ),
       ),
@@ -1002,7 +1002,7 @@ public function testDedicatedTableSchemaForEntityWithStringIdentifier() {
         'color' => array(
           'table' => 'color',
           'columns' => array(
-            'color' => 'id'
+            'color' => 'id',
           ),
         ),
       ),
diff --git a/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php b/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php
index 02970d7..5445993 100644
--- a/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php
+++ b/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php
@@ -1355,7 +1355,7 @@ protected function setUpModuleHandlerNoImplementations() {
       ->method('getImplementations')
       ->will($this->returnValueMap(array(
         array('entity_load', array()),
-        array($this->entityTypeId . '_load', array())
+        array($this->entityTypeId . '_load', array()),
       )));
 
     $this->container->set('module_handler', $this->moduleHandler);
diff --git a/core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php b/core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php
index aa45b3b..7764ae4 100644
--- a/core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php
+++ b/core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php
@@ -40,7 +40,7 @@ protected function setUp() {
         'type' => 'module',
         'pathname' => 'core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/module_handler_test.info.yml',
         'filename' => 'module_handler_test.module',
-      )
+      ),
     ), $this->cacheBackend);
   }
 
@@ -92,8 +92,8 @@ public function testModuleReloading() {
             'type' => 'module',
             'pathname' => 'core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/module_handler_test.info.yml',
             'filename' => 'module_handler_test.module',
-          )
-        ), $this->cacheBackend
+          ),
+        ), $this->cacheBackend,
       ))
       ->setMethods(array('load'))
       ->getMock();
@@ -161,7 +161,7 @@ public function testGetModuleWithNonExistingModule() {
   public function testSetModuleList() {
     $module_handler = $this->getMockBuilder('Drupal\Core\Extension\ModuleHandler')
       ->setConstructorArgs(array(
-        $this->root, array(), $this->cacheBackend
+        $this->root, array(), $this->cacheBackend,
       ))
       ->setMethods(array('resetImplementations'))
       ->getMock();
@@ -189,7 +189,7 @@ public function testAddModule() {
 
     $module_handler = $this->getMockBuilder('Drupal\Core\Extension\ModuleHandler')
       ->setConstructorArgs(array(
-        $this->root, array(), $this->cacheBackend
+        $this->root, array(), $this->cacheBackend,
       ))
       ->setMethods(array('resetImplementations'))
       ->getMock();
@@ -211,7 +211,7 @@ public function testAddProfile() {
 
     $module_handler = $this->getMockBuilder('Drupal\Core\Extension\ModuleHandler')
       ->setConstructorArgs(array(
-        $this->root, array(), $this->cacheBackend
+        $this->root, array(), $this->cacheBackend,
       ))
       ->setMethods(array('resetImplementations'))
       ->getMock();
@@ -247,8 +247,8 @@ public function testLoadAllIncludes() {
             'type' => 'module',
             'pathname' => 'core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/module_handler_test.info.yml',
             'filename' => 'module_handler_test.module',
-          )
-        ), $this->cacheBackend
+          ),
+        ), $this->cacheBackend,
       ))
       ->setMethods(array('loadInclude'))
       ->getMock();
@@ -333,8 +333,8 @@ public function testCachedGetImplementations() {
             'type' => 'module',
             'pathname' => 'core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/module_handler_test.info.yml',
             'filename' => 'module_handler_test.module',
-          )
-        ), $this->cacheBackend
+          ),
+        ), $this->cacheBackend,
       ))
       ->setMethods(array('buildImplementationInfo', 'loadInclude'))
       ->getMock();
@@ -368,8 +368,8 @@ public function testCachedGetImplementationsMissingMethod() {
             'type' => 'module',
             'pathname' => 'core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/module_handler_test.info.yml',
             'filename' => 'module_handler_test.module',
-          )
-        ), $this->cacheBackend
+          ),
+        ), $this->cacheBackend,
       ))
       ->setMethods(array('buildImplementationInfo'))
       ->getMock();
diff --git a/core/tests/Drupal/Tests/Core/File/FileSystemTest.php b/core/tests/Drupal/Tests/Core/File/FileSystemTest.php
index 645daf4..f0f9f3b 100644
--- a/core/tests/Drupal/Tests/Core/File/FileSystemTest.php
+++ b/core/tests/Drupal/Tests/Core/File/FileSystemTest.php
@@ -119,7 +119,7 @@ public function providerTestBasename() {
     $data[] = [
       'public://dir/test.txt',
       'test',
-      '.txt'
+      '.txt',
     ];
     return $data;
   }
diff --git a/core/tests/Drupal/Tests/Core/Form/ConfigFormBaseTraitTest.php b/core/tests/Drupal/Tests/Core/Form/ConfigFormBaseTraitTest.php
index 18d270e..af723b2 100644
--- a/core/tests/Drupal/Tests/Core/Form/ConfigFormBaseTraitTest.php
+++ b/core/tests/Drupal/Tests/Core/Form/ConfigFormBaseTraitTest.php
@@ -19,7 +19,7 @@ public function testConfig() {
     // Set up some configuration in a mocked config factory.
     $trait->configFactory = $this->getConfigFactoryStub([
       'editable.config' => [],
-      'immutable.config' => []
+      'immutable.config' => [],
     ]);
 
     $trait->expects($this->any())
diff --git a/core/tests/Drupal/Tests/Core/Form/FormAjaxResponseBuilderTest.php b/core/tests/Drupal/Tests/Core/Form/FormAjaxResponseBuilderTest.php
index 067ba47..8fc9718 100644
--- a/core/tests/Drupal/Tests/Core/Form/FormAjaxResponseBuilderTest.php
+++ b/core/tests/Drupal/Tests/Core/Form/FormAjaxResponseBuilderTest.php
@@ -87,7 +87,7 @@ public function testBuildResponseRenderArray() {
       '#ajax' => [
         'callback' => function (array $form, FormStateInterface $form_state) {
           return $form['test'];
-        }
+        },
       ],
     ];
     $request = new Request();
@@ -118,7 +118,7 @@ public function testBuildResponseResponse() {
       '#ajax' => [
         'callback' => function (array $form, FormStateInterface $form_state) {
           return new AjaxResponse([]);
-        }
+        },
       ],
     ];
     $request = new Request();
@@ -143,7 +143,7 @@ public function testBuildResponseWithCommands() {
       '#ajax' => [
         'callback' => function (array $form, FormStateInterface $form_state) {
           return new AjaxResponse([]);
-        }
+        },
       ],
     ];
     $request = new Request();
@@ -176,7 +176,7 @@ public function testBuildResponseWithUpdateCommand() {
       '#ajax' => [
         'callback' => function (array $form, FormStateInterface $form_state) {
           return new AjaxResponse([]);
-        }
+        },
       ],
     ];
     $request = new Request();
diff --git a/core/tests/Drupal/Tests/Core/Form/FormCacheTest.php b/core/tests/Drupal/Tests/Core/Form/FormCacheTest.php
index 8b2734d..a116274 100644
--- a/core/tests/Drupal/Tests/Core/Form/FormCacheTest.php
+++ b/core/tests/Drupal/Tests/Core/Form/FormCacheTest.php
@@ -329,7 +329,7 @@ public function testLoadCachedFormStateWithFiles() {
   public function testSetCacheWithForm() {
     $form_build_id = 'the_form_build_id';
     $form = [
-      '#form_id' => 'the_form_id'
+      '#form_id' => 'the_form_id',
     ];
     $form_state = new FormState();
 
diff --git a/core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php b/core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php
index 1e7ec1e..a2091aa 100644
--- a/core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php
+++ b/core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php
@@ -85,7 +85,7 @@ protected function setupLocalTaskDefault() {
    */
   public function testGetRouteParametersForStaticRoute() {
     $this->pluginDefinition = array(
-      'route_name' => 'test_route'
+      'route_name' => 'test_route',
     );
 
     $this->routeProvider->expects($this->once())
@@ -105,7 +105,7 @@ public function testGetRouteParametersForStaticRoute() {
   public function testGetRouteParametersInPluginDefinitions() {
     $this->pluginDefinition = array(
       'route_name' => 'test_route',
-      'route_parameters' => array('parameter' => 'example')
+      'route_parameters' => array('parameter' => 'example'),
     );
 
     $this->routeProvider->expects($this->once())
@@ -124,7 +124,7 @@ public function testGetRouteParametersInPluginDefinitions() {
    */
   public function testGetRouteParametersForDynamicRouteWithNonUpcastedParameters() {
     $this->pluginDefinition = array(
-      'route_name' => 'test_route'
+      'route_name' => 'test_route',
     );
 
     $route = new Route('/test-route/{parameter}');
@@ -147,7 +147,7 @@ public function testGetRouteParametersForDynamicRouteWithNonUpcastedParameters()
    */
   public function testGetRouteParametersForDynamicRouteWithUpcastedParameters() {
     $this->pluginDefinition = array(
-      'route_name' => 'test_route'
+      'route_name' => 'test_route',
     );
 
     $route = new Route('/test-route/{parameter}');
@@ -177,17 +177,17 @@ public function providerTestGetWeight() {
         array(
           'base_route' => 'local_task_default',
           'route_name' => 'local_task_default',
-          'id' => 'local_task_default'
+          'id' => 'local_task_default',
         ),
         'local_task_default',
-        -10
+        -10,
       ),
       // If the base route is different from the route of the tab, ignore it.
       array(
         array(
           'base_route' => 'local_task_example',
           'route_name' => 'local_task_other',
-          'id' => 'local_task_default'
+          'id' => 'local_task_default',
         ),
         'local_task_default',
         0,
@@ -291,9 +291,9 @@ public function testGetOptions() {
       'attributes' => array(
         'class' => array(
           'example',
-          'is-active'
-        )
-      )
+          'is-active',
+        ),
+      ),
     ), $this->localTaskBase->getOptions($route_match));
   }
 
diff --git a/core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultFormTest.php b/core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultFormTest.php
index 0295e40..0bb828b 100644
--- a/core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultFormTest.php
+++ b/core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultFormTest.php
@@ -46,7 +46,7 @@ public function testExtractFormValues() {
       'weight' => 5,
       'expanded' => 1,
       'parent' => 'bar',
-      'menu_name' => 'foo'
+      'menu_name' => 'foo',
     ], $result);
   }
 
diff --git a/core/tests/Drupal/Tests/Core/Menu/StaticMenuLinkOverridesTest.php b/core/tests/Drupal/Tests/Core/Menu/StaticMenuLinkOverridesTest.php
index e09a56e..18c0936 100644
--- a/core/tests/Drupal/Tests/Core/Menu/StaticMenuLinkOverridesTest.php
+++ b/core/tests/Drupal/Tests/Core/Menu/StaticMenuLinkOverridesTest.php
@@ -111,14 +111,14 @@ public function testSaveOverride() {
 
     $definition_save_1 = array(
       'definitions' => array(
-        'test1' => array('parent' => 'test0', 'menu_name' => '', 'weight' => 0, 'expanded' => FALSE, 'enabled' => FALSE)
-      )
+        'test1' => array('parent' => 'test0', 'menu_name' => '', 'weight' => 0, 'expanded' => FALSE, 'enabled' => FALSE),
+      ),
     );
     $definitions_save_2 = array(
       'definitions' => array(
         'test1' => array('parent' => 'test0', 'menu_name' => '', 'weight' => 0, 'expanded' => FALSE, 'enabled' => FALSE),
-        'test1__la___ma' => array('parent' => 'test1', 'menu_name' => '', 'weight' => 0, 'expanded' => FALSE, 'enabled' => FALSE)
-      )
+        'test1__la___ma' => array('parent' => 'test1', 'menu_name' => '', 'weight' => 0, 'expanded' => FALSE, 'enabled' => FALSE),
+      ),
     );
     $config->expects($this->at(2))
       ->method('set')
diff --git a/core/tests/Drupal/Tests/Core/ParamConverter/ParamConverterManagerTest.php b/core/tests/Drupal/Tests/Core/ParamConverter/ParamConverterManagerTest.php
index cc248b0..13c3254 100644
--- a/core/tests/Drupal/Tests/Core/ParamConverter/ParamConverterManagerTest.php
+++ b/core/tests/Drupal/Tests/Core/ParamConverter/ParamConverterManagerTest.php
@@ -80,7 +80,7 @@ public function providerTestAddConverter() {
 
     $converters[0]['sorted'] = array(
       'strawberry', 'raspberry', 'pear', 'peach',
-      'pineapple', 'banana', 'apple'
+      'pineapple', 'banana', 'apple',
     );
 
     $converters[1]['unsorted'] = array(
@@ -95,7 +95,7 @@ public function providerTestAddConverter() {
 
     $converters[1]['sorted'] = array(
       'giraffe', 'zebra', 'eagle', 'ape',
-      'cat', 'puppy', 'llama'
+      'cat', 'puppy', 'llama',
     );
 
     return $converters;
diff --git a/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php b/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php
index 1134ecc..babcc31 100644
--- a/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php
+++ b/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php
@@ -49,8 +49,8 @@ protected function setUp() {
     $language_prefixes = array_keys($this->languages);
     $config = array(
       'url' => array(
-        'prefixes' => array_combine($language_prefixes, $language_prefixes)
-      )
+        'prefixes' => array_combine($language_prefixes, $language_prefixes),
+      ),
     );
 
     // Create a URL-based language negotiation method definition.
@@ -115,7 +115,7 @@ function testProcessInbound() {
     $config_factory_stub = $this->getConfigFactoryStub(
       array(
         'system.site' => array(
-          'page.front' => '/user/login'
+          'page.front' => '/user/login',
         ),
         'language.negotiation' => array(
           'url' => array(
diff --git a/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDirectoryDiscoveryTest.php b/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDirectoryDiscoveryTest.php
index 265374a..f3cc767 100644
--- a/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDirectoryDiscoveryTest.php
+++ b/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDirectoryDiscoveryTest.php
@@ -29,7 +29,7 @@ public function testGetDefinitions() {
           'plugin3.yml' => "id: plugin3\ntest_provider: module_a",
         ],
         'subdir3' => [
-        ]
+        ],
       ],
       'module_b' => [
         'subdir1' => [
diff --git a/core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php b/core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php
index 8e639f9..cd10817 100644
--- a/core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php
+++ b/core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php
@@ -677,17 +677,17 @@ public function providerTestAddCachableDependency() {
       'merge-cacheable-metadata' => [
         (new BubbleableMetadata())->setCacheContexts(['foo'])->setCacheTags(['foo'])->setCacheMaxAge(20),
         (new CacheableMetadata())->setCacheContexts(['bar'])->setCacheTags(['bar'])->setCacheMaxAge(60),
-        (new BubbleableMetadata())->setCacheContexts(['foo', 'bar'])->setCacheTags(['foo', 'bar'])->setCacheMaxAge(20)
+        (new BubbleableMetadata())->setCacheContexts(['foo', 'bar'])->setCacheTags(['foo', 'bar'])->setCacheMaxAge(20),
       ],
       'merge-bubbleable-metadata' => [
         (new BubbleableMetadata())->setCacheContexts(['foo'])->setCacheTags(['foo'])->setCacheMaxAge(20)->setAttachments(['foo' => []]),
         (new BubbleableMetadata())->setCacheContexts(['bar'])->setCacheTags(['bar'])->setCacheMaxAge(60)->setAttachments(['bar' => []]),
-        (new BubbleableMetadata())->setCacheContexts(['foo', 'bar'])->setCacheTags(['foo', 'bar'])->setCacheMaxAge(20)->setAttachments(['foo' => [], 'bar' => []])
+        (new BubbleableMetadata())->setCacheContexts(['foo', 'bar'])->setCacheTags(['foo', 'bar'])->setCacheMaxAge(20)->setAttachments(['foo' => [], 'bar' => []]),
       ],
       'merge-attachments-metadata' => [
         (new BubbleableMetadata())->setAttachments(['foo' => []]),
         (new BubbleableMetadata())->setAttachments(['baro' => []]),
-        (new BubbleableMetadata())->setAttachments(['foo' => [], 'bar' => []])
+        (new BubbleableMetadata())->setAttachments(['foo' => [], 'bar' => []]),
       ],
     ];
   }
diff --git a/core/tests/Drupal/Tests/Core/Render/Element/MachineNameTest.php b/core/tests/Drupal/Tests/Core/Render/Element/MachineNameTest.php
index fe4406d..67d6fae 100644
--- a/core/tests/Drupal/Tests/Core/Render/Element/MachineNameTest.php
+++ b/core/tests/Drupal/Tests/Core/Render/Element/MachineNameTest.php
@@ -59,7 +59,7 @@ public function testProcessMachineName() {
         'maxlength' => 32,
         'additional_property' => TRUE,
         '#additional_property_with_hash' => TRUE,
-      ]
+      ],
     ];
 
     $complete_form = [
@@ -67,7 +67,7 @@ public function testProcessMachineName() {
         '#type' => 'textfield',
         '#id' => 'source',
       ],
-      'test_machine_name' => $element
+      'test_machine_name' => $element,
     ];
 
     $form_state->setCompleteForm($complete_form);
@@ -93,7 +93,7 @@ public function testProcessMachineName() {
       'label',
       'field_prefix',
       'field_suffix',
-      'suffix'
+      'suffix',
     ];
     $this->assertEmpty(array_diff_key($settings, array_flip($allowed_options)));
     foreach ($allowed_options as $key) {
diff --git a/core/tests/Drupal/Tests/Core/Render/Element/TableSelectTest.php b/core/tests/Drupal/Tests/Core/Render/Element/TableSelectTest.php
index ead47e4..f095ae5 100644
--- a/core/tests/Drupal/Tests/Core/Render/Element/TableSelectTest.php
+++ b/core/tests/Drupal/Tests/Core/Render/Element/TableSelectTest.php
@@ -30,7 +30,7 @@ public function testProcessTableselectWithLinkTitle() {
     $element['#value'] = 0;
 
     $element['#options'][] = [
-      'title' => new Link('my-text', Url::fromRoute('<front>'))
+      'title' => new Link('my-text', Url::fromRoute('<front>')),
     ];
 
     $element['#attributes'] = [];
diff --git a/core/tests/Drupal/Tests/Core/Render/ElementTest.php b/core/tests/Drupal/Tests/Core/Render/ElementTest.php
index 604d391..a642d7b 100644
--- a/core/tests/Drupal/Tests/Core/Render/ElementTest.php
+++ b/core/tests/Drupal/Tests/Core/Render/ElementTest.php
@@ -28,7 +28,7 @@ public function testProperties() {
     $element = array(
       '#property1' => 'property1',
       '#property2' => 'property2',
-      'property3' => 'property3'
+      'property3' => 'property3',
     );
 
     $properties = Element::properties($element);
diff --git a/core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php b/core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php
index 5df655b..01e1e49 100644
--- a/core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php
+++ b/core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php
@@ -1130,7 +1130,7 @@ protected function setupThemeManagerForDetails() {
 EOS;
         $output = str_replace([
           '{{ title }}',
-          '{{ children }}'
+          '{{ children }}',
         ], [$vars['#title'], $vars['#children']], $output);
         return $output;
       });
diff --git a/core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php b/core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php
index bffbd22..b70a6e4 100644
--- a/core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php
+++ b/core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php
@@ -47,10 +47,10 @@ public function testRenderRecursionWithNestedRenderRoot() {
     $page = [
       'content' => [
         '#pre_render' => [
-          $callable
+          $callable,
         ],
         '#suffix' => $parent_markup,
-      ]
+      ],
     ];
     $renderer->renderRoot($page);
   }
@@ -79,10 +79,10 @@ public function testRenderRecursionWithNestedRender() {
       'content' => [
         'complex_child' => $complex_child_template,
         '#post_render' => [
-          $callable
+          $callable,
         ],
         '#suffix' => $parent_markup,
-      ]
+      ],
     ];
     $output = $renderer->renderRoot($page);
 
@@ -115,10 +115,10 @@ public function testRenderRecursionWithNestedRenderPlain() {
     $page = [
       'content' => [
         '#pre_render' => [
-          $callable
+          $callable,
         ],
         '#suffix' => $parent_markup,
-      ]
+      ],
     ];
     $output = $renderer->renderRoot($page);
     $this->assertEquals('<p>This is a rendered placeholder!</p>' . $parent_markup, $output, 'Rendered output as expected, with the placeholder replaced.');
diff --git a/core/tests/Drupal/Tests/Core/Render/RendererTest.php b/core/tests/Drupal/Tests/Core/Render/RendererTest.php
index bed7d3d..5a6445b 100644
--- a/core/tests/Drupal/Tests/Core/Render/RendererTest.php
+++ b/core/tests/Drupal/Tests/Core/Render/RendererTest.php
@@ -81,7 +81,7 @@ public function providerTestRenderBasic() {
     // Printed in pre_render.
     $data[] = [[
       '#markup' => 'foo',
-      '#pre_render' => [[new TestCallables(), 'preRenderPrinted']]
+      '#pre_render' => [[new TestCallables(), 'preRenderPrinted']],
     ], ''];
     // Basic #markup based renderable array.
     $data[] = [[
@@ -423,7 +423,7 @@ public function testRenderWithAccessCallbackCallable($access) {
     $build = [
       '#access_callback' => function() use ($access) {
         return $access;
-      }
+      },
     ];
 
     $this->assertAccess($build, $access);
@@ -442,7 +442,7 @@ public function testRenderWithAccessPropertyAndCallback($access) {
       '#access' => $access,
       '#access_callback' => function() {
         return TRUE;
-      }
+      },
     ];
 
     $this->assertAccess($build, $access);
@@ -820,7 +820,7 @@ public function providerTestAddCacheableDependency() {
             'contexts' => ['theme'],
             'tags' => ['bar'],
             'max-age' => 600,
-          ]
+          ],
         ],
         new TestCacheableDependency(['user.roles'], ['foo'], Cache::PERMANENT),
         [
@@ -838,7 +838,7 @@ public function providerTestAddCacheableDependency() {
             'contexts' => ['theme'],
             'tags' => ['bar'],
             'max-age' => 600,
-          ]
+          ],
         ],
         new \stdClass(),
         [
diff --git a/core/tests/Drupal/Tests/Core/Routing/RoutingFixtures.php b/core/tests/Drupal/Tests/Core/Routing/RoutingFixtures.php
index d1826ed..49eee0e 100644
--- a/core/tests/Drupal/Tests/Core/Routing/RoutingFixtures.php
+++ b/core/tests/Drupal/Tests/Core/Routing/RoutingFixtures.php
@@ -60,7 +60,7 @@ public function staticSampleRouteCollection() {
       'path' => '/path/two',
       'methods' => array('GET'),
       'requirements' => array(
-        '_format' => 'json'
+        '_format' => 'json',
       ),
     );
     $routes['route_d'] = array(
@@ -70,7 +70,7 @@ public function staticSampleRouteCollection() {
       'path' => '/path/two',
       'methods' => array('GET', 'HEAD'),
       'requirements' => array(
-        '_format' => 'html'
+        '_format' => 'html',
       ),
     );
 
diff --git a/core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php b/core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php
index ea93703..d92700e 100644
--- a/core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php
+++ b/core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php
@@ -37,7 +37,7 @@ public function testEscaping($template, $expected) {
       'debug' => TRUE,
       'cache' => FALSE,
       'autoescape' => 'html',
-      'optimizations' => 0
+      'optimizations' => 0,
     ));
     $twig->addExtension((new TwigExtension($renderer))->setUrlGenerator($this->getMock('Drupal\Core\Routing\UrlGeneratorInterface')));
 
@@ -69,12 +69,12 @@ public function providerTestEscaping() {
       array('{{ path(name = "foo", parameters = foo) }}', TRUE),
       array(
         '{{ path(name = "foo", parameters = { foo: ["foo", "bar"] }) }}',
-        TRUE
+        TRUE,
       ),
       array('{{ path(name = "foo", parameters = { foo: foo }) }}', TRUE),
       array(
         '{{ path(name = "foo", parameters = { foo: "foo", bar: "bar" }) }}',
-        TRUE
+        TRUE,
       ),
     );
   }
@@ -165,7 +165,7 @@ public function testSafeStringEscaping() {
       'debug' => TRUE,
       'cache' => FALSE,
       'autoescape' => 'html',
-      'optimizations' => 0
+      'optimizations' => 0,
     ));
     $twig_extension = new TwigExtension($renderer);
 
@@ -198,7 +198,7 @@ public function testSafeJoin() {
     $items = [
       '<em>will be escaped</em>',
       $markup,
-      ['#markup' => '<strong>will be rendered</strong>']
+      ['#markup' => '<strong>will be rendered</strong>'],
     ];
     $result = $twig_extension->safeJoin($twig_environment, $items, '<br/>');
     $this->assertEquals('&lt;em&gt;will be escaped&lt;/em&gt;<br/><em>will be markup</em><br/><strong>will be rendered</strong>', $result);
@@ -268,7 +268,7 @@ public function testEscapeWithGeneratedLink() {
       "#cache" => [
         "contexts" => [],
         "tags" => ["foo"],
-        "max-age" => -1
+        "max-age" => -1,
       ],
       "#attached" => ['library' => ['system/base']],
     ])->shouldHaveBeenCalled();
@@ -292,7 +292,7 @@ public function testRenderVarWithGeneratedLink() {
       "#cache" => [
         "contexts" => [],
         "tags" => ["foo"],
-        "max-age" => -1
+        "max-age" => -1,
       ],
       "#attached" => ['library' => ['system/base']],
     ])->shouldHaveBeenCalled();
diff --git a/core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php b/core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php
index 5e3558e..5a5d79e 100644
--- a/core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php
+++ b/core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php
@@ -131,7 +131,7 @@ public function testBasicValidateWithConstraint() {
         ->addConstraint('Callback', [
           'callback' => function ($value, ExecutionContextInterface $context) {
             $context->addViolation('test violation: ' . $value);
-          }
+          },
         ])
     );
     $typed_data->setValue('foo');
@@ -149,7 +149,7 @@ public function testBasicValidateWithMultipleConstraints() {
     $options = [
       'callback' => function ($value, ExecutionContextInterface $context) {
         $context->addViolation('test violation');
-      }
+      },
     ];
     $typed_data = $this->typedDataManager->create(
       DataDefinition::create('string')
@@ -325,7 +325,7 @@ protected function buildExampleTypedDataWithProperties($subkey_value = NULL) {
       'value' => [
         'key1' => 'value1',
         'key2' => 'value2',
-        'key_with_properties' => $subkey_value
+        'key_with_properties' => $subkey_value,
       ],
     ];
     $tree['properties'] = [
diff --git a/core/tests/Drupal/Tests/Core/Update/UpdateRegistryTest.php b/core/tests/Drupal/Tests/Core/Update/UpdateRegistryTest.php
index 2462148..4ebecb6 100644
--- a/core/tests/Drupal/Tests/Core/Update/UpdateRegistryTest.php
+++ b/core/tests/Drupal/Tests/Core/Update/UpdateRegistryTest.php
@@ -79,14 +79,14 @@ function module_b_post_update_a() {
           'modules' => [
             'module_a' => [
               'module_a.post_update.php' => $module_a,
-              'module_a.info.yml' => $info_a
+              'module_a.info.yml' => $info_a,
             ],
             'module_b' => [
               'module_b.post_update.php' => $module_b,
-              'module_b.info.yml' => $info_b
+              'module_b.info.yml' => $info_b,
             ],
-          ]
-        ]
+          ],
+        ],
       ],
     ]);
   }
@@ -103,13 +103,13 @@ public function testGetPendingUpdateFunctionsNoExistingUpdates() {
 
     $update_registry = new UpdateRegistry('vfs://drupal', 'sites/default', [
       'module_a',
-      'module_b'
+      'module_b',
     ], $key_value, FALSE);
 
     $this->assertEquals([
       'module_a_post_update_a',
       'module_a_post_update_b',
-      'module_b_post_update_a'
+      'module_b_post_update_a',
     ], $update_registry->getPendingUpdateFunctions());
   }
 
@@ -150,12 +150,12 @@ public function testGetPendingUpdateFunctionsExistingUpdates() {
 
     $update_registry = new UpdateRegistry('vfs://drupal', 'sites/default', [
       'module_a',
-      'module_b'
+      'module_b',
     ], $key_value, FALSE);
 
     $this->assertEquals(array_values([
       'module_a_post_update_b',
-      'module_b_post_update_a'
+      'module_b_post_update_a',
     ]), array_values($update_registry->getPendingUpdateFunctions()));
 
   }
@@ -172,7 +172,7 @@ public function testGetPendingUpdateInformation() {
 
     $update_registry = new UpdateRegistry('vfs://drupal', 'sites/default', [
       'module_a',
-      'module_b'
+      'module_b',
     ], $key_value, FALSE);
 
     $expected = [];
@@ -197,7 +197,7 @@ public function testGetPendingUpdateInformationWithExistingUpdates() {
 
     $update_registry = new UpdateRegistry('vfs://drupal', 'sites/default', [
       'module_a',
-      'module_b'
+      'module_b',
     ], $key_value, FALSE);
 
     $expected = [];
@@ -218,7 +218,7 @@ public function testGetModuleUpdateFunctions() {
 
     $update_registry = new UpdateRegistry('vfs://drupal', 'sites/default', [
       'module_a',
-      'module_b'
+      'module_b',
     ], $key_value, FALSE);
 
     $this->assertEquals(['module_a_post_update_a', 'module_a_post_update_b'], array_values($update_registry->getModuleUpdateFunctions('module_a')));
@@ -241,7 +241,7 @@ public function testRegisterInvokedUpdatesWithoutExistingUpdates() {
 
     $update_registry = new UpdateRegistry('vfs://drupal', 'sites/default', [
       'module_a',
-      'module_b'
+      'module_b',
     ], $key_value, FALSE);
     $update_registry->registerInvokedUpdates(['module_a_post_update_a']);
   }
@@ -262,7 +262,7 @@ public function testRegisterInvokedUpdatesWithMultiple() {
 
     $update_registry = new UpdateRegistry('vfs://drupal', 'sites/default', [
       'module_a',
-      'module_b'
+      'module_b',
     ], $key_value, FALSE);
     $update_registry->registerInvokedUpdates(['module_a_post_update_a', 'module_a_post_update_b']);
   }
@@ -283,7 +283,7 @@ public function testRegisterInvokedUpdatesWithExistingUpdates() {
 
     $update_registry = new UpdateRegistry('vfs://drupal', 'sites/default', [
       'module_a',
-      'module_b'
+      'module_b',
     ], $key_value, FALSE);
     $update_registry->registerInvokedUpdates(['module_a_post_update_a']);
   }
@@ -304,7 +304,7 @@ public function testFilterOutInvokedUpdatesByModule() {
 
     $update_registry = new UpdateRegistry('vfs://drupal', 'sites/default', [
       'module_a',
-      'module_b'
+      'module_b',
     ], $key_value, FALSE);
 
     $update_registry->filterOutInvokedUpdatesByModule('module_a');
diff --git a/core/tests/Drupal/Tests/Core/Utility/TokenTest.php b/core/tests/Drupal/Tests/Core/Utility/TokenTest.php
index 04a2b8f..1a3d3d1 100644
--- a/core/tests/Drupal/Tests/Core/Utility/TokenTest.php
+++ b/core/tests/Drupal/Tests/Core/Utility/TokenTest.php
@@ -94,7 +94,7 @@ protected function setUp() {
     $container = new ContainerBuilder();
     $this->cacheContextManager = new CacheContextsManager($container, [
       'current_user',
-      'custom_context'
+      'custom_context',
     ]);
     $container->set('cache_contexts_manager', $this->cacheContextManager);
     \Drupal::setContainer($container);
@@ -170,7 +170,7 @@ public function testReplaceWithBubbleableMetadataObject() {
     $this->assertEquals(['node:1'], $bubbleable_metadata->getCacheTags());
     $this->assertEquals([
       'current_user',
-      'custom_context'
+      'custom_context',
     ], $bubbleable_metadata->getCacheContexts());
     $this->assertEquals(10, $bubbleable_metadata->getCacheMaxAge());
   }
@@ -205,7 +205,7 @@ public function testReplaceWithHookTokensWithBubbleableMetadata() {
     $this->assertEquals(['node:1'], $bubbleable_metadata->getCacheTags());
     $this->assertEquals([
       'current_user',
-      'custom_context'
+      'custom_context',
     ], $bubbleable_metadata->getCacheContexts());
     $this->assertEquals(10, $bubbleable_metadata->getCacheMaxAge());
   }
@@ -243,7 +243,7 @@ public function testReplaceWithHookTokensAlterWithBubbleableMetadata() {
     $this->assertEquals(['node:1'], $bubbleable_metadata->getCacheTags());
     $this->assertEquals([
       'current_user',
-      'custom_context'
+      'custom_context',
     ], $bubbleable_metadata->getCacheContexts());
     $this->assertEquals(10, $bubbleable_metadata->getCacheMaxAge());
   }
