diff --git a/core/modules/field/field.module b/core/modules/field/field.module index e7c48b8fa6..3a8a8e16b1 100644 --- a/core/modules/field/field.module +++ b/core/modules/field/field.module @@ -301,7 +301,7 @@ function field_config_import_steps_alter(&$sync_steps, ConfigImporter $config_im // to purge field data where the module that provides the field is being // uninstalled. array_unshift($sync_steps, ['\Drupal\field\ConfigImporterFieldPurger', 'process']); - }; + } } /** diff --git a/core/modules/migrate/src/Plugin/migrate/id_map/Sql.php b/core/modules/migrate/src/Plugin/migrate/id_map/Sql.php index 3e30634437..8c4f582805 100644 --- a/core/modules/migrate/src/Plugin/migrate/id_map/Sql.php +++ b/core/modules/migrate/src/Plugin/migrate/id_map/Sql.php @@ -975,7 +975,7 @@ public function getHighestId() { $keys = $this->migration->getDestinationPlugin()->getIds(); if (reset($keys)['type'] !== 'integer') { throw new \LogicException('To determine the highest migrated ID the first ID must be an integer'); - }; + } // List of mapping tables to look in for the highest ID. $map_tables = [ diff --git a/core/modules/taxonomy/taxonomy.post_update.php b/core/modules/taxonomy/taxonomy.post_update.php index 6b1c6bde08..250c187114 100644 --- a/core/modules/taxonomy/taxonomy.post_update.php +++ b/core/modules/taxonomy/taxonomy.post_update.php @@ -249,7 +249,7 @@ function taxonomy_post_update_configure_status_field_widget(&$sandbox = NULL) { ], ]); return TRUE; - }; + } return FALSE; }); } diff --git a/core/modules/views/tests/src/Kernel/ViewsConfigDependenciesIntegrationTest.php b/core/modules/views/tests/src/Kernel/ViewsConfigDependenciesIntegrationTest.php index 5d6b078ead..0b75a7fdc2 100644 --- a/core/modules/views/tests/src/Kernel/ViewsConfigDependenciesIntegrationTest.php +++ b/core/modules/views/tests/src/Kernel/ViewsConfigDependenciesIntegrationTest.php @@ -148,7 +148,7 @@ public function testConfigRemovalBaseTable() { foreach ($entities as $entity_type_id => $definition) { if ($definition->getProvider() == 'entity_test') { $this->installEntitySchema($entity_type_id); - }; + } } // Check that removing the module that provides the base table for a View, diff --git a/core/modules/workspaces/src/EntityOperations.php b/core/modules/workspaces/src/EntityOperations.php index b8894643c7..a30f617840 100644 --- a/core/modules/workspaces/src/EntityOperations.php +++ b/core/modules/workspaces/src/EntityOperations.php @@ -280,7 +280,7 @@ public function entityFormAlter(array &$form, FormStateInterface $form_state, $f $form['#access'] = FALSE; continue; } - }; + } } /** diff --git a/core/tests/bootstrap.php b/core/tests/bootstrap.php index 4146f999a7..520c9d7835 100644 --- a/core/tests/bootstrap.php +++ b/core/tests/bootstrap.php @@ -147,7 +147,7 @@ function drupal_phpunit_populate_class_loader() { } return $loader; -}; +} // Do class loader population. drupal_phpunit_populate_class_loader();