diff --git a/core/includes/common.inc b/core/includes/common.inc
index ace37c8..a60ff1c 100644
--- a/core/includes/common.inc
+++ b/core/includes/common.inc
@@ -287,7 +287,7 @@ function _drupal_default_html_head() {
 
 /**
  * Retrieves output to be displayed in the HEAD tag of the HTML page.
-  */
+ */
 function drupal_get_html_head() {
   $elements = drupal_add_html_head();
   \Drupal::moduleHandler()->alter('html_head', $elements);
diff --git a/core/includes/install.inc b/core/includes/install.inc
index ac6e00e..5d69e9c 100644
--- a/core/includes/install.inc
+++ b/core/includes/install.inc
@@ -1,6 +1,6 @@
 <?php
 
- /**
+/**
  * @file
  * API functions for installing modules and themes.
  */
diff --git a/core/includes/module.inc b/core/includes/module.inc
index cbbe811..d2cab6a 100644
--- a/core/includes/module.inc
+++ b/core/includes/module.inc
@@ -205,35 +205,35 @@ function module_uninstall($module_list = array(), $uninstall_dependents = TRUE)
  * @} End of "defgroup hooks".
  */
 
- /**
-  * @defgroup callbacks Callbacks
-  * @{
-  * Callback function signatures.
-  *
-  * Drupal's API sometimes uses callback functions to allow you to define how
-  * some type of processing happens. A callback is a function with a defined
-  * signature, which you define in a module. Then you pass the function name as
-  * a parameter to a Drupal API function or return it as part of a hook
-  * implementation return value, and your function is called at an appropriate
-  * time. For instance, when setting up batch processing you might need to
-  * provide a callback function for each processing step and/or a callback for
-  * when processing is finished; you would do that by defining these functions
-  * and passing their names into the batch setup function.
-  *
-  * Callback function signatures, like hook definitions, are described by
-  * creating and documenting dummy functions in a *.api.php file; normally, the
-  * dummy callback function's name should start with "callback_", and you should
-  * document the parameters and return value and provide a sample function body.
-  * Then your API documentation can refer to this callback function in its
-  * documentation. A user of your API can usually name their callback function
-  * anything they want, although a standard name would be to replace "callback_"
-  * with the module name.
-  *
-  * @see hooks
-  * @see themeable
-  *
-  * @}
-  */
+/**
+ * @defgroup callbacks Callbacks
+ * @{
+ * Callback function signatures.
+ *
+ * Drupal's API sometimes uses callback functions to allow you to define how
+ * some type of processing happens. A callback is a function with a defined
+ * signature, which you define in a module. Then you pass the function name as
+ * a parameter to a Drupal API function or return it as part of a hook
+ * implementation return value, and your function is called at an appropriate
+ * time. For instance, when setting up batch processing you might need to
+ * provide a callback function for each processing step and/or a callback for
+ * when processing is finished; you would do that by defining these functions
+ * and passing their names into the batch setup function.
+ *
+ * Callback function signatures, like hook definitions, are described by
+ * creating and documenting dummy functions in a *.api.php file; normally, the
+ * dummy callback function's name should start with "callback_", and you should
+ * document the parameters and return value and provide a sample function body.
+ * Then your API documentation can refer to this callback function in its
+ * documentation. A user of your API can usually name their callback function
+ * anything they want, although a standard name would be to replace "callback_"
+ * with the module name.
+ *
+ * @see hooks
+ * @see themeable
+ *
+ * @}
+ */
 
 /**
  * Returns an array of modules required by core.
diff --git a/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php b/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php
index c92ae8d..cf8bb39 100644
--- a/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php
+++ b/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php
@@ -3,7 +3,7 @@
 /**
  * @file
  * Contains \Drupal\Component\Plugin\Discovery\StaticDiscoveryDecorator.
-*/
+ */
 
 namespace Drupal\Component\Plugin\Discovery;
 
diff --git a/core/lib/Drupal/Component/Plugin/Exception/InvalidDecoratedMethod.php b/core/lib/Drupal/Component/Plugin/Exception/InvalidDecoratedMethod.php
index a3ef8e6..a810063 100644
--- a/core/lib/Drupal/Component/Plugin/Exception/InvalidDecoratedMethod.php
+++ b/core/lib/Drupal/Component/Plugin/Exception/InvalidDecoratedMethod.php
@@ -1,8 +1,8 @@
 <?php
 /**
-* @file
-* Definition of Drupal\Core\Plugin\Exception\InvalidDecoratedMethod.
-*/
+ * @file
+ * Definition of Drupal\Core\Plugin\Exception\InvalidDecoratedMethod.
+ */
 
 namespace Drupal\Component\Plugin\Exception;
 
diff --git a/core/lib/Drupal/Core/Cache/MemoryBackend.php b/core/lib/Drupal/Core/Cache/MemoryBackend.php
index fb9e29c..ff65a34 100644
--- a/core/lib/Drupal/Core/Cache/MemoryBackend.php
+++ b/core/lib/Drupal/Core/Cache/MemoryBackend.php
@@ -228,9 +228,9 @@ public function isEmpty() {
   public function garbageCollection() {
   }
 
- /**
-  * {@inheritdoc}
-  */
+  /**
+   * {@inheritdoc}
+   */
   public function removeBin() {}
 
 }
diff --git a/core/lib/Drupal/Core/Config/ConfigImporterException.php b/core/lib/Drupal/Core/Config/ConfigImporterException.php
index fd18c4d..b10b83e 100644
--- a/core/lib/Drupal/Core/Config/ConfigImporterException.php
+++ b/core/lib/Drupal/Core/Config/ConfigImporterException.php
@@ -1,13 +1,13 @@
 <?php
 
 /**
-* @file
-* Contains \Drupal\Core\Config\ConfigImporterException.
-*/
+ * @file
+ * Contains \Drupal\Core\Config\ConfigImporterException.
+ */
 
 namespace Drupal\Core\Config;
 
 /**
-* Exception thrown when a config import fails.
-*/
+ * Exception thrown when a config import fails.
+ */
 class ConfigImporterException extends ConfigException {}
diff --git a/core/lib/Drupal/Core/Database/Query/Merge.php b/core/lib/Drupal/Core/Database/Query/Merge.php
index d1b52e6..6cdc6ad 100644
--- a/core/lib/Drupal/Core/Database/Query/Merge.php
+++ b/core/lib/Drupal/Core/Database/Query/Merge.php
@@ -124,15 +124,15 @@ class Merge extends Query implements ConditionInterface {
   protected $needsUpdate = FALSE;
 
   /**
-  * Constructs a Merge object.
-  *
-  * @param \Drupal\Core\Database\Connection $connection
-  *   A Connection object.
-  * @param string $table
-  *   Name of the table to associate with this query.
-  * @param array $options
-  *   Array of database options.
-  */
+   * Constructs a Merge object.
+   *
+   * @param \Drupal\Core\Database\Connection $connection
+   *   A Connection object.
+   * @param string $table
+   *   Name of the table to associate with this query.
+   * @param array $options
+   *   Array of database options.
+   */
   public function __construct(Connection $connection, $table, array $options = array()) {
     $options['return'] = Database::RETURN_AFFECTED;
     parent::__construct($connection, $options);
diff --git a/core/lib/Drupal/Core/FileTransfer/FileTransfer.php b/core/lib/Drupal/Core/FileTransfer/FileTransfer.php
index 415e9ff..e121392 100644
--- a/core/lib/Drupal/Core/FileTransfer/FileTransfer.php
+++ b/core/lib/Drupal/Core/FileTransfer/FileTransfer.php
@@ -246,14 +246,14 @@ function __get($name) {
   }
 
   /**
-  * Changes backslashes to slashes, also removes a trailing slash.
-  *
-  * @param string $path
-  *   The path to modify.
-  *
-  * @return string
-  *   The modified path.
-  */
+   * Changes backslashes to slashes, also removes a trailing slash.
+   *
+   * @param string $path
+   *   The path to modify.
+   *
+   * @return string
+   *   The modified path.
+   */
   function sanitizePath($path) {
     $path = str_replace('\\', '/', $path); // Windows path sanitization.
     if (substr($path, -1) == '/') {
diff --git a/core/lib/Drupal/Core/Locale/CountryManager.php b/core/lib/Drupal/Core/Locale/CountryManager.php
index 6617459..492b42e 100644
--- a/core/lib/Drupal/Core/Locale/CountryManager.php
+++ b/core/lib/Drupal/Core/Locale/CountryManager.php
@@ -27,10 +27,10 @@ class CountryManager implements CountryManagerInterface {
   protected $countries;
 
   /*
-  * Constructor.
-  *
-  * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
-  */
+   * Constructor.
+   *
+   * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
+   */
   public function __construct(ModuleHandlerInterface $module_handler) {
     $this->moduleHandler = $module_handler;
   }
diff --git a/core/lib/Drupal/Core/Menu/LocalActionInterface.php b/core/lib/Drupal/Core/Menu/LocalActionInterface.php
index 152b3c6..2595816 100644
--- a/core/lib/Drupal/Core/Menu/LocalActionInterface.php
+++ b/core/lib/Drupal/Core/Menu/LocalActionInterface.php
@@ -35,12 +35,12 @@ public function getRouteName();
    */
   public function getRouteParameters(Request $request);
 
-   /**
-    * Returns the weight for the local action.
-    *
-    * @return int
-    */
-   public function getWeight();
+  /**
+   * Returns the weight for the local action.
+   *
+   * @return int
+   */
+  public function getWeight();
 
   /**
    * Returns options for rendering a link for the local action.
diff --git a/core/lib/Drupal/Core/Plugin/Discovery/AlterDecorator.php b/core/lib/Drupal/Core/Plugin/Discovery/AlterDecorator.php
index c81894e..05388b8 100644
--- a/core/lib/Drupal/Core/Plugin/Discovery/AlterDecorator.php
+++ b/core/lib/Drupal/Core/Plugin/Discovery/AlterDecorator.php
@@ -3,7 +3,7 @@
 /**
  * @file
  * Definition of Drupal\Core\Plugin\Discovery\AlterDiscoveryDecorator.
-*/
+ */
 
 namespace Drupal\Core\Plugin\Discovery;
 
diff --git a/core/lib/Drupal/Core/TypedData/TranslatableInterface.php b/core/lib/Drupal/Core/TypedData/TranslatableInterface.php
index af66bfe..8632edb 100644
--- a/core/lib/Drupal/Core/TypedData/TranslatableInterface.php
+++ b/core/lib/Drupal/Core/TypedData/TranslatableInterface.php
@@ -66,7 +66,7 @@ public function getUntranslated();
    *
    * @return bool
    *   TRUE if the translation exists, FALSE otherwise.
-  */
+   */
   public function hasTranslation($langcode);
 
   /**
diff --git a/core/modules/basic_auth/basic_auth.module b/core/modules/basic_auth/basic_auth.module
index bec5090..c7e0221 100644
--- a/core/modules/basic_auth/basic_auth.module
+++ b/core/modules/basic_auth/basic_auth.module
@@ -5,7 +5,7 @@
  * Provides an HTTP Basic authentication provider.
  */
 
- /**
+/**
  * Implements hook_help().
  */
 function basic_auth_help($path, $arg) {
diff --git a/core/modules/config_translation/lib/Drupal/config_translation/Controller/ConfigTranslationController.php b/core/modules/config_translation/lib/Drupal/config_translation/Controller/ConfigTranslationController.php
index 0235678..827b99e 100644
--- a/core/modules/config_translation/lib/Drupal/config_translation/Controller/ConfigTranslationController.php
+++ b/core/modules/config_translation/lib/Drupal/config_translation/Controller/ConfigTranslationController.php
@@ -40,7 +40,7 @@ class ConfigTranslationController extends ControllerBase {
    */
   protected $accessManager;
 
- /**
+  /**
    * The dynamic router service.
    *
    * @var \Symfony\Component\Routing\Matcher\RequestMatcherInterface
diff --git a/core/modules/config_translation/templates/config_translation_manage_form_element.html.twig b/core/modules/config_translation/templates/config_translation_manage_form_element.html.twig
index 6bbee3d..d20d19c 100644
--- a/core/modules/config_translation/templates/config_translation_manage_form_element.html.twig
+++ b/core/modules/config_translation/templates/config_translation_manage_form_element.html.twig
@@ -1,18 +1,18 @@
 {#
 /**
-* @file
-* Default theme implementation for a form element in config_translation.
-*
-* Available variables:
-* - element: Array that represents the element shown in the form.
-*   - source: The source of the translation.
-*   - translation: The translation for the target language.
-*
-* @see template_preprocess()
-* @see template_preprocess_config_translation_manage_form_element()
-*
-* @ingroup themeable
-*/
+ * @file
+ * Default theme implementation for a form element in config_translation.
+ *
+ * Available variables:
+ * - element: Array that represents the element shown in the form.
+ *   - source: The source of the translation.
+ *   - translation: The translation for the target language.
+ *
+ * @see template_preprocess()
+ * @see template_preprocess_config_translation_manage_form_element()
+ *
+ * @ingroup themeable
+ */
 #}
 <div class="clearfix translation-element-wrapper">
   <div class="source">
diff --git a/core/modules/contact/lib/Drupal/contact/Tests/ContactSitewideTest.php b/core/modules/contact/lib/Drupal/contact/Tests/ContactSitewideTest.php
index 3183f91..7813678 100644
--- a/core/modules/contact/lib/Drupal/contact/Tests/ContactSitewideTest.php
+++ b/core/modules/contact/lib/Drupal/contact/Tests/ContactSitewideTest.php
@@ -279,8 +279,8 @@ function testSiteWideContact() {
   }
 
   /**
-  * Tests auto-reply on the site-wide contact form.
-  */
+   * Tests auto-reply on the site-wide contact form.
+   */
   function testAutoReply() {
     // Create and login administrative user.
     $admin_user = $this->drupalCreateUser(array('access site-wide contact form', 'administer contact forms', 'administer permissions', 'administer users'));
diff --git a/core/modules/file/lib/Drupal/file/Tests/FilePrivateTest.php b/core/modules/file/lib/Drupal/file/Tests/FilePrivateTest.php
index e51ba64..afb0114 100644
--- a/core/modules/file/lib/Drupal/file/Tests/FilePrivateTest.php
+++ b/core/modules/file/lib/Drupal/file/Tests/FilePrivateTest.php
@@ -15,10 +15,10 @@
 class FilePrivateTest extends FileFieldTestBase {
 
   /**
-  * Modules to enable.
-  *
-  * @var array
-  */
+   * Modules to enable.
+   *
+   * @var array
+   */
   public static $modules = array('node_access_test', 'field_test');
 
   public static function getInfo() {
diff --git a/core/modules/image/image.api.php b/core/modules/image/image.api.php
index 8e2d31d..cb56a76 100644
--- a/core/modules/image/image.api.php
+++ b/core/modules/image/image.api.php
@@ -38,6 +38,6 @@ function hook_image_style_flush($style) {
   \Drupal::cache('mymodule')->deleteAll();
 }
 
- /**
-  * @} End of "addtogroup hooks".
-  */
+/**
+ * @} End of "addtogroup hooks".
+ */
diff --git a/core/modules/locale/lib/Drupal/locale/TranslationString.php b/core/modules/locale/lib/Drupal/locale/TranslationString.php
index eabedd9..6d0ac05 100644
--- a/core/modules/locale/lib/Drupal/locale/TranslationString.php
+++ b/core/modules/locale/lib/Drupal/locale/TranslationString.php
@@ -80,7 +80,7 @@ public function isSource() {
 
   /**
    * Implements Drupal\locale\StringInterface::isTranslation().
-  */
+   */
   public function isTranslation() {
     return !empty($this->lid) && !empty($this->language) && isset($this->translation);
   }
diff --git a/core/modules/locale/locale.batch.inc b/core/modules/locale/locale.batch.inc
index 6dfcae6..4e56890 100644
--- a/core/modules/locale/locale.batch.inc
+++ b/core/modules/locale/locale.batch.inc
@@ -32,7 +32,7 @@
  *     Optional, defaults to TRUE.
  * @param array $context
  *   The batch context.
-*/
+ */
 function locale_translation_batch_status_check($project, $langcode, $options = array(), &$context) {
   $failure = $checked = FALSE;
   $options += array(
diff --git a/core/modules/node/lib/Drupal/node/Plugin/views/field/Type.php b/core/modules/node/lib/Drupal/node/Plugin/views/field/Type.php
index f3b7567..9e1be57 100644
--- a/core/modules/node/lib/Drupal/node/Plugin/views/field/Type.php
+++ b/core/modules/node/lib/Drupal/node/Plugin/views/field/Type.php
@@ -41,8 +41,8 @@ public function buildOptionsForm(&$form, &$form_state) {
   }
 
   /**
-    * Render node type as human readable name, unless using machine_name option.
-    */
+   * Render node type as human readable name, unless using machine_name option.
+   */
   function render_name($data, $values) {
     if ($this->options['machine_name'] != 1 && $data !== NULL && $data !== '') {
       $type = entity_load('node_type', $data);
diff --git a/core/modules/node/lib/Drupal/node/Tests/NodeBuildContentTest.php b/core/modules/node/lib/Drupal/node/Tests/NodeBuildContentTest.php
index 17833d9..c2e8eba 100644
--- a/core/modules/node/lib/Drupal/node/Tests/NodeBuildContentTest.php
+++ b/core/modules/node/lib/Drupal/node/Tests/NodeBuildContentTest.php
@@ -20,9 +20,9 @@ public static function getInfo() {
     );
   }
 
- /**
-  * Ensures that content array is rebuilt on every call to node_build_content().
-  */
+  /**
+   * Ensures that content array is rebuilt on every call to node_build_content().
+   */
   function testNodeRebuildContent() {
     $node = $this->drupalCreateNode();
 
diff --git a/core/modules/options/lib/Drupal/options/Tests/OptionsWidgetsTest.php b/core/modules/options/lib/Drupal/options/Tests/OptionsWidgetsTest.php
index 4dd4dc5..53067a7 100644
--- a/core/modules/options/lib/Drupal/options/Tests/OptionsWidgetsTest.php
+++ b/core/modules/options/lib/Drupal/options/Tests/OptionsWidgetsTest.php
@@ -21,7 +21,7 @@ class OptionsWidgetsTest extends FieldTestBase {
    */
   public static $modules = array('node', 'options', 'entity_test', 'options_test', 'taxonomy', 'field_ui');
 
- /**
+  /**
    * A field with cardinality 1 to use in this test class.
    *
    * @var \Drupal\field\Entity\FieldConfig
diff --git a/core/modules/quickedit/lib/Drupal/quickedit/MetadataGenerator.php b/core/modules/quickedit/lib/Drupal/quickedit/MetadataGenerator.php
index 3b73ca3..1ae7975 100644
--- a/core/modules/quickedit/lib/Drupal/quickedit/MetadataGenerator.php
+++ b/core/modules/quickedit/lib/Drupal/quickedit/MetadataGenerator.php
@@ -19,7 +19,7 @@
  */
 class MetadataGenerator implements MetadataGeneratorInterface {
 
-   /**
+  /**
    * An object that checks if a user has access to edit a given entity field.
    *
    * @var \Drupal\quickedit\Access\EditEntityFieldAccessCheckInterface
diff --git a/core/modules/rdf/lib/Drupal/rdf/Tests/Field/TextFieldRdfaTest.php b/core/modules/rdf/lib/Drupal/rdf/Tests/Field/TextFieldRdfaTest.php
index f1af767..db73977 100644
--- a/core/modules/rdf/lib/Drupal/rdf/Tests/Field/TextFieldRdfaTest.php
+++ b/core/modules/rdf/lib/Drupal/rdf/Tests/Field/TextFieldRdfaTest.php
@@ -33,8 +33,8 @@ class TextFieldRdfaTest extends FieldRdfaTestBase {
   protected $testSummary = 'test_summary_value';
 
   /**
-  * {@inheritdoc}
-  */
+   * {@inheritdoc}
+   */
   public static $modules = array('text');
 
   public static function getInfo() {
diff --git a/core/modules/shortcut/src/ShortcutInterface.php b/core/modules/shortcut/src/ShortcutInterface.php
index 9a6bb98..6dc0be2 100644
--- a/core/modules/shortcut/src/ShortcutInterface.php
+++ b/core/modules/shortcut/src/ShortcutInterface.php
@@ -87,7 +87,7 @@ public function getRouteParams();
    *
    * @return \Drupal\shortcut\ShortcutInterface
    *   The called shortcut entity.
-  */
+   */
   public function setRouteParams($route_parameters);
 
 }
diff --git a/core/modules/shortcut/src/ShortcutSetAccessController.php b/core/modules/shortcut/src/ShortcutSetAccessController.php
index c60d52a..fd8d1b9 100644
--- a/core/modules/shortcut/src/ShortcutSetAccessController.php
+++ b/core/modules/shortcut/src/ShortcutSetAccessController.php
@@ -41,7 +41,7 @@ protected function checkAccess(EntityInterface $entity, $operation, $langcode, A
   }
 
   /**
-  * {@inheritdoc}
+   * {@inheritdoc}
    */
   protected function checkCreateAccess(AccountInterface $account, array $context, $entity_bundle = NULL) {
     return $account->hasPermission('administer shortcuts') || $account->hasPermission('customize shortcut links');
diff --git a/core/modules/system/css/system.admin.css b/core/modules/system/css/system.admin.css
index fd0875e..40d7d79 100644
--- a/core/modules/system/css/system.admin.css
+++ b/core/modules/system/css/system.admin.css
@@ -285,8 +285,8 @@ table.system-status-report .status-title {
 }
 
 /**
-* Theme display without vertical toolbar.
-*/
+ * Theme display without vertical toolbar.
+ */
 @media screen and (min-width: 45em) {
   body:not(.toolbar-vertical) .system-themes-list-enabled .screenshot,
   body:not(.toolbar-vertical) .system-themes-list-enabled .no-screenshot {
@@ -320,8 +320,8 @@ table.system-status-report .status-title {
 }
 
 /**
-* Theme display with vertical toolbar.
-*/
+ * Theme display with vertical toolbar.
+ */
 @media screen and (min-width: 60em) {
   .toolbar-vertical .system-themes-list-enabled .screenshot,
   .toolbar-vertical .system-themes-list-enabled .no-screenshot {
diff --git a/core/modules/system/css/system.theme.css b/core/modules/system/css/system.theme.css
index 3f31462..b8678a3 100644
--- a/core/modules/system/css/system.theme.css
+++ b/core/modules/system/css/system.theme.css
@@ -266,7 +266,7 @@ body div.tabledrag-changed-warning {
  * TableSelect behavior.
  *
  * @see tableselect.js
-*/
+ */
 tr.selected td {
   background: #ffc;
 }
diff --git a/core/modules/system/lib/Drupal/system/Tests/Entity/EntityApiTest.php b/core/modules/system/lib/Drupal/system/Tests/Entity/EntityApiTest.php
index a9f0105..490750e 100644
--- a/core/modules/system/lib/Drupal/system/Tests/Entity/EntityApiTest.php
+++ b/core/modules/system/lib/Drupal/system/Tests/Entity/EntityApiTest.php
@@ -103,51 +103,51 @@ protected function assertCRUD($entity_type, UserInterface $user1) {
     }
   }
 
-   /**
-    * Tests that exceptions are properly thrown when saving or deleting an
-    * entity.
-    */
-   public function testEntityStorageExceptionHandling() {
-     $entity = entity_create('entity_test', array('name' => 'test'));
-     try {
-       $GLOBALS['entity_test_throw_exception'] = TRUE;
-       $entity->save();
-       $this->fail('Entity presave EntityStorageException thrown but not caught.');
-     }
-     catch (EntityStorageException $e) {
-       $this->assertEqual($e->getcode(), 1, 'Entity presave EntityStorageException caught.');
-     }
-
-     $entity = entity_create('entity_test', array('name' => 'test2'));
-     try {
-       unset($GLOBALS['entity_test_throw_exception']);
-       $entity->save();
-       $this->pass('Exception presave not thrown and not caught.');
-     }
-     catch (EntityStorageException $e) {
-       $this->assertNotEqual($e->getCode(), 1, 'Entity presave EntityStorageException caught.');
-     }
-
-     $entity = entity_create('entity_test', array('name' => 'test3'));
-     $entity->save();
-     try {
-       $GLOBALS['entity_test_throw_exception'] = TRUE;
-       $entity->delete();
-       $this->fail('Entity predelete EntityStorageException not thrown.');
-     }
-     catch (EntityStorageException $e) {
-       $this->assertEqual($e->getCode(), 2, 'Entity predelete EntityStorageException caught.');
-     }
-
-     unset($GLOBALS['entity_test_throw_exception']);
-     $entity = entity_create('entity_test', array('name' => 'test4'));
-     $entity->save();
-     try {
-       $entity->delete();
-       $this->pass('Entity predelete EntityStorageException not thrown and not caught.');
-     }
-     catch (EntityStorageException $e) {
-       $this->assertNotEqual($e->getCode(), 2, 'Entity predelete EntityStorageException thrown.');
-     }
-   }
+  /**
+   * Tests that exceptions are properly thrown when saving or deleting an
+   * entity.
+   */
+  public function testEntityStorageExceptionHandling() {
+    $entity = entity_create('entity_test', array('name' => 'test'));
+    try {
+      $GLOBALS['entity_test_throw_exception'] = TRUE;
+      $entity->save();
+      $this->fail('Entity presave EntityStorageException thrown but not caught.');
+    }
+    catch (EntityStorageException $e) {
+      $this->assertEqual($e->getcode(), 1, 'Entity presave EntityStorageException caught.');
+    }
+
+    $entity = entity_create('entity_test', array('name' => 'test2'));
+    try {
+      unset($GLOBALS['entity_test_throw_exception']);
+      $entity->save();
+      $this->pass('Exception presave not thrown and not caught.');
+    }
+    catch (EntityStorageException $e) {
+      $this->assertNotEqual($e->getCode(), 1, 'Entity presave EntityStorageException caught.');
+    }
+
+    $entity = entity_create('entity_test', array('name' => 'test3'));
+    $entity->save();
+    try {
+      $GLOBALS['entity_test_throw_exception'] = TRUE;
+      $entity->delete();
+      $this->fail('Entity predelete EntityStorageException not thrown.');
+    }
+    catch (EntityStorageException $e) {
+      $this->assertEqual($e->getCode(), 2, 'Entity predelete EntityStorageException caught.');
+    }
+
+    unset($GLOBALS['entity_test_throw_exception']);
+    $entity = entity_create('entity_test', array('name' => 'test4'));
+    $entity->save();
+    try {
+      $entity->delete();
+      $this->pass('Entity predelete EntityStorageException not thrown and not caught.');
+    }
+    catch (EntityStorageException $e) {
+      $this->assertNotEqual($e->getCode(), 2, 'Entity predelete EntityStorageException thrown.');
+    }
+  }
 }
diff --git a/core/modules/system/lib/Drupal/system/Tests/Form/ValidationTest.php b/core/modules/system/lib/Drupal/system/Tests/Form/ValidationTest.php
index 43f1c88..8bfb15f 100644
--- a/core/modules/system/lib/Drupal/system/Tests/Form/ValidationTest.php
+++ b/core/modules/system/lib/Drupal/system/Tests/Form/ValidationTest.php
@@ -200,7 +200,7 @@ function testPatternValidation() {
     $this->assertNoRaw(t('%name field is not in the right format.', array('%name' => 'Client side validation')));
   }
 
-   /**
+  /**
    * Tests #required with custom validation errors.
    *
    * @see form_test_validate_required_form()
diff --git a/core/modules/system/system.module b/core/modules/system/system.module
index 50cd796..bcec5f4 100644
--- a/core/modules/system/system.module
+++ b/core/modules/system/system.module
@@ -29,7 +29,7 @@
  */
 const DRUPAL_USER_TIMEZONE_SELECT = 2;
 
- /**
+/**
  * Disabled option on forms and settings
  */
 const DRUPAL_DISABLED = 0;
diff --git a/core/modules/taxonomy/taxonomy.module b/core/modules/taxonomy/taxonomy.module
index f1db93f..69bb530 100644
--- a/core/modules/taxonomy/taxonomy.module
+++ b/core/modules/taxonomy/taxonomy.module
@@ -263,7 +263,7 @@ function taxonomy_term_view(Term $term, $view_mode = 'full', $langcode = NULL) {
   return entity_view($term, $view_mode, $langcode);
 }
 
- /**
+/**
  * Constructs a drupal_render() style array from an array of loaded terms.
  *
  * @param array $terms
diff --git a/core/modules/user/css/user.module.css b/core/modules/user/css/user.module.css
index 6d2c51e..4a566c6 100644
--- a/core/modules/user/css/user.module.css
+++ b/core/modules/user/css/user.module.css
@@ -86,7 +86,7 @@ div.password-suggestions ul {
   clear: right;
 }
 
- /**
+/**
  * Password strength indicator on narrow viewport.
  */
 @media screen and (max-width: 600px) {
diff --git a/core/modules/user/lib/Drupal/user/Tests/UserPasswordResetTest.php b/core/modules/user/lib/Drupal/user/Tests/UserPasswordResetTest.php
index 8b4da13..bda0d97 100644
--- a/core/modules/user/lib/Drupal/user/Tests/UserPasswordResetTest.php
+++ b/core/modules/user/lib/Drupal/user/Tests/UserPasswordResetTest.php
@@ -127,9 +127,9 @@ public function getResetURL() {
     return $urls[0];
   }
 
- /**
-  * Prefill the text box on incorrect login via link to password reset page.
-  */
+  /**
+   * Prefill the text box on incorrect login via link to password reset page.
+   */
   public function testUserResetPasswordTextboxFilled() {
     $this->drupalGet('user/login');
     $edit = array(
diff --git a/core/modules/user/lib/Drupal/user/Tests/UserValidationTest.php b/core/modules/user/lib/Drupal/user/Tests/UserValidationTest.php
index 7beec6a..499877e 100644
--- a/core/modules/user/lib/Drupal/user/Tests/UserValidationTest.php
+++ b/core/modules/user/lib/Drupal/user/Tests/UserValidationTest.php
@@ -162,7 +162,7 @@ function testValidation() {
    *   The field that violates the maximum length.
    * @param int $length
    *   Number of characters that was exceeded.
-  */
+   */
   protected function assertLengthViolation(EntityInterface $entity, $field_name, $length) {
     $violations = $entity->validate();
     $this->assertEqual(count($violations), 1, "Violation found when $field_name is too long.");
diff --git a/core/modules/user/user.module b/core/modules/user/user.module
index 9dd87e8..e937d26 100644
--- a/core/modules/user/user.module
+++ b/core/modules/user/user.module
@@ -828,7 +828,7 @@ function user_pass_reset_url($account, $options = array()) {
  * @param array $options
  *   (optional) A keyed array of settings. Supported options are:
  *   - langcode: A language code to be used when generating locale-sensitive
-  *    URLs. If langcode is NULL the users preferred language is used.
+ *     URLs. If langcode is NULL the users preferred language is used.
  *
  * @return
  *   A unique URL that may be used to confirm the cancellation of the user
diff --git a/core/modules/views/lib/Drupal/views/Plugin/ViewsHandlerManager.php b/core/modules/views/lib/Drupal/views/Plugin/ViewsHandlerManager.php
index dae3026..3e6ec05 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/ViewsHandlerManager.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/ViewsHandlerManager.php
@@ -45,7 +45,7 @@ class ViewsHandlerManager extends DefaultPluginManager {
    *   An object that implements \Traversable which contains the root paths
    *   keyed by the corresponding namespace to look for plugin implementations,
    * @param \Drupal\views\ViewsData $views_data
-    *   The views data cache.
+   *   The views data cache.
    * @param \Drupal\Core\Cache\CacheBackendInterface $cache_backend
    *   Cache backend instance to use.
    * @param \Drupal\Core\Language\LanguageManagerInterface $language_manager
diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/PluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/PluginBase.php
index f25e2d0..086160d 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/PluginBase.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/PluginBase.php
@@ -72,7 +72,7 @@
    */
   public $definition;
 
-   /**
+  /**
    * Denotes whether the plugin has an additional options form.
    *
    * @var bool
diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/area/View.php b/core/modules/views/lib/Drupal/views/Plugin/views/area/View.php
index a813eba..a0ec508 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/area/View.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/area/View.php
@@ -28,10 +28,10 @@ class View extends AreaPluginBase {
   protected $isEmpty;
 
   /**
-    * The view storage.
-    *
-    * @var \Drupal\Core\Entity\EntityStorageInterface
-    */
+   * The view storage.
+   *
+   * @var \Drupal\Core\Entity\EntityStorageInterface
+   */
    protected $viewStorage;
 
    /**
diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php
index 9363e85..4f2503c 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php
@@ -105,15 +105,15 @@ public function summaryTitle() {
   protected function cacheExpire($type) {
   }
 
-   /**
-    * Determine expiration time in the cache table of the cache type
-    * or CACHE_PERMANENT if item shouldn't be removed automatically from cache.
-    *
-    * Plugins must override this to implement expiration in the cache table.
-    *
-    * @param $type
-    *   The cache type, either 'query', 'result' or 'output'.
-    */
+  /**
+   * Determine expiration time in the cache table of the cache type
+   * or CACHE_PERMANENT if item shouldn't be removed automatically from cache.
+   *
+   * Plugins must override this to implement expiration in the cache table.
+   *
+   * @param $type
+   *   The cache type, either 'query', 'result' or 'output'.
+   */
   protected function cacheSetExpire($type) {
     return Cache::PERMANENT;
   }
diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php
index 93b7539..750546f 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php
@@ -2346,33 +2346,33 @@ public function isIdentifierUnique($id, $identifier) {
     return TRUE;
   }
 
- /**
-  * Is the output of the view empty.
-  *
-  * If a view has no result and neither the empty, nor the footer nor the header
-  * does show anything return FALSE.
-  *
-  * @return bool
-  *   Returns TRUE if the output is empty, else FALSE.
-  */
- public function outputIsEmpty() {
-   if (!empty($this->view->result)) {
-     return FALSE;
-   }
-
-   // Check whether all of the area handlers are empty.
-   foreach (array('empty', 'footer', 'header') as $type) {
-     $handlers = $this->getHandlers($type);
-     foreach ($handlers as $handler) {
-       // If one is not empty, return FALSE now.
-       if (!$handler->isEmpty()) {
-         return FALSE;
-       }
-     }
-   }
-
-   return TRUE;
- }
+  /**
+   * Is the output of the view empty.
+   *
+   * If a view has no result and neither the empty, nor the footer nor the header
+   * does show anything return FALSE.
+   *
+   * @return bool
+   *   Returns TRUE if the output is empty, else FALSE.
+   */
+  public function outputIsEmpty() {
+    if (!empty($this->view->result)) {
+      return FALSE;
+    }
+
+    // Check whether all of the area handlers are empty.
+    foreach (array('empty', 'footer', 'header') as $type) {
+      $handlers = $this->getHandlers($type);
+      foreach ($handlers as $handler) {
+        // If one is not empty, return FALSE now.
+        if (!$handler->isEmpty()) {
+          return FALSE;
+        }
+      }
+    }
+
+    return TRUE;
+  }
 
   /**
    * Provide the block system with any exposed widget blocks for this display.
diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/exposed_form/ExposedFormPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/exposed_form/ExposedFormPluginBase.php
index 28c55cf..82e4184 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/exposed_form/ExposedFormPluginBase.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/exposed_form/ExposedFormPluginBase.php
@@ -273,16 +273,16 @@ public function exposedFormValidate(&$form, &$form_state) {
   }
 
   /**
-  * This function is executed when exposed form is submited.
-  *
-  * @param $form
-  *   Nested array of form elements that comprise the form.
-  * @param $form_state
-  *   A keyed array containing the current state of the form.
-  * @param $exclude
-  *   Nested array of keys to exclude of insert into
-  *   $view->exposed_raw_input
-  */
+   * This function is executed when exposed form is submited.
+   *
+   * @param $form
+   *   Nested array of form elements that comprise the form.
+   * @param $form_state
+   *   A keyed array containing the current state of the form.
+   * @param $exclude
+   *   Nested array of keys to exclude of insert into
+   *   $view->exposed_raw_input
+   */
   public function exposedFormSubmit(&$form, &$form_state, &$exclude) {
     if (!empty($form_state['values']['op']) && $form_state['values']['op'] == $this->options['reset_button_label']) {
       $this->resetForm($form, $form_state);
diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php
index 51c21f2..902b543 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php
@@ -619,7 +619,7 @@ public function validateExposeForm($form, &$form_state) {
     }
   }
 
-   /**
+  /**
    * Validate the build group options form.
    */
   protected function buildGroupValidate($form, &$form_state) {
@@ -714,7 +714,7 @@ public function defaultExposeOptions() {
     );
   }
 
-   /**
+  /**
    * Provide default options for exposed filters.
    */
   protected function buildGroupOptions() {
diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php
index 0426e68..ee71ed0 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php
@@ -71,13 +71,13 @@
   protected $usesFields = FALSE;
 
   /**
-    * Stores the rendered field values, keyed by the row index and field name.
-    *
-    * @see \Drupal\views\Plugin\views\style\StylePluginBase::renderFields()
-    * @see \Drupal\views\Plugin\views\style\StylePluginBase::getField()
-    *
-    * @var array|null
-    */
+   * Stores the rendered field values, keyed by the row index and field name.
+   *
+   * @see \Drupal\views\Plugin\views\style\StylePluginBase::renderFields()
+   * @see \Drupal\views\Plugin\views\style\StylePluginBase::getField()
+   *
+   * @var array|null
+   */
   protected $rendered_fields;
 
   /**
@@ -661,13 +661,13 @@ public function getField($index, $field) {
   }
 
   /**
-  * Get the raw field value.
-  *
-  * @param $index
-  *   The index count of the row.
-  * @param $field
-  *    The id of the field.
-  */
+   * Get the raw field value.
+   *
+   * @param $index
+   *   The index count of the row.
+   * @param $field
+   *    The id of the field.
+   */
   protected function getFieldValue($index, $field) {
     $this->view->row_index = $index;
     $value = $this->view->field[$field]->getValue($this->view->result[$index]);
diff --git a/core/modules/views/lib/Drupal/views/Tests/Handler/HandlerTest.php b/core/modules/views/lib/Drupal/views/Tests/Handler/HandlerTest.php
index 9a6e56b..14a5286 100644
--- a/core/modules/views/lib/Drupal/views/Tests/Handler/HandlerTest.php
+++ b/core/modules/views/lib/Drupal/views/Tests/Handler/HandlerTest.php
@@ -189,7 +189,7 @@ function testBreakPhrase() {
     $this->assertEqual('and', $handler->operator);
   }
 
-   /**
+  /**
    * Tests the order of handlers is the same before and after saving.
    */
   public function testHandlerWeights() {
diff --git a/core/modules/views/lib/Drupal/views/ViewExecutable.php b/core/modules/views/lib/Drupal/views/ViewExecutable.php
index 4883932..5eb82a6 100644
--- a/core/modules/views/lib/Drupal/views/ViewExecutable.php
+++ b/core/modules/views/lib/Drupal/views/ViewExecutable.php
@@ -230,7 +230,7 @@ class ViewExecutable extends DependencySerialization {
    */
   public $row_index;
 
-   /**
+  /**
    * Allow to override the url of the current view.
    *
    * @var string
diff --git a/core/modules/views/views.theme.inc b/core/modules/views/views.theme.inc
index d01235d..7308da8 100644
--- a/core/modules/views/views.theme.inc
+++ b/core/modules/views/views.theme.inc
@@ -275,19 +275,19 @@ function template_preprocess_views_view_fields(&$variables) {
 }
 
 /**
-* Returns HTML for multiple views fields.
-*
-* @param $variables
-*   An associative array containing:
-*   - fields: An array of field objects. Each field object contains:
-*     - separator: A string that separates the fields.
-*     - wrapper_suffix: A string added to the beginning of the fields.
-*     - label_html: An HTML string that labels the fields.
-*     - content: The fields.
-*     - wrapper_suffix: A string added to the end of the fields.
-*
-* @see template_preprocess_views_view_fields()
-*/
+ * Returns HTML for multiple views fields.
+ *
+ * @param $variables
+ *   An associative array containing:
+ *   - fields: An array of field objects. Each field object contains:
+ *     - separator: A string that separates the fields.
+ *     - wrapper_suffix: A string added to the beginning of the fields.
+ *     - label_html: An HTML string that labels the fields.
+ *     - content: The fields.
+ *     - wrapper_suffix: A string added to the end of the fields.
+ *
+ * @see template_preprocess_views_view_fields()
+ */
 function theme_views_view_fields($variables) {
   $fields = $variables['fields'];
   $output = '';
@@ -320,7 +320,7 @@ function theme_views_view_fields($variables) {
  *     grouping.
  *   - content: The content to be grouped.
  *   - title: The group heading.
-  */
+ */
 function template_preprocess_views_view_grouping(&$variables) {
   $variables['content'] = $variables['view']->style_plugin->renderGroupingSets($variables['rows'], $variables['grouping_level']);
 }
diff --git a/core/modules/views_ui/css/views_ui.admin.theme.css b/core/modules/views_ui/css/views_ui.admin.theme.css
index e6f0614..08bfd80 100644
--- a/core/modules/views_ui/css/views_ui.admin.theme.css
+++ b/core/modules/views_ui/css/views_ui.admin.theme.css
@@ -586,7 +586,7 @@ td.group-title {
    margin-top: 0;
  }
 
- /* @end */
+/* @end */
 
 /* @group Auto preview
  *
diff --git a/core/modules/views_ui/views_ui.theme.inc b/core/modules/views_ui/views_ui.theme.inc
index be0a6a0..430f14a 100644
--- a/core/modules/views_ui/views_ui.theme.inc
+++ b/core/modules/views_ui/views_ui.theme.inc
@@ -352,7 +352,7 @@ function theme_views_ui_rearrange_filter_form(&$variables) {
  * @param array $variables
  *   An associative array containing:
  *   - form: A render element representing the form.
-*/
+ */
 function template_preprocess_views_ui_style_plugin_table(&$variables) {
   $form = $variables['form'];
 
diff --git a/core/themes/bartik/css/style.css b/core/themes/bartik/css/style.css
index 663d60c..18a2c96 100644
--- a/core/themes/bartik/css/style.css
+++ b/core/themes/bartik/css/style.css
@@ -1764,7 +1764,7 @@ div.admin-panel .description {
 /* ----------- media queries ------------------------------- */
 
 @media all and (min-width: 461px) and (max-width: 900px) {
- /* ------------ Header and Menus -------------------------- */
+  /* ------------ Header and Menus -------------------------- */
 
  .region-header {
     margin: .5em 5px .75em;
