diff options
author | Alex Pott | 2016-05-08 15:05:38 (GMT) |
---|---|---|
committer | Alex Pott | 2016-05-08 15:05:38 (GMT) |
commit | 133c212ed9d3b2fad28d53e04858fc1421db3233 (patch) | |
tree | d057b3b612c5f3d3287edb6f9c8cd2414804c375 /core | |
parent | 95ed8ce29d955c8b44440ce10236d26e79ec2077 (diff) |
Issue #2719695 by alexpott, Mile23: Fix 'Drupal.Classes.ClassDeclaration.CloseBraceAfterBody' coding standard
Diffstat (limited to 'core')
846 files changed, 843 insertions, 20 deletions
diff --git a/core/lib/Drupal/Component/Datetime/DateTimePlus.php b/core/lib/Drupal/Component/Datetime/DateTimePlus.php index 1d71ae6..42fa409 100644 --- a/core/lib/Drupal/Component/Datetime/DateTimePlus.php +++ b/core/lib/Drupal/Component/Datetime/DateTimePlus.php @@ -616,4 +616,5 @@ class DateTimePlus { return $value; } + } diff --git a/core/lib/Drupal/Component/Diff/Diff.php b/core/lib/Drupal/Component/Diff/Diff.php index 4afcbd3..2e35611 100644 --- a/core/lib/Drupal/Component/Diff/Diff.php +++ b/core/lib/Drupal/Component/Diff/Diff.php @@ -168,4 +168,5 @@ class Diff { public function getEdits() { return $this->edits; } + } diff --git a/core/lib/Drupal/Component/Diff/Engine/DiffEngine.php b/core/lib/Drupal/Component/Diff/Engine/DiffEngine.php index ca47094..b27886d 100644 --- a/core/lib/Drupal/Component/Diff/Engine/DiffEngine.php +++ b/core/lib/Drupal/Component/Diff/Engine/DiffEngine.php @@ -453,4 +453,5 @@ class DiffEngine { } } } + } diff --git a/core/lib/Drupal/Component/Diff/Engine/DiffOp.php b/core/lib/Drupal/Component/Diff/Engine/DiffOp.php index fa7b996..29d749d 100644 --- a/core/lib/Drupal/Component/Diff/Engine/DiffOp.php +++ b/core/lib/Drupal/Component/Diff/Engine/DiffOp.php @@ -23,4 +23,5 @@ class DiffOp { public function nclosing() { return $this->closing ? sizeof($this->closing) : 0; } + } diff --git a/core/lib/Drupal/Component/Diff/Engine/DiffOpAdd.php b/core/lib/Drupal/Component/Diff/Engine/DiffOpAdd.php index ee4a875..14429c2 100644 --- a/core/lib/Drupal/Component/Diff/Engine/DiffOpAdd.php +++ b/core/lib/Drupal/Component/Diff/Engine/DiffOpAdd.php @@ -18,4 +18,5 @@ class DiffOpAdd extends DiffOp { public function reverse() { return new DiffOpDelete($this->closing); } + } diff --git a/core/lib/Drupal/Component/Diff/Engine/DiffOpChange.php b/core/lib/Drupal/Component/Diff/Engine/DiffOpChange.php index 1e8b4c3..4abd6ac 100644 --- a/core/lib/Drupal/Component/Diff/Engine/DiffOpChange.php +++ b/core/lib/Drupal/Component/Diff/Engine/DiffOpChange.php @@ -18,4 +18,5 @@ class DiffOpChange extends DiffOp { public function reverse() { return new DiffOpChange($this->closing, $this->orig); } + } diff --git a/core/lib/Drupal/Component/Diff/Engine/DiffOpCopy.php b/core/lib/Drupal/Component/Diff/Engine/DiffOpCopy.php index c48a2d9..4128d57 100644 --- a/core/lib/Drupal/Component/Diff/Engine/DiffOpCopy.php +++ b/core/lib/Drupal/Component/Diff/Engine/DiffOpCopy.php @@ -21,4 +21,5 @@ class DiffOpCopy extends DiffOp { public function reverse() { return new DiffOpCopy($this->closing, $this->orig); } + } diff --git a/core/lib/Drupal/Component/Diff/Engine/DiffOpDelete.php b/core/lib/Drupal/Component/Diff/Engine/DiffOpDelete.php index 5d777d1..e402d66 100644 --- a/core/lib/Drupal/Component/Diff/Engine/DiffOpDelete.php +++ b/core/lib/Drupal/Component/Diff/Engine/DiffOpDelete.php @@ -18,4 +18,5 @@ class DiffOpDelete extends DiffOp { public function reverse() { return new DiffOpAdd($this->orig); } + } diff --git a/core/lib/Drupal/Component/Diff/Engine/HWLDFWordAccumulator.php b/core/lib/Drupal/Component/Diff/Engine/HWLDFWordAccumulator.php index 92ed706..532c701 100644 --- a/core/lib/Drupal/Component/Diff/Engine/HWLDFWordAccumulator.php +++ b/core/lib/Drupal/Component/Diff/Engine/HWLDFWordAccumulator.php @@ -75,4 +75,5 @@ class HWLDFWordAccumulator { $this->_flushLine('~done'); return $this->lines; } + } diff --git a/core/lib/Drupal/Component/Diff/MappedDiff.php b/core/lib/Drupal/Component/Diff/MappedDiff.php index 9a6e8bb..d49cc0d 100644 --- a/core/lib/Drupal/Component/Diff/MappedDiff.php +++ b/core/lib/Drupal/Component/Diff/MappedDiff.php @@ -52,4 +52,5 @@ class MappedDiff extends Diff { } } } + } diff --git a/core/lib/Drupal/Component/Diff/WordLevelDiff.php b/core/lib/Drupal/Component/Diff/WordLevelDiff.php index c9114bc..a19c687 100644 --- a/core/lib/Drupal/Component/Diff/WordLevelDiff.php +++ b/core/lib/Drupal/Component/Diff/WordLevelDiff.php @@ -78,4 +78,5 @@ class WordLevelDiff extends MappedDiff { $lines = $closing->getLines(); return $lines; } + } diff --git a/core/lib/Drupal/Component/Gettext/PoHeader.php b/core/lib/Drupal/Component/Gettext/PoHeader.php index f92cfd9..5922301 100644 --- a/core/lib/Drupal/Component/Gettext/PoHeader.php +++ b/core/lib/Drupal/Component/Gettext/PoHeader.php @@ -559,4 +559,5 @@ class PoHeader { } return (int) $element_stack[0]; } + } diff --git a/core/lib/Drupal/Component/Graph/Graph.php b/core/lib/Drupal/Component/Graph/Graph.php index 2dd430d..5d8d5ca 100644 --- a/core/lib/Drupal/Component/Graph/Graph.php +++ b/core/lib/Drupal/Component/Graph/Graph.php @@ -154,4 +154,5 @@ class Graph { // topological order if the graph is acyclic. $state['last_visit_order'][] = $start; } + } diff --git a/core/lib/Drupal/Component/Plugin/Derivative/DeriverBase.php b/core/lib/Drupal/Component/Plugin/Derivative/DeriverBase.php index 1bd7b65..0c97c6d 100644 --- a/core/lib/Drupal/Component/Plugin/Derivative/DeriverBase.php +++ b/core/lib/Drupal/Component/Plugin/Derivative/DeriverBase.php @@ -31,4 +31,5 @@ abstract class DeriverBase implements DeriverInterface { public function getDerivativeDefinitions($base_plugin_definition) { return $this->derivatives; } + } diff --git a/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php b/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php index fd4e5e5..2028f40 100644 --- a/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php +++ b/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php @@ -240,4 +240,5 @@ class DerivativeDiscoveryDecorator implements DiscoveryInterface { public function __call($method, $args) { return call_user_func_array(array($this->decorated, $method), $args); } + } diff --git a/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscovery.php b/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscovery.php index d967a0b..f7ee671 100644 --- a/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscovery.php +++ b/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscovery.php @@ -33,4 +33,5 @@ class StaticDiscovery implements DiscoveryInterface { public function deleteDefinition($plugin) { unset($this->definitions[$plugin]); } + } diff --git a/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php b/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php index 157d87b..889d146 100644 --- a/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php +++ b/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php @@ -63,4 +63,5 @@ class StaticDiscoveryDecorator extends StaticDiscovery { public function __call($method, $args) { return call_user_func_array(array($this->decorated, $method), $args); } + } diff --git a/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php b/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php index b634d51..2cca811 100644 --- a/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php +++ b/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php @@ -103,4 +103,5 @@ class DefaultFactory implements FactoryInterface { return $class; } + } diff --git a/core/lib/Drupal/Component/Plugin/Factory/ReflectionFactory.php b/core/lib/Drupal/Component/Plugin/Factory/ReflectionFactory.php index 3bd3237..9954422 100644 --- a/core/lib/Drupal/Component/Plugin/Factory/ReflectionFactory.php +++ b/core/lib/Drupal/Component/Plugin/Factory/ReflectionFactory.php @@ -76,4 +76,5 @@ class ReflectionFactory extends DefaultFactory { } return $arguments; } + } diff --git a/core/lib/Drupal/Component/Plugin/PluginBase.php b/core/lib/Drupal/Component/Plugin/PluginBase.php index cd339a1..b608e90 100644 --- a/core/lib/Drupal/Component/Plugin/PluginBase.php +++ b/core/lib/Drupal/Component/Plugin/PluginBase.php @@ -92,4 +92,5 @@ abstract class PluginBase implements PluginInspectionInterface, DerivativeInspec public function getPluginDefinition() { return $this->pluginDefinition; } + } diff --git a/core/lib/Drupal/Component/Transliteration/PhpTransliteration.php b/core/lib/Drupal/Component/Transliteration/PhpTransliteration.php index 0953bfe..c20168d 100644 --- a/core/lib/Drupal/Component/Transliteration/PhpTransliteration.php +++ b/core/lib/Drupal/Component/Transliteration/PhpTransliteration.php @@ -280,4 +280,5 @@ class PhpTransliteration implements TransliterationInterface { // Save this data. $this->genericMap[$bank] = $base; } + } diff --git a/core/lib/Drupal/Component/Transliteration/TransliterationInterface.php b/core/lib/Drupal/Component/Transliteration/TransliterationInterface.php index 3a6771f..2291fcc 100644 --- a/core/lib/Drupal/Component/Transliteration/TransliterationInterface.php +++ b/core/lib/Drupal/Component/Transliteration/TransliterationInterface.php @@ -46,4 +46,5 @@ interface TransliterationInterface { * characters, and unknown characters replaced with $unknown_character. */ public function transliterate($string, $langcode = 'en', $unknown_character = '?', $max_length = NULL); + } diff --git a/core/lib/Drupal/Component/Utility/Xss.php b/core/lib/Drupal/Component/Utility/Xss.php index 8f2bffd..ab8be78 100644 --- a/core/lib/Drupal/Component/Utility/Xss.php +++ b/core/lib/Drupal/Component/Utility/Xss.php @@ -343,4 +343,5 @@ class Xss { public static function getHtmlTagList() { return static::$htmlTags; } + } diff --git a/core/lib/Drupal/Component/Uuid/Com.php b/core/lib/Drupal/Component/Uuid/Com.php index 13b943f..0701132 100644 --- a/core/lib/Drupal/Component/Uuid/Com.php +++ b/core/lib/Drupal/Component/Uuid/Com.php @@ -15,4 +15,5 @@ class Com implements UuidInterface { // Remove {} wrapper and make lower case to keep result consistent. return strtolower(trim(com_create_guid(), '{}')); } + } diff --git a/core/lib/Drupal/Component/Uuid/Pecl.php b/core/lib/Drupal/Component/Uuid/Pecl.php index 7960ff0..88e0c63 100644 --- a/core/lib/Drupal/Component/Uuid/Pecl.php +++ b/core/lib/Drupal/Component/Uuid/Pecl.php @@ -13,4 +13,5 @@ class Pecl implements UuidInterface { public function generate() { return uuid_create(UUID_TYPE_DEFAULT); } + } diff --git a/core/lib/Drupal/Component/Uuid/UuidInterface.php b/core/lib/Drupal/Component/Uuid/UuidInterface.php index 16ee8bb..f9f8a7b 100644 --- a/core/lib/Drupal/Component/Uuid/UuidInterface.php +++ b/core/lib/Drupal/Component/Uuid/UuidInterface.php @@ -14,4 +14,5 @@ interface UuidInterface { * A 16 byte integer represented as a hex string formatted with 4 hyphens. */ public function generate(); + } diff --git a/core/lib/Drupal/Core/Access/AccessManager.php b/core/lib/Drupal/Core/Access/AccessManager.php index 81c911b..b0a71ae 100644 --- a/core/lib/Drupal/Core/Access/AccessManager.php +++ b/core/lib/Drupal/Core/Access/AccessManager.php @@ -169,5 +169,4 @@ class AccessManager implements AccessManagerInterface { return $service_access; } - } diff --git a/core/lib/Drupal/Core/Access/CheckProviderInterface.php b/core/lib/Drupal/Core/Access/CheckProviderInterface.php index 5f54cdf..bb0dd4a 100644 --- a/core/lib/Drupal/Core/Access/CheckProviderInterface.php +++ b/core/lib/Drupal/Core/Access/CheckProviderInterface.php @@ -61,4 +61,5 @@ interface CheckProviderInterface { * @return array */ public function getChecksNeedRequest(); + } diff --git a/core/lib/Drupal/Core/Ajax/CloseDialogCommand.php b/core/lib/Drupal/Core/Ajax/CloseDialogCommand.php index f1d6044..fa58208 100644 --- a/core/lib/Drupal/Core/Ajax/CloseDialogCommand.php +++ b/core/lib/Drupal/Core/Ajax/CloseDialogCommand.php @@ -46,4 +46,5 @@ class CloseDialogCommand implements CommandInterface { 'persist' => $this->persist, ); } + } diff --git a/core/lib/Drupal/Core/Ajax/CommandInterface.php b/core/lib/Drupal/Core/Ajax/CommandInterface.php index b6c3b2f..4865289 100644 --- a/core/lib/Drupal/Core/Ajax/CommandInterface.php +++ b/core/lib/Drupal/Core/Ajax/CommandInterface.php @@ -16,4 +16,5 @@ interface CommandInterface { * Return an array to be run through json_encode and sent to the client. */ public function render(); + } diff --git a/core/lib/Drupal/Core/Ajax/OpenModalDialogCommand.php b/core/lib/Drupal/Core/Ajax/OpenModalDialogCommand.php index 45b14ee..edb4fe3 100644 --- a/core/lib/Drupal/Core/Ajax/OpenModalDialogCommand.php +++ b/core/lib/Drupal/Core/Ajax/OpenModalDialogCommand.php @@ -33,4 +33,5 @@ class OpenModalDialogCommand extends OpenDialogCommand { $dialog_options['modal'] = TRUE; parent::__construct('#drupal-modal', $title, $content, $dialog_options, $settings); } + } diff --git a/core/lib/Drupal/Core/Ajax/SetDialogTitleCommand.php b/core/lib/Drupal/Core/Ajax/SetDialogTitleCommand.php index 6f59cb4..4294aeb 100644 --- a/core/lib/Drupal/Core/Ajax/SetDialogTitleCommand.php +++ b/core/lib/Drupal/Core/Ajax/SetDialogTitleCommand.php @@ -23,4 +23,5 @@ class SetDialogTitleCommand extends SetDialogOptionCommand { $this->optionName = 'title'; $this->optionValue = $title; } + } diff --git a/core/lib/Drupal/Core/Archiver/ArchiverInterface.php b/core/lib/Drupal/Core/Archiver/ArchiverInterface.php index 433a541..38c62cb 100644 --- a/core/lib/Drupal/Core/Archiver/ArchiverInterface.php +++ b/core/lib/Drupal/Core/Archiver/ArchiverInterface.php @@ -56,4 +56,5 @@ interface ArchiverInterface { * An array of file names relative to the root of the archive. */ public function listContents(); + } diff --git a/core/lib/Drupal/Core/Archiver/Tar.php b/core/lib/Drupal/Core/Archiver/Tar.php index 3bf66c0..33f4de6 100644 --- a/core/lib/Drupal/Core/Archiver/Tar.php +++ b/core/lib/Drupal/Core/Archiver/Tar.php @@ -87,4 +87,5 @@ class Tar implements ArchiverInterface { public function getArchive() { return $this->tar; } + } diff --git a/core/lib/Drupal/Core/Archiver/Zip.php b/core/lib/Drupal/Core/Archiver/Zip.php index 045e6c0..640bcde 100644 --- a/core/lib/Drupal/Core/Archiver/Zip.php +++ b/core/lib/Drupal/Core/Archiver/Zip.php @@ -89,4 +89,5 @@ class Zip implements ArchiverInterface { public function getArchive() { return $this->zip; } + } diff --git a/core/lib/Drupal/Core/Cache/CacheBackendInterface.php b/core/lib/Drupal/Core/Cache/CacheBackendInterface.php index f486506..68c5b5a 100644 --- a/core/lib/Drupal/Core/Cache/CacheBackendInterface.php +++ b/core/lib/Drupal/Core/Cache/CacheBackendInterface.php @@ -215,4 +215,5 @@ interface CacheBackendInterface { * Remove a cache bin. */ public function removeBin(); + } diff --git a/core/lib/Drupal/Core/Cache/CacheTagsChecksumInterface.php b/core/lib/Drupal/Core/Cache/CacheTagsChecksumInterface.php index accbd8b..3ec62be 100644 --- a/core/lib/Drupal/Core/Cache/CacheTagsChecksumInterface.php +++ b/core/lib/Drupal/Core/Cache/CacheTagsChecksumInterface.php @@ -54,4 +54,5 @@ interface CacheTagsChecksumInterface { * This is only used by tests. */ public function reset(); + } diff --git a/core/lib/Drupal/Core/Cache/DatabaseBackend.php b/core/lib/Drupal/Core/Cache/DatabaseBackend.php index f5fb598..a96d183 100644 --- a/core/lib/Drupal/Core/Cache/DatabaseBackend.php +++ b/core/lib/Drupal/Core/Cache/DatabaseBackend.php @@ -477,4 +477,5 @@ class DatabaseBackend implements CacheBackendInterface { ); return $schema; } + } diff --git a/core/lib/Drupal/Core/Cache/ListCacheBinsPass.php b/core/lib/Drupal/Core/Cache/ListCacheBinsPass.php index 826f0dd..27886ac 100644 --- a/core/lib/Drupal/Core/Cache/ListCacheBinsPass.php +++ b/core/lib/Drupal/Core/Cache/ListCacheBinsPass.php @@ -28,4 +28,5 @@ class ListCacheBinsPass implements CompilerPassInterface { $container->setParameter('cache_bins', $cache_bins); $container->setParameter('cache_default_bin_backends', $cache_default_bin_backends); } + } diff --git a/core/lib/Drupal/Core/Cache/NullBackend.php b/core/lib/Drupal/Core/Cache/NullBackend.php index 4939bb5..fec549f 100644 --- a/core/lib/Drupal/Core/Cache/NullBackend.php +++ b/core/lib/Drupal/Core/Cache/NullBackend.php @@ -88,4 +88,5 @@ class NullBackend implements CacheBackendInterface { * {@inheritdoc} */ public function removeBin() {} + } diff --git a/core/lib/Drupal/Core/Config/BootstrapConfigStorageFactory.php b/core/lib/Drupal/Core/Config/BootstrapConfigStorageFactory.php index 082b0ca..3b9f654 100644 --- a/core/lib/Drupal/Core/Config/BootstrapConfigStorageFactory.php +++ b/core/lib/Drupal/Core/Config/BootstrapConfigStorageFactory.php @@ -56,4 +56,5 @@ class BootstrapConfigStorageFactory { public static function getFileStorage() { return new FileStorage(config_get_config_directory(CONFIG_ACTIVE_DIRECTORY)); } + } diff --git a/core/lib/Drupal/Core/Config/ConfigModuleOverridesEvent.php b/core/lib/Drupal/Core/Config/ConfigModuleOverridesEvent.php index aa5045b..a8a42c5 100644 --- a/core/lib/Drupal/Core/Config/ConfigModuleOverridesEvent.php +++ b/core/lib/Drupal/Core/Config/ConfigModuleOverridesEvent.php @@ -99,4 +99,5 @@ class ConfigModuleOverridesEvent extends Event { } return $this; } + } diff --git a/core/lib/Drupal/Core/Config/DatabaseStorage.php b/core/lib/Drupal/Core/Config/DatabaseStorage.php index 30d3fa9..930eea1 100644 --- a/core/lib/Drupal/Core/Config/DatabaseStorage.php +++ b/core/lib/Drupal/Core/Config/DatabaseStorage.php @@ -325,5 +325,4 @@ class DatabaseStorage implements StorageInterface { } } - } diff --git a/core/lib/Drupal/Core/Config/Entity/ConfigDependencyDeleteFormTrait.php b/core/lib/Drupal/Core/Config/Entity/ConfigDependencyDeleteFormTrait.php index 5e9e4d7..44c02e3 100644 --- a/core/lib/Drupal/Core/Config/Entity/ConfigDependencyDeleteFormTrait.php +++ b/core/lib/Drupal/Core/Config/Entity/ConfigDependencyDeleteFormTrait.php @@ -121,4 +121,5 @@ trait ConfigDependencyDeleteFormTrait { } } + } diff --git a/core/lib/Drupal/Core/Config/ExtensionInstallStorage.php b/core/lib/Drupal/Core/Config/ExtensionInstallStorage.php index 9fc7d4c..bdeb023 100644 --- a/core/lib/Drupal/Core/Config/ExtensionInstallStorage.php +++ b/core/lib/Drupal/Core/Config/ExtensionInstallStorage.php @@ -131,4 +131,5 @@ class ExtensionInstallStorage extends InstallStorage { } return $this->folders; } + } diff --git a/core/lib/Drupal/Core/Config/Schema/ConfigSchemaDiscovery.php b/core/lib/Drupal/Core/Config/Schema/ConfigSchemaDiscovery.php index 9b6b068..f74cc91 100644 --- a/core/lib/Drupal/Core/Config/Schema/ConfigSchemaDiscovery.php +++ b/core/lib/Drupal/Core/Config/Schema/ConfigSchemaDiscovery.php @@ -42,4 +42,5 @@ class ConfigSchemaDiscovery implements DiscoveryInterface { } return $definitions; } + } diff --git a/core/lib/Drupal/Core/Config/Schema/SchemaCheckTrait.php b/core/lib/Drupal/Core/Config/Schema/SchemaCheckTrait.php index fcbda71..972eda4 100644 --- a/core/lib/Drupal/Core/Config/Schema/SchemaCheckTrait.php +++ b/core/lib/Drupal/Core/Config/Schema/SchemaCheckTrait.php @@ -133,4 +133,5 @@ trait SchemaCheckTrait { // No errors found. return array(); } + } diff --git a/core/lib/Drupal/Core/Database/Driver/mysql/Insert.php b/core/lib/Drupal/Core/Database/Driver/mysql/Insert.php index 130d46a..213eb83 100644 --- a/core/lib/Drupal/Core/Database/Driver/mysql/Insert.php +++ b/core/lib/Drupal/Core/Database/Driver/mysql/Insert.php @@ -58,4 +58,5 @@ class Insert extends QueryInsert { return $query; } + } diff --git a/core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php b/core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php index 0c1d036..a91b240 100644 --- a/core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php +++ b/core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php @@ -282,4 +282,5 @@ class Tasks extends InstallTasks { } return $form; } + } diff --git a/core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php b/core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php index 937678e..4cd660b 100644 --- a/core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php +++ b/core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php @@ -844,6 +844,7 @@ class Schema extends DatabaseSchema { // Modify the hash so it's safe to use in PostgreSQL identifiers. return strtr($hash, array('+' => '_', '/' => '_', '=' => '')); } + } /** diff --git a/core/lib/Drupal/Core/Database/Driver/pgsql/Select.php b/core/lib/Drupal/Core/Database/Driver/pgsql/Select.php index 2537963..3214b33 100644 --- a/core/lib/Drupal/Core/Database/Driver/pgsql/Select.php +++ b/core/lib/Drupal/Core/Database/Driver/pgsql/Select.php @@ -152,6 +152,7 @@ class Select extends QuerySelect { return $result; } + } /** diff --git a/core/lib/Drupal/Core/Database/Driver/pgsql/Truncate.php b/core/lib/Drupal/Core/Database/Driver/pgsql/Truncate.php index 13e11f3..0d9947b 100644 --- a/core/lib/Drupal/Core/Database/Driver/pgsql/Truncate.php +++ b/core/lib/Drupal/Core/Database/Driver/pgsql/Truncate.php @@ -25,4 +25,5 @@ class Truncate extends QueryTruncate { return $result; } + } diff --git a/core/lib/Drupal/Core/Database/Driver/sqlite/Install/Tasks.php b/core/lib/Drupal/Core/Database/Driver/sqlite/Install/Tasks.php index 23c3aa5..3a5b970 100644 --- a/core/lib/Drupal/Core/Database/Driver/sqlite/Install/Tasks.php +++ b/core/lib/Drupal/Core/Database/Driver/sqlite/Install/Tasks.php @@ -103,4 +103,5 @@ class Tasks extends InstallTasks { } return TRUE; } + } diff --git a/core/lib/Drupal/Core/Database/Driver/sqlite/Select.php b/core/lib/Drupal/Core/Database/Driver/sqlite/Select.php index be400ad..6d7caab 100644 --- a/core/lib/Drupal/Core/Database/Driver/sqlite/Select.php +++ b/core/lib/Drupal/Core/Database/Driver/sqlite/Select.php @@ -12,4 +12,5 @@ class Select extends QuerySelect { // SQLite does not support FOR UPDATE so nothing to do. return $this; } + } diff --git a/core/lib/Drupal/Core/Database/Driver/sqlite/Statement.php b/core/lib/Drupal/Core/Database/Driver/sqlite/Statement.php index 33a37eb..adc537c 100644 --- a/core/lib/Drupal/Core/Database/Driver/sqlite/Statement.php +++ b/core/lib/Drupal/Core/Database/Driver/sqlite/Statement.php @@ -141,4 +141,5 @@ class Statement extends StatementPrefetch implements StatementInterface { return $return; } + } diff --git a/core/lib/Drupal/Core/Database/Driver/sqlite/Truncate.php b/core/lib/Drupal/Core/Database/Driver/sqlite/Truncate.php index 6cd3b9e..c58ff7d 100644 --- a/core/lib/Drupal/Core/Database/Driver/sqlite/Truncate.php +++ b/core/lib/Drupal/Core/Database/Driver/sqlite/Truncate.php @@ -17,4 +17,5 @@ class Truncate extends QueryTruncate { return $comments . 'DELETE FROM {' . $this->connection->escapeTable($this->table) . '} '; } + } diff --git a/core/lib/Drupal/Core/Database/Log.php b/core/lib/Drupal/Core/Database/Log.php index 84f55cb..76c39db 100644 --- a/core/lib/Drupal/Core/Database/Log.php +++ b/core/lib/Drupal/Core/Database/Log.php @@ -163,4 +163,5 @@ class Log { } } } + } diff --git a/core/lib/Drupal/Core/Database/Query/AlterableInterface.php b/core/lib/Drupal/Core/Database/Query/AlterableInterface.php index 8e0c778..002e39e 100644 --- a/core/lib/Drupal/Core/Database/Query/AlterableInterface.php +++ b/core/lib/Drupal/Core/Database/Query/AlterableInterface.php @@ -87,4 +87,5 @@ interface AlterableInterface { * The previously attached metadata object, or NULL if one doesn't exist. */ public function getMetaData($key); + } diff --git a/core/lib/Drupal/Core/Database/Query/Condition.php b/core/lib/Drupal/Core/Database/Query/Condition.php index 01fbfff..cb39dfd 100644 --- a/core/lib/Drupal/Core/Database/Query/Condition.php +++ b/core/lib/Drupal/Core/Database/Query/Condition.php @@ -351,4 +351,5 @@ class Condition implements ConditionInterface, \Countable { public function orConditionGroup() { return $this->conditionGroupFactory('OR'); } + } diff --git a/core/lib/Drupal/Core/Database/Query/ConditionInterface.php b/core/lib/Drupal/Core/Database/Query/ConditionInterface.php index ae5abd2..bd0b52b 100644 --- a/core/lib/Drupal/Core/Database/Query/ConditionInterface.php +++ b/core/lib/Drupal/Core/Database/Query/ConditionInterface.php @@ -191,4 +191,5 @@ interface ConditionInterface { * @return \Drupal\Core\Database\Query\ConditionInterface */ public function orConditionGroup(); + } diff --git a/core/lib/Drupal/Core/Database/Query/Delete.php b/core/lib/Drupal/Core/Database/Query/Delete.php index eb84388..65f96c9 100644 --- a/core/lib/Drupal/Core/Database/Query/Delete.php +++ b/core/lib/Drupal/Core/Database/Query/Delete.php @@ -75,4 +75,5 @@ class Delete extends Query implements ConditionInterface { return $query; } + } diff --git a/core/lib/Drupal/Core/Database/Query/ExtendableInterface.php b/core/lib/Drupal/Core/Database/Query/ExtendableInterface.php index 79c0633..b0d6f76 100644 --- a/core/lib/Drupal/Core/Database/Query/ExtendableInterface.php +++ b/core/lib/Drupal/Core/Database/Query/ExtendableInterface.php @@ -25,4 +25,5 @@ interface ExtendableInterface { * The extender object, which now contains a reference to this object. */ public function extend($extender_name); + } diff --git a/core/lib/Drupal/Core/Database/Query/Insert.php b/core/lib/Drupal/Core/Database/Query/Insert.php index f51b6ed..a0fa599 100644 --- a/core/lib/Drupal/Core/Database/Query/Insert.php +++ b/core/lib/Drupal/Core/Database/Query/Insert.php @@ -170,4 +170,5 @@ class Insert extends Query implements \Countable { } return TRUE; } + } diff --git a/core/lib/Drupal/Core/Database/Query/Merge.php b/core/lib/Drupal/Core/Database/Query/Merge.php index 7d60278..8bd02fa 100644 --- a/core/lib/Drupal/Core/Database/Query/Merge.php +++ b/core/lib/Drupal/Core/Database/Query/Merge.php @@ -403,4 +403,5 @@ class Merge extends Query implements ConditionInterface { } } } + } diff --git a/core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php b/core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php index a925e31..5207f58 100644 --- a/core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php +++ b/core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php @@ -166,4 +166,5 @@ class PagerSelectExtender extends SelectExtender { } return $this; } + } diff --git a/core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php b/core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php index ddfb5ff..f2a00de 100644 --- a/core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php +++ b/core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php @@ -19,4 +19,5 @@ interface PlaceholderInterface { * The next available placeholder ID as an integer. */ public function nextPlaceholder(); + } diff --git a/core/lib/Drupal/Core/Database/Query/SelectExtender.php b/core/lib/Drupal/Core/Database/Query/SelectExtender.php index 8cd5755..808593c 100644 --- a/core/lib/Drupal/Core/Database/Query/SelectExtender.php +++ b/core/lib/Drupal/Core/Database/Query/SelectExtender.php @@ -532,4 +532,5 @@ class SelectExtender implements SelectInterface { public function orConditionGroup() { return $this->conditionGroupFactory('OR'); } + } diff --git a/core/lib/Drupal/Core/Database/Query/TableSortExtender.php b/core/lib/Drupal/Core/Database/Query/TableSortExtender.php index febb66c..285f1d6 100644 --- a/core/lib/Drupal/Core/Database/Query/TableSortExtender.php +++ b/core/lib/Drupal/Core/Database/Query/TableSortExtender.php @@ -96,4 +96,5 @@ class TableSortExtender extends SelectExtender { protected function order() { return tablesort_get_order($this->header); } + } diff --git a/core/lib/Drupal/Core/Database/Query/Truncate.php b/core/lib/Drupal/Core/Database/Query/Truncate.php index 0ca286d..64520ee 100644 --- a/core/lib/Drupal/Core/Database/Query/Truncate.php +++ b/core/lib/Drupal/Core/Database/Query/Truncate.php @@ -80,4 +80,5 @@ class Truncate extends Query { return $comments . 'TRUNCATE {' . $this->connection->escapeTable($this->table) . '} '; } } + } diff --git a/core/lib/Drupal/Core/Database/Schema.php b/core/lib/Drupal/Core/Database/Schema.php index fcd824d..1a21415 100644 --- a/core/lib/Drupal/Core/Database/Schema.php +++ b/core/lib/Drupal/Core/Database/Schema.php @@ -655,4 +655,5 @@ abstract class Schema implements PlaceholderInterface { } return is_string($value) ? $this->connection->quote($value) : $value; } + } diff --git a/core/lib/Drupal/Core/Database/StatementInterface.php b/core/lib/Drupal/Core/Database/StatementInterface.php index e0147f4..5bc9e48 100644 --- a/core/lib/Drupal/Core/Database/StatementInterface.php +++ b/core/lib/Drupal/Core/Database/StatementInterface.php @@ -208,4 +208,5 @@ interface StatementInterface extends \Traversable { * An associative array, or an empty array if there is no result set. */ public function fetchAllAssoc($key, $fetch = NULL); + } diff --git a/core/lib/Drupal/Core/Database/Transaction.php b/core/lib/Drupal/Core/Database/Transaction.php index 5798343..8db30ab 100644 --- a/core/lib/Drupal/Core/Database/Transaction.php +++ b/core/lib/Drupal/Core/Database/Transaction.php @@ -93,4 +93,5 @@ class Transaction { $this->rolledBack = TRUE; $this->connection->rollback($this->name); } + } diff --git a/core/lib/Drupal/Core/DependencyInjection/Container.php b/core/lib/Drupal/Core/DependencyInjection/Container.php index 47b4297..157f576 100644 --- a/core/lib/Drupal/Core/DependencyInjection/Container.php +++ b/core/lib/Drupal/Core/DependencyInjection/Container.php @@ -29,4 +29,5 @@ class Container extends DrupalContainer { assert(FALSE, 'The container was serialized.'); return array_keys(get_object_vars($this)); } + } diff --git a/core/lib/Drupal/Core/DependencyInjection/ContainerInjectionInterface.php b/core/lib/Drupal/Core/DependencyInjection/ContainerInjectionInterface.php index 03bf726..cccf691 100644 --- a/core/lib/Drupal/Core/DependencyInjection/ContainerInjectionInterface.php +++ b/core/lib/Drupal/Core/DependencyInjection/ContainerInjectionInterface.php @@ -24,4 +24,5 @@ interface ContainerInjectionInterface { * The service container this instance should use. */ public static function create(ContainerInterface $container); + } diff --git a/core/lib/Drupal/Core/DestructableInterface.php b/core/lib/Drupal/Core/DestructableInterface.php index dd68903..fe39f8f 100644 --- a/core/lib/Drupal/Core/DestructableInterface.php +++ b/core/lib/Drupal/Core/DestructableInterface.php @@ -18,4 +18,5 @@ interface DestructableInterface { * Performs destruct operations. */ public function destruct(); + } diff --git a/core/lib/Drupal/Core/Diff/DiffFormatter.php b/core/lib/Drupal/Core/Diff/DiffFormatter.php index 53ae74f..52f2894 100644 --- a/core/lib/Drupal/Core/Diff/DiffFormatter.php +++ b/core/lib/Drupal/Core/Diff/DiffFormatter.php @@ -211,4 +211,5 @@ class DiffFormatter extends DiffFormatterBase { $this->rows[] = array_merge($this->emptyLine(), $this->addedLine($line)); } } + } diff --git a/core/lib/Drupal/Core/DrupalKernel.php b/core/lib/Drupal/Core/DrupalKernel.php index 24a8e4f..90541f4 100644 --- a/core/lib/Drupal/Core/DrupalKernel.php +++ b/core/lib/Drupal/Core/DrupalKernel.php @@ -1506,4 +1506,5 @@ class DrupalKernel implements DrupalKernelInterface, TerminableInterface { protected function addServiceFiles(array $service_yamls) { $this->serviceYamls['site'] = array_filter($service_yamls, 'file_exists'); } + } diff --git a/core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php b/core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php index b5fab53..b4a616a 100644 --- a/core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php +++ b/core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php @@ -301,4 +301,5 @@ class EntityViewDisplay extends EntityDisplayBase implements EntityViewDisplayIn 'formatters' => new EntityDisplayPluginCollection($this->pluginManager, $configurations) ); } + } diff --git a/core/lib/Drupal/Core/Entity/EntityChangedInterface.php b/core/lib/Drupal/Core/Entity/EntityChangedInterface.php index ca7d1b9..7475717 100644 --- a/core/lib/Drupal/Core/Entity/EntityChangedInterface.php +++ b/core/lib/Drupal/Core/Entity/EntityChangedInterface.php @@ -42,4 +42,5 @@ interface EntityChangedInterface { * translations. */ public function getChangedTimeAcrossTranslations(); + } diff --git a/core/lib/Drupal/Core/Entity/EntityChangedTrait.php b/core/lib/Drupal/Core/Entity/EntityChangedTrait.php index 8b2f8cf..f94441b 100644 --- a/core/lib/Drupal/Core/Entity/EntityChangedTrait.php +++ b/core/lib/Drupal/Core/Entity/EntityChangedTrait.php @@ -45,4 +45,5 @@ trait EntityChangedTrait { $this->set('changed', $timestamp); return $this; } + } diff --git a/core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php b/core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php index e3d8d56..e7a2a52 100644 --- a/core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php +++ b/core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php @@ -26,4 +26,5 @@ interface EntityDisplayModeInterface extends ConfigEntityInterface { * @return $this */ public function setTargetType($target_entity_type); + } 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 3a5db03..4ee738f 100644 --- a/core/lib/Drupal/Core/Entity/Plugin/DataType/Deriver/EntityDeriver.php +++ b/core/lib/Drupal/Core/Entity/Plugin/DataType/Deriver/EntityDeriver.php @@ -93,4 +93,5 @@ class EntityDeriver implements ContainerDeriverInterface { } return $this->derivatives; } + } diff --git a/core/lib/Drupal/Core/Entity/Plugin/DataType/EntityReference.php b/core/lib/Drupal/Core/Entity/Plugin/DataType/EntityReference.php index e9ad11c..ff8be9d 100644 --- a/core/lib/Drupal/Core/Entity/Plugin/DataType/EntityReference.php +++ b/core/lib/Drupal/Core/Entity/Plugin/DataType/EntityReference.php @@ -121,4 +121,5 @@ class EntityReference extends DataReferenceBase { } return ''; } + } diff --git a/core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php b/core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php index 83a0d6b..513213f 100644 --- a/core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php +++ b/core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php @@ -55,4 +55,5 @@ class BundleConstraint extends Constraint { public function getRequiredOptions() { return array('bundle'); } + } diff --git a/core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityChangedConstraint.php b/core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityChangedConstraint.php index 65652c4..903e598 100644 --- a/core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityChangedConstraint.php +++ b/core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityChangedConstraint.php @@ -16,4 +16,5 @@ use Symfony\Component\Validator\Constraint; class EntityChangedConstraint extends Constraint { public $message = 'The content has either been modified by another user, or you have already submitted modifications. As a result, your changes cannot be saved.'; + } diff --git a/core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityTypeConstraint.php b/core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityTypeConstraint.php index 4cd502a..c9f2d81 100644 --- a/core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityTypeConstraint.php +++ b/core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityTypeConstraint.php @@ -42,4 +42,5 @@ class EntityTypeConstraint extends Constraint { public function getRequiredOptions() { return array('type'); } + } diff --git a/core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ReferenceAccessConstraintValidator.php b/core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ReferenceAccessConstraintValidator.php index a003204..ab8d64c 100644 --- a/core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ReferenceAccessConstraintValidator.php +++ b/core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ReferenceAccessConstraintValidator.php @@ -47,4 +47,5 @@ class ReferenceAccessConstraintValidator extends ConstraintValidator { } } } + } diff --git a/core/lib/Drupal/Core/Entity/Query/ConditionBase.php b/core/lib/Drupal/Core/Entity/Query/ConditionBase.php index 81e2522..4393935 100644 --- a/core/lib/Drupal/Core/Entity/Query/ConditionBase.php +++ b/core/lib/Drupal/Core/Entity/Query/ConditionBase.php @@ -20,4 +20,5 @@ abstract class ConditionBase extends ConditionFundamentals implements ConditionI return $this; } + } diff --git a/core/lib/Drupal/Core/Entity/Query/ConditionInterface.php b/core/lib/Drupal/Core/Entity/Query/ConditionInterface.php index 7a0664c..81463fb 100644 --- a/core/lib/Drupal/Core/Entity/Query/ConditionInterface.php +++ b/core/lib/Drupal/Core/Entity/Query/ConditionInterface.php @@ -72,4 +72,5 @@ interface ConditionInterface { * The query object this conditional clause belongs to. */ public function compile($query); + } diff --git a/core/lib/Drupal/Core/Entity/Query/Null/Query.php b/core/lib/Drupal/Core/Entity/Query/Null/Query.php index cae2cec..33e14a7 100644 --- a/core/lib/Drupal/Core/Entity/Query/Null/Query.php +++ b/core/lib/Drupal/Core/Entity/Query/Null/Query.php @@ -42,4 +42,5 @@ class Query extends QueryBase implements QueryInterface, QueryAggregateInterface public function conditionAggregateGroupFactory($conjunction = 'AND') { return new ConditionAggregate($conjunction, $this); } + } diff --git a/core/lib/Drupal/Core/Entity/Query/Sql/pgsql/Condition.php b/core/lib/Drupal/Core/Entity/Query/Sql/pgsql/Condition.php index b49e575..1b561ed 100644 --- a/core/lib/Drupal/Core/Entity/Query/Sql/pgsql/Condition.php +++ b/core/lib/Drupal/Core/Entity/Query/Sql/pgsql/Condition.php @@ -33,4 +33,5 @@ class Condition extends BaseCondition { } parent::translateCondition($condition, $sql_query, $case_sensitive); } + } diff --git a/core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinitionInterface.php b/core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinitionInterface.php index f60c9f9..1fff95d 100644 --- a/core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinitionInterface.php +++ b/core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinitionInterface.php @@ -44,4 +44,5 @@ interface EntityDataDefinitionInterface extends ComplexDataDefinitionInterface { * @return $this */ public function setBundles(array $bundles = NULL); + } diff --git a/core/lib/Drupal/Core/EventSubscriber/EntityRouteAlterSubscriber.php b/core/lib/Drupal/Core/EventSubscriber/EntityRouteAlterSubscriber.php index 3d2ada2..8337d43 100644 --- a/core/lib/Drupal/Core/EventSubscriber/EntityRouteAlterSubscriber.php +++ b/core/lib/Drupal/Core/EventSubscriber/EntityRouteAlterSubscriber.php @@ -56,4 +56,5 @@ class EntityRouteAlterSubscriber implements EventSubscriberInterface { $events[RoutingEvents::ALTER][] = array('onRoutingRouteAlterSetType', -150); return $events; } + } diff --git a/core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php b/core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php index 07f00a6..3db181a 100644 --- a/core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php +++ b/core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php @@ -286,4 +286,5 @@ class FinishResponseSubscriber implements EventSubscriberInterface { $events[KernelEvents::RESPONSE][] = array('onRespond'); return $events; } + } diff --git a/core/lib/Drupal/Core/EventSubscriber/KernelDestructionSubscriber.php b/core/lib/Drupal/Core/EventSubscriber/KernelDestructionSubscriber.php index 8016cef..4b04be6 100644 --- a/core/lib/Drupal/Core/EventSubscriber/KernelDestructionSubscriber.php +++ b/core/lib/Drupal/Core/EventSubscriber/KernelDestructionSubscriber.php @@ -62,4 +62,5 @@ class KernelDestructionSubscriber implements EventSubscriberInterface, Container $events[KernelEvents::TERMINATE][] = array('onKernelTerminate', 100); return $events; } + } diff --git a/core/lib/Drupal/Core/EventSubscriber/ParamConverterSubscriber.php b/core/lib/Drupal/Core/EventSubscriber/ParamConverterSubscriber.php index d0c8bf3..271ddbe 100644 --- a/core/lib/Drupal/Core/EventSubscriber/ParamConverterSubscriber.php +++ b/core/lib/Drupal/Core/EventSubscriber/ParamConverterSubscriber.php @@ -48,4 +48,5 @@ class ParamConverterSubscriber implements EventSubscriberInterface { $events[RoutingEvents::ALTER][] = array('onRoutingRouteAlterSetParameterConverters', -220); return $events; } + } diff --git a/core/lib/Drupal/Core/EventSubscriber/PathSubscriber.php b/core/lib/Drupal/Core/EventSubscriber/PathSubscriber.php index 85d5fae..77dbdbc 100644 --- a/core/lib/Drupal/Core/EventSubscriber/PathSubscriber.php +++ b/core/lib/Drupal/Core/EventSubscriber/PathSubscriber.php @@ -75,4 +75,5 @@ class PathSubscriber implements EventSubscriberInterface { $events[KernelEvents::TERMINATE][] = array('onKernelTerminate', 200); return $events; } + } diff --git a/core/lib/Drupal/Core/EventSubscriber/RedirectResponseSubscriber.php b/core/lib/Drupal/Core/EventSubscriber/RedirectResponseSubscriber.php index 9cea5e0..b9a64d5 100644 --- a/core/lib/Drupal/Core/EventSubscriber/RedirectResponseSubscriber.php +++ b/core/lib/Drupal/Core/EventSubscriber/RedirectResponseSubscriber.php @@ -170,4 +170,5 @@ class RedirectResponseSubscriber implements EventSubscriberInterface { $events[KernelEvents::REQUEST][] = array('sanitizeDestination', 100); return $events; } + } diff --git a/core/lib/Drupal/Core/EventSubscriber/RequestCloseSubscriber.php b/core/lib/Drupal/Core/EventSubscriber/RequestCloseSubscriber.php index 7676ae8..7431e96 100644 --- a/core/lib/Drupal/Core/EventSubscriber/RequestCloseSubscriber.php +++ b/core/lib/Drupal/Core/EventSubscriber/RequestCloseSubscriber.php @@ -53,4 +53,5 @@ class RequestCloseSubscriber implements EventSubscriberInterface { return $events; } + } diff --git a/core/lib/Drupal/Core/Executable/ExecutablePluginBase.php b/core/lib/Drupal/Core/Executable/ExecutablePluginBase.php index b6f559b..1480cbf 100644 --- a/core/lib/Drupal/Core/Executable/ExecutablePluginBase.php +++ b/core/lib/Drupal/Core/Executable/ExecutablePluginBase.php @@ -83,4 +83,5 @@ abstract class ExecutablePluginBase extends ContextAwarePluginBase implements Ex $this->configuration[$key] = $value; return $this; } + } diff --git a/core/lib/Drupal/Core/Extension/ModuleUninstallValidatorInterface.php b/core/lib/Drupal/Core/Extension/ModuleUninstallValidatorInterface.php index 3c8dff5..022212e 100644 --- a/core/lib/Drupal/Core/Extension/ModuleUninstallValidatorInterface.php +++ b/core/lib/Drupal/Core/Extension/ModuleUninstallValidatorInterface.php @@ -39,4 +39,5 @@ interface ModuleUninstallValidatorInterface { * @see template_preprocess_system_modules_uninstall() */ public function validate($module); + } diff --git a/core/lib/Drupal/Core/Extension/ThemeHandler.php b/core/lib/Drupal/Core/Extension/ThemeHandler.php index 28ebcce..8c573bb 100644 --- a/core/lib/Drupal/Core/Extension/ThemeHandler.php +++ b/core/lib/Drupal/Core/Extension/ThemeHandler.php @@ -495,4 +495,5 @@ class ThemeHandler implements ThemeHandlerInterface { } return FALSE; } + } diff --git a/core/lib/Drupal/Core/Field/ChangedFieldItemList.php b/core/lib/Drupal/Core/Field/ChangedFieldItemList.php index 969f7b4..f781dc9 100644 --- a/core/lib/Drupal/Core/Field/ChangedFieldItemList.php +++ b/core/lib/Drupal/Core/Field/ChangedFieldItemList.php @@ -17,4 +17,5 @@ class ChangedFieldItemList extends FieldItemList { // It is not possible to edit the changed field. return AccessResult::allowedIf($operation !== 'edit'); } + } diff --git a/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceIdFormatter.php b/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceIdFormatter.php index 4b46ce4..62e54a7 100644 --- a/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceIdFormatter.php +++ b/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceIdFormatter.php @@ -40,4 +40,5 @@ class EntityReferenceIdFormatter extends EntityReferenceFormatterBase { return $elements; } + } diff --git a/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/BooleanItem.php b/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/BooleanItem.php index 527d3ee..0193191 100644 --- a/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/BooleanItem.php +++ b/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/BooleanItem.php @@ -119,4 +119,5 @@ class BooleanItem extends FieldItemBase implements OptionsProviderInterface { $values['value'] = mt_rand(0, 1); return $values; } + } diff --git a/core/lib/Drupal/Core/FileTransfer/FTP.php b/core/lib/Drupal/Core/FileTransfer/FTP.php index 5f38fb0..2238f33 100644 --- a/core/lib/Drupal/Core/FileTransfer/FTP.php +++ b/core/lib/Drupal/Core/FileTransfer/FTP.php @@ -45,4 +45,5 @@ abstract class FTP extends FileTransfer { $form['advanced']['port']['#default_value'] = 21; return $form; } + } diff --git a/core/lib/Drupal/Core/FileTransfer/FTPExtension.php b/core/lib/Drupal/Core/FileTransfer/FTPExtension.php index 8ac5891..3617a63 100644 --- a/core/lib/Drupal/Core/FileTransfer/FTPExtension.php +++ b/core/lib/Drupal/Core/FileTransfer/FTPExtension.php @@ -116,4 +116,5 @@ class FTPExtension extends FTP implements ChmodInterface { } } } + } diff --git a/core/lib/Drupal/Core/FileTransfer/FileTransfer.php b/core/lib/Drupal/Core/FileTransfer/FileTransfer.php index c106fe2..dbe2559 100644 --- a/core/lib/Drupal/Core/FileTransfer/FileTransfer.php +++ b/core/lib/Drupal/Core/FileTransfer/FileTransfer.php @@ -414,4 +414,5 @@ abstract class FileTransfer { ); return $form; } + } diff --git a/core/lib/Drupal/Core/FileTransfer/FileTransferException.php b/core/lib/Drupal/Core/FileTransfer/FileTransferException.php index fd371f5..15e6570 100644 --- a/core/lib/Drupal/Core/FileTransfer/FileTransferException.php +++ b/core/lib/Drupal/Core/FileTransfer/FileTransferException.php @@ -28,4 +28,5 @@ class FileTransferException extends \RuntimeException { parent::__construct($message, $code); $this->arguments = $arguments; } + } diff --git a/core/lib/Drupal/Core/FileTransfer/Local.php b/core/lib/Drupal/Core/FileTransfer/Local.php index e30be49..e687931 100644 --- a/core/lib/Drupal/Core/FileTransfer/Local.php +++ b/core/lib/Drupal/Core/FileTransfer/Local.php @@ -102,4 +102,5 @@ class Local extends FileTransfer implements ChmodInterface { throw new FileTransferException('Cannot chmod %path.', NULL, array('%path' => $path)); } } + } diff --git a/core/lib/Drupal/Core/FileTransfer/SSH.php b/core/lib/Drupal/Core/FileTransfer/SSH.php index 8198730..8250c16 100644 --- a/core/lib/Drupal/Core/FileTransfer/SSH.php +++ b/core/lib/Drupal/Core/FileTransfer/SSH.php @@ -142,4 +142,5 @@ class SSH extends FileTransfer implements ChmodInterface { $form['advanced']['port']['#default_value'] = 22; return $form; } + } diff --git a/core/lib/Drupal/Core/Flood/MemoryBackend.php b/core/lib/Drupal/Core/Flood/MemoryBackend.php index 71dddd2..5b3377e 100644 --- a/core/lib/Drupal/Core/Flood/MemoryBackend.php +++ b/core/lib/Drupal/Core/Flood/MemoryBackend.php @@ -83,4 +83,5 @@ class MemoryBackend implements FloodInterface { } } } + } diff --git a/core/lib/Drupal/Core/Form/Exception/BrokenPostRequestException.php b/core/lib/Drupal/Core/Form/Exception/BrokenPostRequestException.php index e05e6f6..b4283ba 100644 --- a/core/lib/Drupal/Core/Form/Exception/BrokenPostRequestException.php +++ b/core/lib/Drupal/Core/Form/Exception/BrokenPostRequestException.php @@ -45,5 +45,4 @@ class BrokenPostRequestException extends BadRequestHttpException { return $this->size; } - } diff --git a/core/lib/Drupal/Core/Image/ImageInterface.php b/core/lib/Drupal/Core/Image/ImageInterface.php index cf5c3c7..9e112c6 100644 --- a/core/lib/Drupal/Core/Image/ImageInterface.php +++ b/core/lib/Drupal/Core/Image/ImageInterface.php @@ -238,4 +238,5 @@ interface ImageInterface { * TRUE on success, FALSE on failure. */ public function rotate($degrees, $background = NULL); + } diff --git a/core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php b/core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php index c87b986..aca4f31 100644 --- a/core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php +++ b/core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php @@ -164,4 +164,5 @@ class DatabaseStorage extends StorageBase { ->condition('collection', $this->collection) ->execute(); } + } diff --git a/core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php b/core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php index 8b87d3a..9f3b428 100644 --- a/core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php +++ b/core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php @@ -117,5 +117,4 @@ class DatabaseStorageExpirable extends DatabaseStorage implements KeyValueStoreE parent::deleteMultiple($keys); } - } diff --git a/core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php b/core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php index 6d4e7b6..5670fe5 100644 --- a/core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php +++ b/core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php @@ -62,4 +62,5 @@ class KeyValueDatabaseExpirableFactory implements KeyValueExpirableFactoryInterf ->condition('expire', REQUEST_TIME, '<') ->execute(); } + } diff --git a/core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php b/core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php index 3c17b03..d70cb11 100644 --- a/core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php +++ b/core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php @@ -43,4 +43,5 @@ class KeyValueDatabaseFactory implements KeyValueFactoryInterface { public function get($collection) { return new DatabaseStorage($collection, $this->serializer, $this->connection); } + } diff --git a/core/lib/Drupal/Core/KeyValueStore/KeyValueMemoryFactory.php b/core/lib/Drupal/Core/KeyValueStore/KeyValueMemoryFactory.php index dc4cf9d..f172026 100644 --- a/core/lib/Drupal/Core/KeyValueStore/KeyValueMemoryFactory.php +++ b/core/lib/Drupal/Core/KeyValueStore/KeyValueMemoryFactory.php @@ -23,4 +23,5 @@ class KeyValueMemoryFactory implements KeyValueFactoryInterface { } return $this->collections[$collection]; } + } diff --git a/core/lib/Drupal/Core/KeyValueStore/KeyValueNullExpirableFactory.php b/core/lib/Drupal/Core/KeyValueStore/KeyValueNullExpirableFactory.php index a5ea2ec..0761c2b 100644 --- a/core/lib/Drupal/Core/KeyValueStore/KeyValueNullExpirableFactory.php +++ b/core/lib/Drupal/Core/KeyValueStore/KeyValueNullExpirableFactory.php @@ -13,4 +13,5 @@ class KeyValueNullExpirableFactory implements KeyValueExpirableFactoryInterface public function get($collection) { return new NullStorageExpirable($collection); } + } diff --git a/core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php b/core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php index 140c98a..ea9e056 100644 --- a/core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php +++ b/core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php @@ -97,4 +97,5 @@ class MemoryStorage extends StorageBase { public function deleteAll() { $this->data = array(); } + } diff --git a/core/lib/Drupal/Core/Lock/LockBackendAbstract.php b/core/lib/Drupal/Core/Lock/LockBackendAbstract.php index 1ce9ff1..32322d4 100644 --- a/core/lib/Drupal/Core/Lock/LockBackendAbstract.php +++ b/core/lib/Drupal/Core/Lock/LockBackendAbstract.php @@ -71,4 +71,5 @@ abstract class LockBackendAbstract implements LockBackendInterface { } return $this->lockId; } + } diff --git a/core/lib/Drupal/Core/Lock/LockBackendInterface.php b/core/lib/Drupal/Core/Lock/LockBackendInterface.php index 4b99ccc..8c65385 100644 --- a/core/lib/Drupal/Core/Lock/LockBackendInterface.php +++ b/core/lib/Drupal/Core/Lock/LockBackendInterface.php @@ -128,4 +128,5 @@ interface LockBackendInterface { * @return string */ public function getLockId(); + } diff --git a/core/lib/Drupal/Core/Lock/NullLockBackend.php b/core/lib/Drupal/Core/Lock/NullLockBackend.php index 00bbc25..65bf65a 100644 --- a/core/lib/Drupal/Core/Lock/NullLockBackend.php +++ b/core/lib/Drupal/Core/Lock/NullLockBackend.php @@ -57,4 +57,5 @@ class NullLockBackend implements LockBackendInterface { } return $this->lockId; } + } diff --git a/core/lib/Drupal/Core/Lock/PersistentDatabaseLockBackend.php b/core/lib/Drupal/Core/Lock/PersistentDatabaseLockBackend.php index 1735392..eba5c47 100644 --- a/core/lib/Drupal/Core/Lock/PersistentDatabaseLockBackend.php +++ b/core/lib/Drupal/Core/Lock/PersistentDatabaseLockBackend.php @@ -28,4 +28,5 @@ class PersistentDatabaseLockBackend extends DatabaseLockBackend { // @see \Drupal\Core\Lock\LockBackendInterface::getLockId() $this->lockId = 'persistent'; } + } diff --git a/core/lib/Drupal/Core/Mail/MailFormatHelper.php b/core/lib/Drupal/Core/Mail/MailFormatHelper.php index 84919f9..080b326 100644 --- a/core/lib/Drupal/Core/Mail/MailFormatHelper.php +++ b/core/lib/Drupal/Core/Mail/MailFormatHelper.php @@ -388,4 +388,5 @@ class MailFormatHelper { // Add prefix and padding, and restore linebreak. return $text . $prefix . str_repeat($pad, $n) . "\n"; } + } diff --git a/core/lib/Drupal/Core/Mail/MailInterface.php b/core/lib/Drupal/Core/Mail/MailInterface.php index 8fd0a5b..1435ff9 100644 --- a/core/lib/Drupal/Core/Mail/MailInterface.php +++ b/core/lib/Drupal/Core/Mail/MailInterface.php @@ -61,4 +61,5 @@ interface MailInterface { * TRUE if the mail was successfully accepted for delivery, otherwise FALSE. */ public function mail(array $message); + } diff --git a/core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php b/core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php index f750f0b..652c6b3 100644 --- a/core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php +++ b/core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php @@ -111,4 +111,5 @@ class PhpMail implements MailInterface { return $mail_result; } + } diff --git a/core/lib/Drupal/Core/Mail/Plugin/Mail/TestMailCollector.php b/core/lib/Drupal/Core/Mail/Plugin/Mail/TestMailCollector.php index 89c8cb8..ede465e 100644 --- a/core/lib/Drupal/Core/Mail/Plugin/Mail/TestMailCollector.php +++ b/core/lib/Drupal/Core/Mail/Plugin/Mail/TestMailCollector.php @@ -27,4 +27,5 @@ class TestMailCollector extends PhpMail implements MailInterface { return TRUE; } + } diff --git a/core/lib/Drupal/Core/Menu/LocalActionInterface.php b/core/lib/Drupal/Core/Menu/LocalActionInterface.php index 9c92fb2..81ff308 100644 --- a/core/lib/Drupal/Core/Menu/LocalActionInterface.php +++ b/core/lib/Drupal/Core/Menu/LocalActionInterface.php @@ -59,6 +59,4 @@ interface LocalActionInterface { */ public function getTitle(); - - } diff --git a/core/lib/Drupal/Core/Path/AliasManager.php b/core/lib/Drupal/Core/Path/AliasManager.php index f6dcde2..0368d43 100644 --- a/core/lib/Drupal/Core/Path/AliasManager.php +++ b/core/lib/Drupal/Core/Path/AliasManager.php @@ -296,4 +296,5 @@ class AliasManager implements AliasManagerInterface, CacheDecoratorInterface { protected function getRequestTime() { return defined('REQUEST_TIME') ? REQUEST_TIME : (int) $_SERVER['REQUEST_TIME']; } + } diff --git a/core/lib/Drupal/Core/Path/AliasManagerInterface.php b/core/lib/Drupal/Core/Path/AliasManagerInterface.php index dcd00b9..a3096fc 100644 --- a/core/lib/Drupal/Core/Path/AliasManagerInterface.php +++ b/core/lib/Drupal/Core/Path/AliasManagerInterface.php @@ -49,4 +49,5 @@ interface AliasManagerInterface { * if entire cache needs to be flushed. */ public function cacheClear($source = NULL); + } diff --git a/core/lib/Drupal/Core/Path/AliasStorageInterface.php b/core/lib/Drupal/Core/Path/AliasStorageInterface.php index 10d4d92..398ce07 100644 --- a/core/lib/Drupal/Core/Path/AliasStorageInterface.php +++ b/core/lib/Drupal/Core/Path/AliasStorageInterface.php @@ -164,4 +164,5 @@ interface AliasStorageInterface { * TRUE if any alias exists, FALSE otherwise. */ public function pathHasMatchingAlias($initial_substring); + } diff --git a/core/lib/Drupal/Core/Path/PathMatcher.php b/core/lib/Drupal/Core/Path/PathMatcher.php index 970dd15..2b616c2 100644 --- a/core/lib/Drupal/Core/Path/PathMatcher.php +++ b/core/lib/Drupal/Core/Path/PathMatcher.php @@ -116,4 +116,5 @@ class PathMatcher implements PathMatcherInterface { } return $this->frontPage; } + } diff --git a/core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php b/core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php index 36776e2..f1987f8 100644 --- a/core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php +++ b/core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php @@ -140,4 +140,5 @@ class PathProcessorManager implements InboundPathProcessorInterface, OutboundPat } return $sorted; } + } diff --git a/core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php b/core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php index 2206cea..24f5cae 100644 --- a/core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php +++ b/core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php @@ -55,4 +55,5 @@ class HookDiscovery implements DiscoveryInterface { } return $definitions; } + } diff --git a/core/lib/Drupal/Core/Plugin/Discovery/YamlDiscovery.php b/core/lib/Drupal/Core/Plugin/Discovery/YamlDiscovery.php index 0b276f6..0845eb4 100644 --- a/core/lib/Drupal/Core/Plugin/Discovery/YamlDiscovery.php +++ b/core/lib/Drupal/Core/Plugin/Discovery/YamlDiscovery.php @@ -101,4 +101,5 @@ class YamlDiscovery implements DiscoveryInterface { return $definitions; } + } diff --git a/core/lib/Drupal/Core/Queue/Batch.php b/core/lib/Drupal/Core/Queue/Batch.php index e6a0666..a7827a9 100644 --- a/core/lib/Drupal/Core/Queue/Batch.php +++ b/core/lib/Drupal/Core/Queue/Batch.php @@ -60,4 +60,5 @@ class Batch extends DatabaseQueue { } return $result; } + } diff --git a/core/lib/Drupal/Core/Queue/BatchMemory.php b/core/lib/Drupal/Core/Queue/BatchMemory.php index 5756d49..8245308 100644 --- a/core/lib/Drupal/Core/Queue/BatchMemory.php +++ b/core/lib/Drupal/Core/Queue/BatchMemory.php @@ -46,4 +46,5 @@ class BatchMemory extends Memory { } return $result; } + } diff --git a/core/lib/Drupal/Core/Queue/Memory.php b/core/lib/Drupal/Core/Queue/Memory.php index b2ba761..b921d2c 100644 --- a/core/lib/Drupal/Core/Queue/Memory.php +++ b/core/lib/Drupal/Core/Queue/Memory.php @@ -103,4 +103,5 @@ class Memory implements QueueInterface { $this->queue = array(); $this->idSequence = 0; } + } diff --git a/core/lib/Drupal/Core/Queue/QueueDatabaseFactory.php b/core/lib/Drupal/Core/Queue/QueueDatabaseFactory.php index 5f1a291..e2bec48 100644 --- a/core/lib/Drupal/Core/Queue/QueueDatabaseFactory.php +++ b/core/lib/Drupal/Core/Queue/QueueDatabaseFactory.php @@ -38,4 +38,5 @@ class QueueDatabaseFactory { public function get($name) { return new DatabaseQueue($name, $this->connection); } + } diff --git a/core/lib/Drupal/Core/Queue/QueueFactory.php b/core/lib/Drupal/Core/Queue/QueueFactory.php index 7c155a4..db493d9 100644 --- a/core/lib/Drupal/Core/Queue/QueueFactory.php +++ b/core/lib/Drupal/Core/Queue/QueueFactory.php @@ -63,4 +63,5 @@ class QueueFactory implements ContainerAwareInterface { } return $this->queues[$name]; } + } diff --git a/core/lib/Drupal/Core/Queue/QueueInterface.php b/core/lib/Drupal/Core/Queue/QueueInterface.php index b384121..6d86224 100644 --- a/core/lib/Drupal/Core/Queue/QueueInterface.php +++ b/core/lib/Drupal/Core/Queue/QueueInterface.php @@ -106,4 +106,5 @@ interface QueueInterface { * Deletes a queue and every item in the queue. */ public function deleteQueue(); + } diff --git a/core/lib/Drupal/Core/Render/Element/Textarea.php b/core/lib/Drupal/Core/Render/Element/Textarea.php index 6adb18c..f9286ea 100644 --- a/core/lib/Drupal/Core/Render/Element/Textarea.php +++ b/core/lib/Drupal/Core/Render/Element/Textarea.php @@ -61,4 +61,5 @@ class Textarea extends FormElement { } return NULL; } + } diff --git a/core/lib/Drupal/Core/Render/Markup.php b/core/lib/Drupal/Core/Render/Markup.php index 3b48951..6a2f291 100644 --- a/core/lib/Drupal/Core/Render/Markup.php +++ b/core/lib/Drupal/Core/Render/Markup.php @@ -22,4 +22,5 @@ use Drupal\Component\Render\MarkupTrait; */ final class Markup implements MarkupInterface, \Countable { use MarkupTrait; + } diff --git a/core/lib/Drupal/Core/Render/Placeholder/SingleFlushStrategy.php b/core/lib/Drupal/Core/Render/Placeholder/SingleFlushStrategy.php index 3d7228c..6cb8d1f 100644 --- a/core/lib/Drupal/Core/Render/Placeholder/SingleFlushStrategy.php +++ b/core/lib/Drupal/Core/Render/Placeholder/SingleFlushStrategy.php @@ -18,4 +18,5 @@ class SingleFlushStrategy implements PlaceholderStrategyInterface { // Return all placeholders as is; they should be rendered directly. return $placeholders; } + } diff --git a/core/lib/Drupal/Core/Routing/CompiledRoute.php b/core/lib/Drupal/Core/Routing/CompiledRoute.php index a5dbbef..775d4ae 100644 --- a/core/lib/Drupal/Core/Routing/CompiledRoute.php +++ b/core/lib/Drupal/Core/Routing/CompiledRoute.php @@ -163,5 +163,4 @@ class CompiledRoute extends SymfonyCompiledRoute { $this->numParts = $data['numParts']; } - } diff --git a/core/lib/Drupal/Core/Routing/LinkGeneratorTrait.php b/core/lib/Drupal/Core/Routing/LinkGeneratorTrait.php index 75950fa..f294bee 100644 --- a/core/lib/Drupal/Core/Routing/LinkGeneratorTrait.php +++ b/core/lib/Drupal/Core/Routing/LinkGeneratorTrait.php @@ -69,4 +69,5 @@ trait LinkGeneratorTrait { return $this; } + } diff --git a/core/lib/Drupal/Core/Routing/NullGenerator.php b/core/lib/Drupal/Core/Routing/NullGenerator.php index 1254db4..d9bc9b0 100644 --- a/core/lib/Drupal/Core/Routing/NullGenerator.php +++ b/core/lib/Drupal/Core/Routing/NullGenerator.php @@ -74,4 +74,5 @@ class NullGenerator extends UrlGenerator { protected function processPath($path, &$options = array(), BubbleableMetadata $bubbleable_metadata = NULL) { return $path; } + } diff --git a/core/lib/Drupal/Core/Routing/UrlGenerator.php b/core/lib/Drupal/Core/Routing/UrlGenerator.php index 6d8db00..71bf332 100644 --- a/core/lib/Drupal/Core/Routing/UrlGenerator.php +++ b/core/lib/Drupal/Core/Routing/UrlGenerator.php @@ -452,4 +452,5 @@ class UrlGenerator implements UrlGeneratorInterface { return serialize($name); } + } diff --git a/core/lib/Drupal/Core/Routing/UrlGeneratorTrait.php b/core/lib/Drupal/Core/Routing/UrlGeneratorTrait.php index 9ea564f..f092421 100644 --- a/core/lib/Drupal/Core/Routing/UrlGeneratorTrait.php +++ b/core/lib/Drupal/Core/Routing/UrlGeneratorTrait.php @@ -88,4 +88,5 @@ trait UrlGeneratorTrait { return $this; } + } diff --git a/core/lib/Drupal/Core/StreamWrapper/LocalStream.php b/core/lib/Drupal/Core/StreamWrapper/LocalStream.php index 7199551..343b461 100644 --- a/core/lib/Drupal/Core/StreamWrapper/LocalStream.php +++ b/core/lib/Drupal/Core/StreamWrapper/LocalStream.php @@ -567,4 +567,5 @@ abstract class LocalStream implements StreamWrapperInterface { // have a return value. return TRUE; } + } diff --git a/core/lib/Drupal/Core/StreamWrapper/TemporaryStream.php b/core/lib/Drupal/Core/StreamWrapper/TemporaryStream.php index cbce29b..830fb93 100644 --- a/core/lib/Drupal/Core/StreamWrapper/TemporaryStream.php +++ b/core/lib/Drupal/Core/StreamWrapper/TemporaryStream.php @@ -47,4 +47,5 @@ class TemporaryStream extends LocalStream { $path = str_replace('\\', '/', $this->getTarget()); return Url::fromRoute('system.temporary', [], ['absolute' => TRUE, 'query' => ['file' => $path]])->toString(); } + } diff --git a/core/lib/Drupal/Core/StringTranslation/Translator/FileTranslation.php b/core/lib/Drupal/Core/StringTranslation/Translator/FileTranslation.php index cf69308..d4c46e3 100644 --- a/core/lib/Drupal/Core/StringTranslation/Translator/FileTranslation.php +++ b/core/lib/Drupal/Core/StringTranslation/Translator/FileTranslation.php @@ -116,4 +116,5 @@ class FileTranslation extends StaticTranslation { } return $writer->getData(); } + } diff --git a/core/lib/Drupal/Core/Theme/Registry.php b/core/lib/Drupal/Core/Theme/Registry.php index 8122e89..bfb4e38 100644 --- a/core/lib/Drupal/Core/Theme/Registry.php +++ b/core/lib/Drupal/Core/Theme/Registry.php @@ -764,4 +764,5 @@ class Registry implements DestructableInterface { protected function getPath($module) { return drupal_get_path('module', $module); } + } diff --git a/core/lib/Drupal/Core/TypedData/ListDataDefinition.php b/core/lib/Drupal/Core/TypedData/ListDataDefinition.php index e8ffec6..302f501 100644 --- a/core/lib/Drupal/Core/TypedData/ListDataDefinition.php +++ b/core/lib/Drupal/Core/TypedData/ListDataDefinition.php @@ -107,4 +107,5 @@ class ListDataDefinition extends DataDefinition implements ListDataDefinitionInt $this->itemDefinition = $definition; return $this; } + } diff --git a/core/lib/Drupal/Core/TypedData/OptionsProviderInterface.php b/core/lib/Drupal/Core/TypedData/OptionsProviderInterface.php index 565c3ed..937e542 100644 --- a/core/lib/Drupal/Core/TypedData/OptionsProviderInterface.php +++ b/core/lib/Drupal/Core/TypedData/OptionsProviderInterface.php @@ -95,4 +95,5 @@ interface OptionsProviderInterface { * label). Note that labels should NOT be sanitized. */ public function getSettableOptions(AccountInterface $account = NULL); + } diff --git a/core/lib/Drupal/Core/TypedData/Plugin/DataType/Any.php b/core/lib/Drupal/Core/TypedData/Plugin/DataType/Any.php index f20776f..8fe1a9a 100644 --- a/core/lib/Drupal/Core/TypedData/Plugin/DataType/Any.php +++ b/core/lib/Drupal/Core/TypedData/Plugin/DataType/Any.php @@ -24,4 +24,5 @@ class Any extends TypedData { * @var mixed */ protected $value; + } diff --git a/core/lib/Drupal/Core/TypedData/Plugin/DataType/BinaryData.php b/core/lib/Drupal/Core/TypedData/Plugin/DataType/BinaryData.php index 8762dda..e51e505 100644 --- a/core/lib/Drupal/Core/TypedData/Plugin/DataType/BinaryData.php +++ b/core/lib/Drupal/Core/TypedData/Plugin/DataType/BinaryData.php @@ -88,4 +88,5 @@ class BinaryData extends PrimitiveBase implements BinaryInterface { public function getCastedValue() { return $this->getValue(); } + } diff --git a/core/lib/Drupal/Core/TypedData/Plugin/DataType/BooleanData.php b/core/lib/Drupal/Core/TypedData/Plugin/DataType/BooleanData.php index bd24a90..1583c79 100644 --- a/core/lib/Drupal/Core/TypedData/Plugin/DataType/BooleanData.php +++ b/core/lib/Drupal/Core/TypedData/Plugin/DataType/BooleanData.php @@ -24,4 +24,5 @@ class BooleanData extends PrimitiveBase implements BooleanInterface { public function getCastedValue() { return (bool) $this->value; } + } diff --git a/core/lib/Drupal/Core/TypedData/Plugin/DataType/DateTimeIso8601.php b/core/lib/Drupal/Core/TypedData/Plugin/DataType/DateTimeIso8601.php index bf6d314..3fe189f 100644 --- a/core/lib/Drupal/Core/TypedData/Plugin/DataType/DateTimeIso8601.php +++ b/core/lib/Drupal/Core/TypedData/Plugin/DataType/DateTimeIso8601.php @@ -42,4 +42,5 @@ class DateTimeIso8601 extends StringData implements DateTimeInterface { $this->parent->onChange($this->name); } } + } diff --git a/core/lib/Drupal/Core/TypedData/Plugin/DataType/FloatData.php b/core/lib/Drupal/Core/TypedData/Plugin/DataType/FloatData.php index 94f86b1..4de7e18 100644 --- a/core/lib/Drupal/Core/TypedData/Plugin/DataType/FloatData.php +++ b/core/lib/Drupal/Core/TypedData/Plugin/DataType/FloatData.php @@ -24,4 +24,5 @@ class FloatData extends PrimitiveBase implements FloatInterface { public function getCastedValue() { return (float) $this->value; } + } diff --git a/core/lib/Drupal/Core/TypedData/Plugin/DataType/IntegerData.php b/core/lib/Drupal/Core/TypedData/Plugin/DataType/IntegerData.php index 7b00c5e..8421dca 100644 --- a/core/lib/Drupal/Core/TypedData/Plugin/DataType/IntegerData.php +++ b/core/lib/Drupal/Core/TypedData/Plugin/DataType/IntegerData.php @@ -24,4 +24,5 @@ class IntegerData extends PrimitiveBase implements IntegerInterface { public function getCastedValue() { return (int) $this->value; } + } diff --git a/core/lib/Drupal/Core/TypedData/Plugin/DataType/Map.php b/core/lib/Drupal/Core/TypedData/Plugin/DataType/Map.php index e6c94ed..3af3a6b 100644 --- a/core/lib/Drupal/Core/TypedData/Plugin/DataType/Map.php +++ b/core/lib/Drupal/Core/TypedData/Plugin/DataType/Map.php @@ -236,4 +236,5 @@ class Map extends TypedData implements \IteratorAggregate, ComplexDataInterface } return $this; } + } diff --git a/core/lib/Drupal/Core/TypedData/Plugin/DataType/StringData.php b/core/lib/Drupal/Core/TypedData/Plugin/DataType/StringData.php index 513be99..270f116 100644 --- a/core/lib/Drupal/Core/TypedData/Plugin/DataType/StringData.php +++ b/core/lib/Drupal/Core/TypedData/Plugin/DataType/StringData.php @@ -24,4 +24,5 @@ class StringData extends PrimitiveBase implements StringInterface { public function getCastedValue() { return $this->getString(); } + } diff --git a/core/lib/Drupal/Core/TypedData/Plugin/DataType/Timestamp.php b/core/lib/Drupal/Core/TypedData/Plugin/DataType/Timestamp.php index be11e04..8c72c85 100644 --- a/core/lib/Drupal/Core/TypedData/Plugin/DataType/Timestamp.php +++ b/core/lib/Drupal/Core/TypedData/Plugin/DataType/Timestamp.php @@ -41,4 +41,5 @@ class Timestamp extends IntegerData implements DateTimeInterface { $this->parent->onChange($this->name); } } + } diff --git a/core/lib/Drupal/Core/TypedData/PrimitiveBase.php b/core/lib/Drupal/Core/TypedData/PrimitiveBase.php index 2338e4a..ac2d1c1 100644 --- a/core/lib/Drupal/Core/TypedData/PrimitiveBase.php +++ b/core/lib/Drupal/Core/TypedData/PrimitiveBase.php @@ -31,4 +31,5 @@ abstract class PrimitiveBase extends TypedData implements PrimitiveInterface { $this->parent->onChange($this->name); } } + } diff --git a/core/lib/Drupal/Core/TypedData/PrimitiveInterface.php b/core/lib/Drupal/Core/TypedData/PrimitiveInterface.php index 821f8c0..1df50f7 100644 --- a/core/lib/Drupal/Core/TypedData/PrimitiveInterface.php +++ b/core/lib/Drupal/Core/TypedData/PrimitiveInterface.php @@ -31,4 +31,5 @@ interface PrimitiveInterface { * @return mixed */ public function getCastedValue(); + } diff --git a/core/lib/Drupal/Core/TypedData/TypedDataInterface.php b/core/lib/Drupal/Core/TypedData/TypedDataInterface.php index eaeeac0..a6892d2 100644 --- a/core/lib/Drupal/Core/TypedData/TypedDataInterface.php +++ b/core/lib/Drupal/Core/TypedData/TypedDataInterface.php @@ -157,4 +157,5 @@ interface TypedDataInterface { * root of a typed data tree. Defaults to NULL. */ public function setContext($name = NULL, TraversableTypedDataInterface $parent = NULL); + } diff --git a/core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php b/core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php index eeb7612..a20fa52 100644 --- a/core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php +++ b/core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php @@ -312,4 +312,5 @@ class ExecutionContext implements ExecutionContextInterface { public function getMetadataFactory() { throw new \LogicException('Legacy validator API is unsupported.'); } + } diff --git a/core/lib/Drupal/Core/Updater/Module.php b/core/lib/Drupal/Core/Updater/Module.php index c7cbb7f..be0d34b 100644 --- a/core/lib/Drupal/Core/Updater/Module.php +++ b/core/lib/Drupal/Core/Updater/Module.php @@ -138,4 +138,5 @@ class Module extends Updater implements UpdaterInterface { // We don't want to check for DB updates here, we do that once for all // updated modules on the landing page. } + } diff --git a/core/lib/Drupal/Core/Updater/Theme.php b/core/lib/Drupal/Core/Updater/Theme.php index 5dfbd97..48f68c7 100644 --- a/core/lib/Drupal/Core/Updater/Theme.php +++ b/core/lib/Drupal/Core/Updater/Theme.php @@ -109,4 +109,5 @@ class Theme extends Updater implements UpdaterInterface { ], ]; } + } diff --git a/core/lib/Drupal/Core/Updater/Updater.php b/core/lib/Drupal/Core/Updater/Updater.php index b9a5999..0381728 100644 --- a/core/lib/Drupal/Core/Updater/Updater.php +++ b/core/lib/Drupal/Core/Updater/Updater.php @@ -407,4 +407,5 @@ class Updater { public function postUpdateTasks() { return array(); } + } diff --git a/core/lib/Drupal/Core/Updater/UpdaterInterface.php b/core/lib/Drupal/Core/Updater/UpdaterInterface.php index c093c4b..09e3bec 100644 --- a/core/lib/Drupal/Core/Updater/UpdaterInterface.php +++ b/core/lib/Drupal/Core/Updater/UpdaterInterface.php @@ -64,4 +64,5 @@ interface UpdaterInterface { * Actions to run after an update has occurred. */ public function postUpdate(); + } diff --git a/core/lib/Drupal/Core/Utility/Token.php b/core/lib/Drupal/Core/Utility/Token.php index 8f45bd6..53432e8 100644 --- a/core/lib/Drupal/Core/Utility/Token.php +++ b/core/lib/Drupal/Core/Utility/Token.php @@ -405,4 +405,5 @@ class Token { $this->tokenInfo = NULL; $this->cacheTagsInvalidator->invalidateTags([static::TOKEN_INFO_CACHE_TAG]); } + } diff --git a/core/lib/Drupal/Core/Validation/ConstraintManager.php b/core/lib/Drupal/Core/Validation/ConstraintManager.php index 8b1a18a..23bd7eb 100644 --- a/core/lib/Drupal/Core/Validation/ConstraintManager.php +++ b/core/lib/Drupal/Core/Validation/ConstraintManager.php @@ -136,4 +136,5 @@ class ConstraintManager extends DefaultPluginManager { } return $definitions; } + } diff --git a/core/lib/Drupal/Core/Validation/DrupalTranslator.php b/core/lib/Drupal/Core/Validation/DrupalTranslator.php index 08096e2..f00df20 100644 --- a/core/lib/Drupal/Core/Validation/DrupalTranslator.php +++ b/core/lib/Drupal/Core/Validation/DrupalTranslator.php @@ -103,4 +103,5 @@ class DrupalTranslator implements TranslatorInterface { $locale = isset($locale) ? $locale : $this->locale; return array('langcode' => $locale); } + } diff --git a/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraint.php b/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraint.php index cf43d2f..d20f54a 100644 --- a/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraint.php +++ b/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraint.php @@ -18,4 +18,5 @@ class AllowedValuesConstraint extends Choice { public $minMessage = 'You must select at least %limit choice.|You must select at least %limit choices.'; public $maxMessage = 'You must select at most %limit choice.|You must select at most %limit choices.'; + } diff --git a/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ComplexDataConstraint.php b/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ComplexDataConstraint.php index 24e6ccd..5e7d0c7 100644 --- a/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ComplexDataConstraint.php +++ b/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ComplexDataConstraint.php @@ -57,4 +57,5 @@ class ComplexDataConstraint extends Constraint { public function getRequiredOptions() { return array('properties'); } + } diff --git a/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/CountConstraint.php b/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/CountConstraint.php index 2133709..a7f5dd5 100644 --- a/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/CountConstraint.php +++ b/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/CountConstraint.php @@ -27,4 +27,5 @@ class CountConstraint extends Count { public function validatedBy() { return '\Symfony\Component\Validator\Constraints\CountValidator'; } + } diff --git a/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EmailConstraint.php b/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EmailConstraint.php index c19c0dc..179ee9a 100644 --- a/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EmailConstraint.php +++ b/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EmailConstraint.php @@ -24,4 +24,5 @@ class EmailConstraint extends Email { public function validatedBy() { return '\Symfony\Component\Validator\Constraints\EmailValidator'; } + } diff --git a/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/LengthConstraint.php b/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/LengthConstraint.php index 99bad5c..2aaca39 100644 --- a/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/LengthConstraint.php +++ b/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/LengthConstraint.php @@ -29,4 +29,5 @@ class LengthConstraint extends Length { public function validatedBy() { return '\Symfony\Component\Validator\Constraints\LengthValidator'; } + } diff --git a/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraint.php b/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraint.php index e53b40d..a18700a 100644 --- a/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraint.php +++ b/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraint.php @@ -15,4 +15,5 @@ use Symfony\Component\Validator\Constraint; class PrimitiveTypeConstraint extends Constraint { public $message = 'This value should be of the correct primitive type.'; + } 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 0b84563..5829e39 100644 --- a/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidator.php +++ b/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidator.php @@ -77,4 +77,5 @@ class PrimitiveTypeConstraintValidator extends ConstraintValidator { )); } } + } diff --git a/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RangeConstraint.php b/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RangeConstraint.php index e165087..afa7154 100644 --- a/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RangeConstraint.php +++ b/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RangeConstraint.php @@ -28,4 +28,5 @@ class RangeConstraint extends Range { public function validatedBy() { return '\Symfony\Component\Validator\Constraints\RangeValidator'; } + } diff --git a/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RegexConstraint.php b/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RegexConstraint.php index 5340b24..63c6682 100644 --- a/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RegexConstraint.php +++ b/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RegexConstraint.php @@ -24,4 +24,5 @@ class RegexConstraint extends Regex { public function validatedBy() { return '\Symfony\Component\Validator\Constraints\RegexValidator'; } + } diff --git a/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UniqueFieldValueValidator.php b/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UniqueFieldValueValidator.php index 811f5c1..1e63e6d 100644 --- a/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UniqueFieldValueValidator.php +++ b/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UniqueFieldValueValidator.php @@ -40,4 +40,5 @@ class UniqueFieldValueValidator extends ConstraintValidator { ]); } } + } diff --git a/core/modules/action/src/Tests/ConfigurationTest.php b/core/modules/action/src/Tests/ConfigurationTest.php index 92e12d0..a6b2050 100644 --- a/core/modules/action/src/Tests/ConfigurationTest.php +++ b/core/modules/action/src/Tests/ConfigurationTest.php @@ -84,4 +84,5 @@ class ConfigurationTest extends WebTestBase { $action = entity_load('action', $aid); $this->assertFalse($action, 'Make sure the action is gone after being deleted.'); } + } diff --git a/core/modules/aggregator/src/ItemInterface.php b/core/modules/aggregator/src/ItemInterface.php index 72ab237..8639ff8 100644 --- a/core/modules/aggregator/src/ItemInterface.php +++ b/core/modules/aggregator/src/ItemInterface.php @@ -141,4 +141,5 @@ interface ItemInterface extends ContentEntityInterface { * The called feed item entity. */ public function setGuid($guid); + } diff --git a/core/modules/aggregator/src/Plugin/Field/FieldFormatter/AggregatorXSSFormatter.php b/core/modules/aggregator/src/Plugin/Field/FieldFormatter/AggregatorXSSFormatter.php index 77be2ef..8854faf 100644 --- a/core/modules/aggregator/src/Plugin/Field/FieldFormatter/AggregatorXSSFormatter.php +++ b/core/modules/aggregator/src/Plugin/Field/FieldFormatter/AggregatorXSSFormatter.php @@ -35,4 +35,5 @@ class AggregatorXSSFormatter extends FormatterBase { } return $elements; } + } diff --git a/core/modules/aggregator/src/Plugin/aggregator/fetcher/DefaultFetcher.php b/core/modules/aggregator/src/Plugin/aggregator/fetcher/DefaultFetcher.php index e1b095b..99ec48d 100644 --- a/core/modules/aggregator/src/Plugin/aggregator/fetcher/DefaultFetcher.php +++ b/core/modules/aggregator/src/Plugin/aggregator/fetcher/DefaultFetcher.php @@ -117,4 +117,5 @@ class DefaultFetcher implements FetcherInterface, ContainerFactoryPluginInterfac return FALSE; } } + } diff --git a/core/modules/aggregator/src/Tests/AddFeedTest.php b/core/modules/aggregator/src/Tests/AddFeedTest.php index 37ed483..b7ffe5f 100644 --- a/core/modules/aggregator/src/Tests/AddFeedTest.php +++ b/core/modules/aggregator/src/Tests/AddFeedTest.php @@ -91,4 +91,5 @@ class AddFeedTest extends AggregatorTestBase { $this->deleteFeed($feed); $this->deleteFeed($feed_2); } + } diff --git a/core/modules/aggregator/src/Tests/AggregatorAdminTest.php b/core/modules/aggregator/src/Tests/AggregatorAdminTest.php index e2d2cb3..249817f 100644 --- a/core/modules/aggregator/src/Tests/AggregatorAdminTest.php +++ b/core/modules/aggregator/src/Tests/AggregatorAdminTest.php @@ -80,4 +80,5 @@ class AggregatorAdminTest extends AggregatorTestBase { $count = $this->container->get('entity.manager')->getStorage('aggregator_item')->getItemCount($feed); $this->assertEqual(\Drupal::translation()->formatPlural($count, '1 item', '@count items'), (string) $result[0]->td[1]); } + } diff --git a/core/modules/aggregator/src/Tests/AggregatorCronTest.php b/core/modules/aggregator/src/Tests/AggregatorCronTest.php index 6d65b94..34a4cb9 100644 --- a/core/modules/aggregator/src/Tests/AggregatorCronTest.php +++ b/core/modules/aggregator/src/Tests/AggregatorCronTest.php @@ -41,4 +41,5 @@ class AggregatorCronTest extends AggregatorTestBase { $this->cronRun(); $this->assertEqual(5, db_query('SELECT COUNT(*) FROM {aggregator_item} WHERE fid = :fid', array(':fid' => $feed->id()))->fetchField()); } + } diff --git a/core/modules/aggregator/src/Tests/AggregatorTestBase.php b/core/modules/aggregator/src/Tests/AggregatorTestBase.php index ac0cae6..1777fe5 100644 --- a/core/modules/aggregator/src/Tests/AggregatorTestBase.php +++ b/core/modules/aggregator/src/Tests/AggregatorTestBase.php @@ -370,4 +370,5 @@ EOF; )) ->save(); } + } diff --git a/core/modules/aggregator/src/Tests/DeleteFeedItemTest.php b/core/modules/aggregator/src/Tests/DeleteFeedItemTest.php index 61e3e96..0261ed5 100644 --- a/core/modules/aggregator/src/Tests/DeleteFeedItemTest.php +++ b/core/modules/aggregator/src/Tests/DeleteFeedItemTest.php @@ -36,4 +36,5 @@ class DeleteFeedItemTest extends AggregatorTestBase { $this->deleteFeed($feed); } } + } diff --git a/core/modules/aggregator/src/Tests/FeedAdminDisplayTest.php b/core/modules/aggregator/src/Tests/FeedAdminDisplayTest.php index 1e9c8cc..b6e36e9 100644 --- a/core/modules/aggregator/src/Tests/FeedAdminDisplayTest.php +++ b/core/modules/aggregator/src/Tests/FeedAdminDisplayTest.php @@ -59,4 +59,5 @@ class FeedAdminDisplayTest extends AggregatorTestBase { $this->assertText('ago', 'The non scheduled feed has been updated. It shows "x x ago" as last update.'); $this->assertNoText('left', 'The feed is not scheduled. It does not show a timeframe "x x left" for next update.'); } + } diff --git a/core/modules/aggregator/src/Tests/FeedFetcherPluginTest.php b/core/modules/aggregator/src/Tests/FeedFetcherPluginTest.php index 404cecf..4aac851 100644 --- a/core/modules/aggregator/src/Tests/FeedFetcherPluginTest.php +++ b/core/modules/aggregator/src/Tests/FeedFetcherPluginTest.php @@ -40,4 +40,5 @@ class FeedFetcherPluginTest extends AggregatorTestBase { // Fetch should fail due to feed name. $this->assertTrue(empty($feed->items)); } + } diff --git a/core/modules/aggregator/src/Tests/FeedLanguageTest.php b/core/modules/aggregator/src/Tests/FeedLanguageTest.php index adaf3dd..af8335e 100644 --- a/core/modules/aggregator/src/Tests/FeedLanguageTest.php +++ b/core/modules/aggregator/src/Tests/FeedLanguageTest.php @@ -81,4 +81,5 @@ class FeedLanguageTest extends AggregatorTestBase { } } } + } diff --git a/core/modules/aggregator/src/Tests/FeedParserTest.php b/core/modules/aggregator/src/Tests/FeedParserTest.php index db63caf..6c4a04d 100644 --- a/core/modules/aggregator/src/Tests/FeedParserTest.php +++ b/core/modules/aggregator/src/Tests/FeedParserTest.php @@ -107,4 +107,5 @@ class FeedParserTest extends AggregatorTestBase { $this->clickLink(t('Update items')); $this->assertRaw(t('The feed from %title seems to be broken because of error', array('%title' => $feed->label()))); } + } diff --git a/core/modules/aggregator/src/Tests/FeedProcessorPluginTest.php b/core/modules/aggregator/src/Tests/FeedProcessorPluginTest.php index cc812ee..8a7ade0 100644 --- a/core/modules/aggregator/src/Tests/FeedProcessorPluginTest.php +++ b/core/modules/aggregator/src/Tests/FeedProcessorPluginTest.php @@ -63,4 +63,5 @@ class FeedProcessorPluginTest extends AggregatorTestBase { // Make sure its refresh rate doubled. $this->assertEqual($feed->getRefreshRate(), 3600); } + } diff --git a/core/modules/aggregator/src/Tests/ImportOpmlTest.php b/core/modules/aggregator/src/Tests/ImportOpmlTest.php index 8ad04cc..1f1e90d 100644 --- a/core/modules/aggregator/src/Tests/ImportOpmlTest.php +++ b/core/modules/aggregator/src/Tests/ImportOpmlTest.php @@ -120,4 +120,5 @@ class ImportOpmlTest extends AggregatorTestBase { $this->validateImportFormFields(); $this->submitImportForm(); } + } diff --git a/core/modules/aggregator/src/Tests/UpdateFeedItemTest.php b/core/modules/aggregator/src/Tests/UpdateFeedItemTest.php index 8e12345..c1c3df9 100644 --- a/core/modules/aggregator/src/Tests/UpdateFeedItemTest.php +++ b/core/modules/aggregator/src/Tests/UpdateFeedItemTest.php @@ -66,4 +66,5 @@ class UpdateFeedItemTest extends AggregatorTestBase { $this->updateFeedItems($feed); $this->assertResponse(200); } + } diff --git a/core/modules/aggregator/src/Tests/UpdateFeedTest.php b/core/modules/aggregator/src/Tests/UpdateFeedTest.php index 05a6f16..6bfb0f1 100644 --- a/core/modules/aggregator/src/Tests/UpdateFeedTest.php +++ b/core/modules/aggregator/src/Tests/UpdateFeedTest.php @@ -42,4 +42,5 @@ class UpdateFeedTest extends AggregatorTestBase { $this->deleteFeed($feed); } } + } diff --git a/core/modules/aggregator/tests/modules/aggregator_test/src/Plugin/aggregator/fetcher/TestFetcher.php b/core/modules/aggregator/tests/modules/aggregator_test/src/Plugin/aggregator/fetcher/TestFetcher.php index bb53e00..02fd209 100644 --- a/core/modules/aggregator/tests/modules/aggregator_test/src/Plugin/aggregator/fetcher/TestFetcher.php +++ b/core/modules/aggregator/tests/modules/aggregator_test/src/Plugin/aggregator/fetcher/TestFetcher.php @@ -28,4 +28,5 @@ class TestFetcher extends DefaultFetcher implements FetcherInterface { } return parent::fetch($feed); } + } diff --git a/core/modules/aggregator/tests/modules/aggregator_test/src/Plugin/aggregator/parser/TestParser.php b/core/modules/aggregator/tests/modules/aggregator_test/src/Plugin/aggregator/parser/TestParser.php index 50737d1..a36070f 100644 --- a/core/modules/aggregator/tests/modules/aggregator_test/src/Plugin/aggregator/parser/TestParser.php +++ b/core/modules/aggregator/tests/modules/aggregator_test/src/Plugin/aggregator/parser/TestParser.php @@ -27,4 +27,5 @@ class TestParser extends DefaultParser implements ParserInterface { public function parse(FeedInterface $feed) { return parent::parse($feed); } + } diff --git a/core/modules/aggregator/tests/src/Kernel/Migrate/d6/MigrateAggregatorFeedTest.php b/core/modules/aggregator/tests/src/Kernel/Migrate/d6/MigrateAggregatorFeedTest.php index 4adfab5..9dac60f 100644 --- a/core/modules/aggregator/tests/src/Kernel/Migrate/d6/MigrateAggregatorFeedTest.php +++ b/core/modules/aggregator/tests/src/Kernel/Migrate/d6/MigrateAggregatorFeedTest.php @@ -44,4 +44,5 @@ class MigrateAggregatorFeedTest extends MigrateDrupal6TestBase { $this->assertIdentical('"213cc1365b96c310e92053c5551f0504"', $feed->etag->value); $this->assertIdentical('0', $feed->modified->value); } + } diff --git a/core/modules/ban/src/BanIpManager.php b/core/modules/ban/src/BanIpManager.php index ec90ea1..1a70f55 100644 --- a/core/modules/ban/src/BanIpManager.php +++ b/core/modules/ban/src/BanIpManager.php @@ -64,4 +64,5 @@ class BanIpManager implements BanIpManagerInterface { public function findById($ban_id) { return $this->connection->query("SELECT ip FROM {ban_ip} WHERE iid = :iid", array(':iid' => $ban_id))->fetchField(); } + } diff --git a/core/modules/ban/src/Tests/IpAddressBlockingTest.php b/core/modules/ban/src/Tests/IpAddressBlockingTest.php index a537d74..9fb9ff8 100644 --- a/core/modules/ban/src/Tests/IpAddressBlockingTest.php +++ b/core/modules/ban/src/Tests/IpAddressBlockingTest.php @@ -74,4 +74,5 @@ class IpAddressBlockingTest extends WebTestBase { // $this->drupalPostForm('admin/config/people/ban', $edit, t('Save')); // $this->assertText(t('You may not ban your own IP address.')); } + } diff --git a/core/modules/big_pipe/src/Render/BigPipeMarkup.php b/core/modules/big_pipe/src/Render/BigPipeMarkup.php index 0c2115a..a954c9a 100644 --- a/core/modules/big_pipe/src/Render/BigPipeMarkup.php +++ b/core/modules/big_pipe/src/Render/BigPipeMarkup.php @@ -20,4 +20,5 @@ use Drupal\Component\Render\MarkupTrait; */ final class BigPipeMarkup implements MarkupInterface, \Countable { use MarkupTrait; + } diff --git a/core/modules/block/src/Tests/BlockInvalidRegionTest.php b/core/modules/block/src/Tests/BlockInvalidRegionTest.php index 6ab5daf..438a0c1 100644 --- a/core/modules/block/src/Tests/BlockInvalidRegionTest.php +++ b/core/modules/block/src/Tests/BlockInvalidRegionTest.php @@ -59,4 +59,5 @@ class BlockInvalidRegionTest extends WebTestBase { $this->drupalPostForm('admin/config/development/performance', array(), 'Clear all caches'); $this->assertNoRaw($warning_message, 'Disabled block in the invalid region will not trigger the warning.'); } + } diff --git a/core/modules/block/src/Tests/BlockLanguageCacheTest.php b/core/modules/block/src/Tests/BlockLanguageCacheTest.php index 20de4f6..fd5871e 100644 --- a/core/modules/block/src/Tests/BlockLanguageCacheTest.php +++ b/core/modules/block/src/Tests/BlockLanguageCacheTest.php @@ -73,4 +73,5 @@ class BlockLanguageCacheTest extends WebTestBase { $this->assertText($edit['label']); } } + } diff --git a/core/modules/block/src/Tests/BlockRenderOrderTest.php b/core/modules/block/src/Tests/BlockRenderOrderTest.php index 6757c0b..faf667e 100644 --- a/core/modules/block/src/Tests/BlockRenderOrderTest.php +++ b/core/modules/block/src/Tests/BlockRenderOrderTest.php @@ -76,4 +76,5 @@ class BlockRenderOrderTest extends WebTestBase { $this->assertTrue($position['stark_powered'] < $position['stark_by'], 'Blocks with different weight are rendered in the correct order.'); $this->assertTrue($position['stark_drupal'] < $position['stark_by'], 'Blocks with identical weight are rendered in alphabetical order.'); } + } diff --git a/core/modules/block/src/Tests/BlockTestBase.php b/core/modules/block/src/Tests/BlockTestBase.php index 49a7f75..970de52 100644 --- a/core/modules/block/src/Tests/BlockTestBase.php +++ b/core/modules/block/src/Tests/BlockTestBase.php @@ -67,4 +67,5 @@ abstract class BlockTestBase extends WebTestBase { $block->delete(); } } + } diff --git a/core/modules/block/src/Tests/NonDefaultBlockAdminTest.php b/core/modules/block/src/Tests/NonDefaultBlockAdminTest.php index 4f0055a..218832d 100644 --- a/core/modules/block/src/Tests/NonDefaultBlockAdminTest.php +++ b/core/modules/block/src/Tests/NonDefaultBlockAdminTest.php @@ -38,4 +38,5 @@ class NonDefaultBlockAdminTest extends WebTestBase { $this->drupalGet('admin/structure/block/list/' . $new_theme); $this->assertText('Bartik(' . t('active tab') . ')', 'Tab for non-default theme found.'); } + } diff --git a/core/modules/block/tests/src/Kernel/BlockInterfaceTest.php b/core/modules/block/tests/src/Kernel/BlockInterfaceTest.php index be51a09..9216d49 100644 --- a/core/modules/block/tests/src/Kernel/BlockInterfaceTest.php +++ b/core/modules/block/tests/src/Kernel/BlockInterfaceTest.php @@ -99,4 +99,5 @@ class BlockInterfaceTest extends KernelTestBase { // testing BlockBase's implementation, not the interface itself. $this->assertIdentical($display_block->getMachineNameSuggestion(), 'displaymessage', 'The plugin returned the expected machine name suggestion.'); } + } diff --git a/core/modules/block_content/src/Plugin/Derivative/BlockContent.php b/core/modules/block_content/src/Plugin/Derivative/BlockContent.php index cb2b35c..63b68c0 100644 --- a/core/modules/block_content/src/Plugin/Derivative/BlockContent.php +++ b/core/modules/block_content/src/Plugin/Derivative/BlockContent.php @@ -54,4 +54,5 @@ class BlockContent extends DeriverBase implements ContainerDeriverInterface { } 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 140e670..7eefdc7 100644 --- a/core/modules/block_content/src/Tests/BlockContentCacheTagsTest.php +++ b/core/modules/block_content/src/Tests/BlockContentCacheTagsTest.php @@ -101,4 +101,5 @@ class BlockContentCacheTagsTest extends EntityCacheTagsTestBase { $redirected_cid = $this->createCacheId($expected_block_cache_keys, Cache::mergeContexts($expected_block_cache_contexts, $expected_entity_cache_contexts)); $this->verifyRenderCache($cid, Cache::mergeTags($expected_block_cache_tags, $expected_entity_cache_tags), ($cid !== $redirected_cid) ? $redirected_cid : NULL); } + } diff --git a/core/modules/block_content/src/Tests/Views/BlockContentFieldFilterTest.php b/core/modules/block_content/src/Tests/Views/BlockContentFieldFilterTest.php index 1d6df90..5a46ddd 100644 --- a/core/modules/block_content/src/Tests/Views/BlockContentFieldFilterTest.php +++ b/core/modules/block_content/src/Tests/Views/BlockContentFieldFilterTest.php @@ -105,4 +105,5 @@ class BlockContentFieldFilterTest extends BlockContentTestBase { $this->assertEqual(substr_count($text, $this->blockContentInfos[$langcode]), $count, 'Translation ' . $langcode . ' has count ' . $count . ' with ' . $message); } } + } diff --git a/core/modules/book/src/BookOutlineStorage.php b/core/modules/book/src/BookOutlineStorage.php index 50df798..92076cb 100644 --- a/core/modules/book/src/BookOutlineStorage.php +++ b/core/modules/book/src/BookOutlineStorage.php @@ -198,4 +198,5 @@ class BookOutlineStorage implements BookOutlineStorageInterface { } return $query->execute(); } + } diff --git a/core/modules/book/src/BookOutlineStorageInterface.php b/core/modules/book/src/BookOutlineStorageInterface.php index b441e28..daaf92d 100644 --- a/core/modules/book/src/BookOutlineStorageInterface.php +++ b/core/modules/book/src/BookOutlineStorageInterface.php @@ -165,4 +165,5 @@ interface BookOutlineStorageInterface { * Array of unordered subtree book items. */ public function getBookSubtree($link, $max_depth); + } diff --git a/core/modules/ckeditor/src/CKEditorPluginBase.php b/core/modules/ckeditor/src/CKEditorPluginBase.php index 656431d..2fb4798 100644 --- a/core/modules/ckeditor/src/CKEditorPluginBase.php +++ b/core/modules/ckeditor/src/CKEditorPluginBase.php @@ -50,4 +50,5 @@ abstract class CKEditorPluginBase extends PluginBase implements CKEditorPluginIn function getLibraries(Editor $editor) { return array(); } + } diff --git a/core/modules/ckeditor/src/CKEditorPluginInterface.php b/core/modules/ckeditor/src/CKEditorPluginInterface.php index 6e3ed24..65475a0 100644 --- a/core/modules/ckeditor/src/CKEditorPluginInterface.php +++ b/core/modules/ckeditor/src/CKEditorPluginInterface.php @@ -95,4 +95,5 @@ interface CKEditorPluginInterface extends PluginInspectionInterface { * A keyed array, whose keys will end up as keys under CKEDITOR.config. */ public function getConfig(Editor $editor); + } diff --git a/core/modules/ckeditor/src/Tests/CKEditorLoadingTest.php b/core/modules/ckeditor/src/Tests/CKEditorLoadingTest.php index 53d2bb4..e8de53b 100644 --- a/core/modules/ckeditor/src/Tests/CKEditorLoadingTest.php +++ b/core/modules/ckeditor/src/Tests/CKEditorLoadingTest.php @@ -241,4 +241,5 @@ class CKEditorLoadingTest extends WebTestBase { $this->xpath('//select[contains(@class, "filter-list")]'), ); } + } diff --git a/core/modules/color/src/Tests/ColorSafePreviewTest.php b/core/modules/color/src/Tests/ColorSafePreviewTest.php index d068380..813a92e 100644 --- a/core/modules/color/src/Tests/ColorSafePreviewTest.php +++ b/core/modules/color/src/Tests/ColorSafePreviewTest.php @@ -54,5 +54,4 @@ class ColorSafePreviewTest extends WebTestBase { $this->assertRaw('<h2>TEST COLOR PREVIEW</h2>'); } - } diff --git a/core/modules/comment/src/CommentForm.php b/core/modules/comment/src/CommentForm.php index 2fb10f1..75191a3 100644 --- a/core/modules/comment/src/CommentForm.php +++ b/core/modules/comment/src/CommentForm.php @@ -389,4 +389,5 @@ class CommentForm extends ContentEntityForm { } $form_state->setRedirectUrl($uri); } + } diff --git a/core/modules/comment/src/Tests/CommentAdminTest.php b/core/modules/comment/src/Tests/CommentAdminTest.php index f6dc5c6..5ae57cb 100644 --- a/core/modules/comment/src/Tests/CommentAdminTest.php +++ b/core/modules/comment/src/Tests/CommentAdminTest.php @@ -214,4 +214,5 @@ class CommentAdminTest extends CommentTestBase { $this->drupalGet('comment/' . $anonymous_comment->id() . '/edit'); $this->assertFieldById('edit-mail', $anonymous_comment->getAuthorEmail()); } + } diff --git a/core/modules/comment/src/Tests/CommentNodeAccessTest.php b/core/modules/comment/src/Tests/CommentNodeAccessTest.php index 4b28b33..e69bfde 100644 --- a/core/modules/comment/src/Tests/CommentNodeAccessTest.php +++ b/core/modules/comment/src/Tests/CommentNodeAccessTest.php @@ -78,4 +78,5 @@ class CommentNodeAccessTest extends CommentTestBase { $this->assertText($reply_text); $this->assertText($reply_subject); } + } diff --git a/core/modules/comment/src/Tests/CommentNodeChangesTest.php b/core/modules/comment/src/Tests/CommentNodeChangesTest.php index 2b262b3..9fed4df 100644 --- a/core/modules/comment/src/Tests/CommentNodeChangesTest.php +++ b/core/modules/comment/src/Tests/CommentNodeChangesTest.php @@ -31,4 +31,5 @@ class CommentNodeChangesTest extends CommentTestBase { $this->assertNull(FieldStorageConfig::load('node.comment'), 'Comment field storage deleted'); $this->assertNull(FieldConfig::load('node.article.comment'), 'Comment field deleted'); } + } diff --git a/core/modules/comment/src/Tests/CommentRssTest.php b/core/modules/comment/src/Tests/CommentRssTest.php index 8542f53..ec673df 100644 --- a/core/modules/comment/src/Tests/CommentRssTest.php +++ b/core/modules/comment/src/Tests/CommentRssTest.php @@ -75,4 +75,5 @@ class CommentRssTest extends CommentTestBase { $this->drupalGet('rss.xml'); $this->assertNoRaw($raw, 'Hidden comments is not a part of RSS feed.'); } + } diff --git a/core/modules/comment/src/Tests/CommentTitleTest.php b/core/modules/comment/src/Tests/CommentTitleTest.php index a5e523d..0546cb6 100644 --- a/core/modules/comment/src/Tests/CommentTitleTest.php +++ b/core/modules/comment/src/Tests/CommentTitleTest.php @@ -60,4 +60,5 @@ class CommentTitleTest extends CommentTestBase { // Tests that markup is created for comment with heading. $this->assertPattern('|<h3[^>]*><a[^>]*>' . $subject_text . '</a></h3>|', 'Comment title is rendered in h3 when title populated.'); } + } diff --git a/core/modules/comment/src/Tests/Views/CommentFieldFilterTest.php b/core/modules/comment/src/Tests/Views/CommentFieldFilterTest.php index f26d3e9..c0cf374 100644 --- a/core/modules/comment/src/Tests/Views/CommentFieldFilterTest.php +++ b/core/modules/comment/src/Tests/Views/CommentFieldFilterTest.php @@ -116,4 +116,5 @@ class CommentFieldFilterTest extends CommentTestBase { $this->assertEqual(substr_count($text, $this->commentTitles[$langcode]), 2 * $count, 'Translation ' . $langcode . ' has count ' . $count . ' with ' . $message); } } + } diff --git a/core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentTest.php b/core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentTest.php index d772acf..b961201 100644 --- a/core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentTest.php +++ b/core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentTest.php @@ -70,4 +70,5 @@ class MigrateCommentTest extends MigrateDrupal6TestBase { $this->assertIdentical('The second comment.', $comment->subject->value); $this->assertIdentical('0', $comment->pid->target_id); } + } diff --git a/core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentVariableEntityDisplayTest.php b/core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentVariableEntityDisplayTest.php index 4b2bff6..a6f25f6 100644 --- a/core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentVariableEntityDisplayTest.php +++ b/core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentVariableEntityDisplayTest.php @@ -30,4 +30,5 @@ class MigrateCommentVariableEntityDisplayTest extends MigrateCommentVariableDisp $this->assertIdentical(20, $component['weight']); } } + } diff --git a/core/modules/comment/tests/src/Kernel/Views/CommentLinksTest.php b/core/modules/comment/tests/src/Kernel/Views/CommentLinksTest.php index 78afe51..ffb91b0 100644 --- a/core/modules/comment/tests/src/Kernel/Views/CommentLinksTest.php +++ b/core/modules/comment/tests/src/Kernel/Views/CommentLinksTest.php @@ -172,4 +172,5 @@ class CommentLinksTest extends CommentViewsKernelTestBase { $replyto_comment = $view->style_plugin->getField(0, 'replyto_comment'); $this->assertFalse((string) $replyto_comment, "Didn't find the comment reply link as an anonymous user."); } + } diff --git a/core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php b/core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php index 4365152..e904754 100644 --- a/core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php +++ b/core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php @@ -120,4 +120,5 @@ class CommentStatisticsUnitTest extends UnitTestCase { break; } } + } diff --git a/core/modules/config/src/ConfigSubscriber.php b/core/modules/config/src/ConfigSubscriber.php index 6112a49..9b6c842 100644 --- a/core/modules/config/src/ConfigSubscriber.php +++ b/core/modules/config/src/ConfigSubscriber.php @@ -33,4 +33,5 @@ class ConfigSubscriber extends ConfigImportValidateEventSubscriberBase { $events[ConfigEvents::IMPORT_VALIDATE][] = array('onConfigImporterValidate', 20); return $events; } + } diff --git a/core/modules/config/src/Controller/ConfigController.php b/core/modules/config/src/Controller/ConfigController.php index ecc7882..f758f30 100644 --- a/core/modules/config/src/Controller/ConfigController.php +++ b/core/modules/config/src/Controller/ConfigController.php @@ -160,4 +160,5 @@ class ConfigController implements ContainerInjectionInterface { return $build; } + } diff --git a/core/modules/config/src/Form/ConfigSync.php b/core/modules/config/src/Form/ConfigSync.php index 8d11ad3..8dd9ca0 100644 --- a/core/modules/config/src/Form/ConfigSync.php +++ b/core/modules/config/src/Form/ConfigSync.php @@ -411,5 +411,4 @@ class ConfigSync extends FormBase { } } - } diff --git a/core/modules/config/src/StorageReplaceDataWrapper.php b/core/modules/config/src/StorageReplaceDataWrapper.php index feb0f46..58b3b49 100644 --- a/core/modules/config/src/StorageReplaceDataWrapper.php +++ b/core/modules/config/src/StorageReplaceDataWrapper.php @@ -196,4 +196,5 @@ class StorageReplaceDataWrapper implements StorageInterface { $this->replacementData[$this->collection][$name] = $data; return $this; } + } diff --git a/core/modules/config/src/Tests/ConfigImportAllTest.php b/core/modules/config/src/Tests/ConfigImportAllTest.php index 643f763..baeacb9 100644 --- a/core/modules/config/src/Tests/ConfigImportAllTest.php +++ b/core/modules/config/src/Tests/ConfigImportAllTest.php @@ -157,4 +157,5 @@ class ConfigImportAllTest extends ModuleTestBase { $this->assertConfigSchema($typed_config, $name, $config->get()); } } + } diff --git a/core/modules/config/src/Tests/ConfigInstallWebTest.php b/core/modules/config/src/Tests/ConfigInstallWebTest.php index 0867f4b..4b18a4c 100644 --- a/core/modules/config/src/Tests/ConfigInstallWebTest.php +++ b/core/modules/config/src/Tests/ConfigInstallWebTest.php @@ -187,4 +187,5 @@ class ConfigInstallWebTest extends WebTestBase { $this->rebuildContainer(); $this->assertTrue(entity_load('config_test', 'other_module_test_with_dependency'), 'The config_test.dynamic.other_module_test_with_dependency configuration has been created during install.'); } + } 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 ae31512..bfa70db 100644 --- a/core/modules/config/tests/config_events_test/src/EventSubscriber.php +++ b/core/modules/config/tests/config_events_test/src/EventSubscriber.php @@ -54,4 +54,5 @@ class EventSubscriber implements EventSubscriberInterface { $events[ConfigEvents::RENAME][] = array('configEventRecorder'); return $events; } + } diff --git a/core/modules/contact/src/ContactMessageAccessControlHandler.php b/core/modules/contact/src/ContactMessageAccessControlHandler.php index 4a312f8..5e45e3f 100644 --- a/core/modules/contact/src/ContactMessageAccessControlHandler.php +++ b/core/modules/contact/src/ContactMessageAccessControlHandler.php @@ -19,4 +19,5 @@ class ContactMessageAccessControlHandler extends EntityAccessControlHandler { protected function checkCreateAccess(AccountInterface $account, array $context, $entity_bundle = NULL) { return AccessResult::allowedIfHasPermission($account, 'access site-wide contact form'); } + } diff --git a/core/modules/contact/src/Tests/ContactAuthenticatedUserTest.php b/core/modules/contact/src/Tests/ContactAuthenticatedUserTest.php index 1fa33b9..eb7c527 100644 --- a/core/modules/contact/src/Tests/ContactAuthenticatedUserTest.php +++ b/core/modules/contact/src/Tests/ContactAuthenticatedUserTest.php @@ -31,4 +31,5 @@ class ContactAuthenticatedUserTest extends WebTestBase { // Ensure that there is no textfield for email. $this->assertFalse($this->xpath('//input[@name=:name]', array(':name' => 'mail'))); } + } diff --git a/core/modules/content_translation/src/Access/ContentTranslationOverviewAccess.php b/core/modules/content_translation/src/Access/ContentTranslationOverviewAccess.php index 3edf549..dce604d 100644 --- a/core/modules/content_translation/src/Access/ContentTranslationOverviewAccess.php +++ b/core/modules/content_translation/src/Access/ContentTranslationOverviewAccess.php @@ -75,4 +75,5 @@ class ContentTranslationOverviewAccess implements AccessInterface { // No opinion. return AccessResult::neutral(); } + } diff --git a/core/modules/content_translation/src/ContentTranslationHandler.php b/core/modules/content_translation/src/ContentTranslationHandler.php index e600acd..38d643b 100644 --- a/core/modules/content_translation/src/ContentTranslationHandler.php +++ b/core/modules/content_translation/src/ContentTranslationHandler.php @@ -710,4 +710,5 @@ class ContentTranslationHandler implements ContentTranslationHandlerInterface, E public static function getDefaultOwnerId() { return \Drupal::currentUser()->id(); } + } diff --git a/core/modules/content_translation/src/ContentTranslationMetadataWrapper.php b/core/modules/content_translation/src/ContentTranslationMetadataWrapper.php index e35755b..ca798e6 100644 --- a/core/modules/content_translation/src/ContentTranslationMetadataWrapper.php +++ b/core/modules/content_translation/src/ContentTranslationMetadataWrapper.php @@ -146,4 +146,5 @@ class ContentTranslationMetadataWrapper implements ContentTranslationMetadataWra $this->translation->set($field_name, $value); } } + } diff --git a/core/modules/content_translation/src/Tests/ContentTranslationMetadataFieldsTest.php b/core/modules/content_translation/src/Tests/ContentTranslationMetadataFieldsTest.php index f1c9d4c..a45fda4 100644 --- a/core/modules/content_translation/src/Tests/ContentTranslationMetadataFieldsTest.php +++ b/core/modules/content_translation/src/Tests/ContentTranslationMetadataFieldsTest.php @@ -140,4 +140,5 @@ class ContentTranslationMetadataFieldsTest extends ContentTranslationTestBase { $this->assertNotEqual($metadata_source_translation->isPublished(), $metadata_target_translation->isPublished(), 'Metadata published field correctly different on both translations.'); $this->assertNotEqual($metadata_source_translation->getAuthor()->id(), $metadata_target_translation->getAuthor()->id(), 'Metadata author field correctly different on both translations.'); } + } diff --git a/core/modules/contextual/src/Tests/ContextualDynamicContextTest.php b/core/modules/contextual/src/Tests/ContextualDynamicContextTest.php index eef4d80..e5d2c85 100644 --- a/core/modules/contextual/src/Tests/ContextualDynamicContextTest.php +++ b/core/modules/contextual/src/Tests/ContextualDynamicContextTest.php @@ -184,4 +184,5 @@ class ContextualDynamicContextTest extends WebTestBase { } return $this->drupalPostWithFormat('contextual/render', 'json', $post, array('query' => array('destination' => $current_path))); } + } diff --git a/core/modules/datetime/src/Plugin/views/argument/Date.php b/core/modules/datetime/src/Plugin/views/argument/Date.php index 914f585..fb2bc4a 100644 --- a/core/modules/datetime/src/Plugin/views/argument/Date.php +++ b/core/modules/datetime/src/Plugin/views/argument/Date.php @@ -37,4 +37,5 @@ class Date extends NumericDate { // Pass in the string-field option. return $this->query->getDateFormat($this->getDateField(), $format, TRUE); } + } diff --git a/core/modules/datetime/src/Plugin/views/sort/Date.php b/core/modules/datetime/src/Plugin/views/sort/Date.php index 4e6afe2..2c8338a 100644 --- a/core/modules/datetime/src/Plugin/views/sort/Date.php +++ b/core/modules/datetime/src/Plugin/views/sort/Date.php @@ -31,5 +31,4 @@ class Date extends NumericDate { return $this->query->getDateFormat($this->getDateField(), $format, TRUE); } - } diff --git a/core/modules/dblog/src/Plugin/rest/resource/DBLogResource.php b/core/modules/dblog/src/Plugin/rest/resource/DBLogResource.php index 50ad3d8..4ac76f0 100644 --- a/core/modules/dblog/src/Plugin/rest/resource/DBLogResource.php +++ b/core/modules/dblog/src/Plugin/rest/resource/DBLogResource.php @@ -49,4 +49,5 @@ class DBLogResource extends ResourceBase { throw new BadRequestHttpException(t('No log entry ID was provided')); } + } diff --git a/core/modules/dblog/src/Tests/Rest/DbLogResourceTest.php b/core/modules/dblog/src/Tests/Rest/DbLogResourceTest.php index 6a74f1e..1dd1f11 100644 --- a/core/modules/dblog/src/Tests/Rest/DbLogResourceTest.php +++ b/core/modules/dblog/src/Tests/Rest/DbLogResourceTest.php @@ -61,4 +61,5 @@ class DbLogResourceTest extends RESTTestBase { $decoded = Json::decode($response); $this->assertEqual($decoded['error'], 'No log entry ID was provided', 'Response message is correct.'); } + } diff --git a/core/modules/editor/src/Tests/EditorSecurityTest.php b/core/modules/editor/src/Tests/EditorSecurityTest.php index 0d6840b..c771439 100644 --- a/core/modules/editor/src/Tests/EditorSecurityTest.php +++ b/core/modules/editor/src/Tests/EditorSecurityTest.php @@ -431,4 +431,5 @@ class EditorSecurityTest extends WebTestBase { $dom_node = $this->xpath('//textarea[@id="edit-body-0-value"]'); $this->assertIdentical(self::$sampleContent, (string) $dom_node[0], 'The value was filtered by the Insecure text editor XSS filter.'); } + } diff --git a/core/modules/field/src/Plugin/migrate/source/d7/Field.php b/core/modules/field/src/Plugin/migrate/source/d7/Field.php index 91ec73e..2e8f745 100644 --- a/core/modules/field/src/Plugin/migrate/source/d7/Field.php +++ b/core/modules/field/src/Plugin/migrate/source/d7/Field.php @@ -70,4 +70,5 @@ class Field extends DrupalSqlBase { ), ); } + } diff --git a/core/modules/field/src/Plugin/migrate/source/d7/FieldInstance.php b/core/modules/field/src/Plugin/migrate/source/d7/FieldInstance.php index 08a0680..3c076e5 100644 --- a/core/modules/field/src/Plugin/migrate/source/d7/FieldInstance.php +++ b/core/modules/field/src/Plugin/migrate/source/d7/FieldInstance.php @@ -103,4 +103,5 @@ class FieldInstance extends DrupalSqlBase { ), ); } + } diff --git a/core/modules/field/src/Tests/EntityReference/EntityReferenceFileUploadTest.php b/core/modules/field/src/Tests/EntityReference/EntityReferenceFileUploadTest.php index b638d4c..6aef0f8 100644 --- a/core/modules/field/src/Tests/EntityReference/EntityReferenceFileUploadTest.php +++ b/core/modules/field/src/Tests/EntityReference/EntityReferenceFileUploadTest.php @@ -125,4 +125,5 @@ class EntityReferenceFileUploadTest extends WebTestBase { $this->drupalPostForm(NULL, $edit, 'Save'); $this->assertResponse(200); } + } diff --git a/core/modules/field/src/Tests/EntityReference/Views/SelectionTest.php b/core/modules/field/src/Tests/EntityReference/Views/SelectionTest.php index 5a472ef..e677dbc 100644 --- a/core/modules/field/src/Tests/EntityReference/Views/SelectionTest.php +++ b/core/modules/field/src/Tests/EntityReference/Views/SelectionTest.php @@ -141,4 +141,5 @@ class SelectionTest extends WebTestBase { $result = $handler->getReferenceableEntities(); $this->assertResults($result); } + } diff --git a/core/modules/field/src/Tests/FieldAccessTest.php b/core/modules/field/src/Tests/FieldAccessTest.php index 0907a46..0553406 100644 --- a/core/modules/field/src/Tests/FieldAccessTest.php +++ b/core/modules/field/src/Tests/FieldAccessTest.php @@ -88,4 +88,5 @@ class FieldAccessTest extends FieldTestBase { $this->drupalGet('node/' . $this->node->id()); $this->assertNoText($this->testViewFieldValue); } + } diff --git a/core/modules/field/src/Tests/FieldTestBase.php b/core/modules/field/src/Tests/FieldTestBase.php index ca23d03..2b1b020 100644 --- a/core/modules/field/src/Tests/FieldTestBase.php +++ b/core/modules/field/src/Tests/FieldTestBase.php @@ -58,4 +58,5 @@ abstract class FieldTestBase extends WebTestBase { $this->assertEqual($values[$key][$column], $value, format_string('Value @value was saved correctly.', array('@value' => $value))); } } + } diff --git a/core/modules/field/src/Tests/Number/NumberFieldTest.php b/core/modules/field/src/Tests/Number/NumberFieldTest.php index 366024c..14777ec 100644 --- a/core/modules/field/src/Tests/Number/NumberFieldTest.php +++ b/core/modules/field/src/Tests/Number/NumberFieldTest.php @@ -558,4 +558,5 @@ class NumberFieldTest extends WebTestBase { $this->drupalGet($field_configuration_url); $this->assertFieldById('edit-settings-min', $minimum_value, 'Minimal ' . gettype($minimum_value) . ' value was set on a ' . $field->getType() . ' field.'); } + } diff --git a/core/modules/field/src/Tests/String/StringFieldTest.php b/core/modules/field/src/Tests/String/StringFieldTest.php index 9284426..ed71ebc 100644 --- a/core/modules/field/src/Tests/String/StringFieldTest.php +++ b/core/modules/field/src/Tests/String/StringFieldTest.php @@ -97,4 +97,5 @@ class StringFieldTest extends WebTestBase { $this->setRawContent(\Drupal::service('renderer')->renderRoot($content)); $this->assertText($value, 'Filtered tags are not displayed'); } + } diff --git a/core/modules/field/src/Tests/TranslationWebTest.php b/core/modules/field/src/Tests/TranslationWebTest.php index 397e1c1..5271fd2 100644 --- a/core/modules/field/src/Tests/TranslationWebTest.php +++ b/core/modules/field/src/Tests/TranslationWebTest.php @@ -130,4 +130,5 @@ class TranslationWebTest extends FieldTestBase { $this->assertTrue($passed, format_string('The @language translation for revision @revision was correctly stored', array('@language' => $langcode, '@revision' => $entity->getRevisionId()))); } } + } diff --git a/core/modules/field/src/Tests/Update/FieldUpdateTest.php b/core/modules/field/src/Tests/Update/FieldUpdateTest.php index c3f967c..be31a09 100644 --- a/core/modules/field/src/Tests/Update/FieldUpdateTest.php +++ b/core/modules/field/src/Tests/Update/FieldUpdateTest.php @@ -140,4 +140,5 @@ class FieldUpdateTest extends UpdatePathTestBase { $dependencies += ['module' => []]; $this->assertEqual(in_array('entity_reference', $dependencies['module']), $present); } + } diff --git a/core/modules/field/src/Tests/Views/FieldUITest.php b/core/modules/field/src/Tests/Views/FieldUITest.php index 28b7024..b51abb2 100644 --- a/core/modules/field/src/Tests/Views/FieldUITest.php +++ b/core/modules/field/src/Tests/Views/FieldUITest.php @@ -137,4 +137,5 @@ class FieldUITest extends FieldTestBase { $option = $this->xpath('//label[@for="edit-options-value-0"]'); $this->assertEqual(t('False'), (string) $option[0]); } + } diff --git a/core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldApplicableFormatter.php b/core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldApplicableFormatter.php index f3662b4..c2916f5 100644 --- a/core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldApplicableFormatter.php +++ b/core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldApplicableFormatter.php @@ -36,4 +36,5 @@ class TestFieldApplicableFormatter extends FormatterBase { public function viewElements(FieldItemListInterface $items, $langcode) { return array('#markup' => 'Nothing to see here'); } + } diff --git a/core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldDefaultFormatter.php b/core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldDefaultFormatter.php index 0419672..5eb0354 100644 --- a/core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldDefaultFormatter.php +++ b/core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldDefaultFormatter.php @@ -66,4 +66,5 @@ class TestFieldDefaultFormatter extends FormatterBase { return $elements; } + } diff --git a/core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldEmptySettingFormatter.php b/core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldEmptySettingFormatter.php index b638783..ca08861 100644 --- a/core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldEmptySettingFormatter.php +++ b/core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldEmptySettingFormatter.php @@ -69,4 +69,5 @@ class TestFieldEmptySettingFormatter extends FormatterBase { return $elements; } + } diff --git a/core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldMultipleFormatter.php b/core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldMultipleFormatter.php index 399aeba..97bb1e6 100644 --- a/core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldMultipleFormatter.php +++ b/core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldMultipleFormatter.php @@ -71,4 +71,5 @@ class TestFieldMultipleFormatter extends FormatterBase { return $elements; } + } diff --git a/core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldPrepareViewFormatter.php b/core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldPrepareViewFormatter.php index 5fb45e0..f7df0c0 100644 --- a/core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldPrepareViewFormatter.php +++ b/core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldPrepareViewFormatter.php @@ -79,4 +79,5 @@ class TestFieldPrepareViewFormatter extends FormatterBase { return $elements; } + } diff --git a/core/modules/field/tests/src/Kernel/DisplayApiTest.php b/core/modules/field/tests/src/Kernel/DisplayApiTest.php index 9a85255..d639e6a 100644 --- a/core/modules/field/tests/src/Kernel/DisplayApiTest.php +++ b/core/modules/field/tests/src/Kernel/DisplayApiTest.php @@ -308,4 +308,5 @@ class DisplayApiTest extends FieldKernelTestBase { // default "empty" text. $this->assertText($display['settings']['test_empty_string']); } + } diff --git a/core/modules/field/tests/src/Kernel/FieldImportChangeTest.php b/core/modules/field/tests/src/Kernel/FieldImportChangeTest.php index 7606076..8cd0291 100644 --- a/core/modules/field/tests/src/Kernel/FieldImportChangeTest.php +++ b/core/modules/field/tests/src/Kernel/FieldImportChangeTest.php @@ -48,4 +48,5 @@ class FieldImportChangeTest extends FieldKernelTestBase { $field = FieldConfig::load($field_id); $this->assertEqual($field->getLabel(), $new_label, 'field label updated'); } + } diff --git a/core/modules/field/tests/src/Kernel/FieldImportCreateTest.php b/core/modules/field/tests/src/Kernel/FieldImportCreateTest.php index 78a136e..3478dd3 100644 --- a/core/modules/field/tests/src/Kernel/FieldImportCreateTest.php +++ b/core/modules/field/tests/src/Kernel/FieldImportCreateTest.php @@ -115,4 +115,5 @@ class FieldImportCreateTest extends FieldKernelTestBase { $field = FieldConfig::load($field_id_2b); $this->assertTrue($field, 'Test import field 2b from sync exists'); } + } diff --git a/core/modules/field/tests/src/Kernel/FieldImportDeleteTest.php b/core/modules/field/tests/src/Kernel/FieldImportDeleteTest.php index 220aa46..b536fe8 100644 --- a/core/modules/field/tests/src/Kernel/FieldImportDeleteTest.php +++ b/core/modules/field/tests/src/Kernel/FieldImportDeleteTest.php @@ -108,4 +108,5 @@ class FieldImportDeleteTest extends FieldKernelTestBase { $deleted_storages = \Drupal::state()->get('field.storage.deleted') ?: array(); $this->assertTrue(empty($deleted_storages), 'Fields are deleted'); } + } diff --git a/core/modules/field/tests/src/Kernel/String/StringFormatterTest.php b/core/modules/field/tests/src/Kernel/String/StringFormatterTest.php index 41cb06a..b52a92f 100644 --- a/core/modules/field/tests/src/Kernel/String/StringFormatterTest.php +++ b/core/modules/field/tests/src/Kernel/String/StringFormatterTest.php @@ -156,4 +156,5 @@ class StringFormatterTest extends KernelTestBase { $this->assertLink($value, 0); $this->assertLinkByHref('/entity_test_rev/' . $entity_new_revision->id() . '/revision/' . $entity_new_revision->getRevisionId() . '/view'); } + } diff --git a/core/modules/field/tests/src/Unit/Plugin/migrate/process/d6/FieldTypeDefaultsTest.php b/core/modules/field/tests/src/Unit/Plugin/migrate/process/d6/FieldTypeDefaultsTest.php index 89655fd..f7b6fc7 100644 --- a/core/modules/field/tests/src/Unit/Plugin/migrate/process/d6/FieldTypeDefaultsTest.php +++ b/core/modules/field/tests/src/Unit/Plugin/migrate/process/d6/FieldTypeDefaultsTest.php @@ -51,4 +51,5 @@ class FieldTypeDefaultsTest extends MigrateProcessTestCase { sprintf('Failed to lookup field type %s in the static map.', var_export([], TRUE))); $this->plugin->transform([], $this->migrateExecutable, $this->row, 'property'); } + } diff --git a/core/modules/field_ui/src/Plugin/Derivative/FieldUiLocalTask.php b/core/modules/field_ui/src/Plugin/Derivative/FieldUiLocalTask.php index 54ff0a6..3ebf959 100644 --- a/core/modules/field_ui/src/Plugin/Derivative/FieldUiLocalTask.php +++ b/core/modules/field_ui/src/Plugin/Derivative/FieldUiLocalTask.php @@ -186,4 +186,5 @@ class FieldUiLocalTask extends DeriverBase implements ContainerDeriverInterface } } } + } diff --git a/core/modules/field_ui/src/Tests/FieldUIIndentationTest.php b/core/modules/field_ui/src/Tests/FieldUIIndentationTest.php index b2950e7..898b417 100644 --- a/core/modules/field_ui/src/Tests/FieldUIIndentationTest.php +++ b/core/modules/field_ui/src/Tests/FieldUIIndentationTest.php @@ -37,4 +37,5 @@ class FieldUIIndentationTest extends WebTestBase { $this->drupalGet('admin/structure/types/manage/page/display'); $this->assertRaw('js-indentation indentation'); } + } diff --git a/core/modules/file/src/FileInterface.php b/core/modules/file/src/FileInterface.php index d078946..5b5a6bb 100644 --- a/core/modules/file/src/FileInterface.php +++ b/core/modules/file/src/FileInterface.php @@ -113,4 +113,5 @@ interface FileInterface extends ContentEntityInterface, EntityChangedInterface, * Creation timestamp of the file entity. */ public function getCreatedTime(); + } diff --git a/core/modules/file/src/FileStorageInterface.php b/core/modules/file/src/FileStorageInterface.php index 296be7b..3bbd92c 100644 --- a/core/modules/file/src/FileStorageInterface.php +++ b/core/modules/file/src/FileStorageInterface.php @@ -23,4 +23,5 @@ interface FileStorageInterface extends ContentEntityStorageInterface { * An integer containing the number of bytes used. */ public function spaceUsed($uid = NULL, $status = FILE_STATUS_PERMANENT); + } diff --git a/core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php b/core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php index eeab8af..12647b1 100644 --- a/core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php +++ b/core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php @@ -107,4 +107,5 @@ class DatabaseFileUsageBackend extends FileUsageBase { } return $references; } + } diff --git a/core/modules/file/src/FileUsage/FileUsageBase.php b/core/modules/file/src/FileUsage/FileUsageBase.php index 5ebc793..c90359b 100644 --- a/core/modules/file/src/FileUsage/FileUsageBase.php +++ b/core/modules/file/src/FileUsage/FileUsageBase.php @@ -32,4 +32,5 @@ abstract class FileUsageBase implements FileUsageInterface { $file->save(); } } + } diff --git a/core/modules/file/src/FileUsage/FileUsageInterface.php b/core/modules/file/src/FileUsage/FileUsageInterface.php index cd8bea8..6acda42 100644 --- a/core/modules/file/src/FileUsage/FileUsageInterface.php +++ b/core/modules/file/src/FileUsage/FileUsageInterface.php @@ -66,4 +66,5 @@ interface FileUsageInterface { * the third level contains the usage count. */ public function listUsage(FileInterface $file); + } diff --git a/core/modules/file/src/Tests/DownloadTest.php b/core/modules/file/src/Tests/DownloadTest.php index 745743c..e92cef3 100644 --- a/core/modules/file/src/Tests/DownloadTest.php +++ b/core/modules/file/src/Tests/DownloadTest.php @@ -168,4 +168,5 @@ class DownloadTest extends FileManagedTestBase { $file->delete(); } + } diff --git a/core/modules/file/src/Tests/FileFieldPathTest.php b/core/modules/file/src/Tests/FileFieldPathTest.php index b3773be..c9a15de 100644 --- a/core/modules/file/src/Tests/FileFieldPathTest.php +++ b/core/modules/file/src/Tests/FileFieldPathTest.php @@ -89,4 +89,5 @@ class FileFieldPathTest extends FileFieldTestBase { $result = preg_match('/' . preg_quote($base_path, '/') . '(_[0-9]+)?\.' . preg_quote($extension, '/') . '/', $actual_path); $this->assertTrue($result, $message); } + } diff --git a/core/modules/file/src/Tests/FileFieldRSSContentTest.php b/core/modules/file/src/Tests/FileFieldRSSContentTest.php index 1fc4177..665649a 100644 --- a/core/modules/file/src/Tests/FileFieldRSSContentTest.php +++ b/core/modules/file/src/Tests/FileFieldRSSContentTest.php @@ -64,4 +64,5 @@ class FileFieldRSSContentTest extends FileFieldTestBase { ); $this->assertRaw($test_element, 'File field RSS enclosure is displayed when viewing the RSS feed.'); } + } diff --git a/core/modules/file/src/Tests/FileFieldRevisionTest.php b/core/modules/file/src/Tests/FileFieldRevisionTest.php index 09a8572..f5d00c7 100644 --- a/core/modules/file/src/Tests/FileFieldRevisionTest.php +++ b/core/modules/file/src/Tests/FileFieldRevisionTest.php @@ -138,4 +138,5 @@ class FileFieldRevisionTest extends FileFieldTestBase { $this->assertFileNotExists($node_file_r1, 'Original file is deleted after deleting the entire node with two revisions remaining.'); $this->assertFileEntryNotExists($node_file_r1, 'Original file entry is deleted after deleting the entire node with two revisions remaining.'); } + } diff --git a/core/modules/file/src/Tests/FileManagedAccessTest.php b/core/modules/file/src/Tests/FileManagedAccessTest.php index ce016af..391f91a 100644 --- a/core/modules/file/src/Tests/FileManagedAccessTest.php +++ b/core/modules/file/src/Tests/FileManagedAccessTest.php @@ -65,4 +65,5 @@ class FileManagedAccessTest extends FileManagedTestBase { $this->assertFalse($file->access('view', $account), 'Private file is not viewable to anonymous user'); $this->assertFalse($file->access('download', $account), 'Private file is not downloadable to anonymous user'); } + } diff --git a/core/modules/file/src/Tests/FilePrivateTest.php b/core/modules/file/src/Tests/FilePrivateTest.php index 9f2ba0b..2705ef2 100644 --- a/core/modules/file/src/Tests/FilePrivateTest.php +++ b/core/modules/file/src/Tests/FilePrivateTest.php @@ -111,4 +111,5 @@ class FilePrivateTest extends FileFieldTestBase { $this->drupalGet($file_url); $this->assertResponse(403, 'Confirmed that access is denied for another user to the temporary file.'); } + } diff --git a/core/modules/file/src/Tests/FileTokenReplaceTest.php b/core/modules/file/src/Tests/FileTokenReplaceTest.php index de76327..dfb9e51 100644 --- a/core/modules/file/src/Tests/FileTokenReplaceTest.php +++ b/core/modules/file/src/Tests/FileTokenReplaceTest.php @@ -93,4 +93,5 @@ class FileTokenReplaceTest extends FileFieldTestBase { $this->assertEqual($output, $expected, format_string('Unsanitized file token %token replaced.', array('%token' => $input))); } } + } diff --git a/core/modules/file/src/Tests/RemoteFileSaveUploadTest.php b/core/modules/file/src/Tests/RemoteFileSaveUploadTest.php index 64a49be..b1ee6a6 100644 --- a/core/modules/file/src/Tests/RemoteFileSaveUploadTest.php +++ b/core/modules/file/src/Tests/RemoteFileSaveUploadTest.php @@ -20,4 +20,5 @@ class RemoteFileSaveUploadTest extends SaveUploadTest { parent::setUp(); $this->config('system.file')->set('default_scheme', 'dummy-remote')->save(); } + } diff --git a/core/modules/file/src/Tests/SaveUploadTest.php b/core/modules/file/src/Tests/SaveUploadTest.php index 0f0f5ec..3aaa5cf 100644 --- a/core/modules/file/src/Tests/SaveUploadTest.php +++ b/core/modules/file/src/Tests/SaveUploadTest.php @@ -358,4 +358,5 @@ class SaveUploadTest extends FileManagedTestBase { '@destination' => 'temporary://' . $test_directory . '/' . $this->image->getFilename() )), 'Found upload error log entry.'); } + } diff --git a/core/modules/file/tests/file_test/src/Form/FileTestForm.php b/core/modules/file/tests/file_test/src/Form/FileTestForm.php index 5b06335..628bb55 100644 --- a/core/modules/file/tests/file_test/src/Form/FileTestForm.php +++ b/core/modules/file/tests/file_test/src/Form/FileTestForm.php @@ -117,4 +117,5 @@ class FileTestForm implements FormInterface { drupal_set_message(t('Epic upload FAIL!'), 'error'); } } + } diff --git a/core/modules/file/tests/file_test/src/StreamWrapper/DummyReadOnlyStreamWrapper.php b/core/modules/file/tests/file_test/src/StreamWrapper/DummyReadOnlyStreamWrapper.php index fd6da2e..c0a7c05 100644 --- a/core/modules/file/tests/file_test/src/StreamWrapper/DummyReadOnlyStreamWrapper.php +++ b/core/modules/file/tests/file_test/src/StreamWrapper/DummyReadOnlyStreamWrapper.php @@ -46,4 +46,5 @@ class DummyReadOnlyStreamWrapper extends LocalReadOnlyStream { function getExternalUrl() { return '/dummy/example.txt'; } + } diff --git a/core/modules/file/tests/file_test/src/StreamWrapper/DummyRemoteStreamWrapper.php b/core/modules/file/tests/file_test/src/StreamWrapper/DummyRemoteStreamWrapper.php index 7736751..12019e6 100644 --- a/core/modules/file/tests/file_test/src/StreamWrapper/DummyRemoteStreamWrapper.php +++ b/core/modules/file/tests/file_test/src/StreamWrapper/DummyRemoteStreamWrapper.php @@ -30,4 +30,5 @@ class DummyRemoteStreamWrapper extends PublicStream { function realpath() { return FALSE; } + } diff --git a/core/modules/file/tests/file_test/src/StreamWrapper/DummyStreamWrapper.php b/core/modules/file/tests/file_test/src/StreamWrapper/DummyStreamWrapper.php index 8ae028a..1428300 100644 --- a/core/modules/file/tests/file_test/src/StreamWrapper/DummyStreamWrapper.php +++ b/core/modules/file/tests/file_test/src/StreamWrapper/DummyStreamWrapper.php @@ -46,4 +46,5 @@ class DummyStreamWrapper extends LocalStream { function getExternalUrl() { return '/dummy/example.txt'; } + } diff --git a/core/modules/file/tests/src/Kernel/CopyTest.php b/core/modules/file/tests/src/Kernel/CopyTest.php index b9bf8bc..8836bd4 100644 --- a/core/modules/file/tests/src/Kernel/CopyTest.php +++ b/core/modules/file/tests/src/Kernel/CopyTest.php @@ -141,4 +141,5 @@ class CopyTest extends FileManagedUnitTestBase { $this->assertFileUnchanged($source, File::load($source->id())); $this->assertFileUnchanged($target, File::load($target->id())); } + } diff --git a/core/modules/file/tests/src/Kernel/DeleteTest.php b/core/modules/file/tests/src/Kernel/DeleteTest.php index a6577d8..b880571 100644 --- a/core/modules/file/tests/src/Kernel/DeleteTest.php +++ b/core/modules/file/tests/src/Kernel/DeleteTest.php @@ -68,4 +68,5 @@ class DeleteTest extends FileManagedUnitTestBase { $this->assertFalse(file_exists($file->getFileUri()), 'File has been deleted after its last usage was removed.'); $this->assertFalse(File::load($file->id()), 'File was removed from the database.'); } + } diff --git a/core/modules/file/tests/src/Kernel/MoveTest.php b/core/modules/file/tests/src/Kernel/MoveTest.php index 9262b03..a56caea 100644 --- a/core/modules/file/tests/src/Kernel/MoveTest.php +++ b/core/modules/file/tests/src/Kernel/MoveTest.php @@ -156,4 +156,5 @@ class MoveTest extends FileManagedUnitTestBase { $this->assertFileUnchanged($source, File::load($source->id())); $this->assertFileUnchanged($target, File::load($target->id())); } + } diff --git a/core/modules/file/tests/src/Kernel/SaveDataTest.php b/core/modules/file/tests/src/Kernel/SaveDataTest.php index e079454..c5637d0 100644 --- a/core/modules/file/tests/src/Kernel/SaveDataTest.php +++ b/core/modules/file/tests/src/Kernel/SaveDataTest.php @@ -130,4 +130,5 @@ class SaveDataTest extends FileManagedUnitTestBase { // Ensure that the existing file wasn't overwritten. $this->assertFileUnchanged($existing, File::load($existing->id())); } + } diff --git a/core/modules/file/tests/src/Kernel/SaveTest.php b/core/modules/file/tests/src/Kernel/SaveTest.php index d5a3eef..69c7f2b 100644 --- a/core/modules/file/tests/src/Kernel/SaveTest.php +++ b/core/modules/file/tests/src/Kernel/SaveTest.php @@ -82,4 +82,5 @@ class SaveTest extends FileManagedUnitTestBase { $this->assertEqual(array($uppercase_file->id() => $uppercase_file->id()), $fids); } + } diff --git a/core/modules/file/tests/src/Kernel/SpaceUsedTest.php b/core/modules/file/tests/src/Kernel/SpaceUsedTest.php index 95efbaf..f8752c4 100644 --- a/core/modules/file/tests/src/Kernel/SpaceUsedTest.php +++ b/core/modules/file/tests/src/Kernel/SpaceUsedTest.php @@ -71,4 +71,5 @@ class SpaceUsedTest extends FileManagedUnitTestBase { $this->assertEqual($file->spaceUsed(3, 0), 3); $this->assertEqual($file->spaceUsed(3, FILE_STATUS_PERMANENT), 300); } + } diff --git a/core/modules/file/tests/src/Kernel/UsageTest.php b/core/modules/file/tests/src/Kernel/UsageTest.php index 1b8918d..fdf1231 100644 --- a/core/modules/file/tests/src/Kernel/UsageTest.php +++ b/core/modules/file/tests/src/Kernel/UsageTest.php @@ -202,4 +202,5 @@ class UsageTest extends FileManagedUnitTestBase { $this->assertTrue(file_exists($perm_old->getFileUri()), 'Old permanent file was correctly ignored.'); $this->assertTrue(file_exists($perm_new->getFileUri()), 'New permanent file was correctly ignored.'); } + } diff --git a/core/modules/file/tests/src/Kernel/ValidateTest.php b/core/modules/file/tests/src/Kernel/ValidateTest.php index c3bd453..0bfcfdd 100644 --- a/core/modules/file/tests/src/Kernel/ValidateTest.php +++ b/core/modules/file/tests/src/Kernel/ValidateTest.php @@ -34,4 +34,5 @@ class ValidateTest extends FileManagedUnitTestBase { $this->assertEqual(file_validate($file, $failing), array('Failed', 'Badly', 'Epic fail'), 'Validating returns errors.'); $this->assertFileHooksCalled(array('validate')); } + } diff --git a/core/modules/file/tests/src/Kernel/ValidatorTest.php b/core/modules/file/tests/src/Kernel/ValidatorTest.php index 2d8f4cb..30a6fe8 100644 --- a/core/modules/file/tests/src/Kernel/ValidatorTest.php +++ b/core/modules/file/tests/src/Kernel/ValidatorTest.php @@ -153,4 +153,5 @@ class ValidatorTest extends FileManagedUnitTestBase { $errors = file_validate_size($file, 1, 1); $this->assertEqual(count($errors), 2, 'Errors for both the file and their limit.', 'File'); } + } diff --git a/core/modules/filter/src/Plugin/DataType/FilterFormat.php b/core/modules/filter/src/Plugin/DataType/FilterFormat.php index 65bfa19..11ef4cc 100644 --- a/core/modules/filter/src/Plugin/DataType/FilterFormat.php +++ b/core/modules/filter/src/Plugin/DataType/FilterFormat.php @@ -44,4 +44,5 @@ class FilterFormat extends StringData implements OptionsProviderInterface { // @todo: Avoid calling functions but move to injected dependencies. return array_map(function ($format) { return $format->label(); }, filter_formats($account)); } + } diff --git a/core/modules/filter/src/Render/FilteredMarkup.php b/core/modules/filter/src/Render/FilteredMarkup.php index 3a69123..bf24983 100644 --- a/core/modules/filter/src/Render/FilteredMarkup.php +++ b/core/modules/filter/src/Render/FilteredMarkup.php @@ -21,4 +21,5 @@ use Drupal\Component\Render\MarkupTrait; */ final class FilteredMarkup implements MarkupInterface, \Countable { use MarkupTrait; + } diff --git a/core/modules/filter/src/Tests/FilterDefaultFormatTest.php b/core/modules/filter/src/Tests/FilterDefaultFormatTest.php index 96bae80..800d706 100644 --- a/core/modules/filter/src/Tests/FilterDefaultFormatTest.php +++ b/core/modules/filter/src/Tests/FilterDefaultFormatTest.php @@ -74,4 +74,5 @@ class FilterDefaultFormatTest extends WebTestBase { protected function resetFilterCaches() { filter_formats_reset(); } + } diff --git a/core/modules/filter/src/Tests/FilterFormatAccessTest.php b/core/modules/filter/src/Tests/FilterFormatAccessTest.php index 4d2da61..ed41db0 100644 --- a/core/modules/filter/src/Tests/FilterFormatAccessTest.php +++ b/core/modules/filter/src/Tests/FilterFormatAccessTest.php @@ -329,4 +329,5 @@ class FilterFormatAccessTest extends WebTestBase { protected function resetFilterCaches() { filter_formats_reset(); } + } diff --git a/core/modules/filter/src/Tests/FilterHooksTest.php b/core/modules/filter/src/Tests/FilterHooksTest.php index 448f2fc..5353ccb 100644 --- a/core/modules/filter/src/Tests/FilterHooksTest.php +++ b/core/modules/filter/src/Tests/FilterHooksTest.php @@ -68,4 +68,5 @@ class FilterHooksTest extends WebTestBase { $this->assertRaw(t('Disabled text format %format.', array('%format' => $name))); $this->assertText('hook_filter_format_disable invoked.'); } + } diff --git a/core/modules/filter/src/Tests/FilterHtmlImageSecureTest.php b/core/modules/filter/src/Tests/FilterHtmlImageSecureTest.php index c7a2ee3..5ce4e6d 100644 --- a/core/modules/filter/src/Tests/FilterHtmlImageSecureTest.php +++ b/core/modules/filter/src/Tests/FilterHtmlImageSecureTest.php @@ -154,4 +154,5 @@ class FilterHtmlImageSecureTest extends WebTestBase { $this->assertTrue($found, format_string('@image was found.', array('@image' => $image))); } } + } diff --git a/core/modules/filter/src/Tests/FilterNoFormatTest.php b/core/modules/filter/src/Tests/FilterNoFormatTest.php index 32d5d43..3dcc9f6 100644 --- a/core/modules/filter/src/Tests/FilterNoFormatTest.php +++ b/core/modules/filter/src/Tests/FilterNoFormatTest.php @@ -33,4 +33,5 @@ class FilterNoFormatTest extends WebTestBase { // format, it is filtered as though it is in the fallback format. $this->assertEqual(check_markup($text), check_markup($text, filter_fallback_format()), 'Text with no format is filtered the same as text in the fallback format.'); } + } diff --git a/core/modules/filter/src/Tests/FilterSecurityTest.php b/core/modules/filter/src/Tests/FilterSecurityTest.php index 4ea141c..b86e072 100644 --- a/core/modules/filter/src/Tests/FilterSecurityTest.php +++ b/core/modules/filter/src/Tests/FilterSecurityTest.php @@ -86,4 +86,5 @@ class FilterSecurityTest extends WebTestBase { $this->assertEqual(check_markup($text, 'filtered_html', '', array()), $expected_filtered_text, 'Expected filter result.'); $this->assertEqual(check_markup($text, 'filtered_html', '', array(FilterInterface::TYPE_HTML_RESTRICTOR)), $expected_filtered_text, 'Expected filter result, even when trying to disable filters of the FilterInterface::TYPE_HTML_RESTRICTOR type.'); } + } diff --git a/core/modules/filter/tests/src/Kernel/FilterSettingsTest.php b/core/modules/filter/tests/src/Kernel/FilterSettingsTest.php index cc90cb3..dc77eb4 100644 --- a/core/modules/filter/tests/src/Kernel/FilterSettingsTest.php +++ b/core/modules/filter/tests/src/Kernel/FilterSettingsTest.php @@ -58,4 +58,5 @@ class FilterSettingsTest extends KernelTestBase { ))); } } + } diff --git a/core/modules/filter/tests/src/Kernel/FilterUnitTest.php b/core/modules/filter/tests/src/Kernel/FilterUnitTest.php index 860f672..3f46739 100644 --- a/core/modules/filter/tests/src/Kernel/FilterUnitTest.php +++ b/core/modules/filter/tests/src/Kernel/FilterUnitTest.php @@ -1174,4 +1174,5 @@ body {color:red} function assertNoNormalized($haystack, $needle, $message = '', $group = 'Other') { return $this->assertTrue(strpos(strtolower(Html::decodeEntities($haystack)), $needle) === FALSE, $message, $group); } + } diff --git a/core/modules/filter/tests/src/Unit/Plugin/migrate/source/d6/FilterFormatTest.php b/core/modules/filter/tests/src/Unit/Plugin/migrate/source/d6/FilterFormatTest.php index 0d4e5d0..a50a069 100644 --- a/core/modules/filter/tests/src/Unit/Plugin/migrate/source/d6/FilterFormatTest.php +++ b/core/modules/filter/tests/src/Unit/Plugin/migrate/source/d6/FilterFormatTest.php @@ -102,4 +102,5 @@ class FilterFormatTest extends MigrateSqlSourceTestCase { } parent::setUp(); } + } diff --git a/core/modules/forum/src/Plugin/Block/NewTopicsBlock.php b/core/modules/forum/src/Plugin/Block/NewTopicsBlock.php index 50551ee..d57628f 100644 --- a/core/modules/forum/src/Plugin/Block/NewTopicsBlock.php +++ b/core/modules/forum/src/Plugin/Block/NewTopicsBlock.php @@ -24,4 +24,5 @@ class NewTopicsBlock extends ForumBlockBase { ->orderBy('f.created', 'DESC') ->range(0, $this->configuration['block_count']); } + } diff --git a/core/modules/forum/src/Plugin/Validation/Constraint/ForumLeafConstraint.php b/core/modules/forum/src/Plugin/Validation/Constraint/ForumLeafConstraint.php index 1791a71..eec87cb 100644 --- a/core/modules/forum/src/Plugin/Validation/Constraint/ForumLeafConstraint.php +++ b/core/modules/forum/src/Plugin/Validation/Constraint/ForumLeafConstraint.php @@ -16,4 +16,5 @@ class ForumLeafConstraint extends Constraint { public $selectForum = 'Select a forum.'; public $noLeafMessage = 'The item %forum is a forum container, not a forum. Select one of the forums below instead.'; + } diff --git a/core/modules/forum/src/Tests/ForumBlockTest.php b/core/modules/forum/src/Tests/ForumBlockTest.php index 6b1399b..1bcc9bc 100644 --- a/core/modules/forum/src/Tests/ForumBlockTest.php +++ b/core/modules/forum/src/Tests/ForumBlockTest.php @@ -176,4 +176,5 @@ class ForumBlockTest extends WebTestBase { return $topics; } + } diff --git a/core/modules/forum/src/Tests/ForumIndexTest.php b/core/modules/forum/src/Tests/ForumIndexTest.php index 64fe0d1..8ead34f 100644 --- a/core/modules/forum/src/Tests/ForumIndexTest.php +++ b/core/modules/forum/src/Tests/ForumIndexTest.php @@ -79,4 +79,5 @@ class ForumIndexTest extends WebTestBase { $this->drupalGet('forum/' . $tid); $this->assertNoText($title, 'Unpublished forum topic no longer appears on index.'); } + } diff --git a/core/modules/forum/src/Tests/ForumTest.php b/core/modules/forum/src/Tests/ForumTest.php index 57b2c60..1327714 100644 --- a/core/modules/forum/src/Tests/ForumTest.php +++ b/core/modules/forum/src/Tests/ForumTest.php @@ -677,4 +677,5 @@ class ForumTest extends WebTestBase { $this->nids[] = $node->id(); } } + } diff --git a/core/modules/hal/src/Normalizer/ContentEntityNormalizer.php b/core/modules/hal/src/Normalizer/ContentEntityNormalizer.php index 8ff3235..fd8158b 100644 --- a/core/modules/hal/src/Normalizer/ContentEntityNormalizer.php +++ b/core/modules/hal/src/Normalizer/ContentEntityNormalizer.php @@ -244,4 +244,5 @@ class ContentEntityNormalizer extends NormalizerBase { return $typed_data_ids; } + } diff --git a/core/modules/hal/tests/src/Kernel/DenormalizeTest.php b/core/modules/hal/tests/src/Kernel/DenormalizeTest.php index 3e99f2f..64c8311 100644 --- a/core/modules/hal/tests/src/Kernel/DenormalizeTest.php +++ b/core/modules/hal/tests/src/Kernel/DenormalizeTest.php @@ -203,4 +203,5 @@ class DenormalizeTest extends NormalizerTestBase { // Check the custom property that contains the list of fields to merge. $this->assertEqual($denormalized->_restSubmittedFields, ['field_test_text']); } + } diff --git a/core/modules/help/src/Tests/HelpTest.php b/core/modules/help/src/Tests/HelpTest.php index 6cb3991..76e2ee3 100644 --- a/core/modules/help/src/Tests/HelpTest.php +++ b/core/modules/help/src/Tests/HelpTest.php @@ -158,4 +158,5 @@ class HelpTest extends WebTestBase { } return $modules; } + } diff --git a/core/modules/help/src/Tests/NoHelpTest.php b/core/modules/help/src/Tests/NoHelpTest.php index 9d087b7..7a6fb7a 100644 --- a/core/modules/help/src/Tests/NoHelpTest.php +++ b/core/modules/help/src/Tests/NoHelpTest.php @@ -45,4 +45,5 @@ class NoHelpTest extends WebTestBase { $this->drupalGet('admin/help/menu_test'); $this->assertResponse(404, 'Getting a module overview help page for a module that does not implement hook_help() results in a 404.'); } + } diff --git a/core/modules/history/src/Tests/HistoryTest.php b/core/modules/history/src/Tests/HistoryTest.php index 9e5d970..17bba34 100644 --- a/core/modules/history/src/Tests/HistoryTest.php +++ b/core/modules/history/src/Tests/HistoryTest.php @@ -144,4 +144,5 @@ class HistoryTest extends WebTestBase { $this->markNodeAsRead($nid); $this->assertResponse(403); } + } diff --git a/core/modules/history/src/Tests/Views/HistoryTimestampTest.php b/core/modules/history/src/Tests/Views/HistoryTimestampTest.php index 1e34b79..0f48401 100644 --- a/core/modules/history/src/Tests/Views/HistoryTimestampTest.php +++ b/core/modules/history/src/Tests/Views/HistoryTimestampTest.php @@ -85,4 +85,5 @@ class HistoryTimestampTest extends ViewTestBase { $this->executeView($view); } + } diff --git a/core/modules/image/src/Tests/FileMoveTest.php b/core/modules/image/src/Tests/FileMoveTest.php index 5868e85..1957994 100644 --- a/core/modules/image/src/Tests/FileMoveTest.php +++ b/core/modules/image/src/Tests/FileMoveTest.php @@ -48,4 +48,5 @@ class FileMoveTest extends WebTestBase { // Check if derivative image has been flushed. $this->assertFalse(file_exists($derivative_uri), 'Make sure derivative image has been flushed.'); } + } diff --git a/core/modules/image/src/Tests/ImageFieldValidateTest.php b/core/modules/image/src/Tests/ImageFieldValidateTest.php index d36aafc..2532524 100644 --- a/core/modules/image/src/Tests/ImageFieldValidateTest.php +++ b/core/modules/image/src/Tests/ImageFieldValidateTest.php @@ -101,4 +101,5 @@ class ImageFieldValidateTest extends ImageFieldTestBase { $this->assertNoText(t('Alternative text field is required.')); $this->assertNoText(t('Title field is required.')); } + } diff --git a/core/modules/image/src/Tests/ImageStyleFlushTest.php b/core/modules/image/src/Tests/ImageStyleFlushTest.php index 1f7c8e4..63c0d80 100644 --- a/core/modules/image/src/Tests/ImageStyleFlushTest.php +++ b/core/modules/image/src/Tests/ImageStyleFlushTest.php @@ -106,4 +106,5 @@ class ImageStyleFlushTest extends ImageFieldTestBase { // Post flush, expected no image in the 'private' wrapper. $this->assertEqual($this->getImageCount($style, 'private'), 0, format_string('Image style %style flushed correctly for %wrapper wrapper.', array('%style' => $style->label(), '%wrapper' => 'private'))); } + } diff --git a/core/modules/image/src/Tests/ImageThemeFunctionTest.php b/core/modules/image/src/Tests/ImageThemeFunctionTest.php index bf0a4cd..52cf6c6 100644 --- a/core/modules/image/src/Tests/ImageThemeFunctionTest.php +++ b/core/modules/image/src/Tests/ImageThemeFunctionTest.php @@ -217,4 +217,5 @@ class ImageThemeFunctionTest extends WebTestBase { $elements = $this->xpath('//img[contains(@class, class) and contains(@alt, :alt)]', array(":class" => "image-with-attribute-alt", ":alt" => "Attribute alt")); $this->assertEqual(count($elements), 1, 'Attribute alt overrides alt property if both set.'); } + } diff --git a/core/modules/language/src/Form/NegotiationBrowserForm.php b/core/modules/language/src/Form/NegotiationBrowserForm.php index 1e38a9b..dfbdabb 100644 --- a/core/modules/language/src/Form/NegotiationBrowserForm.php +++ b/core/modules/language/src/Form/NegotiationBrowserForm.php @@ -211,4 +211,5 @@ class NegotiationBrowserForm extends ConfigFormBase { } return $config->get('map'); } + } diff --git a/core/modules/language/src/LanguageServiceProvider.php b/core/modules/language/src/LanguageServiceProvider.php index 566bd63..cb4ad88 100644 --- a/core/modules/language/src/LanguageServiceProvider.php +++ b/core/modules/language/src/LanguageServiceProvider.php @@ -100,4 +100,5 @@ class LanguageServiceProvider extends ServiceProviderBase { } return FALSE; } + } diff --git a/core/modules/language/src/Tests/LanguageBlockSettingsVisibilityTest.php b/core/modules/language/src/Tests/LanguageBlockSettingsVisibilityTest.php index f92514b..ee6912e 100644 --- a/core/modules/language/src/Tests/LanguageBlockSettingsVisibilityTest.php +++ b/core/modules/language/src/Tests/LanguageBlockSettingsVisibilityTest.php @@ -23,4 +23,5 @@ class LanguageBlockSettingsVisibilityTest extends WebTestBase { $this->assertFieldByXPath('//input[@id="edit-visibility-language-langcodes-en"]', NULL, '\'English\' option appears at block config, language settings section.'); $this->assertFieldByXpath('//input[@id="edit-visibility-language-langcodes-hu"]', NULL, '\'Hungarian\' option appears at block config, language settings section.'); } + } diff --git a/core/modules/language/src/Tests/LanguageBrowserDetectionTest.php b/core/modules/language/src/Tests/LanguageBrowserDetectionTest.php index c6b7319..3991b2a 100644 --- a/core/modules/language/src/Tests/LanguageBrowserDetectionTest.php +++ b/core/modules/language/src/Tests/LanguageBrowserDetectionTest.php @@ -86,4 +86,5 @@ class LanguageBrowserDetectionTest extends WebTestBase { $this->assertField('edit-mappings-xx-browser-langcode', 'xx', 'Browser language code found.'); $this->assertField('edit-mappings-xx-drupal-langcode', 'zh-hans', 'Drupal language code found.'); } + } diff --git a/core/modules/language/src/Tests/LanguageCustomLanguageConfigurationTest.php b/core/modules/language/src/Tests/LanguageCustomLanguageConfigurationTest.php index 9cf69ad..dbd35cd 100644 --- a/core/modules/language/src/Tests/LanguageCustomLanguageConfigurationTest.php +++ b/core/modules/language/src/Tests/LanguageCustomLanguageConfigurationTest.php @@ -97,4 +97,5 @@ class LanguageCustomLanguageConfigurationTest extends WebTestBase { )); $this->assertUrl(\Drupal::url('language.add', array(), array('absolute' => TRUE)), [], 'Correct page redirection.'); } + } diff --git a/core/modules/language/src/Tests/LanguageListModuleInstallTest.php b/core/modules/language/src/Tests/LanguageListModuleInstallTest.php index ea9cdd5..3df9bdc 100644 --- a/core/modules/language/src/Tests/LanguageListModuleInstallTest.php +++ b/core/modules/language/src/Tests/LanguageListModuleInstallTest.php @@ -37,4 +37,5 @@ class LanguageListModuleInstallTest extends WebTestBase { $this->rebuildContainer(); $this->assertTrue(\Drupal::moduleHandler()->moduleExists('language'), 'Language module is enabled'); } + } diff --git a/core/modules/language/src/Tests/LanguageListTest.php b/core/modules/language/src/Tests/LanguageListTest.php index 2f1a455..d407530 100644 --- a/core/modules/language/src/Tests/LanguageListTest.php +++ b/core/modules/language/src/Tests/LanguageListTest.php @@ -205,4 +205,5 @@ class LanguageListTest extends WebTestBase { $conf_languages = $this->container->get('language_manager')->getLanguages(); $this->assertEqual(array_diff_key($expected_conf_languages, $conf_languages), array(), 'Configurable languages loaded correctly.'); } + } diff --git a/core/modules/language/src/Tests/LanguageLocaleListTest.php b/core/modules/language/src/Tests/LanguageLocaleListTest.php index ec05c44..dd3e02a 100644 --- a/core/modules/language/src/Tests/LanguageLocaleListTest.php +++ b/core/modules/language/src/Tests/LanguageLocaleListTest.php @@ -69,4 +69,5 @@ class LanguageLocaleListTest extends WebTestBase { // Check the language list displayed is ordered. $this->assertTrue($options === $options_ordered, 'Language list is ordered.'); } + } diff --git a/core/modules/language/src/Tests/LanguagePathMonolingualTest.php b/core/modules/language/src/Tests/LanguagePathMonolingualTest.php index 1f79604..510d805 100644 --- a/core/modules/language/src/Tests/LanguagePathMonolingualTest.php +++ b/core/modules/language/src/Tests/LanguagePathMonolingualTest.php @@ -69,4 +69,5 @@ class LanguagePathMonolingualTest extends WebTestBase { $this->assertResponse(200, 'Clicked link results in a valid page'); $this->assertText(t('Add language'), 'Page contains the add language text'); } + } diff --git a/core/modules/language/src/Tests/LanguageUILanguageNegotiationTest.php b/core/modules/language/src/Tests/LanguageUILanguageNegotiationTest.php index 7e19d4f..ef2abee 100644 --- a/core/modules/language/src/Tests/LanguageUILanguageNegotiationTest.php +++ b/core/modules/language/src/Tests/LanguageUILanguageNegotiationTest.php @@ -532,4 +532,5 @@ class LanguageUILanguageNegotiationTest extends WebTestBase { $block = Block::load($block_id); $this->assertFalse($block, 'Language switcher block was removed.'); } + } diff --git a/core/modules/language/tests/language_elements_test/src/Form/LanguageConfigurationElement.php b/core/modules/language/tests/language_elements_test/src/Form/LanguageConfigurationElement.php index e89f86a..99b2fff 100644 --- a/core/modules/language/tests/language_elements_test/src/Form/LanguageConfigurationElement.php +++ b/core/modules/language/tests/language_elements_test/src/Form/LanguageConfigurationElement.php @@ -46,4 +46,5 @@ class LanguageConfigurationElement extends FormBase { */ public function submitForm(array &$form, FormStateInterface $form_state) { } + } diff --git a/core/modules/language/tests/language_elements_test/src/Form/LanguageConfigurationElementTest.php b/core/modules/language/tests/language_elements_test/src/Form/LanguageConfigurationElementTest.php index d538fcc..0aa6c49 100644 --- a/core/modules/language/tests/language_elements_test/src/Form/LanguageConfigurationElementTest.php +++ b/core/modules/language/tests/language_elements_test/src/Form/LanguageConfigurationElementTest.php @@ -34,4 +34,5 @@ class LanguageConfigurationElementTest extends FormBase { */ public function submitForm(array &$form, FormStateInterface $form_state) { } + } diff --git a/core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php b/core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php index 4fa83a4..8ecdbf7 100644 --- a/core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php +++ b/core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php @@ -249,6 +249,7 @@ class LanguageNegotiationUrlTest extends UnitTestCase { ); return $domain_configuration; } + } } diff --git a/core/modules/link/src/Plugin/Field/FieldFormatter/LinkSeparateFormatter.php b/core/modules/link/src/Plugin/Field/FieldFormatter/LinkSeparateFormatter.php index 4849d32..f737037 100644 --- a/core/modules/link/src/Plugin/Field/FieldFormatter/LinkSeparateFormatter.php +++ b/core/modules/link/src/Plugin/Field/FieldFormatter/LinkSeparateFormatter.php @@ -85,4 +85,5 @@ class LinkSeparateFormatter extends LinkFormatter { } return $element; } + } diff --git a/core/modules/link/src/Plugin/Validation/Constraint/LinkTypeConstraint.php b/core/modules/link/src/Plugin/Validation/Constraint/LinkTypeConstraint.php index 3fe76a6..4f706f6 100644 --- a/core/modules/link/src/Plugin/Validation/Constraint/LinkTypeConstraint.php +++ b/core/modules/link/src/Plugin/Validation/Constraint/LinkTypeConstraint.php @@ -74,4 +74,5 @@ class LinkTypeConstraint extends Constraint implements ConstraintValidatorInterf } } } + } diff --git a/core/modules/link/src/Tests/Views/LinkViewsTokensTest.php b/core/modules/link/src/Tests/Views/LinkViewsTokensTest.php index b80624f..ec06ca6 100644 --- a/core/modules/link/src/Tests/Views/LinkViewsTokensTest.php +++ b/core/modules/link/src/Tests/Views/LinkViewsTokensTest.php @@ -94,4 +94,5 @@ class LinkViewsTokensTest extends ViewTestBase { $this->assertRaw("Raw options: ."); } } + } diff --git a/core/modules/locale/src/Form/ImportForm.php b/core/modules/locale/src/Form/ImportForm.php index 5a20e27..0ea7180 100644 --- a/core/modules/locale/src/Form/ImportForm.php +++ b/core/modules/locale/src/Form/ImportForm.php @@ -192,4 +192,5 @@ class ImportForm extends FormBase { $form_state->setRedirect('locale.translate_page'); } + } diff --git a/core/modules/locale/src/Gettext.php b/core/modules/locale/src/Gettext.php index 7bfa2dd..5573f43 100644 --- a/core/modules/locale/src/Gettext.php +++ b/core/modules/locale/src/Gettext.php @@ -93,4 +93,5 @@ class Gettext { $report['seek'] = $reader->getSeek(); return $report; } + } diff --git a/core/modules/locale/src/Locale.php b/core/modules/locale/src/Locale.php index 3627b57..3e2a9f5 100644 --- a/core/modules/locale/src/Locale.php +++ b/core/modules/locale/src/Locale.php @@ -20,4 +20,5 @@ class Locale { public static function config() { return \Drupal::service('locale.config_manager'); } + } diff --git a/core/modules/locale/src/LocaleProjectStorage.php b/core/modules/locale/src/LocaleProjectStorage.php index e0189de..907bd6c 100644 --- a/core/modules/locale/src/LocaleProjectStorage.php +++ b/core/modules/locale/src/LocaleProjectStorage.php @@ -165,4 +165,5 @@ class LocaleProjectStorage implements LocaleProjectStorageInterface { } return $this->cache; } + } diff --git a/core/modules/locale/src/LocaleProjectStorageInterface.php b/core/modules/locale/src/LocaleProjectStorageInterface.php index be3fe57..b56174d 100644 --- a/core/modules/locale/src/LocaleProjectStorageInterface.php +++ b/core/modules/locale/src/LocaleProjectStorageInterface.php @@ -98,4 +98,5 @@ interface LocaleProjectStorageInterface { * The number of saved items. */ public function countProjects(); + } diff --git a/core/modules/locale/src/StreamWrapper/TranslationsStream.php b/core/modules/locale/src/StreamWrapper/TranslationsStream.php index 7797ad1..d59949b 100644 --- a/core/modules/locale/src/StreamWrapper/TranslationsStream.php +++ b/core/modules/locale/src/StreamWrapper/TranslationsStream.php @@ -47,4 +47,5 @@ class TranslationsStream extends LocalStream { function getExternalUrl() { throw new \LogicException('PO files URL should not be public.'); } + } diff --git a/core/modules/locale/src/StringDatabaseStorage.php b/core/modules/locale/src/StringDatabaseStorage.php index fc6552a..01a0544 100644 --- a/core/modules/locale/src/StringDatabaseStorage.php +++ b/core/modules/locale/src/StringDatabaseStorage.php @@ -536,4 +536,5 @@ class StringDatabaseStorage implements StringStorageInterface { protected function dbExecute($query, array $args = array()) { return $this->connection->query($query, $args, $this->options); } + } diff --git a/core/modules/locale/src/StringStorageInterface.php b/core/modules/locale/src/StringStorageInterface.php index 2aad73e..da1c8fb 100644 --- a/core/modules/locale/src/StringStorageInterface.php +++ b/core/modules/locale/src/StringStorageInterface.php @@ -176,4 +176,5 @@ interface StringStorageInterface { * New string translation object. */ public function createTranslation($values = array()); + } diff --git a/core/modules/locale/src/Tests/LocaleImportFunctionalTest.php b/core/modules/locale/src/Tests/LocaleImportFunctionalTest.php index c2ecc1a..0b69da2 100644 --- a/core/modules/locale/src/Tests/LocaleImportFunctionalTest.php +++ b/core/modules/locale/src/Tests/LocaleImportFunctionalTest.php @@ -638,4 +638,5 @@ msgstr "Deutsch" EOF; } + } diff --git a/core/modules/locale/src/Tests/LocaleLibraryAlterTest.php b/core/modules/locale/src/Tests/LocaleLibraryAlterTest.php index 0993e28..e84e3dd 100644 --- a/core/modules/locale/src/Tests/LocaleLibraryAlterTest.php +++ b/core/modules/locale/src/Tests/LocaleLibraryAlterTest.php @@ -32,4 +32,5 @@ class LocaleLibraryAlterTest extends WebTestBase { $js_assets = $this->container->get('asset.resolver')->getJsAssets($assets, FALSE)[1]; $this->assertTrue(array_key_exists('core/modules/locale/locale.datepicker.js', $js_assets), 'locale.datepicker.js added to scripts.'); } + } diff --git a/core/modules/locale/src/Tests/LocalePathTest.php b/core/modules/locale/src/Tests/LocalePathTest.php index 7bd2615..cc4f31a 100644 --- a/core/modules/locale/src/Tests/LocalePathTest.php +++ b/core/modules/locale/src/Tests/LocalePathTest.php @@ -147,4 +147,5 @@ class LocalePathTest extends WebTestBase { $this->assertText($second_node->label(), 'Custom alias with prefix returns second node.'); } + } diff --git a/core/modules/locale/src/Tests/LocalePluralFormatTest.php b/core/modules/locale/src/Tests/LocalePluralFormatTest.php index 0f6c9c1..00fe8d5 100644 --- a/core/modules/locale/src/Tests/LocalePluralFormatTest.php +++ b/core/modules/locale/src/Tests/LocalePluralFormatTest.php @@ -444,4 +444,5 @@ msgid "Monday" msgstr "Ponedjeljak" EOF; } + } diff --git a/core/modules/locale/src/Tests/LocaleStringTest.php b/core/modules/locale/src/Tests/LocaleStringTest.php index f70a964..2f467e7 100644 --- a/core/modules/locale/src/Tests/LocaleStringTest.php +++ b/core/modules/locale/src/Tests/LocaleStringTest.php @@ -201,4 +201,5 @@ class LocaleStringTest extends WebTestBase { 'translation' => $this->randomMachineName(100), ))->save(); } + } diff --git a/core/modules/locale/src/Tests/LocaleTranslatedSchemaDefinitionTest.php b/core/modules/locale/src/Tests/LocaleTranslatedSchemaDefinitionTest.php index dae9e5b..b117e2c 100644 --- a/core/modules/locale/src/Tests/LocaleTranslatedSchemaDefinitionTest.php +++ b/core/modules/locale/src/Tests/LocaleTranslatedSchemaDefinitionTest.php @@ -87,4 +87,5 @@ class LocaleTranslatedSchemaDefinitionTest extends WebTestBase { $this->assertRaw('messages--status', 'No pending updates.'); $this->assertNoLinkByHref('fr/update.php/run', 'No link to run updates.'); } + } diff --git a/core/modules/locale/src/Tests/LocaleTranslationUiTest.php b/core/modules/locale/src/Tests/LocaleTranslationUiTest.php index 1f790b6..ba16782 100644 --- a/core/modules/locale/src/Tests/LocaleTranslationUiTest.php +++ b/core/modules/locale/src/Tests/LocaleTranslationUiTest.php @@ -539,4 +539,5 @@ class LocaleTranslationUiTest extends WebTestBase { $this->drupalPostForm('admin/config/regional/translate', $search, t('Filter')); $this->assertText($string->getString(), "Translation is marked as customized."); } + } diff --git a/core/modules/locale/src/Tests/LocaleUpdateBase.php b/core/modules/locale/src/Tests/LocaleUpdateBase.php index a763458..85196ad 100644 --- a/core/modules/locale/src/Tests/LocaleUpdateBase.php +++ b/core/modules/locale/src/Tests/LocaleUpdateBase.php @@ -301,4 +301,5 @@ EOF; $db_translation = $db_translation == FALSE ? '' : $db_translation; $this->assertEqual($translation, $db_translation, $message ? $message : format_string('Correct translation of %source (%language)', array('%source' => $source, '%language' => $langcode))); } + } diff --git a/core/modules/locale/src/Tests/LocaleUpdateCronTest.php b/core/modules/locale/src/Tests/LocaleUpdateCronTest.php index 073258d..569b818 100644 --- a/core/modules/locale/src/Tests/LocaleUpdateCronTest.php +++ b/core/modules/locale/src/Tests/LocaleUpdateCronTest.php @@ -106,4 +106,5 @@ class LocaleUpdateCronTest extends LocaleUpdateBase { $this->assertTrue($current->timestamp > $initial->timestamp, 'Timestamp is updated'); $this->assertTrue($current->last_checked > $initial->last_checked, 'Last checked is updated'); } + } diff --git a/core/modules/locale/src/Tests/LocaleUpdateDevelopmentReleaseTest.php b/core/modules/locale/src/Tests/LocaleUpdateDevelopmentReleaseTest.php index 4dd7913..cfd2446 100644 --- a/core/modules/locale/src/Tests/LocaleUpdateDevelopmentReleaseTest.php +++ b/core/modules/locale/src/Tests/LocaleUpdateDevelopmentReleaseTest.php @@ -28,4 +28,5 @@ class LocaleUpdateDevelopmentReleaseTest extends WebTestBase { $this->verbose($projects['contrib']->info['version']); $this->assertEqual($projects['contrib']->info['version'], '12.x-10.x', 'The branch of the contrib module dev release.'); } + } diff --git a/core/modules/menu_link_content/src/Tests/MenuLinkContentFormTest.php b/core/modules/menu_link_content/src/Tests/MenuLinkContentFormTest.php index 5be8bed..1bdc927 100644 --- a/core/modules/menu_link_content/src/Tests/MenuLinkContentFormTest.php +++ b/core/modules/menu_link_content/src/Tests/MenuLinkContentFormTest.php @@ -64,4 +64,5 @@ class MenuLinkContentFormTest extends WebTestBase { ); $this->assertText(t('Manually entered paths should start with /, ? or #.')); } + } diff --git a/core/modules/menu_ui/src/Form/MenuDeleteForm.php b/core/modules/menu_ui/src/Form/MenuDeleteForm.php index 86fbd6b..22bfb0a 100644 --- a/core/modules/menu_ui/src/Form/MenuDeleteForm.php +++ b/core/modules/menu_ui/src/Form/MenuDeleteForm.php @@ -92,4 +92,5 @@ class MenuDeleteForm extends EntityDeleteForm { parent::submitForm($form, $form_state); } + } diff --git a/core/modules/menu_ui/src/Tests/MenuLinkReorderTest.php b/core/modules/menu_ui/src/Tests/MenuLinkReorderTest.php index c0e9856..0396f17 100644 --- a/core/modules/menu_ui/src/Tests/MenuLinkReorderTest.php +++ b/core/modules/menu_ui/src/Tests/MenuLinkReorderTest.php @@ -63,4 +63,5 @@ class MenuLinkReorderTest extends WebTestBase { $this->assertLink('Home'); } + } diff --git a/core/modules/menu_ui/src/Tests/MenuNodeTest.php b/core/modules/menu_ui/src/Tests/MenuNodeTest.php index ce47fb1..3fc8423 100644 --- a/core/modules/menu_ui/src/Tests/MenuNodeTest.php +++ b/core/modules/menu_ui/src/Tests/MenuNodeTest.php @@ -337,4 +337,5 @@ class MenuNodeTest extends WebTestBase { $this->drupalGet($url); $this->assertFieldById('edit-menu-title', $translated_node_title); } + } diff --git a/core/modules/migrate/src/Annotation/MigrateProcessPlugin.php b/core/modules/migrate/src/Annotation/MigrateProcessPlugin.php index 121276c..f08da3b 100644 --- a/core/modules/migrate/src/Annotation/MigrateProcessPlugin.php +++ b/core/modules/migrate/src/Annotation/MigrateProcessPlugin.php @@ -44,4 +44,5 @@ class MigrateProcessPlugin extends Plugin { * @var bool (optional) */ public $handle_multiples = FALSE; + } diff --git a/core/modules/migrate/src/MigrateBuildDependencyInterface.php b/core/modules/migrate/src/MigrateBuildDependencyInterface.php index 5c52998..bb02c88 100644 --- a/core/modules/migrate/src/MigrateBuildDependencyInterface.php +++ b/core/modules/migrate/src/MigrateBuildDependencyInterface.php @@ -18,4 +18,5 @@ interface MigrateBuildDependencyInterface { * An array of migrations. */ public function buildDependencyMigration(array $migrations, array $dynamic_ids); + } diff --git a/core/modules/migrate/src/MigrateMessageInterface.php b/core/modules/migrate/src/MigrateMessageInterface.php index 2b55651..628a684 100644 --- a/core/modules/migrate/src/MigrateMessageInterface.php +++ b/core/modules/migrate/src/MigrateMessageInterface.php @@ -14,4 +14,5 @@ interface MigrateMessageInterface { * The type of message, for example: status or warning. */ public function display($message, $type = 'status'); + } diff --git a/core/modules/migrate/src/Plugin/Migration.php b/core/modules/migrate/src/Plugin/Migration.php index 56dcb9f..86294b5 100644 --- a/core/modules/migrate/src/Plugin/Migration.php +++ b/core/modules/migrate/src/Plugin/Migration.php @@ -712,4 +712,5 @@ class Migration extends PluginBase implements MigrationInterface, RequirementsIn public function getDestinationIds() { $this->destinationIds; } + } diff --git a/core/modules/migrate/src/Row.php b/core/modules/migrate/src/Row.php index 4f07ef4..94cb8b2 100644 --- a/core/modules/migrate/src/Row.php +++ b/core/modules/migrate/src/Row.php @@ -335,4 +335,5 @@ class Row { public function isStub() { return $this->isStub; } + } diff --git a/core/modules/migrate/tests/src/Unit/Exception/RequirementsExceptionTest.php b/core/modules/migrate/tests/src/Unit/Exception/RequirementsExceptionTest.php index 9700975..72d37ed 100644 --- a/core/modules/migrate/tests/src/Unit/Exception/RequirementsExceptionTest.php +++ b/core/modules/migrate/tests/src/Unit/Exception/RequirementsExceptionTest.php @@ -47,4 +47,5 @@ class RequirementsExceptionTest extends UnitTestCase { ), ); } + } diff --git a/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityContentBaseTest.php b/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityContentBaseTest.php index d08e035..da20b49 100644 --- a/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityContentBaseTest.php +++ b/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityContentBaseTest.php @@ -115,4 +115,5 @@ class EntityTestDestination extends EntityContentBase { protected function getEntity(Row $row, array $old_destination_id_values) { return $this->entity; } + } diff --git a/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php b/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php index c12478b..1be14bc 100644 --- a/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php +++ b/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php @@ -63,4 +63,5 @@ class TestPerComponentEntityDisplay extends ComponentEntityDisplayBase { public function getTestValues() { return $this->testValues; } + } diff --git a/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityFormDisplayTest.php b/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityFormDisplayTest.php index a99af42..18df362 100644 --- a/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityFormDisplayTest.php +++ b/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityFormDisplayTest.php @@ -63,4 +63,5 @@ class TestPerComponentEntityFormDisplay extends PerComponentEntityFormDisplay { public function getTestValues() { return $this->testValues; } + } diff --git a/core/modules/migrate/tests/src/Unit/process/ConcatTest.php b/core/modules/migrate/tests/src/Unit/process/ConcatTest.php index d13c33b..1d0d4c3 100644 --- a/core/modules/migrate/tests/src/Unit/process/ConcatTest.php +++ b/core/modules/migrate/tests/src/Unit/process/ConcatTest.php @@ -49,6 +49,7 @@ class ConcatTest extends MigrateProcessTestCase { $value = $this->plugin->transform(array('foo', 'bar'), $this->migrateExecutable, $this->row, 'destinationproperty'); $this->assertSame($value, 'foo_bar'); } + } class TestConcat extends Concat { diff --git a/core/modules/migrate/tests/src/Unit/process/DedupeEntityTest.php b/core/modules/migrate/tests/src/Unit/process/DedupeEntityTest.php index 27aad89..a1960de 100644 --- a/core/modules/migrate/tests/src/Unit/process/DedupeEntityTest.php +++ b/core/modules/migrate/tests/src/Unit/process/DedupeEntityTest.php @@ -160,4 +160,5 @@ class DedupeEntityTest extends MigrateProcessTestCase { ->method('execute') ->will($this->returnCallback(function () use (&$count) { return $count--;})); } + } diff --git a/core/modules/migrate/tests/src/Unit/process/GetTest.php b/core/modules/migrate/tests/src/Unit/process/GetTest.php index bdbb551..316cbfc 100644 --- a/core/modules/migrate/tests/src/Unit/process/GetTest.php +++ b/core/modules/migrate/tests/src/Unit/process/GetTest.php @@ -114,4 +114,5 @@ class TestGet extends Get { public function setSource($source) { $this->configuration['source'] = $source; } + } diff --git a/core/modules/migrate/tests/src/Unit/process/IteratorTest.php b/core/modules/migrate/tests/src/Unit/process/IteratorTest.php index 48f5647..7c731a2 100644 --- a/core/modules/migrate/tests/src/Unit/process/IteratorTest.php +++ b/core/modules/migrate/tests/src/Unit/process/IteratorTest.php @@ -78,4 +78,5 @@ class IteratorTest extends MigrateTestCase { $this->assertSame($new_value[42]['foo'], 'test'); $this->assertSame($new_value[42]['id'], 42); } + } diff --git a/core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php b/core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php index 0a43d30..e27a353 100644 --- a/core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php +++ b/core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php @@ -125,6 +125,7 @@ class Drupal6SqlBaseTest extends MigrateTestCase { // Test non-default. $this->assertSame(TRUE, $this->base->variableGetWrapper('my_variable', FALSE)); } + } namespace Drupal\Tests\migrate_drupal\Unit\source\d6; @@ -217,4 +218,5 @@ class TestDrupal6SqlBase extends DrupalSqlBase { public function getIds() { return array(); } + } diff --git a/core/modules/node/src/NodeStorageInterface.php b/core/modules/node/src/NodeStorageInterface.php index 70562ff..b09d7b7 100644 --- a/core/modules/node/src/NodeStorageInterface.php +++ b/core/modules/node/src/NodeStorageInterface.php @@ -64,4 +64,5 @@ interface NodeStorageInterface extends ContentEntityStorageInterface { * The language object. */ public function clearRevisionsLanguage(LanguageInterface $language); + } diff --git a/core/modules/node/src/NodeTypeInterface.php b/core/modules/node/src/NodeTypeInterface.php index 7e657bd..c034ffb 100644 --- a/core/modules/node/src/NodeTypeInterface.php +++ b/core/modules/node/src/NodeTypeInterface.php @@ -80,4 +80,5 @@ interface NodeTypeInterface extends ConfigEntityInterface { * The description of this node type. */ public function getDescription(); + } diff --git a/core/modules/node/src/Plugin/views/field/RevisionLinkRevert.php b/core/modules/node/src/Plugin/views/field/RevisionLinkRevert.php index 248b15c..33b20b8 100644 --- a/core/modules/node/src/Plugin/views/field/RevisionLinkRevert.php +++ b/core/modules/node/src/Plugin/views/field/RevisionLinkRevert.php @@ -29,4 +29,5 @@ class RevisionLinkRevert extends RevisionLink { protected function getDefaultLabel() { return $this->t('Revert'); } + } diff --git a/core/modules/node/src/Tests/AssertButtonsTrait.php b/core/modules/node/src/Tests/AssertButtonsTrait.php index 89d3bce..58d484d 100644 --- a/core/modules/node/src/Tests/AssertButtonsTrait.php +++ b/core/modules/node/src/Tests/AssertButtonsTrait.php @@ -44,4 +44,5 @@ trait AssertButtonsTrait { $this->assertNoRaw('dropbutton-wrapper'); } } + } diff --git a/core/modules/node/src/Tests/NodeAccessBaseTableTest.php b/core/modules/node/src/Tests/NodeAccessBaseTableTest.php index e84fc0e..74e2340 100644 --- a/core/modules/node/src/Tests/NodeAccessBaseTableTest.php +++ b/core/modules/node/src/Tests/NodeAccessBaseTableTest.php @@ -222,4 +222,5 @@ class NodeAccessBaseTableTest extends NodeTestBase { } } } + } diff --git a/core/modules/node/src/Tests/NodeAccessFieldTest.php b/core/modules/node/src/Tests/NodeAccessFieldTest.php index e3a7754..dcfa43d 100644 --- a/core/modules/node/src/Tests/NodeAccessFieldTest.php +++ b/core/modules/node/src/Tests/NodeAccessFieldTest.php @@ -109,4 +109,5 @@ class NodeAccessFieldTest extends NodeTestBase { $this->drupalGet('node/add/page'); $this->assertRaw($default, 'The updated default value is displayed when creating a new node.'); } + } diff --git a/core/modules/node/src/Tests/NodeAccessPagerTest.php b/core/modules/node/src/Tests/NodeAccessPagerTest.php index cfd351b..7db264c 100644 --- a/core/modules/node/src/Tests/NodeAccessPagerTest.php +++ b/core/modules/node/src/Tests/NodeAccessPagerTest.php @@ -96,4 +96,5 @@ class NodeAccessPagerTest extends WebTestBase { $this->assertRaw('page=1'); $this->assertNoRaw('page=2'); } + } diff --git a/core/modules/node/src/Tests/NodeAccessRebuildTest.php b/core/modules/node/src/Tests/NodeAccessRebuildTest.php index b6c3723..187f3a0 100644 --- a/core/modules/node/src/Tests/NodeAccessRebuildTest.php +++ b/core/modules/node/src/Tests/NodeAccessRebuildTest.php @@ -32,4 +32,5 @@ class NodeAccessRebuildTest extends NodeTestBase { $this->drupalPostForm(NULL, array(), t('Rebuild permissions')); $this->assertText(t('Content permissions have been rebuilt.')); } + } diff --git a/core/modules/node/src/Tests/NodeAccessRecordsTest.php b/core/modules/node/src/Tests/NodeAccessRecordsTest.php index 9e05d84..4126539 100644 --- a/core/modules/node/src/Tests/NodeAccessRecordsTest.php +++ b/core/modules/node/src/Tests/NodeAccessRecordsTest.php @@ -80,4 +80,5 @@ class NodeAccessRecordsTest extends NodeTestBase { $records = db_query('SELECT realm, gid FROM {node_access} WHERE nid = :nid', array(':nid' => $node6->id()))->fetchAll(); $this->assertEqual(count($records), 0, 'Returned no records for unpublished node.'); } + } diff --git a/core/modules/node/src/Tests/NodeEntityViewModeAlterTest.php b/core/modules/node/src/Tests/NodeEntityViewModeAlterTest.php index 3ffd3a3..25ae6b6 100644 --- a/core/modules/node/src/Tests/NodeEntityViewModeAlterTest.php +++ b/core/modules/node/src/Tests/NodeEntityViewModeAlterTest.php @@ -46,4 +46,5 @@ class NodeEntityViewModeAlterTest extends NodeTestBase { $build = $this->drupalBuildEntityView($node); $this->assertEqual($build['#view_mode'], 'teaser', 'The view mode has correctly been set to teaser.'); } + } diff --git a/core/modules/node/src/Tests/NodeFormButtonsTest.php b/core/modules/node/src/Tests/NodeFormButtonsTest.php index bf555d6..9f6732b 100644 --- a/core/modules/node/src/Tests/NodeFormButtonsTest.php +++ b/core/modules/node/src/Tests/NodeFormButtonsTest.php @@ -131,4 +131,5 @@ class NodeFormButtonsTest extends NodeTestBase { $node_3 = $node_storage->load(3); $this->assertFalse($node_3->isPublished(), 'Node is unpublished'); } + } diff --git a/core/modules/node/src/Tests/NodeFormSaveChangedTimeTest.php b/core/modules/node/src/Tests/NodeFormSaveChangedTimeTest.php index 69f3963..aecf8a9 100644 --- a/core/modules/node/src/Tests/NodeFormSaveChangedTimeTest.php +++ b/core/modules/node/src/Tests/NodeFormSaveChangedTimeTest.php @@ -68,4 +68,5 @@ class NodeFormSaveChangedTimeTest extends WebTestBase { $node = entity_load('node', 1, TRUE); $this->assertNotEqual($changed_timestamp, $node->getChangedTime(), "The entity's changed time was updated after form save without changes."); } + } diff --git a/core/modules/node/src/Tests/NodeHelpTest.php b/core/modules/node/src/Tests/NodeHelpTest.php index 9ede4ab..2946011 100644 --- a/core/modules/node/src/Tests/NodeHelpTest.php +++ b/core/modules/node/src/Tests/NodeHelpTest.php @@ -73,4 +73,5 @@ class NodeHelpTest extends WebTestBase { $this->assertResponse(200); $this->assertText($this->testText); } + } diff --git a/core/modules/node/src/Tests/NodeLoadMultipleTest.php b/core/modules/node/src/Tests/NodeLoadMultipleTest.php index d7c4360..31a30ee 100644 --- a/core/modules/node/src/Tests/NodeLoadMultipleTest.php +++ b/core/modules/node/src/Tests/NodeLoadMultipleTest.php @@ -58,4 +58,5 @@ class NodeLoadMultipleTest extends NodeTestBase { $this->assertTrue(is_object($node), 'Node is an object'); } } + } diff --git a/core/modules/node/src/Tests/NodePostSettingsTest.php b/core/modules/node/src/Tests/NodePostSettingsTest.php index 3cfca2a..bc3dd99 100644 --- a/core/modules/node/src/Tests/NodePostSettingsTest.php +++ b/core/modules/node/src/Tests/NodePostSettingsTest.php @@ -54,4 +54,5 @@ class NodePostSettingsTest extends NodeTestBase { $elements = $this->xpath('//div[contains(@class, :class)]', array(':class' => 'node__submitted')); $this->assertEqual(count($elements), 0, 'Post information is not displayed.'); } + } diff --git a/core/modules/node/src/Tests/NodeQueryAlterTest.php b/core/modules/node/src/Tests/NodeQueryAlterTest.php index 2f1b11b..022625b 100644 --- a/core/modules/node/src/Tests/NodeQueryAlterTest.php +++ b/core/modules/node/src/Tests/NodeQueryAlterTest.php @@ -193,4 +193,5 @@ class NodeQueryAlterTest extends NodeTestBase { } \Drupal::state()->delete('node_access_test.no_access_uid'); } + } diff --git a/core/modules/node/src/Tests/NodeRevisionPermissionsTest.php b/core/modules/node/src/Tests/NodeRevisionPermissionsTest.php index 1f5c9b7..e000fb8 100644 --- a/core/modules/node/src/Tests/NodeRevisionPermissionsTest.php +++ b/core/modules/node/src/Tests/NodeRevisionPermissionsTest.php @@ -165,4 +165,5 @@ class NodeRevisionPermissionsTest extends NodeTestBase { $this->assertFalse($node_revision_access->checkAccess($revision, $case['account'], $case['op']), "{$this->typeMap[$case['op']]} did not grant revision permission for articles."); } } + } diff --git a/core/modules/node/src/Tests/NodeRevisionsAllTest.php b/core/modules/node/src/Tests/NodeRevisionsAllTest.php index f7b81bc..582ca5b 100644 --- a/core/modules/node/src/Tests/NodeRevisionsAllTest.php +++ b/core/modules/node/src/Tests/NodeRevisionsAllTest.php @@ -146,4 +146,5 @@ class NodeRevisionsAllTest extends NodeTestBase { '%revision-date' => format_date($old_revision_date), ))); } + } diff --git a/core/modules/node/src/Tests/NodeSaveTest.php b/core/modules/node/src/Tests/NodeSaveTest.php index 9c7d70f..f01724b 100644 --- a/core/modules/node/src/Tests/NodeSaveTest.php +++ b/core/modules/node/src/Tests/NodeSaveTest.php @@ -178,4 +178,5 @@ class NodeSaveTest extends NodeTestBase { $node = $this->drupalCreateNode(array('title' => 'new')); $this->assertEqual($node->getTitle(), 'Node ' . $node->id(), 'Node saved on node insert.'); } + } diff --git a/core/modules/node/src/Tests/NodeTitleTest.php b/core/modules/node/src/Tests/NodeTitleTest.php index ba898ee..59ee021 100644 --- a/core/modules/node/src/Tests/NodeTitleTest.php +++ b/core/modules/node/src/Tests/NodeTitleTest.php @@ -99,4 +99,5 @@ class NodeTitleTest extends NodeTestBase { $this->assertTitle($edge_case_title_escaped . ' | Drupal', 'Page title is equal to article\'s "title".', 'Node'); } + } diff --git a/core/modules/node/src/Tests/NodeTitleXSSTest.php b/core/modules/node/src/Tests/NodeTitleXSSTest.php index 2a3e94f..c410275 100644 --- a/core/modules/node/src/Tests/NodeTitleXSSTest.php +++ b/core/modules/node/src/Tests/NodeTitleXSSTest.php @@ -38,4 +38,5 @@ class NodeTitleXSSTest extends NodeTestBase { $this->drupalGet('node/' . $node->id() . '/edit'); $this->assertNoRaw($xss, 'Harmful tags are escaped when editing a node.'); } + } diff --git a/core/modules/node/src/Tests/PageViewTest.php b/core/modules/node/src/Tests/PageViewTest.php index 6cac963..086b3e1 100644 --- a/core/modules/node/src/Tests/PageViewTest.php +++ b/core/modules/node/src/Tests/PageViewTest.php @@ -38,4 +38,5 @@ class PageViewTest extends NodeTestBase { $this->drupalGet("node/" . $node->id() . "/edit"); $this->assertResponse(200); } + } diff --git a/core/modules/node/src/Tests/Views/BulkFormAccessTest.php b/core/modules/node/src/Tests/Views/BulkFormAccessTest.php index d245399..050068b 100644 --- a/core/modules/node/src/Tests/Views/BulkFormAccessTest.php +++ b/core/modules/node/src/Tests/Views/BulkFormAccessTest.php @@ -169,4 +169,5 @@ class BulkFormAccessTest extends NodeTestBase { $own_node = Node::load($own_node->id()); $this->assertNull($own_node, 'The own node is deleted.'); } + } diff --git a/core/modules/node/src/Tests/Views/NodeFieldFilterTest.php b/core/modules/node/src/Tests/Views/NodeFieldFilterTest.php index 6822807..6b6d5e2 100644 --- a/core/modules/node/src/Tests/Views/NodeFieldFilterTest.php +++ b/core/modules/node/src/Tests/Views/NodeFieldFilterTest.php @@ -105,4 +105,5 @@ class NodeFieldFilterTest extends NodeTestBase { $this->assertEqual(substr_count($text, $this->nodeTitles[$langcode]), 2 * $count, 'Translation ' . $langcode . ' has count ' . $count . ' with ' . $message); } } + } diff --git a/core/modules/node/tests/src/Kernel/NodeConditionTest.php b/core/modules/node/tests/src/Kernel/NodeConditionTest.php index 07986cc..7636d52 100644 --- a/core/modules/node/tests/src/Kernel/NodeConditionTest.php +++ b/core/modules/node/tests/src/Kernel/NodeConditionTest.php @@ -79,4 +79,5 @@ class NodeConditionTest extends EntityKernelTestBase { $condition = $manager->createInstance('node_type', array('bundles' => array('article' => 'article'), 'context' => array('node' => $article))); $this->assertTrue($condition->execute(), 'Constructor injection of context and configuration working as anticipated.'); } + } diff --git a/core/modules/node/tests/src/Kernel/NodeValidationTest.php b/core/modules/node/tests/src/Kernel/NodeValidationTest.php index ae0bf01..9fd646e 100644 --- a/core/modules/node/tests/src/Kernel/NodeValidationTest.php +++ b/core/modules/node/tests/src/Kernel/NodeValidationTest.php @@ -68,4 +68,5 @@ class NodeValidationTest extends EntityKernelTestBase { $this->assertEqual($violations[0]->getPropertyPath(), ''); $this->assertEqual($violations[0]->getMessage(), 'The content has either been modified by another user, or you have already submitted modifications. As a result, your changes cannot be saved.'); } + } diff --git a/core/modules/node/tests/src/Kernel/Views/RevisionCreateTimestampTest.php b/core/modules/node/tests/src/Kernel/Views/RevisionCreateTimestampTest.php index 8ceb7a7..287bf48 100644 --- a/core/modules/node/tests/src/Kernel/Views/RevisionCreateTimestampTest.php +++ b/core/modules/node/tests/src/Kernel/Views/RevisionCreateTimestampTest.php @@ -71,5 +71,4 @@ class RevisionCreateTimestampTest extends ViewsKernelTestBase { ], ['vid' => 'vid', 'revision_timestamp' => 'revision_timestamp']); } - } diff --git a/core/modules/options/src/Tests/OptionsDynamicValuesTestBase.php b/core/modules/options/src/Tests/OptionsDynamicValuesTestBase.php index 9015758..2d3f0fb 100644 --- a/core/modules/options/src/Tests/OptionsDynamicValuesTestBase.php +++ b/core/modules/options/src/Tests/OptionsDynamicValuesTestBase.php @@ -75,4 +75,5 @@ abstract class OptionsDynamicValuesTestBase extends FieldTestBase { 'uri' => $this->entity->url(), ]; } + } diff --git a/core/modules/options/src/Tests/OptionsSelectDynamicValuesTest.php b/core/modules/options/src/Tests/OptionsSelectDynamicValuesTest.php index 4c571a8..df3365c 100644 --- a/core/modules/options/src/Tests/OptionsSelectDynamicValuesTest.php +++ b/core/modules/options/src/Tests/OptionsSelectDynamicValuesTest.php @@ -30,4 +30,5 @@ class OptionsSelectDynamicValuesTest extends OptionsDynamicValuesTestBase { } } } + } diff --git a/core/modules/options/tests/src/Kernel/OptionsFieldTest.php b/core/modules/options/tests/src/Kernel/OptionsFieldTest.php index b3437f3..89ac127 100644 --- a/core/modules/options/tests/src/Kernel/OptionsFieldTest.php +++ b/core/modules/options/tests/src/Kernel/OptionsFieldTest.php @@ -96,4 +96,5 @@ class OptionsFieldTest extends OptionsFieldUnitTestBase { $entity->{$this->fieldName}->generateSampleItems(); $this->entityValidateAndSave($entity); } + } diff --git a/core/modules/path/src/Tests/PathAliasTest.php b/core/modules/path/src/Tests/PathAliasTest.php index 449a0ae..df4e18d 100644 --- a/core/modules/path/src/Tests/PathAliasTest.php +++ b/core/modules/path/src/Tests/PathAliasTest.php @@ -345,4 +345,5 @@ class PathAliasTest extends PathTestBase { $this->assertText(t('The alias is already in use.')); $this->assertFieldByXPath("//input[@name='path[0][alias]' and contains(@class, 'error')]", $edit['path[0][alias]'], 'Textfield exists and has the error class.'); } + } diff --git a/core/modules/path/src/Tests/PathLanguageTest.php b/core/modules/path/src/Tests/PathLanguageTest.php index 028d359..695f6be 100644 --- a/core/modules/path/src/Tests/PathLanguageTest.php +++ b/core/modules/path/src/Tests/PathLanguageTest.php @@ -187,4 +187,5 @@ class PathLanguageTest extends PathTestBase { $english_node->save(); $this->assertFalse($this->container->get('path.alias_storage')->aliasExists('/' . $french_alias, 'fr'), 'Alias for French translation is removed when translation is deleted.'); } + } diff --git a/core/modules/path/src/Tests/PathLanguageUiTest.php b/core/modules/path/src/Tests/PathLanguageUiTest.php index 9ff0ea2..540cc85 100644 --- a/core/modules/path/src/Tests/PathLanguageUiTest.php +++ b/core/modules/path/src/Tests/PathLanguageUiTest.php @@ -77,4 +77,5 @@ class PathLanguageUiTest extends PathTestBase { $this->drupalGet('fr/' . $name); $this->assertText(t('Filter aliases'), 'Foreign URL alias works'); } + } diff --git a/core/modules/path/src/Tests/PathTaxonomyTermTest.php b/core/modules/path/src/Tests/PathTaxonomyTermTest.php index faeceab..f62fb6c 100644 --- a/core/modules/path/src/Tests/PathTaxonomyTermTest.php +++ b/core/modules/path/src/Tests/PathTaxonomyTermTest.php @@ -82,4 +82,5 @@ class PathTaxonomyTermTest extends PathTestBase { $this->assertNoText($description, 'Old URL alias has been removed after altering.'); $this->assertResponse(404, 'Old URL alias returns 404.'); } + } diff --git a/core/modules/path/src/Tests/PathTestBase.php b/core/modules/path/src/Tests/PathTestBase.php index c16c4d1..c4a88af 100644 --- a/core/modules/path/src/Tests/PathTestBase.php +++ b/core/modules/path/src/Tests/PathTestBase.php @@ -25,4 +25,5 @@ abstract class PathTestBase extends WebTestBase { $this->drupalCreateContentType(array('type' => 'article', 'name' => 'Article')); } } + } diff --git a/core/modules/quickedit/src/Tests/QuickEditLoadingTest.php b/core/modules/quickedit/src/Tests/QuickEditLoadingTest.php index b9ebf12..6baaed3 100644 --- a/core/modules/quickedit/src/Tests/QuickEditLoadingTest.php +++ b/core/modules/quickedit/src/Tests/QuickEditLoadingTest.php @@ -559,4 +559,5 @@ class QuickEditLoadingTest extends WebTestBase { $ajax_commands = Json::decode($response); $this->assertIdentical('<form ', Unicode::substr($ajax_commands[0]['data'], 0, 6), 'The quickeditFieldForm command contains a form.'); } + } diff --git a/core/modules/rdf/src/RdfMappingInterface.php b/core/modules/rdf/src/RdfMappingInterface.php index 2430968..fa8def2 100644 --- a/core/modules/rdf/src/RdfMappingInterface.php +++ b/core/modules/rdf/src/RdfMappingInterface.php @@ -103,4 +103,5 @@ interface RdfMappingInterface extends ConfigEntityInterface { * The RdfMapping object. */ public function setFieldMapping($field_name, array $mapping = array()); + } diff --git a/core/modules/rdf/src/SchemaOrgDataConverter.php b/core/modules/rdf/src/SchemaOrgDataConverter.php index f266496..dc04048 100644 --- a/core/modules/rdf/src/SchemaOrgDataConverter.php +++ b/core/modules/rdf/src/SchemaOrgDataConverter.php @@ -26,4 +26,5 @@ class SchemaOrgDataConverter { $interaction_type = $arguments['interaction_type']; return "$interaction_type:$count"; } + } diff --git a/core/modules/rdf/src/Tests/CommentAttributesTest.php b/core/modules/rdf/src/Tests/CommentAttributesTest.php index f6cae2f..5febcb9 100644 --- a/core/modules/rdf/src/Tests/CommentAttributesTest.php +++ b/core/modules/rdf/src/Tests/CommentAttributesTest.php @@ -372,4 +372,5 @@ class CommentAttributesTest extends CommentTestBase { $comment->save(); return $comment; } + } diff --git a/core/modules/rdf/src/Tests/GetNamespacesTest.php b/core/modules/rdf/src/Tests/GetNamespacesTest.php index 3ecd2f1..8aeaf79 100644 --- a/core/modules/rdf/src/Tests/GetNamespacesTest.php +++ b/core/modules/rdf/src/Tests/GetNamespacesTest.php @@ -46,4 +46,5 @@ class GetNamespacesTest extends WebTestBase { )); $this->assertTrue(!empty($element), 'When a prefix has conflicting namespaces, the first declared one is used.'); } + } diff --git a/core/modules/rdf/src/Tests/GetRdfNamespacesTest.php b/core/modules/rdf/src/Tests/GetRdfNamespacesTest.php index 0ddec66..7fde6f0 100644 --- a/core/modules/rdf/src/Tests/GetRdfNamespacesTest.php +++ b/core/modules/rdf/src/Tests/GetRdfNamespacesTest.php @@ -40,4 +40,5 @@ class GetRdfNamespacesTest extends WebTestBase { $this->pass('Expected exception thrown: ' . $e->getMessage()); } } + } diff --git a/core/modules/rdf/src/Tests/NodeAttributesTest.php b/core/modules/rdf/src/Tests/NodeAttributesTest.php index bcc5d50..5c6b267 100644 --- a/core/modules/rdf/src/Tests/NodeAttributesTest.php +++ b/core/modules/rdf/src/Tests/NodeAttributesTest.php @@ -90,4 +90,5 @@ class NodeAttributesTest extends NodeTestBase { ); $this->assertTrue($graph->hasProperty($node_uri, 'http://purl.org/dc/terms/created', $expected_value), 'Node date found in RDF output (dc:created).'); } + } diff --git a/core/modules/rdf/src/Tests/StandardProfileTest.php b/core/modules/rdf/src/Tests/StandardProfileTest.php index 1c72d71..e6c358d 100644 --- a/core/modules/rdf/src/Tests/StandardProfileTest.php +++ b/core/modules/rdf/src/Tests/StandardProfileTest.php @@ -533,4 +533,5 @@ class StandardProfileTest extends WebTestBase { $parser->parse($graph, $this->drupalGet($url), 'rdfa', $this->baseUri); return $graph; } + } diff --git a/core/modules/rdf/src/Tests/TaxonomyAttributesTest.php b/core/modules/rdf/src/Tests/TaxonomyAttributesTest.php index 8e18035..6be2c5b 100644 --- a/core/modules/rdf/src/Tests/TaxonomyAttributesTest.php +++ b/core/modules/rdf/src/Tests/TaxonomyAttributesTest.php @@ -77,4 +77,5 @@ class TaxonomyAttributesTest extends TaxonomyTestBase { // @todo Add test for term description once it is a field: // https://www.drupal.org/node/569434. } + } diff --git a/core/modules/rdf/src/Tests/UserAttributesTest.php b/core/modules/rdf/src/Tests/UserAttributesTest.php index c68dd99..232b5b2 100644 --- a/core/modules/rdf/src/Tests/UserAttributesTest.php +++ b/core/modules/rdf/src/Tests/UserAttributesTest.php @@ -104,4 +104,5 @@ class UserAttributesTest extends WebTestBase { } } + } diff --git a/core/modules/rdf/tests/src/Kernel/CrudTest.php b/core/modules/rdf/tests/src/Kernel/CrudTest.php index 39dddc4..60b4208 100644 --- a/core/modules/rdf/tests/src/Kernel/CrudTest.php +++ b/core/modules/rdf/tests/src/Kernel/CrudTest.php @@ -107,4 +107,5 @@ class CrudTest extends KernelTestBase { ->getFieldMapping($field_name); $this->assertEqual($mapping, $field_mapping, 'Field mapping updated.'); } + } diff --git a/core/modules/rdf/tests/src/Kernel/Field/DateTimeFieldRdfaTest.php b/core/modules/rdf/tests/src/Kernel/Field/DateTimeFieldRdfaTest.php index 012b57d..a35a9c4 100644 --- a/core/modules/rdf/tests/src/Kernel/Field/DateTimeFieldRdfaTest.php +++ b/core/modules/rdf/tests/src/Kernel/Field/DateTimeFieldRdfaTest.php @@ -50,4 +50,5 @@ class DateTimeFieldRdfaTest extends FieldRdfaTestBase { public function testDefaultFormatter() { $this->assertFormatterRdfa(array('type' => 'datetime_default'), 'http://schema.org/dateCreated', array('value' => $this->testValue . 'Z', 'type' => 'literal', 'datatype' => 'http://www.w3.org/2001/XMLSchema#dateTime')); } + } diff --git a/core/modules/rdf/tests/src/Kernel/Field/EmailFieldRdfaTest.php b/core/modules/rdf/tests/src/Kernel/Field/EmailFieldRdfaTest.php index 88f9a7c..c121751 100644 --- a/core/modules/rdf/tests/src/Kernel/Field/EmailFieldRdfaTest.php +++ b/core/modules/rdf/tests/src/Kernel/Field/EmailFieldRdfaTest.php @@ -47,4 +47,5 @@ class EmailFieldRdfaTest extends FieldRdfaTestBase { // Test the mailto formatter. $this->assertFormatterRdfa(array('type' => 'email_mailto'), 'http://schema.org/email', array('value' => $this->testValue)); } + } diff --git a/core/modules/rdf/tests/src/Kernel/Field/NumberFieldRdfaTest.php b/core/modules/rdf/tests/src/Kernel/Field/NumberFieldRdfaTest.php index d2b1239..514ca9d 100644 --- a/core/modules/rdf/tests/src/Kernel/Field/NumberFieldRdfaTest.php +++ b/core/modules/rdf/tests/src/Kernel/Field/NumberFieldRdfaTest.php @@ -200,4 +200,5 @@ class NumberFieldRdfaTest extends FieldRdfaTestBase { $this->entity = EntityTest::create(array()); $this->entity->{$this->fieldName}->value = $testValue; } + } diff --git a/core/modules/rdf/tests/src/Kernel/Field/StringFieldRdfaTest.php b/core/modules/rdf/tests/src/Kernel/Field/StringFieldRdfaTest.php index 6f0f9d3..a0b28e9 100644 --- a/core/modules/rdf/tests/src/Kernel/Field/StringFieldRdfaTest.php +++ b/core/modules/rdf/tests/src/Kernel/Field/StringFieldRdfaTest.php @@ -54,4 +54,5 @@ class StringFieldRdfaTest extends FieldRdfaTestBase { // Tests the string formatter. $this->assertFormatterRdfa(array('type' => 'string'), 'http://schema.org/text', array('value' => $this->testValue)); } + } diff --git a/core/modules/rdf/tests/src/Kernel/Field/TelephoneFieldRdfaTest.php b/core/modules/rdf/tests/src/Kernel/Field/TelephoneFieldRdfaTest.php index e26bd79..9741256 100644 --- a/core/modules/rdf/tests/src/Kernel/Field/TelephoneFieldRdfaTest.php +++ b/core/modules/rdf/tests/src/Kernel/Field/TelephoneFieldRdfaTest.php @@ -65,4 +65,5 @@ class TelephoneFieldRdfaTest extends FieldRdfaTestBase { // Tests the telephone link formatter with custom title. $this->assertFormatterRdfa($formatter, 'http://schema.org/telephone', $expected_rdf_value); } + } diff --git a/core/modules/rdf/tests/src/Kernel/Field/TextFieldRdfaTest.php b/core/modules/rdf/tests/src/Kernel/Field/TextFieldRdfaTest.php index c50cc16..cce3499 100644 --- a/core/modules/rdf/tests/src/Kernel/Field/TextFieldRdfaTest.php +++ b/core/modules/rdf/tests/src/Kernel/Field/TextFieldRdfaTest.php @@ -69,4 +69,5 @@ class TextFieldRdfaTest extends FieldRdfaTestBase { // Tests the trimmed formatter. $this->assertFormatterRdfa(array('type' => 'text_trimmed'), 'http://schema.org/text', array('value' => $formatted_value)); } + } diff --git a/core/modules/responsive_image/src/Plugin/Field/FieldFormatter/ResponsiveImageFormatter.php b/core/modules/responsive_image/src/Plugin/Field/FieldFormatter/ResponsiveImageFormatter.php index de33d84..b91ef18 100644 --- a/core/modules/responsive_image/src/Plugin/Field/FieldFormatter/ResponsiveImageFormatter.php +++ b/core/modules/responsive_image/src/Plugin/Field/FieldFormatter/ResponsiveImageFormatter.php @@ -246,4 +246,5 @@ class ResponsiveImageFormatter extends ImageFormatterBase implements ContainerFa } return $elements; } + } diff --git a/core/modules/responsive_image/src/Tests/ResponsiveImageFieldDisplayTest.php b/core/modules/responsive_image/src/Tests/ResponsiveImageFieldDisplayTest.php index c0fbc90..f5b277d 100644 --- a/core/modules/responsive_image/src/Tests/ResponsiveImageFieldDisplayTest.php +++ b/core/modules/responsive_image/src/Tests/ResponsiveImageFieldDisplayTest.php @@ -514,4 +514,5 @@ class ResponsiveImageFieldDisplayTest extends ImageFieldTestBase { break; } } + } diff --git a/core/modules/responsive_image/tests/modules/responsive_image_test_module/src/Plugin/Field/FieldFormatter/ResponsiveImageTestFormatter.php b/core/modules/responsive_image/tests/modules/responsive_image_test_module/src/Plugin/Field/FieldFormatter/ResponsiveImageTestFormatter.php index bbe8d9e..883322e 100644 --- a/core/modules/responsive_image/tests/modules/responsive_image_test_module/src/Plugin/Field/FieldFormatter/ResponsiveImageTestFormatter.php +++ b/core/modules/responsive_image/tests/modules/responsive_image_test_module/src/Plugin/Field/FieldFormatter/ResponsiveImageTestFormatter.php @@ -31,4 +31,5 @@ class ResponsiveImageTestFormatter extends ResponsiveImageFormatter { } return $elements; } + } diff --git a/core/modules/rest/src/LinkManager/RelationLinkManager.php b/core/modules/rest/src/LinkManager/RelationLinkManager.php index 988e57c..297ffd9 100644 --- a/core/modules/rest/src/LinkManager/RelationLinkManager.php +++ b/core/modules/rest/src/LinkManager/RelationLinkManager.php @@ -138,4 +138,5 @@ class RelationLinkManager extends LinkManagerBase implements RelationLinkManager // and only clear it when the fields cache is cleared. $this->cache->set('rest:links:relations', $data, Cache::PERMANENT, array('entity_field_info')); } + } diff --git a/core/modules/rest/src/LinkManager/TypeLinkManagerInterface.php b/core/modules/rest/src/LinkManager/TypeLinkManagerInterface.php index 3873358..484ca76 100644 --- a/core/modules/rest/src/LinkManager/TypeLinkManagerInterface.php +++ b/core/modules/rest/src/LinkManager/TypeLinkManagerInterface.php @@ -36,4 +36,5 @@ interface TypeLinkManagerInterface extends ConfigurableLinkManagerInterface { * bundle. Otherwise, returns false. */ public function getTypeInternalIds($type_uri, $context = array()); + } diff --git a/core/modules/rest/src/Plugin/Deriver/EntityDeriver.php b/core/modules/rest/src/Plugin/Deriver/EntityDeriver.php index 52e31f0..6a6ddae 100644 --- a/core/modules/rest/src/Plugin/Deriver/EntityDeriver.php +++ b/core/modules/rest/src/Plugin/Deriver/EntityDeriver.php @@ -93,4 +93,5 @@ class EntityDeriver implements ContainerDeriverInterface { } return $this->derivatives; } + } diff --git a/core/modules/rest/src/Plugin/Type/ResourcePluginManager.php b/core/modules/rest/src/Plugin/Type/ResourcePluginManager.php index 97fbf1c..9a3587c 100644 --- a/core/modules/rest/src/Plugin/Type/ResourcePluginManager.php +++ b/core/modules/rest/src/Plugin/Type/ResourcePluginManager.php @@ -42,4 +42,5 @@ class ResourcePluginManager extends DefaultPluginManager { return $this->createInstance($options['id']); } } + } diff --git a/core/modules/rest/src/Plugin/rest/resource/EntityResource.php b/core/modules/rest/src/Plugin/rest/resource/EntityResource.php index e81ee09..6ec5f26 100644 --- a/core/modules/rest/src/Plugin/rest/resource/EntityResource.php +++ b/core/modules/rest/src/Plugin/rest/resource/EntityResource.php @@ -245,5 +245,4 @@ class EntityResource extends ResourceBase { return $route; } - } diff --git a/core/modules/rest/src/RequestHandler.php b/core/modules/rest/src/RequestHandler.php index 9efdb35..c585166 100644 --- a/core/modules/rest/src/RequestHandler.php +++ b/core/modules/rest/src/RequestHandler.php @@ -131,4 +131,5 @@ class RequestHandler implements ContainerAwareInterface { public function csrfToken() { return new Response(\Drupal::csrfToken()->get('rest'), 200, array('Content-Type' => 'text/plain')); } + } diff --git a/core/modules/rest/src/ResourceResponse.php b/core/modules/rest/src/ResourceResponse.php index 6d30415..20a7e78 100644 --- a/core/modules/rest/src/ResourceResponse.php +++ b/core/modules/rest/src/ResourceResponse.php @@ -49,4 +49,5 @@ class ResourceResponse extends Response implements CacheableResponseInterface { public function getResponseData() { return $this->responseData; } + } diff --git a/core/modules/rest/src/Tests/CsrfTest.php b/core/modules/rest/src/Tests/CsrfTest.php index 3835ab8..f98abad 100644 --- a/core/modules/rest/src/Tests/CsrfTest.php +++ b/core/modules/rest/src/Tests/CsrfTest.php @@ -114,4 +114,5 @@ class CsrfTest extends RESTTestBase { ), ); } + } diff --git a/core/modules/rest/src/Tests/DeleteTest.php b/core/modules/rest/src/Tests/DeleteTest.php index 3d97540..ccba38e 100644 --- a/core/modules/rest/src/Tests/DeleteTest.php +++ b/core/modules/rest/src/Tests/DeleteTest.php @@ -72,4 +72,5 @@ class DeleteTest extends RESTTestBase { $this->assertEqual($account->id(), $user->id(), 'User still exists in the database.'); $this->assertResponse(405); } + } diff --git a/core/modules/rest/src/Tests/NodeTest.php b/core/modules/rest/src/Tests/NodeTest.php index 357109c..7f0ed81 100644 --- a/core/modules/rest/src/Tests/NodeTest.php +++ b/core/modules/rest/src/Tests/NodeTest.php @@ -194,4 +194,5 @@ class NodeTest extends RESTTestBase { $this->assertResponse(400); $this->assertResponseBody('{"error":"A string must be provided as a bundle value."}'); } + } diff --git a/core/modules/rest/src/Tests/RESTTestBase.php b/core/modules/rest/src/Tests/RESTTestBase.php index 099957e..71b1a08 100644 --- a/core/modules/rest/src/Tests/RESTTestBase.php +++ b/core/modules/rest/src/Tests/RESTTestBase.php @@ -425,4 +425,5 @@ abstract class RESTTestBase extends WebTestBase { protected function assertResponseBody($expected, $message = '', $group = 'REST Response') { return $this->assertIdentical($expected, $this->responseBody, $message ? $message : strtr('Response body @expected (expected) is equal to @response (actual).', array('@expected' => var_export($expected, TRUE), '@response' => var_export($this->responseBody, TRUE))), $group); } + } diff --git a/core/modules/rest/src/Tests/Views/StyleSerializerTest.php b/core/modules/rest/src/Tests/Views/StyleSerializerTest.php index 04dfa12..a884342 100644 --- a/core/modules/rest/src/Tests/Views/StyleSerializerTest.php +++ b/core/modules/rest/src/Tests/Views/StyleSerializerTest.php @@ -785,4 +785,5 @@ class StyleSerializerTest extends PluginTestBase { $expected = ['mul-l1-l2', 'mul-l1-orig', 'mul-l2-l1', 'mul-l2-orig', 'mul-none']; $this->assertIdentical($names, $expected, 'The translated content was found in the JSON.'); } + } diff --git a/core/modules/rest/tests/src/Kernel/RequestHandlerTest.php b/core/modules/rest/tests/src/Kernel/RequestHandlerTest.php index d5d46f3..6c19ca4 100644 --- a/core/modules/rest/tests/src/Kernel/RequestHandlerTest.php +++ b/core/modules/rest/tests/src/Kernel/RequestHandlerTest.php @@ -133,4 +133,5 @@ class StubRequestHandlerResourcePlugin extends ResourceBase { function get() {} function patch() {} + } diff --git a/core/modules/rest/tests/src/Unit/CollectRoutesTest.php b/core/modules/rest/tests/src/Unit/CollectRoutesTest.php index 4cc1e7d..53ebbd5 100644 --- a/core/modules/rest/tests/src/Unit/CollectRoutesTest.php +++ b/core/modules/rest/tests/src/Unit/CollectRoutesTest.php @@ -133,4 +133,5 @@ class CollectRoutesTest extends UnitTestCase { $this->assertEquals(count($requirements_1), 0, 'First route has no requirement.'); $this->assertEquals(count($requirements_2), 2, 'Views route with rest export had the format and method requirements added.'); } + } diff --git a/core/modules/search/src/Form/ReindexConfirm.php b/core/modules/search/src/Form/ReindexConfirm.php index 5096d10..9cd4a15 100644 --- a/core/modules/search/src/Form/ReindexConfirm.php +++ b/core/modules/search/src/Form/ReindexConfirm.php @@ -67,4 +67,5 @@ class ReindexConfirm extends ConfirmFormBase { $form_state->setRedirectUrl($this->getCancelUrl()); } } + } diff --git a/core/modules/search/src/Form/SearchBlockForm.php b/core/modules/search/src/Form/SearchBlockForm.php index 1e63d65..cc9d89e 100644 --- a/core/modules/search/src/Form/SearchBlockForm.php +++ b/core/modules/search/src/Form/SearchBlockForm.php @@ -115,4 +115,5 @@ class SearchBlockForm extends FormBase { public function submitForm(array &$form, FormStateInterface $form_state) { // This form submits to the search page, so processing happens there. } + } diff --git a/core/modules/search/src/Form/SearchPageForm.php b/core/modules/search/src/Form/SearchPageForm.php index bc1ee58..1521beb 100644 --- a/core/modules/search/src/Form/SearchPageForm.php +++ b/core/modules/search/src/Form/SearchPageForm.php @@ -101,4 +101,5 @@ class SearchPageForm extends EntityForm { array('query' => $query) ); } + } diff --git a/core/modules/search/src/Plugin/views/field/Score.php b/core/modules/search/src/Plugin/views/field/Score.php index 03e8fd9..643fcc4 100644 --- a/core/modules/search/src/Plugin/views/field/Score.php +++ b/core/modules/search/src/Plugin/views/field/Score.php @@ -43,4 +43,5 @@ class Score extends NumericField { return parent::render($values); } } + } diff --git a/core/modules/search/src/SearchPluginManager.php b/core/modules/search/src/SearchPluginManager.php index fa407ff..e70039b 100644 --- a/core/modules/search/src/SearchPluginManager.php +++ b/core/modules/search/src/SearchPluginManager.php @@ -27,4 +27,5 @@ class SearchPluginManager extends DefaultPluginManager { $this->setCacheBackend($cache_backend, 'search_plugins'); $this->alterInfo('search_plugin'); } + } diff --git a/core/modules/search/src/Tests/SearchCommentCountToggleTest.php b/core/modules/search/src/Tests/SearchCommentCountToggleTest.php index 3e19fb2..48f8bb6 100644 --- a/core/modules/search/src/Tests/SearchCommentCountToggleTest.php +++ b/core/modules/search/src/Tests/SearchCommentCountToggleTest.php @@ -111,4 +111,5 @@ class SearchCommentCountToggleTest extends SearchTestBase { $this->assertNoText(t('0 comments'), 'Empty comment count does not display for nodes with comment status set to Hidden'); $this->assertNoText(t('1 comment'), 'Non-empty comment count does not display for nodes with comment status set to Hidden'); } + } diff --git a/core/modules/search/src/Tests/SearchCommentTest.php b/core/modules/search/src/Tests/SearchCommentTest.php index 1af1194..f67637f 100644 --- a/core/modules/search/src/Tests/SearchCommentTest.php +++ b/core/modules/search/src/Tests/SearchCommentTest.php @@ -350,4 +350,5 @@ class SearchCommentTest extends SearchTestBase { $this->assertText($node->label(), 'Search for keyword worked'); $this->assertNoText(t('Add new comment')); } + } diff --git a/core/modules/search/src/Tests/SearchDateIntervalTest.php b/core/modules/search/src/Tests/SearchDateIntervalTest.php index 30f26bd..967f1f5 100644 --- a/core/modules/search/src/Tests/SearchDateIntervalTest.php +++ b/core/modules/search/src/Tests/SearchDateIntervalTest.php @@ -71,4 +71,5 @@ class SearchDateIntervalTest extends SearchTestBase { $this->assertLink('Node ES', 0, 'Spanish translation found in search results'); $this->assertNoLink('Node EN', 'Search results do not contain English node'); } + } diff --git a/core/modules/search/src/Tests/SearchEmbedFormTest.php b/core/modules/search/src/Tests/SearchEmbedFormTest.php index b62706b..22da9b6 100644 --- a/core/modules/search/src/Tests/SearchEmbedFormTest.php +++ b/core/modules/search/src/Tests/SearchEmbedFormTest.php @@ -81,4 +81,5 @@ class SearchEmbedFormTest extends SearchTestBase { $this->assertEqual($this->submitCount, $count, 'Form submission count is correct'); $this->submitCount = $count; } + } diff --git a/core/modules/search/src/Tests/SearchExactTest.php b/core/modules/search/src/Tests/SearchExactTest.php index eaf3edb..d17646b 100644 --- a/core/modules/search/src/Tests/SearchExactTest.php +++ b/core/modules/search/src/Tests/SearchExactTest.php @@ -75,4 +75,5 @@ class SearchExactTest extends SearchTestBase { $this->assertNoText(format_date($node->getChangedTime(), 'short'), 'Basic page node does not display post date when post settings are off.'); } + } diff --git a/core/modules/search/src/Tests/SearchKeywordsConditionsTest.php b/core/modules/search/src/Tests/SearchKeywordsConditionsTest.php index 731d0ea..1625d8d 100644 --- a/core/modules/search/src/Tests/SearchKeywordsConditionsTest.php +++ b/core/modules/search/src/Tests/SearchKeywordsConditionsTest.php @@ -58,4 +58,5 @@ class SearchKeywordsConditionsTest extends SearchTestBase { $this->assertText("Dummy search snippet to display."); $this->assertRaw(Html::escape(print_r(array('keys' => 'bike', 'search_conditions' => $keys), TRUE))); } + } diff --git a/core/modules/search/src/Tests/SearchLanguageTest.php b/core/modules/search/src/Tests/SearchLanguageTest.php index f359a99..cdd0bd4 100644 --- a/core/modules/search/src/Tests/SearchLanguageTest.php +++ b/core/modules/search/src/Tests/SearchLanguageTest.php @@ -133,4 +133,5 @@ class SearchLanguageTest extends SearchTestBase { $this->assertNoFieldChecked('edit-site-default-language-en', 'Default language updated.'); $this->drupalPostForm('admin/config/regional/language/delete/en', array(), t('Delete')); } + } diff --git a/core/modules/search/src/Tests/SearchMultilingualEntityTest.php b/core/modules/search/src/Tests/SearchMultilingualEntityTest.php index a7a3070..e133101 100644 --- a/core/modules/search/src/Tests/SearchMultilingualEntityTest.php +++ b/core/modules/search/src/Tests/SearchMultilingualEntityTest.php @@ -318,4 +318,5 @@ class SearchMultilingualEntityTest extends SearchTestBase { $this->assertEqual($count_foo, count($results), 'Foo count was ' . $count_foo . ' for ' . $message); } + } diff --git a/core/modules/search/src/Tests/SearchNodeDiacriticsTest.php b/core/modules/search/src/Tests/SearchNodeDiacriticsTest.php index a8b5369..a8b45a5 100644 --- a/core/modules/search/src/Tests/SearchNodeDiacriticsTest.php +++ b/core/modules/search/src/Tests/SearchNodeDiacriticsTest.php @@ -76,4 +76,5 @@ class SearchNodeDiacriticsTest extends SearchTestBase { $this->drupalPostForm('search/node', $edit, t('Search')); $this->assertNoRaw('<strong>æll</strong>'); } + } diff --git a/core/modules/search/src/Tests/SearchNodePunctuationTest.php b/core/modules/search/src/Tests/SearchNodePunctuationTest.php index 77449ba..c185aea 100644 --- a/core/modules/search/src/Tests/SearchNodePunctuationTest.php +++ b/core/modules/search/src/Tests/SearchNodePunctuationTest.php @@ -59,4 +59,5 @@ class SearchNodePunctuationTest extends SearchTestBase { $this->assertNoRaw('<strong>&</strong>amp;'); $this->assertText('You must include at least one keyword'); } + } diff --git a/core/modules/search/src/Tests/SearchNumberMatchingTest.php b/core/modules/search/src/Tests/SearchNumberMatchingTest.php index 179c9ae..a6ad057 100644 --- a/core/modules/search/src/Tests/SearchNumberMatchingTest.php +++ b/core/modules/search/src/Tests/SearchNumberMatchingTest.php @@ -95,4 +95,5 @@ class SearchNumberMatchingTest extends SearchTestBase { } } + } diff --git a/core/modules/search/src/Tests/SearchNumbersTest.php b/core/modules/search/src/Tests/SearchNumbersTest.php index 4ddb831..30d3906 100644 --- a/core/modules/search/src/Tests/SearchNumbersTest.php +++ b/core/modules/search/src/Tests/SearchNumbersTest.php @@ -100,4 +100,5 @@ class SearchNumbersTest extends SearchTestBase { $this->assertText($node->label(), format_string('%type: node title shown (search found the node) in search for number %number.', array('%type' => $type, '%number' => $number))); } } + } diff --git a/core/modules/search/src/Tests/SearchPageOverrideTest.php b/core/modules/search/src/Tests/SearchPageOverrideTest.php index 0401720..9768904 100644 --- a/core/modules/search/src/Tests/SearchPageOverrideTest.php +++ b/core/modules/search/src/Tests/SearchPageOverrideTest.php @@ -40,4 +40,5 @@ class SearchPageOverrideTest extends SearchTestBase { $this->assertText('Dummy search snippet', 'Dummy search snippet is shown'); $this->assertText('Test page text is here', 'Page override is working'); } + } diff --git a/core/modules/search/src/Tests/SearchPageTextTest.php b/core/modules/search/src/Tests/SearchPageTextTest.php index 4eead8b..db33d85 100644 --- a/core/modules/search/src/Tests/SearchPageTextTest.php +++ b/core/modules/search/src/Tests/SearchPageTextTest.php @@ -159,4 +159,5 @@ class SearchPageTextTest extends SearchTestBase { $this->assertResponse(200, 'Searching for .something does not lead to a 403 error'); $this->assertText('no results', 'Searching for .something gives you a no search results page'); } + } diff --git a/core/modules/search/src/Tests/SearchPreprocessLangcodeTest.php b/core/modules/search/src/Tests/SearchPreprocessLangcodeTest.php index e260251..38cb350 100644 --- a/core/modules/search/src/Tests/SearchPreprocessLangcodeTest.php +++ b/core/modules/search/src/Tests/SearchPreprocessLangcodeTest.php @@ -95,4 +95,5 @@ class SearchPreprocessLangcodeTest extends SearchTestBase { $this->assertText('Search results'); $this->assertText('we are testing'); } + } diff --git a/core/modules/search/src/Tests/SearchQueryAlterTest.php b/core/modules/search/src/Tests/SearchQueryAlterTest.php index 2b05816..0cb473f 100644 --- a/core/modules/search/src/Tests/SearchQueryAlterTest.php +++ b/core/modules/search/src/Tests/SearchQueryAlterTest.php @@ -45,4 +45,5 @@ class SearchQueryAlterTest extends SearchTestBase { $this->assertText('article', 'Article is in search results'); $this->assertNoText('page', 'Page is not in search results'); } + } diff --git a/core/modules/search/src/Tests/SearchRankingTest.php b/core/modules/search/src/Tests/SearchRankingTest.php index c138d9f..78e3e24 100644 --- a/core/modules/search/src/Tests/SearchRankingTest.php +++ b/core/modules/search/src/Tests/SearchRankingTest.php @@ -274,4 +274,5 @@ class SearchRankingTest extends SearchTestBase { $node->delete(); } } + } diff --git a/core/modules/search/src/Tests/SearchSetLocaleTest.php b/core/modules/search/src/Tests/SearchSetLocaleTest.php index d098c47..0ec4137 100644 --- a/core/modules/search/src/Tests/SearchSetLocaleTest.php +++ b/core/modules/search/src/Tests/SearchSetLocaleTest.php @@ -47,4 +47,5 @@ class SearchSetLocaleTest extends SearchTestBase { // necessary here. $this->nodeSearchPlugin->execute(); } + } diff --git a/core/modules/search/src/Tests/SearchSimplifyTest.php b/core/modules/search/src/Tests/SearchSimplifyTest.php index 2dc9ff6..bdb96c9 100644 --- a/core/modules/search/src/Tests/SearchSimplifyTest.php +++ b/core/modules/search/src/Tests/SearchSimplifyTest.php @@ -77,4 +77,5 @@ class SearchSimplifyTest extends SearchTestBase { $this->assertEqual($out, $case[1], $case[2]); } } + } diff --git a/core/modules/search/src/Tests/SearchTestBase.php b/core/modules/search/src/Tests/SearchTestBase.php index 0a605c6..83967b3 100644 --- a/core/modules/search/src/Tests/SearchTestBase.php +++ b/core/modules/search/src/Tests/SearchTestBase.php @@ -88,4 +88,5 @@ abstract class SearchTestBase extends WebTestBase { $this->fail(format_string('Found the requested form fields at @path', array('@path' => $path))); } } + } diff --git a/core/modules/search/src/Tests/SearchTokenizerTest.php b/core/modules/search/src/Tests/SearchTokenizerTest.php index fd410c9..f8b3ccb 100644 --- a/core/modules/search/src/Tests/SearchTokenizerTest.php +++ b/core/modules/search/src/Tests/SearchTokenizerTest.php @@ -147,4 +147,5 @@ class SearchTokenizerTest extends SearchTestBase { return ''; } + } diff --git a/core/modules/search/tests/src/Kernel/SearchMatchTest.php b/core/modules/search/tests/src/Kernel/SearchMatchTest.php index 1469efa..0a17f71 100644 --- a/core/modules/search/tests/src/Kernel/SearchMatchTest.php +++ b/core/modules/search/tests/src/Kernel/SearchMatchTest.php @@ -251,4 +251,5 @@ class SearchMatchTest extends KernelTestBase { // Check range. $this->assertEqual(!count($scores) || (min($scores) > 0.0 && max($scores) <= 1.0001), TRUE, "Query scoring '$query'"); } + } diff --git a/core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php b/core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php index 767a81b..d634207 100644 --- a/core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php +++ b/core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php @@ -281,4 +281,5 @@ class TestSearchPage extends SearchPage { public function label($langcode = NULL) { return $this->label; } + } diff --git a/core/modules/serialization/src/Encoder/XmlEncoder.php b/core/modules/serialization/src/Encoder/XmlEncoder.php index 1a88364..abd7896 100644 --- a/core/modules/serialization/src/Encoder/XmlEncoder.php +++ b/core/modules/serialization/src/Encoder/XmlEncoder.php @@ -78,4 +78,5 @@ class XmlEncoder implements EncoderInterface, DecoderInterface { public function supportsDecoding($format) { return in_array($format, static::$format); } + } diff --git a/core/modules/serialization/src/Normalizer/EntityNormalizer.php b/core/modules/serialization/src/Normalizer/EntityNormalizer.php index 81549ba..b800e81 100644 --- a/core/modules/serialization/src/Normalizer/EntityNormalizer.php +++ b/core/modules/serialization/src/Normalizer/EntityNormalizer.php @@ -88,4 +88,5 @@ class EntityNormalizer extends ComplexDataNormalizer implements DenormalizerInte return $entity; } + } diff --git a/core/modules/serialization/src/RegisterEntityResolversCompilerPass.php b/core/modules/serialization/src/RegisterEntityResolversCompilerPass.php index 96b1e91..90a2c26 100644 --- a/core/modules/serialization/src/RegisterEntityResolversCompilerPass.php +++ b/core/modules/serialization/src/RegisterEntityResolversCompilerPass.php @@ -58,4 +58,5 @@ class RegisterEntityResolversCompilerPass implements CompilerPassInterface { return $sorted; } + } diff --git a/core/modules/serialization/src/RegisterSerializationClassesCompilerPass.php b/core/modules/serialization/src/RegisterSerializationClassesCompilerPass.php index 6d3a9f8..e1f73d7 100644 --- a/core/modules/serialization/src/RegisterSerializationClassesCompilerPass.php +++ b/core/modules/serialization/src/RegisterSerializationClassesCompilerPass.php @@ -71,4 +71,5 @@ class RegisterSerializationClassesCompilerPass implements CompilerPassInterface return $sorted; } + } diff --git a/core/modules/serialization/src/SerializationServiceProvider.php b/core/modules/serialization/src/SerializationServiceProvider.php index fbd34c0..9521185 100644 --- a/core/modules/serialization/src/SerializationServiceProvider.php +++ b/core/modules/serialization/src/SerializationServiceProvider.php @@ -19,4 +19,5 @@ class SerializationServiceProvider implements ServiceProviderInterface { // Add a compiler pass for adding concrete Resolvers to chain Resolver. $container->addCompilerPass(new RegisterEntityResolversCompilerPass()); } + } diff --git a/core/modules/serialization/src/Tests/EntitySerializationTest.php b/core/modules/serialization/src/Tests/EntitySerializationTest.php index 90cd1c5..00ea14f 100644 --- a/core/modules/serialization/src/Tests/EntitySerializationTest.php +++ b/core/modules/serialization/src/Tests/EntitySerializationTest.php @@ -222,4 +222,5 @@ class EntitySerializationTest extends NormalizerTestBase { $this->assertIdentical($denormalized->uuid(), $this->entity->uuid(), 'Expected entity UUID found.'); } } + } diff --git a/core/modules/serialization/tests/serialization_test/src/SerializationTestEncoder.php b/core/modules/serialization/tests/serialization_test/src/SerializationTestEncoder.php index 509347d..0eb9aa5 100644 --- a/core/modules/serialization/tests/serialization_test/src/SerializationTestEncoder.php +++ b/core/modules/serialization/tests/serialization_test/src/SerializationTestEncoder.php @@ -27,4 +27,5 @@ class SerializationTestEncoder implements EncoderInterface { public function supportsEncoding($format) { return static::$format === $format; } + } diff --git a/core/modules/serialization/tests/serialization_test/src/SerializationTestNormalizer.php b/core/modules/serialization/tests/serialization_test/src/SerializationTestNormalizer.php index 34beb2d..0cb5833 100644 --- a/core/modules/serialization/tests/serialization_test/src/SerializationTestNormalizer.php +++ b/core/modules/serialization/tests/serialization_test/src/SerializationTestNormalizer.php @@ -47,4 +47,5 @@ class SerializationTestNormalizer implements NormalizerInterface { public function supportsNormalization($data, $format = NULL) { return static::$format === $format; } + } diff --git a/core/modules/serialization/tests/src/Kernel/SerializationTest.php b/core/modules/serialization/tests/src/Kernel/SerializationTest.php index cd8ba96..8b700a3 100644 --- a/core/modules/serialization/tests/src/Kernel/SerializationTest.php +++ b/core/modules/serialization/tests/src/Kernel/SerializationTest.php @@ -51,4 +51,5 @@ class SerializationTest extends KernelTestBase { $this->pass('The serializer threw an exception for an unsupported format.'); } } + } diff --git a/core/modules/shortcut/src/Plugin/migrate/destination/EntityShortcutSet.php b/core/modules/shortcut/src/Plugin/migrate/destination/EntityShortcutSet.php index 72964bb..fddf08a 100644 --- a/core/modules/shortcut/src/Plugin/migrate/destination/EntityShortcutSet.php +++ b/core/modules/shortcut/src/Plugin/migrate/destination/EntityShortcutSet.php @@ -22,4 +22,5 @@ class EntityShortcutSet extends EntityConfigBase { $entity->setSyncing(TRUE); return $entity; } + } diff --git a/core/modules/shortcut/src/Tests/ShortcutSetsTest.php b/core/modules/shortcut/src/Tests/ShortcutSetsTest.php index 1e87ea6..0744053 100644 --- a/core/modules/shortcut/src/Tests/ShortcutSetsTest.php +++ b/core/modules/shortcut/src/Tests/ShortcutSetsTest.php @@ -207,4 +207,5 @@ class ShortcutSetsTest extends ShortcutTestBase { $this->drupalGet('user/' . $this->adminUser->id() . '/shortcuts'); $this->assertText($new_set->label(), 'Generated shortcut set was listed as a choice on the user account page.'); } + } diff --git a/core/modules/simpletest/src/RandomGeneratorTrait.php b/core/modules/simpletest/src/RandomGeneratorTrait.php index d702c5f..f9f7aec 100644 --- a/core/modules/simpletest/src/RandomGeneratorTrait.php +++ b/core/modules/simpletest/src/RandomGeneratorTrait.php @@ -14,4 +14,5 @@ use Drupal\Tests\RandomGeneratorTrait as BaseGeneratorTrait; */ trait RandomGeneratorTrait { use BaseGeneratorTrait; + } diff --git a/core/modules/simpletest/src/Tests/BrokenSetUpTest.php b/core/modules/simpletest/src/Tests/BrokenSetUpTest.php index 459a9d1..e988f4d 100644 --- a/core/modules/simpletest/src/Tests/BrokenSetUpTest.php +++ b/core/modules/simpletest/src/Tests/BrokenSetUpTest.php @@ -116,4 +116,5 @@ class BrokenSetUpTest extends WebTestBase { $this->pass('The test method has run.'); } } + } diff --git a/core/modules/simpletest/src/Tests/FolderTest.php b/core/modules/simpletest/src/Tests/FolderTest.php index 1eb8fe4..d43c638 100644 --- a/core/modules/simpletest/src/Tests/FolderTest.php +++ b/core/modules/simpletest/src/Tests/FolderTest.php @@ -23,4 +23,5 @@ class FolderTest extends WebTestBase { $directory = file_default_scheme() . '://styles'; $this->assertTrue(file_prepare_directory($directory, FALSE), 'Directory created.'); } + } diff --git a/core/modules/simpletest/src/Tests/InstallationProfileModuleTestsTest.php b/core/modules/simpletest/src/Tests/InstallationProfileModuleTestsTest.php index 4c32512..a1063e7 100644 --- a/core/modules/simpletest/src/Tests/InstallationProfileModuleTestsTest.php +++ b/core/modules/simpletest/src/Tests/InstallationProfileModuleTestsTest.php @@ -58,4 +58,5 @@ class InstallationProfileModuleTestsTest extends WebTestBase { $this->drupalPostForm(NULL, $edit, t('Run tests')); $this->assertText('SystemListingCompatibleTest test executed.'); } + } diff --git a/core/modules/simpletest/src/Tests/MailCaptureTest.php b/core/modules/simpletest/src/Tests/MailCaptureTest.php index cf36c5d..700c757 100644 --- a/core/modules/simpletest/src/Tests/MailCaptureTest.php +++ b/core/modules/simpletest/src/Tests/MailCaptureTest.php @@ -74,4 +74,5 @@ class MailCaptureTest extends WebTestBase { $captured_emails = $this->drupalGetMails(array('id' => 'drupal_mail_test_4')); $this->assertEqual(count($captured_emails), 2, 'All emails with the same id are returned when filtering by id.', 'Email'); } + } diff --git a/core/modules/simpletest/src/Tests/MissingCheckedRequirementsTest.php b/core/modules/simpletest/src/Tests/MissingCheckedRequirementsTest.php index 27e1001..0b21d54 100644 --- a/core/modules/simpletest/src/Tests/MissingCheckedRequirementsTest.php +++ b/core/modules/simpletest/src/Tests/MissingCheckedRequirementsTest.php @@ -53,4 +53,5 @@ class MissingCheckedRequirementsTest extends WebTestBase { $this->fail('Test ran when it failed requirements check.'); } } + } diff --git a/core/modules/simpletest/tests/fixtures/simpletest_phpunit_run_command_test.php b/core/modules/simpletest/tests/fixtures/simpletest_phpunit_run_command_test.php index 73210c5..6fb61d5 100644 --- a/core/modules/simpletest/tests/fixtures/simpletest_phpunit_run_command_test.php +++ b/core/modules/simpletest/tests/fixtures/simpletest_phpunit_run_command_test.php @@ -19,4 +19,5 @@ class SimpletestPhpunitRunCommandTestWillDie extends UnitTestCase { } $this->assertTrue(TRUE, 'Assertion to ensure test pass'); } + } diff --git a/core/modules/simpletest/tests/src/Unit/AssertHelperTraitTest.php b/core/modules/simpletest/tests/src/Unit/AssertHelperTraitTest.php index 835f5c1..8c816b0 100644 --- a/core/modules/simpletest/tests/src/Unit/AssertHelperTraitTest.php +++ b/core/modules/simpletest/tests/src/Unit/AssertHelperTraitTest.php @@ -36,6 +36,7 @@ class AssertHelperTraitTest extends UnitTestCase { [['test safe string', 'mixed array', 'test safe string'], [$safe_string, 'mixed array', $safe_string]], ]; } + } class AssertHelperTestClass { @@ -44,4 +45,5 @@ class AssertHelperTestClass { public function testMethod($value) { return $this->castSafeStrings($value); } + } diff --git a/core/modules/simpletest/tests/src/Unit/PhpUnitErrorTest.php b/core/modules/simpletest/tests/src/Unit/PhpUnitErrorTest.php index 0a82609..25211fc 100644 --- a/core/modules/simpletest/tests/src/Unit/PhpUnitErrorTest.php +++ b/core/modules/simpletest/tests/src/Unit/PhpUnitErrorTest.php @@ -36,4 +36,5 @@ class PhpUnitErrorTest extends UnitTestCase { // didn't run. simpletest_phpunit_xml_to_rows(1, 'foobar'); } + } diff --git a/core/modules/statistics/src/StatisticsSettingsForm.php b/core/modules/statistics/src/StatisticsSettingsForm.php index 5bd150c..2abb564 100644 --- a/core/modules/statistics/src/StatisticsSettingsForm.php +++ b/core/modules/statistics/src/StatisticsSettingsForm.php @@ -96,4 +96,5 @@ class StatisticsSettingsForm extends ConfigFormBase { parent::submitForm($form, $form_state); } + } diff --git a/core/modules/statistics/src/Tests/StatisticsAdminTest.php b/core/modules/statistics/src/Tests/StatisticsAdminTest.php index ad573c1..565925c 100644 --- a/core/modules/statistics/src/Tests/StatisticsAdminTest.php +++ b/core/modules/statistics/src/Tests/StatisticsAdminTest.php @@ -167,4 +167,5 @@ class StatisticsAdminTest extends WebTestBase { ->fetchField(); $this->assertFalse($result, 'Daycounter is zero.'); } + } diff --git a/core/modules/statistics/src/Tests/StatisticsTestBase.php b/core/modules/statistics/src/Tests/StatisticsTestBase.php index f9b2d24..b18b0ac 100644 --- a/core/modules/statistics/src/Tests/StatisticsTestBase.php +++ b/core/modules/statistics/src/Tests/StatisticsTestBase.php @@ -47,4 +47,5 @@ abstract class StatisticsTestBase extends WebTestBase { ->set('count_content_views', 1) ->save(); } + } diff --git a/core/modules/statistics/src/Tests/StatisticsTokenReplaceTest.php b/core/modules/statistics/src/Tests/StatisticsTokenReplaceTest.php index bf35de3..b7d22b8 100644 --- a/core/modules/statistics/src/Tests/StatisticsTokenReplaceTest.php +++ b/core/modules/statistics/src/Tests/StatisticsTokenReplaceTest.php @@ -48,4 +48,5 @@ class StatisticsTokenReplaceTest extends StatisticsTestBase { $this->assertEqual($output, $expected, format_string('Statistics token %token replaced.', array('%token' => $input))); } } + } diff --git a/core/modules/syslog/src/Tests/SyslogTest.php b/core/modules/syslog/src/Tests/SyslogTest.php index fc67465..a40847c 100644 --- a/core/modules/syslog/src/Tests/SyslogTest.php +++ b/core/modules/syslog/src/Tests/SyslogTest.php @@ -37,4 +37,5 @@ class SyslogTest extends WebTestBase { } } } + } diff --git a/core/modules/system/src/Access/CronAccessCheck.php b/core/modules/system/src/Access/CronAccessCheck.php index 2e5a865..bdc582d 100644 --- a/core/modules/system/src/Access/CronAccessCheck.php +++ b/core/modules/system/src/Access/CronAccessCheck.php @@ -30,4 +30,5 @@ class CronAccessCheck implements AccessInterface { } return AccessResult::allowed()->setCacheMaxAge(0); } + } diff --git a/core/modules/system/src/Access/DbUpdateAccessCheck.php b/core/modules/system/src/Access/DbUpdateAccessCheck.php index d2aa5e8..2bcc5fb 100644 --- a/core/modules/system/src/Access/DbUpdateAccessCheck.php +++ b/core/modules/system/src/Access/DbUpdateAccessCheck.php @@ -34,4 +34,5 @@ class DbUpdateAccessCheck implements AccessInterface { return AccessResult::forbidden()->cachePerPermissions(); } } + } diff --git a/core/modules/system/src/Form/ModulesUninstallForm.php b/core/modules/system/src/Form/ModulesUninstallForm.php index 617270b..a06810e 100644 --- a/core/modules/system/src/Form/ModulesUninstallForm.php +++ b/core/modules/system/src/Form/ModulesUninstallForm.php @@ -187,4 +187,5 @@ class ModulesUninstallForm extends FormBase { // Redirect to the confirm form. $form_state->setRedirect('system.modules_uninstall_confirm'); } + } diff --git a/core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php b/core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php index c3c2725..bbc34c1 100644 --- a/core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php +++ b/core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php @@ -431,4 +431,5 @@ class GDToolkit extends ImageToolkitBase { protected static function supportedTypes() { return array(IMAGETYPE_PNG, IMAGETYPE_JPEG, IMAGETYPE_GIF); } + } diff --git a/core/modules/system/src/SystemConfigSubscriber.php b/core/modules/system/src/SystemConfigSubscriber.php index 86ec402..3c0de5f 100644 --- a/core/modules/system/src/SystemConfigSubscriber.php +++ b/core/modules/system/src/SystemConfigSubscriber.php @@ -88,4 +88,5 @@ class SystemConfigSubscriber implements EventSubscriberInterface { $events[ConfigEvents::IMPORT_VALIDATE][] = array('onConfigImporterValidateSiteUUID', 256); return $events; } + } diff --git a/core/modules/system/src/Tests/Ajax/AjaxInGroupTest.php b/core/modules/system/src/Tests/Ajax/AjaxInGroupTest.php index 3016edb..4ca7390 100644 --- a/core/modules/system/src/Tests/Ajax/AjaxInGroupTest.php +++ b/core/modules/system/src/Tests/Ajax/AjaxInGroupTest.php @@ -28,4 +28,5 @@ class AjaxInGroupTest extends AjaxTestBase { $this->assertText('AJAX checkbox in a nested group'); $this->assertText('Another AJAX checkbox in a nested group'); } + } diff --git a/core/modules/system/src/Tests/Ajax/AjaxTestBase.php b/core/modules/system/src/Tests/Ajax/AjaxTestBase.php index 03ade3f..e4db3bd 100644 --- a/core/modules/system/src/Tests/Ajax/AjaxTestBase.php +++ b/core/modules/system/src/Tests/Ajax/AjaxTestBase.php @@ -59,4 +59,5 @@ abstract class AjaxTestBase extends WebTestBase { } $this->assertTrue($found, $message); } + } diff --git a/core/modules/system/src/Tests/Ajax/ElementValidationTest.php b/core/modules/system/src/Tests/Ajax/ElementValidationTest.php index 12b1aae..5133ce3 100644 --- a/core/modules/system/src/Tests/Ajax/ElementValidationTest.php +++ b/core/modules/system/src/Tests/Ajax/ElementValidationTest.php @@ -34,4 +34,5 @@ class ElementValidationTest extends AjaxTestBase { $this->assertNoText(t('Error message'), 'No error message in resultant JSON'); $this->assertText('ajax_forms_test_validation_number_form_callback invoked', 'The correct callback was invoked'); } + } diff --git a/core/modules/system/src/Tests/Ajax/FormValuesTest.php b/core/modules/system/src/Tests/Ajax/FormValuesTest.php index 3c592ee..0a23db1 100644 --- a/core/modules/system/src/Tests/Ajax/FormValuesTest.php +++ b/core/modules/system/src/Tests/Ajax/FormValuesTest.php @@ -60,4 +60,5 @@ class FormValuesTest extends AjaxTestBase { // Not using File API; a potential error must trigger a PHP warning. unlink(\Drupal::root() . '/' . $this->siteDirectory . '/error.log'); } + } diff --git a/core/modules/system/src/Tests/Ajax/FrameworkTest.php b/core/modules/system/src/Tests/Ajax/FrameworkTest.php index 9441a01..fb59bcc 100644 --- a/core/modules/system/src/Tests/Ajax/FrameworkTest.php +++ b/core/modules/system/src/Tests/Ajax/FrameworkTest.php @@ -211,4 +211,5 @@ class FrameworkTest extends AjaxTestBase { // cache control. $this->assertNoText('js.module.css?', 'Ajax lazy loading does not add overridden CSS files.'); } + } diff --git a/core/modules/system/src/Tests/Ajax/MultiFormTest.php b/core/modules/system/src/Tests/Ajax/MultiFormTest.php index 3a8ef1f..e07204c 100644 --- a/core/modules/system/src/Tests/Ajax/MultiFormTest.php +++ b/core/modules/system/src/Tests/Ajax/MultiFormTest.php @@ -94,4 +94,5 @@ class MultiFormTest extends AjaxTestBase { } } } + } diff --git a/core/modules/system/src/Tests/Batch/ProcessingTest.php b/core/modules/system/src/Tests/Batch/ProcessingTest.php index c85890d..66c0fc6 100644 --- a/core/modules/system/src/Tests/Batch/ProcessingTest.php +++ b/core/modules/system/src/Tests/Batch/ProcessingTest.php @@ -292,4 +292,5 @@ class ProcessingTest extends WebTestBase { } return $messages; } + } diff --git a/core/modules/system/src/Tests/Bootstrap/GetFilenameUnitTest.php b/core/modules/system/src/Tests/Bootstrap/GetFilenameUnitTest.php index 9d5ef09..50bbc6b 100644 --- a/core/modules/system/src/Tests/Bootstrap/GetFilenameUnitTest.php +++ b/core/modules/system/src/Tests/Bootstrap/GetFilenameUnitTest.php @@ -57,4 +57,5 @@ class GetFilenameUnitTest extends KernelTestBase { // Restore the original error handler. restore_error_handler(); } + } diff --git a/core/modules/system/src/Tests/Bootstrap/ResettableStaticUnitTest.php b/core/modules/system/src/Tests/Bootstrap/ResettableStaticUnitTest.php index 1e7b6dd..b15c877 100644 --- a/core/modules/system/src/Tests/Bootstrap/ResettableStaticUnitTest.php +++ b/core/modules/system/src/Tests/Bootstrap/ResettableStaticUnitTest.php @@ -37,4 +37,5 @@ class ResettableStaticUnitTest extends KernelTestBase { drupal_static_reset(); $this->assertEqual($var, 'foo', 'Variable was reset after second invocation of global reset.'); } + } diff --git a/core/modules/system/src/Tests/Cache/CacheTestBase.php b/core/modules/system/src/Tests/Cache/CacheTestBase.php index c527991..efca9fd 100644 --- a/core/modules/system/src/Tests/Cache/CacheTestBase.php +++ b/core/modules/system/src/Tests/Cache/CacheTestBase.php @@ -82,4 +82,5 @@ abstract class CacheTestBase extends WebTestBase { $cached = \Drupal::cache($bin)->get($cid); $this->assertFalse($cached, $message); } + } diff --git a/core/modules/system/src/Tests/Cache/ClearTest.php b/core/modules/system/src/Tests/Cache/ClearTest.php index 2b1c691..3a3fe90 100644 --- a/core/modules/system/src/Tests/Cache/ClearTest.php +++ b/core/modules/system/src/Tests/Cache/ClearTest.php @@ -38,4 +38,5 @@ class ClearTest extends CacheTestBase { $this->assertFalse($this->checkCacheExists($cid, $this->defaultValue, $bin), format_string('All cache entries removed from @bin.', array('@bin' => $bin))); } } + } diff --git a/core/modules/system/src/Tests/Cache/MemoryBackendUnitTest.php b/core/modules/system/src/Tests/Cache/MemoryBackendUnitTest.php index 0fbb183..6a37b81 100644 --- a/core/modules/system/src/Tests/Cache/MemoryBackendUnitTest.php +++ b/core/modules/system/src/Tests/Cache/MemoryBackendUnitTest.php @@ -22,4 +22,5 @@ class MemoryBackendUnitTest extends GenericCacheBackendUnitTestBase { \Drupal::service('cache_tags.invalidator')->addInvalidator($backend); return $backend; } + } diff --git a/core/modules/system/src/Tests/Common/AddFeedTest.php b/core/modules/system/src/Tests/Common/AddFeedTest.php index a4176fe..b539281 100644 --- a/core/modules/system/src/Tests/Common/AddFeedTest.php +++ b/core/modules/system/src/Tests/Common/AddFeedTest.php @@ -91,4 +91,5 @@ class AddFeedTest extends WebTestBase { $text = \Drupal::service('renderer')->renderRoot($variables); $this->assertEqual(trim(strip_tags($text)), 'Subscribe to <>&"'', 'feed_icon template escapes reserved HTML characters.'); } + } diff --git a/core/modules/system/src/Tests/Common/AlterTest.php b/core/modules/system/src/Tests/Common/AlterTest.php index 33eb1f8..86bed7d 100644 --- a/core/modules/system/src/Tests/Common/AlterTest.php +++ b/core/modules/system/src/Tests/Common/AlterTest.php @@ -68,4 +68,5 @@ class AlterTest extends WebTestBase { \Drupal::theme()->alter(array('drupal_alter', 'drupal_alter_foo'), $array_copy); $this->assertEqual($array_copy, $array_expected, 'hook_TYPE_alter() implementations ran in correct order.'); } + } diff --git a/core/modules/system/src/Tests/Common/FormatDateTest.php b/core/modules/system/src/Tests/Common/FormatDateTest.php index 59b9619..36589ef 100644 --- a/core/modules/system/src/Tests/Common/FormatDateTest.php +++ b/core/modules/system/src/Tests/Common/FormatDateTest.php @@ -118,4 +118,5 @@ class FormatDateTest extends WebTestBase { $this->assertIdentical($formatter->format($timestamp, 'custom', '\<\s\c\r\i\p\t\>\a\l\e\r\t\(\'Y\'\)\;\<\/\s\c\r\i\p\t\>'), "<script>alert('2007');</script>", 'Script tags not removed from dates.'); $this->assertIdentical($formatter->format($timestamp, 'custom', '\<\e\m\>Y\<\/\e\m\>'), '<em>2007</em>', 'Em tags are not removed from dates.'); } + } diff --git a/core/modules/system/src/Tests/Common/SimpleTestErrorCollectorTest.php b/core/modules/system/src/Tests/Common/SimpleTestErrorCollectorTest.php index e36ed7e..1be7e94 100644 --- a/core/modules/system/src/Tests/Common/SimpleTestErrorCollectorTest.php +++ b/core/modules/system/src/Tests/Common/SimpleTestErrorCollectorTest.php @@ -90,4 +90,5 @@ class SimpleTestErrorCollectorTest extends WebTestBase { $this->assertEqual($error['message'], $message, format_string("Message was %message", array('%message' => $message))); } } + } diff --git a/core/modules/system/src/Tests/Common/SizeUnitTest.php b/core/modules/system/src/Tests/Common/SizeUnitTest.php index 4fd5c17..39c06bb 100644 --- a/core/modules/system/src/Tests/Common/SizeUnitTest.php +++ b/core/modules/system/src/Tests/Common/SizeUnitTest.php @@ -65,4 +65,5 @@ class SizeUnitTest extends KernelTestBase { ); } } + } diff --git a/core/modules/system/src/Tests/Common/SystemListingTest.php b/core/modules/system/src/Tests/Common/SystemListingTest.php index a9bf480..e2d5c6f 100644 --- a/core/modules/system/src/Tests/Common/SystemListingTest.php +++ b/core/modules/system/src/Tests/Common/SystemListingTest.php @@ -50,4 +50,5 @@ class SystemListingTest extends KernelTestBase { ))); } } + } diff --git a/core/modules/system/src/Tests/Common/TableSortExtenderUnitTest.php b/core/modules/system/src/Tests/Common/TableSortExtenderUnitTest.php index 9760868..9b456a9 100644 --- a/core/modules/system/src/Tests/Common/TableSortExtenderUnitTest.php +++ b/core/modules/system/src/Tests/Common/TableSortExtenderUnitTest.php @@ -137,4 +137,5 @@ class TableSortExtenderUnitTest extends KernelTestBase { $this->verbose(strtr('$ts: <pre>!ts</pre>', array('!ts' => Html::escape(var_export($ts, TRUE))))); $this->assertEqual($ts, $expected_ts, 'Complex table headers plus $_GET parameters sorted correctly.'); } + } diff --git a/core/modules/system/src/Tests/Common/UrlTest.php b/core/modules/system/src/Tests/Common/UrlTest.php index f7bfd94..062e3e4 100644 --- a/core/modules/system/src/Tests/Common/UrlTest.php +++ b/core/modules/system/src/Tests/Common/UrlTest.php @@ -316,4 +316,5 @@ class UrlTest extends WebTestBase { $result = Url::fromUri($url, array('query' => $query))->toString(); $this->assertEqual($url . '&' . http_build_query($query, '', '&'), $result); } + } diff --git a/core/modules/system/src/Tests/Common/XssUnitTest.php b/core/modules/system/src/Tests/Common/XssUnitTest.php index eef42b7..1797737 100644 --- a/core/modules/system/src/Tests/Common/XssUnitTest.php +++ b/core/modules/system/src/Tests/Common/XssUnitTest.php @@ -53,4 +53,5 @@ class XssUnitTest extends KernelTestBase { $this->assertIdentical(UrlHelper::stripDangerousProtocols($url), $expected_plain, '\Drupal\Component\Utility\UrlHelper::stripDangerousProtocols() filters a URL and returns plain text.'); } + } diff --git a/core/modules/system/src/Tests/Database/DatabaseWebTestBase.php b/core/modules/system/src/Tests/Database/DatabaseWebTestBase.php index 4e6e3ec..d484d68 100644 --- a/core/modules/system/src/Tests/Database/DatabaseWebTestBase.php +++ b/core/modules/system/src/Tests/Database/DatabaseWebTestBase.php @@ -22,4 +22,5 @@ abstract class DatabaseWebTestBase extends WebTestBase { DatabaseTestBase::addSampleData(); } + } diff --git a/core/modules/system/src/Tests/Database/SelectPagerDefaultTest.php b/core/modules/system/src/Tests/Database/SelectPagerDefaultTest.php index eeb7572..cdfeab8 100644 --- a/core/modules/system/src/Tests/Database/SelectPagerDefaultTest.php +++ b/core/modules/system/src/Tests/Database/SelectPagerDefaultTest.php @@ -164,4 +164,5 @@ class SelectPagerDefaultTest extends DatabaseWebTestBase { $this->assertEqual($name, 'John', 'Pager query #3 with a generated element ID returned the correct results.'); } + } diff --git a/core/modules/system/src/Tests/Database/TemporaryQueryTest.php b/core/modules/system/src/Tests/Database/TemporaryQueryTest.php index 5b30e54..1bfa754 100644 --- a/core/modules/system/src/Tests/Database/TemporaryQueryTest.php +++ b/core/modules/system/src/Tests/Database/TemporaryQueryTest.php @@ -53,4 +53,5 @@ class TemporaryQueryTest extends DatabaseWebTestBase { $table_name_test = db_query_temporary($sql, array()); $this->assertEqual($this->countTableRows($table_name_test), $this->countTableRows('test'), 'Leading white space and comments do not interfere with temporary table creation.'); } + } diff --git a/core/modules/system/src/Tests/DrupalKernel/ServiceDestructionTest.php b/core/modules/system/src/Tests/DrupalKernel/ServiceDestructionTest.php index db3808a..cc1a381 100644 --- a/core/modules/system/src/Tests/DrupalKernel/ServiceDestructionTest.php +++ b/core/modules/system/src/Tests/DrupalKernel/ServiceDestructionTest.php @@ -54,4 +54,5 @@ class ServiceDestructionTest extends KernelTestBase { $kernel->terminate($request, $response); $this->assertNull(\Drupal::state()->get('service_provider_test.destructed')); } + } diff --git a/core/modules/system/src/Tests/Entity/EntityRevisionsTest.php b/core/modules/system/src/Tests/Entity/EntityRevisionsTest.php index f7420b4..bee4ec2 100644 --- a/core/modules/system/src/Tests/Entity/EntityRevisionsTest.php +++ b/core/modules/system/src/Tests/Entity/EntityRevisionsTest.php @@ -112,4 +112,5 @@ class EntityRevisionsTest extends WebTestBase { $this->assertFieldById('edit-name-0-value', $entity->name->value, format_string('%entity_type: Name matches in UI.', array('%entity_type' => $entity_type))); $this->assertFieldById('edit-field-test-text-0-value', $entity->field_test_text->value, format_string('%entity_type: Text matches in UI.', array('%entity_type' => $entity_type))); } + } diff --git a/core/modules/system/src/Tests/Entity/EntityTranslationFormTest.php b/core/modules/system/src/Tests/Entity/EntityTranslationFormTest.php index 1512874..101569c 100644 --- a/core/modules/system/src/Tests/Entity/EntityTranslationFormTest.php +++ b/core/modules/system/src/Tests/Entity/EntityTranslationFormTest.php @@ -110,4 +110,5 @@ class EntityTranslationFormTest extends WebTestBase { $form_langcode = \Drupal::state()->get('entity_test.form_langcode'); $this->assertTrue($langcode2 == $form_langcode, "Node edit form language is $langcode2."); } + } diff --git a/core/modules/system/src/Tests/File/DirectoryTest.php b/core/modules/system/src/Tests/File/DirectoryTest.php index 61256fa..5e9e44a 100644 --- a/core/modules/system/src/Tests/File/DirectoryTest.php +++ b/core/modules/system/src/Tests/File/DirectoryTest.php @@ -159,4 +159,5 @@ class DirectoryTest extends FileTestBase { $this->assertEqual(empty($tmp_directory), FALSE, 'file_directory_temp() returned a non-empty value.'); $this->assertEqual($config->get('path.temporary'), $tmp_directory); } + } diff --git a/core/modules/system/src/Tests/File/FileTestBase.php b/core/modules/system/src/Tests/File/FileTestBase.php index c3d6ba2..219ff6c 100644 --- a/core/modules/system/src/Tests/File/FileTestBase.php +++ b/core/modules/system/src/Tests/File/FileTestBase.php @@ -164,4 +164,5 @@ abstract class FileTestBase extends KernelTestBase { $this->assertTrue(is_file($filepath), t('The test file exists on the disk.'), 'Create test file'); return $filepath; } + } diff --git a/core/modules/system/src/Tests/File/MimeTypeTest.php b/core/modules/system/src/Tests/File/MimeTypeTest.php index b96b1bf..8120c0a 100644 --- a/core/modules/system/src/Tests/File/MimeTypeTest.php +++ b/core/modules/system/src/Tests/File/MimeTypeTest.php @@ -86,4 +86,5 @@ class MimeTypeTest extends FileTestBase { $this->assertIdentical($output, $expected, format_string('Mimetype (using passed-in mappings) for %input is %output (expected: %expected).', array('%input' => $input, '%output' => $output, '%expected' => $expected))); } } + } diff --git a/core/modules/system/src/Tests/File/NameMungingTest.php b/core/modules/system/src/Tests/File/NameMungingTest.php index f4d7ce8..52163fc 100644 --- a/core/modules/system/src/Tests/File/NameMungingTest.php +++ b/core/modules/system/src/Tests/File/NameMungingTest.php @@ -83,4 +83,5 @@ class NameMungingTest extends FileTestBase { $unmunged_name = file_unmunge_filename($munged_name); $this->assertIdentical($unmunged_name, $this->name, format_string('The unmunged (%unmunged) filename matches the original (%original)', array('%unmunged' => $unmunged_name, '%original' => $this->name))); } + } diff --git a/core/modules/system/src/Tests/File/ReadOnlyStreamWrapperTest.php b/core/modules/system/src/Tests/File/ReadOnlyStreamWrapperTest.php index 838d458..d1128c4 100644 --- a/core/modules/system/src/Tests/File/ReadOnlyStreamWrapperTest.php +++ b/core/modules/system/src/Tests/File/ReadOnlyStreamWrapperTest.php @@ -85,4 +85,5 @@ class ReadOnlyStreamWrapperTest extends FileTestBase { // Remove the temporary directory. drupal_rmdir($dir); } + } diff --git a/core/modules/system/src/Tests/File/RemoteFileDirectoryTest.php b/core/modules/system/src/Tests/File/RemoteFileDirectoryTest.php index 180af4d..7c286fe 100644 --- a/core/modules/system/src/Tests/File/RemoteFileDirectoryTest.php +++ b/core/modules/system/src/Tests/File/RemoteFileDirectoryTest.php @@ -34,4 +34,5 @@ class RemoteFileDirectoryTest extends DirectoryTest { parent::setUp(); $this->config('system.file')->set('default_scheme', 'dummy-remote')->save(); } + } diff --git a/core/modules/system/src/Tests/File/RemoteFileScanDirectoryTest.php b/core/modules/system/src/Tests/File/RemoteFileScanDirectoryTest.php index 6913ff3..8b30aba 100644 --- a/core/modules/system/src/Tests/File/RemoteFileScanDirectoryTest.php +++ b/core/modules/system/src/Tests/File/RemoteFileScanDirectoryTest.php @@ -34,4 +34,5 @@ class RemoteFileScanDirectoryTest extends ScanDirectoryTest { parent::setUp(); $this->config('system.file')->set('default_scheme', 'dummy-remote')->save(); } + } diff --git a/core/modules/system/src/Tests/File/RemoteFileUnmanagedCopyTest.php b/core/modules/system/src/Tests/File/RemoteFileUnmanagedCopyTest.php index d672452..9c6c0d6 100644 --- a/core/modules/system/src/Tests/File/RemoteFileUnmanagedCopyTest.php +++ b/core/modules/system/src/Tests/File/RemoteFileUnmanagedCopyTest.php @@ -34,4 +34,5 @@ class RemoteFileUnmanagedCopyTest extends UnmanagedCopyTest { parent::setUp(); $this->config('system.file')->set('default_scheme', 'dummy-remote')->save(); } + } diff --git a/core/modules/system/src/Tests/File/RemoteFileUnmanagedDeleteRecursiveTest.php b/core/modules/system/src/Tests/File/RemoteFileUnmanagedDeleteRecursiveTest.php index 37a4279..7c47526 100644 --- a/core/modules/system/src/Tests/File/RemoteFileUnmanagedDeleteRecursiveTest.php +++ b/core/modules/system/src/Tests/File/RemoteFileUnmanagedDeleteRecursiveTest.php @@ -34,4 +34,5 @@ class RemoteFileUnmanagedDeleteRecursiveTest extends UnmanagedDeleteRecursiveTes parent::setUp(); $this->config('system.file')->set('default_scheme', 'dummy-remote')->save(); } + } diff --git a/core/modules/system/src/Tests/File/RemoteFileUnmanagedDeleteTest.php b/core/modules/system/src/Tests/File/RemoteFileUnmanagedDeleteTest.php index 8f39ef3..d628bee 100644 --- a/core/modules/system/src/Tests/File/RemoteFileUnmanagedDeleteTest.php +++ b/core/modules/system/src/Tests/File/RemoteFileUnmanagedDeleteTest.php @@ -34,4 +34,5 @@ class RemoteFileUnmanagedDeleteTest extends UnmanagedDeleteTest { parent::setUp(); $this->config('system.file')->set('default_scheme', 'dummy-remote')->save(); } + } diff --git a/core/modules/system/src/Tests/File/RemoteFileUnmanagedMoveTest.php b/core/modules/system/src/Tests/File/RemoteFileUnmanagedMoveTest.php index 9350118..ee3ef7f 100644 --- a/core/modules/system/src/Tests/File/RemoteFileUnmanagedMoveTest.php +++ b/core/modules/system/src/Tests/File/RemoteFileUnmanagedMoveTest.php @@ -34,4 +34,5 @@ class RemoteFileUnmanagedMoveTest extends UnmanagedMoveTest { parent::setUp(); $this->config('system.file')->set('default_scheme', 'dummy-remote')->save(); } + } diff --git a/core/modules/system/src/Tests/File/RemoteFileUnmanagedSaveDataTest.php b/core/modules/system/src/Tests/File/RemoteFileUnmanagedSaveDataTest.php index c9f20ee..2af252a 100644 --- a/core/modules/system/src/Tests/File/RemoteFileUnmanagedSaveDataTest.php +++ b/core/modules/system/src/Tests/File/RemoteFileUnmanagedSaveDataTest.php @@ -34,4 +34,5 @@ class RemoteFileUnmanagedSaveDataTest extends UnmanagedSaveDataTest { parent::setUp(); $this->config('system.file')->set('default_scheme', 'dummy-remote')->save(); } + } diff --git a/core/modules/system/src/Tests/File/ScanDirectoryTest.php b/core/modules/system/src/Tests/File/ScanDirectoryTest.php index 99913fc..d372671 100644 --- a/core/modules/system/src/Tests/File/ScanDirectoryTest.php +++ b/core/modules/system/src/Tests/File/ScanDirectoryTest.php @@ -141,4 +141,5 @@ class ScanDirectoryTest extends FileTestBase { $files = file_scan_directory($this->path, '/^javascript-/', array('min_depth' => 1)); $this->assertTrue(empty($files), 'Minimum-depth of 1 successfully excludes files from current directory.'); } + } diff --git a/core/modules/system/src/Tests/File/StreamWrapperTest.php b/core/modules/system/src/Tests/File/StreamWrapperTest.php index 2d83627..9524388 100644 --- a/core/modules/system/src/Tests/File/StreamWrapperTest.php +++ b/core/modules/system/src/Tests/File/StreamWrapperTest.php @@ -145,4 +145,5 @@ class StreamWrapperTest extends FileTestBase { $this->assertTrue(file_stream_wrapper_valid_scheme(file_uri_scheme('public://asdf')), 'Got a valid stream scheme from public://asdf'); $this->assertFalse(file_stream_wrapper_valid_scheme(file_uri_scheme('foo://asdf')), 'Did not get a valid stream scheme from foo://asdf'); } + } diff --git a/core/modules/system/src/Tests/File/UnmanagedCopyTest.php b/core/modules/system/src/Tests/File/UnmanagedCopyTest.php index 4e7b97f..97a8b4c 100644 --- a/core/modules/system/src/Tests/File/UnmanagedCopyTest.php +++ b/core/modules/system/src/Tests/File/UnmanagedCopyTest.php @@ -85,4 +85,5 @@ class UnmanagedCopyTest extends FileTestBase { $this->assertTrue(file_exists($new_filepath), 'Copied file exists after copying onto itself.'); $this->assertFilePermissions($new_filepath, Settings::get('file_chmod_file', FileSystem::CHMOD_FILE)); } + } diff --git a/core/modules/system/src/Tests/File/UnmanagedDeleteRecursiveTest.php b/core/modules/system/src/Tests/File/UnmanagedDeleteRecursiveTest.php index 5808eb8..b8c33e0 100644 --- a/core/modules/system/src/Tests/File/UnmanagedDeleteRecursiveTest.php +++ b/core/modules/system/src/Tests/File/UnmanagedDeleteRecursiveTest.php @@ -70,4 +70,5 @@ class UnmanagedDeleteRecursiveTest extends FileTestBase { $this->assertFalse(file_exists($subdirectory), 'Subdirectory has been deleted.'); $this->assertFalse(file_exists($directory), 'Directory has been deleted.'); } + } diff --git a/core/modules/system/src/Tests/File/UnmanagedDeleteTest.php b/core/modules/system/src/Tests/File/UnmanagedDeleteTest.php index b193123..d93e213 100644 --- a/core/modules/system/src/Tests/File/UnmanagedDeleteTest.php +++ b/core/modules/system/src/Tests/File/UnmanagedDeleteTest.php @@ -39,4 +39,5 @@ class UnmanagedDeleteTest extends FileTestBase { $this->assertFalse(file_unmanaged_delete($directory), 'Could not delete the delete directory.'); $this->assertTrue(file_exists($directory), 'Directory has not been deleted.'); } + } diff --git a/core/modules/system/src/Tests/File/UnmanagedMoveTest.php b/core/modules/system/src/Tests/File/UnmanagedMoveTest.php index 1cf41f9..562ab5f 100644 --- a/core/modules/system/src/Tests/File/UnmanagedMoveTest.php +++ b/core/modules/system/src/Tests/File/UnmanagedMoveTest.php @@ -69,4 +69,5 @@ class UnmanagedMoveTest extends FileTestBase { $this->assertFalse(file_exists($uri), 'Original file has been removed.'); $this->assertTrue(file_exists($new_filepath), 'File exists after moving onto itself.'); } + } diff --git a/core/modules/system/src/Tests/File/UnmanagedSaveDataTest.php b/core/modules/system/src/Tests/File/UnmanagedSaveDataTest.php index 3bc4f1b..7b869f8 100644 --- a/core/modules/system/src/Tests/File/UnmanagedSaveDataTest.php +++ b/core/modules/system/src/Tests/File/UnmanagedSaveDataTest.php @@ -28,4 +28,5 @@ class UnmanagedSaveDataTest extends FileTestBase { $this->assertEqual($contents, file_get_contents($filepath), 'Contents of the file are correct.'); $this->assertFilePermissions($filepath, 0777); } + } diff --git a/core/modules/system/src/Tests/FileTransfer/FileTransferTest.php b/core/modules/system/src/Tests/FileTransfer/FileTransferTest.php index c8e3820..e8a6789 100644 --- a/core/modules/system/src/Tests/FileTransfer/FileTransferTest.php +++ b/core/modules/system/src/Tests/FileTransfer/FileTransferTest.php @@ -89,4 +89,5 @@ class FileTransferTest extends WebTestBase { } $this->assertTrue($gotit, 'Was able to copy a directory inside of the jailed area'); } + } diff --git a/core/modules/system/src/Tests/FileTransfer/MockTestConnection.php b/core/modules/system/src/Tests/FileTransfer/MockTestConnection.php index 10ccc14..7e63dc7 100644 --- a/core/modules/system/src/Tests/FileTransfer/MockTestConnection.php +++ b/core/modules/system/src/Tests/FileTransfer/MockTestConnection.php @@ -19,4 +19,5 @@ class MockTestConnection { $this->commandsRun = array(); return $out; } + } diff --git a/core/modules/system/src/Tests/FileTransfer/TestFileTransfer.php b/core/modules/system/src/Tests/FileTransfer/TestFileTransfer.php index 40c2b8c..eb73ebc 100644 --- a/core/modules/system/src/Tests/FileTransfer/TestFileTransfer.php +++ b/core/modules/system/src/Tests/FileTransfer/TestFileTransfer.php @@ -61,4 +61,5 @@ class TestFileTransfer extends FileTransfer { function chmodJailed($path, $mode, $recursive) { return; } + } diff --git a/core/modules/system/src/Tests/Form/AlterTest.php b/core/modules/system/src/Tests/Form/AlterTest.php index b6e44bc..ae30722 100644 --- a/core/modules/system/src/Tests/Form/AlterTest.php +++ b/core/modules/system/src/Tests/Form/AlterTest.php @@ -35,4 +35,5 @@ class AlterTest extends WebTestBase { $content = preg_replace('/\s+/', ' ', Xss::filter($this->content, array())); $this->assert(strpos($content, implode(' ', $expected)) !== FALSE, 'Form alter hooks executed in the expected order.'); } + } diff --git a/core/modules/system/src/Tests/Form/ArbitraryRebuildTest.php b/core/modules/system/src/Tests/Form/ArbitraryRebuildTest.php index 2f22fa7..3702d35 100644 --- a/core/modules/system/src/Tests/Form/ArbitraryRebuildTest.php +++ b/core/modules/system/src/Tests/Form/ArbitraryRebuildTest.php @@ -72,4 +72,5 @@ class ArbitraryRebuildTest extends WebTestBase { $this->assertFieldByName('name', 'foo', 'Entered username has been kept.'); $this->assertFieldByName('mail', 'bar@example.com', 'Entered mail address has been kept.'); } + } diff --git a/core/modules/system/src/Tests/Form/CheckboxTest.php b/core/modules/system/src/Tests/Form/CheckboxTest.php index 6e48865..6e3e23a 100644 --- a/core/modules/system/src/Tests/Form/CheckboxTest.php +++ b/core/modules/system/src/Tests/Form/CheckboxTest.php @@ -81,4 +81,5 @@ class CheckboxTest extends WebTestBase { $this->assertIdentical($checked, $name == 'checkbox_off[0]' || $name == 'checkbox_zero_default[0]' || $name == 'checkbox_string_zero_default[0]', format_string('Checkbox %name correctly checked', array('%name' => $name))); } } + } diff --git a/core/modules/system/src/Tests/Form/ElementsLabelsTest.php b/core/modules/system/src/Tests/Form/ElementsLabelsTest.php index 93aeba2..5965dc25 100644 --- a/core/modules/system/src/Tests/Form/ElementsLabelsTest.php +++ b/core/modules/system/src/Tests/Form/ElementsLabelsTest.php @@ -146,4 +146,5 @@ class ElementsLabelsTest extends WebTestBase { return $form; } + } diff --git a/core/modules/system/src/Tests/Form/ElementsTableSelectTest.php b/core/modules/system/src/Tests/Form/ElementsTableSelectTest.php index b964e9d..34a558c 100644 --- a/core/modules/system/src/Tests/Form/ElementsTableSelectTest.php +++ b/core/modules/system/src/Tests/Form/ElementsTableSelectTest.php @@ -254,4 +254,5 @@ class ElementsTableSelectTest extends WebTestBase { // to allow the caller lowlevel access to the form. return array($form, $form_state, $errors); } + } diff --git a/core/modules/system/src/Tests/Form/ElementsVerticalTabsTest.php b/core/modules/system/src/Tests/Form/ElementsVerticalTabsTest.php index 5bd1a9f..3de1867 100644 --- a/core/modules/system/src/Tests/Form/ElementsVerticalTabsTest.php +++ b/core/modules/system/src/Tests/Form/ElementsVerticalTabsTest.php @@ -85,4 +85,5 @@ class ElementsVerticalTabsTest extends WebTestBase { $values = Json::decode($this->drupalPostForm('form_test/form-state-values-clean', [], t('Submit'))); $this->assertFalse(isset($values['vertical_tabs__active_tab']), SafeMarkup::format('%element was removed.', ['%element' => 'vertical_tabs__active_tab'])); } + } diff --git a/core/modules/system/src/Tests/Form/EmailTest.php b/core/modules/system/src/Tests/Form/EmailTest.php index 715279d..e53247f 100644 --- a/core/modules/system/src/Tests/Form/EmailTest.php +++ b/core/modules/system/src/Tests/Form/EmailTest.php @@ -45,4 +45,5 @@ class EmailTest extends WebTestBase { $this->assertEqual($values['email'], 'foo@example.com'); $this->assertEqual($values['email_required'], 'example@drupal.org'); } + } diff --git a/core/modules/system/src/Tests/Form/LanguageSelectElementTest.php b/core/modules/system/src/Tests/Form/LanguageSelectElementTest.php index d231778..7b3d73c 100644 --- a/core/modules/system/src/Tests/Form/LanguageSelectElementTest.php +++ b/core/modules/system/src/Tests/Form/LanguageSelectElementTest.php @@ -113,4 +113,5 @@ class LanguageSelectElementTest extends WebTestBase { } $this->assertEqual($count, count($options), format_string('The number of languages and the number of options shown by the language element are the same: @languages languages, @number options', array('@languages' => count($options), '@number' => $count))); } + } diff --git a/core/modules/system/src/Tests/Form/ProgrammaticTest.php b/core/modules/system/src/Tests/Form/ProgrammaticTest.php index b6b5152..5fbefb5 100644 --- a/core/modules/system/src/Tests/Form/ProgrammaticTest.php +++ b/core/modules/system/src/Tests/Form/ProgrammaticTest.php @@ -115,4 +115,5 @@ class ProgrammaticTest extends WebTestBase { $this->assertNotEqual($values['field_restricted'], 'dummy value', 'The value for the restricted field is not stored.'); } + } diff --git a/core/modules/system/src/Tests/Form/RebuildTest.php b/core/modules/system/src/Tests/Form/RebuildTest.php index 8953718..bee15fe 100644 --- a/core/modules/system/src/Tests/Form/RebuildTest.php +++ b/core/modules/system/src/Tests/Form/RebuildTest.php @@ -115,4 +115,5 @@ class RebuildTest extends WebTestBase { $url = parse_url($forms[0]['action'])['path']; $this->assertEqual(Url::fromRoute('node.add', ['node_type' => 'page'])->toString(), $url); } + } diff --git a/core/modules/system/src/Tests/Form/RedirectTest.php b/core/modules/system/src/Tests/Form/RedirectTest.php index 8932008..6b6d360 100644 --- a/core/modules/system/src/Tests/Form/RedirectTest.php +++ b/core/modules/system/src/Tests/Form/RedirectTest.php @@ -102,4 +102,5 @@ class RedirectTest extends WebTestBase { $this->assertResponse(200); $this->assertUrl($expected, [], 'Redirected to correct URL/query.'); } + } diff --git a/core/modules/system/src/Tests/Form/StateValuesCleanAdvancedTest.php b/core/modules/system/src/Tests/Form/StateValuesCleanAdvancedTest.php index 27cacf3..eb53244 100644 --- a/core/modules/system/src/Tests/Form/StateValuesCleanAdvancedTest.php +++ b/core/modules/system/src/Tests/Form/StateValuesCleanAdvancedTest.php @@ -47,4 +47,5 @@ class StateValuesCleanAdvancedTest extends WebTestBase { $this->assertResponse(200, 'Received a 200 response for posted test file.'); $this->assertRaw(t('You WIN!'), 'Found the success message.'); } + } diff --git a/core/modules/system/src/Tests/Form/StateValuesCleanTest.php b/core/modules/system/src/Tests/Form/StateValuesCleanTest.php index 1211eb7..7761bd8 100644 --- a/core/modules/system/src/Tests/Form/StateValuesCleanTest.php +++ b/core/modules/system/src/Tests/Form/StateValuesCleanTest.php @@ -54,4 +54,5 @@ class StateValuesCleanTest extends WebTestBase { // Verify that actual form values equal resulting form values. $this->assertEqual($values, $result, 'Expected form values equal actual form values.'); } + } diff --git a/core/modules/system/src/Tests/Form/TriggeringElementTest.php b/core/modules/system/src/Tests/Form/TriggeringElementTest.php index 28b625b..5d8a180 100644 --- a/core/modules/system/src/Tests/Form/TriggeringElementTest.php +++ b/core/modules/system/src/Tests/Form/TriggeringElementTest.php @@ -93,4 +93,5 @@ class TriggeringElementTest extends WebTestBase { $this->assertNoText('The clicked button is button1.', '$form_state->getTriggeringElement() not set to a restricted button.'); $this->assertText('The clicked button is button2.', '$form_state->getTriggeringElement() not set to a restricted button.'); } + } diff --git a/core/modules/system/src/Tests/Form/UrlTest.php b/core/modules/system/src/Tests/Form/UrlTest.php index 1347b4a..4bf6f60 100644 --- a/core/modules/system/src/Tests/Form/UrlTest.php +++ b/core/modules/system/src/Tests/Form/UrlTest.php @@ -46,4 +46,5 @@ class UrlTest extends WebTestBase { $this->assertEqual($values['url'], $edit['url']); $this->assertEqual($values['url_required'], $edit['url_required']); } + } diff --git a/core/modules/system/src/Tests/Image/ToolkitSetupFormTest.php b/core/modules/system/src/Tests/Image/ToolkitSetupFormTest.php index 4439eb8..66989de 100644 --- a/core/modules/system/src/Tests/Image/ToolkitSetupFormTest.php +++ b/core/modules/system/src/Tests/Image/ToolkitSetupFormTest.php @@ -70,4 +70,5 @@ class ToolkitSetupFormTest extends WebTestBase { $this->drupalGet('admin/config/media/image-toolkit'); $this->assertResponse(403); } + } diff --git a/core/modules/system/src/Tests/Image/ToolkitTestBase.php b/core/modules/system/src/Tests/Image/ToolkitTestBase.php index 4a3beaa..53ede0d 100644 --- a/core/modules/system/src/Tests/Image/ToolkitTestBase.php +++ b/core/modules/system/src/Tests/Image/ToolkitTestBase.php @@ -150,4 +150,5 @@ abstract class ToolkitTestBase extends WebTestBase { function imageTestGetAllCalls() { return \Drupal::state()->get('image_test.results') ?: array(); } + } diff --git a/core/modules/system/src/Tests/Installer/InstallerLanguageTest.php b/core/modules/system/src/Tests/Installer/InstallerLanguageTest.php index e697991..ca2ea0c 100644 --- a/core/modules/system/src/Tests/Installer/InstallerLanguageTest.php +++ b/core/modules/system/src/Tests/Installer/InstallerLanguageTest.php @@ -55,4 +55,5 @@ class InstallerLanguageTest extends KernelTestBase { $this->assertFalse(in_array('locale', $info_en['dependencies']), 'Locale is not set when installing in English.'); $this->assertTrue(in_array('locale', $info_nl['dependencies']), 'Locale is set when installing in Dutch.'); } + } diff --git a/core/modules/system/src/Tests/Lock/LockUnitTest.php b/core/modules/system/src/Tests/Lock/LockUnitTest.php index 994b98b..fc3b341 100644 --- a/core/modules/system/src/Tests/Lock/LockUnitTest.php +++ b/core/modules/system/src/Tests/Lock/LockUnitTest.php @@ -67,4 +67,5 @@ class LockUnitTest extends KernelTestBase { $is_free = $this->lock->lockMayBeAvailable('lock_b'); $this->assertTrue($is_free, 'Second lock has been released.'); } + } diff --git a/core/modules/system/src/Tests/Mail/HtmlToTextTest.php b/core/modules/system/src/Tests/Mail/HtmlToTextTest.php index 32733d3..f396acd 100644 --- a/core/modules/system/src/Tests/Mail/HtmlToTextTest.php +++ b/core/modules/system/src/Tests/Mail/HtmlToTextTest.php @@ -383,4 +383,5 @@ class HtmlToTextTest extends WebTestBase { $mail_lines = explode("\n", MailFormatHelper::wrapMail($text)); $this->assertEqual("--", $mail_lines[1], 'Trailing whitespace removed for incorrect dash-dash-space signatures.'); } + } diff --git a/core/modules/system/src/Tests/Mail/MailTest.php b/core/modules/system/src/Tests/Mail/MailTest.php index 200585b..70f5a4b 100644 --- a/core/modules/system/src/Tests/Mail/MailTest.php +++ b/core/modules/system/src/Tests/Mail/MailTest.php @@ -98,4 +98,5 @@ class MailTest extends WebTestBase { $this->assertFalse(isset($sent_message['headers']['Reply-to']), 'Message reply-to is not set if not specified.'); $this->assertFalse(isset($sent_message['headers']['Errors-To']), 'Errors-to header must not be set, it is deprecated.'); } + } diff --git a/core/modules/system/src/Tests/Module/ClassLoaderTest.php b/core/modules/system/src/Tests/Module/ClassLoaderTest.php index 5d654fd..5d1db03 100644 --- a/core/modules/system/src/Tests/Module/ClassLoaderTest.php +++ b/core/modules/system/src/Tests/Module/ClassLoaderTest.php @@ -47,4 +47,5 @@ class ClassLoaderTest extends WebTestBase { $this->assertNoText($this->expected, 'Autoloader does not load classes from a disabled module.'); } } + } diff --git a/core/modules/system/src/Tests/Module/HookRequirementsTest.php b/core/modules/system/src/Tests/Module/HookRequirementsTest.php index a589a8c..ccbbff9 100644 --- a/core/modules/system/src/Tests/Module/HookRequirementsTest.php +++ b/core/modules/system/src/Tests/Module/HookRequirementsTest.php @@ -23,4 +23,5 @@ class HookRequirementsTest extends ModuleTestBase { $this->assertText(t('Requirements 1 Test failed requirements'), 'Modules status has been updated.'); $this->assertModules(array('requirements1_test'), FALSE); } + } diff --git a/core/modules/system/src/Tests/Module/ModuleTestBase.php b/core/modules/system/src/Tests/Module/ModuleTestBase.php index d9194d1..e212617 100644 --- a/core/modules/system/src/Tests/Module/ModuleTestBase.php +++ b/core/modules/system/src/Tests/Module/ModuleTestBase.php @@ -190,4 +190,5 @@ abstract class ModuleTestBase extends WebTestBase { ->fetchField(); $this->assertTrue($count > 0, format_string('watchdog table contains @count rows for @message', array('@count' => $count, '@message' => format_string($message, $variables)))); } + } diff --git a/core/modules/system/src/Tests/Module/RequiredTest.php b/core/modules/system/src/Tests/Module/RequiredTest.php index 0b8f062..004854b 100644 --- a/core/modules/system/src/Tests/Module/RequiredTest.php +++ b/core/modules/system/src/Tests/Module/RequiredTest.php @@ -28,4 +28,5 @@ class RequiredTest extends ModuleTestBase { } } } + } diff --git a/core/modules/system/src/Tests/Module/VersionTest.php b/core/modules/system/src/Tests/Module/VersionTest.php index b1ff44d..031d4ba 100644 --- a/core/modules/system/src/Tests/Module/VersionTest.php +++ b/core/modules/system/src/Tests/Module/VersionTest.php @@ -52,4 +52,5 @@ class VersionTest extends ModuleTestBase { $this->assertEqual(!empty($checkbox[0]['disabled']), $i % 2, $dependencies[$i]); } } + } diff --git a/core/modules/system/src/Tests/Pager/PagerTest.php b/core/modules/system/src/Tests/Pager/PagerTest.php index 7f2f07a..1000b1c 100644 --- a/core/modules/system/src/Tests/Pager/PagerTest.php +++ b/core/modules/system/src/Tests/Pager/PagerTest.php @@ -233,4 +233,5 @@ class PagerTest extends WebTestBase { } $this->assertTrue(strpos($element['class'], $class) === FALSE, $message); } + } diff --git a/core/modules/system/src/Tests/Path/PathUnitTestBase.php b/core/modules/system/src/Tests/Path/PathUnitTestBase.php index b487561..b245b0e 100644 --- a/core/modules/system/src/Tests/Path/PathUnitTestBase.php +++ b/core/modules/system/src/Tests/Path/PathUnitTestBase.php @@ -28,4 +28,5 @@ abstract class PathUnitTestBase extends KernelTestBase { parent::tearDown(); } + } diff --git a/core/modules/system/src/Tests/Path/UrlAliasFixtures.php b/core/modules/system/src/Tests/Path/UrlAliasFixtures.php index 92984ff..a527fc5 100644 --- a/core/modules/system/src/Tests/Path/UrlAliasFixtures.php +++ b/core/modules/system/src/Tests/Path/UrlAliasFixtures.php @@ -93,4 +93,5 @@ class UrlAliasFixtures { return $tables; } + } diff --git a/core/modules/system/src/Tests/Path/UrlAlterFunctionalTest.php b/core/modules/system/src/Tests/Path/UrlAlterFunctionalTest.php index f48ad76..743b74b 100644 --- a/core/modules/system/src/Tests/Path/UrlAlterFunctionalTest.php +++ b/core/modules/system/src/Tests/Path/UrlAlterFunctionalTest.php @@ -109,4 +109,5 @@ class UrlAlterFunctionalTest extends WebTestBase { $result = $this->container->get('path.alias_manager')->getPathByAlias($original); return $this->assertIdentical($result, $final, format_string('Altered inbound URL %original, expected %final, and got %result.', array('%original' => $original, '%final' => $final, '%result' => $result))); } + } diff --git a/core/modules/system/src/Tests/Plugin/Condition/RequestPathTest.php b/core/modules/system/src/Tests/Plugin/Condition/RequestPathTest.php index dbdb3ac..6c37dcf 100644 --- a/core/modules/system/src/Tests/Plugin/Condition/RequestPathTest.php +++ b/core/modules/system/src/Tests/Plugin/Condition/RequestPathTest.php @@ -137,4 +137,5 @@ class RequestPathTest extends KernelTestBase { $this->assertEqual($condition->summary(), 'Return true on the following pages: /my/pass/*', 'The condition summary matches for a wildcard path'); } + } diff --git a/core/modules/system/src/Tests/Plugin/ContextPluginTest.php b/core/modules/system/src/Tests/Plugin/ContextPluginTest.php index 1711041..ca36a3b 100644 --- a/core/modules/system/src/Tests/Plugin/ContextPluginTest.php +++ b/core/modules/system/src/Tests/Plugin/ContextPluginTest.php @@ -102,4 +102,5 @@ class ContextPluginTest extends KernelTestBase { // Test the title method for the complex context plugin. $this->assertEqual($user->label() . ' -- ' . $node->label(), $complex_plugin->getTitle()); } + } diff --git a/core/modules/system/src/Tests/Plugin/DerivativeTest.php b/core/modules/system/src/Tests/Plugin/DerivativeTest.php index 98b3f1e..1ff5e69 100644 --- a/core/modules/system/src/Tests/Plugin/DerivativeTest.php +++ b/core/modules/system/src/Tests/Plugin/DerivativeTest.php @@ -28,4 +28,5 @@ class DerivativeTest extends PluginTestBase { $this->assertIdentical($this->mockBlockManager->getDefinition('menu:non_existing', FALSE), NULL, 'NULL returned as the definition of a non-existing derivative plugin.'); $this->assertIdentical($this->mockBlockManager->getDefinition('menu', FALSE), NULL, 'NULL returned as the definition of a base plugin that may not be used without deriving.'); } + } diff --git a/core/modules/system/src/Tests/Plugin/Discovery/StaticDiscoveryTest.php b/core/modules/system/src/Tests/Plugin/Discovery/StaticDiscoveryTest.php index 869ac18..b68f709 100644 --- a/core/modules/system/src/Tests/Plugin/Discovery/StaticDiscoveryTest.php +++ b/core/modules/system/src/Tests/Plugin/Discovery/StaticDiscoveryTest.php @@ -42,4 +42,5 @@ class StaticDiscoveryTest extends DiscoveryTestBase { } $this->emptyDiscovery = $discovery; } + } diff --git a/core/modules/system/src/Tests/Plugin/FactoryTest.php b/core/modules/system/src/Tests/Plugin/FactoryTest.php index 2660144..1cdaf3a 100644 --- a/core/modules/system/src/Tests/Plugin/FactoryTest.php +++ b/core/modules/system/src/Tests/Plugin/FactoryTest.php @@ -71,4 +71,5 @@ class FactoryTest extends PluginTestBase { } } } + } diff --git a/core/modules/system/src/Tests/Queue/QueueTest.php b/core/modules/system/src/Tests/Queue/QueueTest.php index a62b7d9..2c0513c 100644 --- a/core/modules/system/src/Tests/Queue/QueueTest.php +++ b/core/modules/system/src/Tests/Queue/QueueTest.php @@ -116,4 +116,5 @@ class QueueTest extends KernelTestBase { } return $score; } + } diff --git a/core/modules/system/src/Tests/Render/AjaxPageStateTest.php b/core/modules/system/src/Tests/Render/AjaxPageStateTest.php index 550e229..08cd276 100644 --- a/core/modules/system/src/Tests/Render/AjaxPageStateTest.php +++ b/core/modules/system/src/Tests/Render/AjaxPageStateTest.php @@ -103,4 +103,5 @@ class AjaxPageStateTest extends WebTestBase { 'The drupalSettings library from core should be excluded from loading.' ); } + } diff --git a/core/modules/system/src/Tests/Routing/MockAliasManager.php b/core/modules/system/src/Tests/Routing/MockAliasManager.php index ff48785..7c7920f4 100644 --- a/core/modules/system/src/Tests/Routing/MockAliasManager.php +++ b/core/modules/system/src/Tests/Routing/MockAliasManager.php @@ -91,4 +91,5 @@ class MockAliasManager implements AliasManagerInterface { public function cacheClear($source = NULL) { // Not needed. } + } diff --git a/core/modules/system/src/Tests/Routing/MockMatcher.php b/core/modules/system/src/Tests/Routing/MockMatcher.php index 9e18284..924acd1 100644 --- a/core/modules/system/src/Tests/Routing/MockMatcher.php +++ b/core/modules/system/src/Tests/Routing/MockMatcher.php @@ -32,4 +32,5 @@ class MockMatcher implements RequestMatcherInterface { $matcher = $this->matcher; return $matcher($request); } + } diff --git a/core/modules/system/src/Tests/Routing/RouterPermissionTest.php b/core/modules/system/src/Tests/Routing/RouterPermissionTest.php index ce5de16..2fb0099 100644 --- a/core/modules/system/src/Tests/Routing/RouterPermissionTest.php +++ b/core/modules/system/src/Tests/Routing/RouterPermissionTest.php @@ -36,4 +36,5 @@ class RouterPermissionTest extends WebTestBase { $this->assertNoRaw('Access denied'); $this->assertRaw('test7text', 'The correct string was returned because the route was successful.'); } + } diff --git a/core/modules/system/src/Tests/Session/SessionTest.php b/core/modules/system/src/Tests/Session/SessionTest.php index f9c52ed..139fba5 100644 --- a/core/modules/system/src/Tests/Session/SessionTest.php +++ b/core/modules/system/src/Tests/Session/SessionTest.php @@ -320,4 +320,5 @@ class SessionTest extends WebTestBase { $this->assertIdentical($this->drupalGetHeader('X-Session-Empty'), '0', 'Session was not empty.'); } } + } diff --git a/core/modules/system/src/Tests/System/AdminMetaTagTest.php b/core/modules/system/src/Tests/System/AdminMetaTagTest.php index 75d4514..ea92bd9 100644 --- a/core/modules/system/src/Tests/System/AdminMetaTagTest.php +++ b/core/modules/system/src/Tests/System/AdminMetaTagTest.php @@ -19,4 +19,5 @@ class AdminMetaTagTest extends WebTestBase { $this->drupalGet('node'); $this->assertRaw($string, 'Fingerprinting meta tag generated correctly.', 'System'); } + } diff --git a/core/modules/system/src/Tests/System/AdminTest.php b/core/modules/system/src/Tests/System/AdminTest.php index 7c1d0d1..8921ad0 100644 --- a/core/modules/system/src/Tests/System/AdminTest.php +++ b/core/modules/system/src/Tests/System/AdminTest.php @@ -167,4 +167,5 @@ class AdminTest extends WebTestBase { $this->drupalGet(''); $this->assertTrue($this->cookies['Drupal.visitor.admin_compact_mode']['value'], 'Compact mode persists on new requests.'); } + } diff --git a/core/modules/system/src/Tests/System/CronRunTest.php b/core/modules/system/src/Tests/System/CronRunTest.php index 9cd563d..ec35b72 100644 --- a/core/modules/system/src/Tests/System/CronRunTest.php +++ b/core/modules/system/src/Tests/System/CronRunTest.php @@ -125,4 +125,5 @@ class CronRunTest extends WebTestBase { $this->assertResponse(200); $this->assertText(t('Cron ran successfully.')); } + } diff --git a/core/modules/system/src/Tests/System/DefaultMobileMetaTagsTest.php b/core/modules/system/src/Tests/System/DefaultMobileMetaTagsTest.php index 14aeb3e..98d82d3 100644 --- a/core/modules/system/src/Tests/System/DefaultMobileMetaTagsTest.php +++ b/core/modules/system/src/Tests/System/DefaultMobileMetaTagsTest.php @@ -45,4 +45,5 @@ class DefaultMobileMetaTagsTest extends WebTestBase { $this->assertNoRaw($metatag, SafeMarkup::format('Default Mobile meta tag "@name" removed properly.', array('@name' => $name)), 'System'); } } + } diff --git a/core/modules/system/src/Tests/System/FrontPageTest.php b/core/modules/system/src/Tests/System/FrontPageTest.php index 39295f8..03666fd 100644 --- a/core/modules/system/src/Tests/System/FrontPageTest.php +++ b/core/modules/system/src/Tests/System/FrontPageTest.php @@ -84,4 +84,5 @@ class FrontPageTest extends WebTestBase { $this->drupalGet($this->nodePath); $this->assertText(t('On front page.'), 'Path is the front page.'); } + } diff --git a/core/modules/system/src/Tests/System/IgnoreReplicaSubscriberTest.php b/core/modules/system/src/Tests/System/IgnoreReplicaSubscriberTest.php index dc3f5c9..8b35bdf 100644 --- a/core/modules/system/src/Tests/System/IgnoreReplicaSubscriberTest.php +++ b/core/modules/system/src/Tests/System/IgnoreReplicaSubscriberTest.php @@ -39,4 +39,5 @@ class IgnoreReplicaSubscriberTest extends KernelTestBase { $this->assertIdentical($db1, $db2, 'System Init ignores secondaries when requested.'); } + } diff --git a/core/modules/system/src/Tests/System/IndexPhpTest.php b/core/modules/system/src/Tests/System/IndexPhpTest.php index 55c6253..72811a8 100644 --- a/core/modules/system/src/Tests/System/IndexPhpTest.php +++ b/core/modules/system/src/Tests/System/IndexPhpTest.php @@ -26,4 +26,5 @@ class IndexPhpTest extends WebTestBase { $this->drupalGet($index_php . '/user', array('external' => TRUE)); $this->assertResponse(200, 'Make sure index.php/user returns a valid page.'); } + } diff --git a/core/modules/system/src/Tests/System/InfoAlterTest.php b/core/modules/system/src/Tests/System/InfoAlterTest.php index c104a00..b09893b 100644 --- a/core/modules/system/src/Tests/System/InfoAlterTest.php +++ b/core/modules/system/src/Tests/System/InfoAlterTest.php @@ -32,4 +32,5 @@ class InfoAlterTest extends KernelTestBase { $info = system_rebuild_module_data(); $this->assertTrue($info['node']->info['required'], 'After the module_required_test is installed the node module is required.'); } + } diff --git a/core/modules/system/src/Tests/System/MainContentFallbackTest.php b/core/modules/system/src/Tests/System/MainContentFallbackTest.php index cc3b20a..551e4c7 100644 --- a/core/modules/system/src/Tests/System/MainContentFallbackTest.php +++ b/core/modules/system/src/Tests/System/MainContentFallbackTest.php @@ -70,4 +70,5 @@ class MainContentFallbackTest extends WebTestBase { $this->rebuildContainer(); $this->assertTrue(\Drupal::moduleHandler()->moduleExists('block'), 'Block module re-enabled.'); } + } diff --git a/core/modules/system/src/Tests/System/RetrieveFileTest.php b/core/modules/system/src/Tests/System/RetrieveFileTest.php index 938a7b4..8f6fe4a 100644 --- a/core/modules/system/src/Tests/System/RetrieveFileTest.php +++ b/core/modules/system/src/Tests/System/RetrieveFileTest.php @@ -45,4 +45,5 @@ class RetrieveFileTest extends WebTestBase { file_unmanaged_delete_recursive($sourcedir); file_unmanaged_delete_recursive($targetdir); } + } diff --git a/core/modules/system/src/Tests/System/SettingsRewriteTest.php b/core/modules/system/src/Tests/System/SettingsRewriteTest.php index 6212f4a..630db65 100644 --- a/core/modules/system/src/Tests/System/SettingsRewriteTest.php +++ b/core/modules/system/src/Tests/System/SettingsRewriteTest.php @@ -122,4 +122,5 @@ EXPECTED // Check that the result is just the php opening tag and the settings. $this->assertEqual(file_get_contents(\Drupal::root() . '/' . $filename), "<?php\n" . $test['expected'] . "\n"); } + } diff --git a/core/modules/system/src/Tests/System/ShutdownFunctionsTest.php b/core/modules/system/src/Tests/System/ShutdownFunctionsTest.php index 5775d92..99839ab 100644 --- a/core/modules/system/src/Tests/System/ShutdownFunctionsTest.php +++ b/core/modules/system/src/Tests/System/ShutdownFunctionsTest.php @@ -52,4 +52,5 @@ class ShutdownFunctionsTest extends WebTestBase { $this->assertRaw('Drupal is <blink>awesome</blink>.'); } } + } diff --git a/core/modules/system/src/Tests/System/SiteMaintenanceTest.php b/core/modules/system/src/Tests/System/SiteMaintenanceTest.php index f1d75c0..6a86083 100644 --- a/core/modules/system/src/Tests/System/SiteMaintenanceTest.php +++ b/core/modules/system/src/Tests/System/SiteMaintenanceTest.php @@ -130,4 +130,5 @@ class SiteMaintenanceTest extends WebTestBase { $this->drupalGet(''); $this->assertEqual('Site under maintenance', $this->cssSelect('main h1')[0]); } + } diff --git a/core/modules/system/src/Tests/System/SitesDirectoryHardeningTest.php b/core/modules/system/src/Tests/System/SitesDirectoryHardeningTest.php index f989d22..f9331ba 100644 --- a/core/modules/system/src/Tests/System/SitesDirectoryHardeningTest.php +++ b/core/modules/system/src/Tests/System/SitesDirectoryHardeningTest.php @@ -107,4 +107,5 @@ class SitesDirectoryHardeningTest extends WebTestBase { $settings_file = $site_path . '/settings.php'; return $settings_file; } + } diff --git a/core/modules/system/src/Tests/System/SystemAuthorizeTest.php b/core/modules/system/src/Tests/System/SystemAuthorizeTest.php index a860c6d..d82a210 100644 --- a/core/modules/system/src/Tests/System/SystemAuthorizeTest.php +++ b/core/modules/system/src/Tests/System/SystemAuthorizeTest.php @@ -57,4 +57,5 @@ class SystemAuthorizeTest extends WebTestBase { // expected to the first page of the authorize.php script. $this->assertRaw('core/misc/states.js'); } + } diff --git a/core/modules/system/src/Tests/System/SystemConfigFormTestBase.php b/core/modules/system/src/Tests/System/SystemConfigFormTestBase.php index 55294c4..08f741d 100644 --- a/core/modules/system/src/Tests/System/SystemConfigFormTestBase.php +++ b/core/modules/system/src/Tests/System/SystemConfigFormTestBase.php @@ -63,4 +63,5 @@ abstract class SystemConfigFormTestBase extends WebTestBase { $this->assertEqual($data['#value'], $this->config($data['#config_name'])->get($data['#config_key'])); } } + } diff --git a/core/modules/system/src/Tests/Theme/FastTest.php b/core/modules/system/src/Tests/Theme/FastTest.php index 5dba0e8..a05666f 100644 --- a/core/modules/system/src/Tests/Theme/FastTest.php +++ b/core/modules/system/src/Tests/Theme/FastTest.php @@ -32,4 +32,5 @@ class FastTest extends WebTestBase { $this->assertRaw($this->account->getUsername()); $this->assertNoText('registry initialized', 'The registry was not initialized'); } + } diff --git a/core/modules/system/src/Tests/Theme/HtmlAttributesTest.php b/core/modules/system/src/Tests/Theme/HtmlAttributesTest.php index 1798ca9..f103caa 100644 --- a/core/modules/system/src/Tests/Theme/HtmlAttributesTest.php +++ b/core/modules/system/src/Tests/Theme/HtmlAttributesTest.php @@ -28,4 +28,5 @@ class HtmlAttributesTest extends WebTestBase { $attributes = $this->xpath('/html/body[@theme_test_body_attribute="theme test body attribute value"]'); $this->assertTrue(count($attributes) == 1, "Attribute set in the 'body' element via hook_preprocess_HOOK() found."); } + } diff --git a/core/modules/system/src/Tests/Theme/MessageTest.php b/core/modules/system/src/Tests/Theme/MessageTest.php index 32516d0..6605e81 100644 --- a/core/modules/system/src/Tests/Theme/MessageTest.php +++ b/core/modules/system/src/Tests/Theme/MessageTest.php @@ -33,4 +33,5 @@ class MessageTest extends KernelTestBase { $this->assertRaw('messages messages--error'); $this->assertRaw('messages messages--status'); } + } diff --git a/core/modules/system/src/Tests/Theme/ThemeEarlyInitializationTest.php b/core/modules/system/src/Tests/Theme/ThemeEarlyInitializationTest.php index a7920a5..ddbb770 100644 --- a/core/modules/system/src/Tests/Theme/ThemeEarlyInitializationTest.php +++ b/core/modules/system/src/Tests/Theme/ThemeEarlyInitializationTest.php @@ -30,4 +30,5 @@ class ThemeEarlyInitializationTest extends WebTestBase { // system was initialized early. $this->assertRaw('classy/css/components/action-links.css'); } + } diff --git a/core/modules/system/src/Tests/TypedData/TypedDataTest.php b/core/modules/system/src/Tests/TypedData/TypedDataTest.php index eec3e1e..48a80836 100644 --- a/core/modules/system/src/Tests/TypedData/TypedDataTest.php +++ b/core/modules/system/src/Tests/TypedData/TypedDataTest.php @@ -630,4 +630,5 @@ class TypedDataTest extends KernelTestBase { $this->assertEqual($violations[0]->getInvalidValue(), 'string'); $this->assertIdentical($violations[0]->getPropertyPath(), '0.value'); } + } diff --git a/core/modules/system/src/Tests/Update/CompatibilityFixTest.php b/core/modules/system/src/Tests/Update/CompatibilityFixTest.php index 1452693..6689c2f 100644 --- a/core/modules/system/src/Tests/Update/CompatibilityFixTest.php +++ b/core/modules/system/src/Tests/Update/CompatibilityFixTest.php @@ -40,4 +40,5 @@ class CompatibilityFixTest extends KernelTestBase { $themes = $extension_config->get('theme'); $this->assertFalse(in_array('incompatible_theme', array_keys($themes)), 'Fixed themes compatibility.'); } + } diff --git a/core/modules/system/src/Tests/Update/DependencyHookInvocationTest.php b/core/modules/system/src/Tests/Update/DependencyHookInvocationTest.php index e66675b..a9723c2 100644 --- a/core/modules/system/src/Tests/Update/DependencyHookInvocationTest.php +++ b/core/modules/system/src/Tests/Update/DependencyHookInvocationTest.php @@ -33,4 +33,5 @@ class DependencyHookInvocationTest extends WebTestBase { $this->assertTrue($update_dependencies['update_test_0'][8001]['update_test_2'] == 8002, 'An update function that has a dependency on two separate modules has the second dependency recorded correctly.'); $this->assertTrue($update_dependencies['update_test_0'][8002]['update_test_1'] == 8003, 'An update function that depends on more than one update from the same module only has the dependency on the higher-numbered update function recorded.'); } + } diff --git a/core/modules/system/src/Tests/Update/DependencyMissingTest.php b/core/modules/system/src/Tests/Update/DependencyMissingTest.php index 17a468d..9764b4c 100644 --- a/core/modules/system/src/Tests/Update/DependencyMissingTest.php +++ b/core/modules/system/src/Tests/Update/DependencyMissingTest.php @@ -34,4 +34,5 @@ class DependencyMissingTest extends WebTestBase { $this->assertFalse($update_graph['update_test_2_update_8002']['allowed'], "The module's second update function is not allowed to run, since it has a direct dependency on a missing update."); $this->assertFalse($update_graph['update_test_2_update_8003']['allowed'], "The module's third update function is not allowed to run, since it has an indirect dependency on a missing update."); } + } diff --git a/core/modules/system/src/Tests/Update/DependencyOrderingTest.php b/core/modules/system/src/Tests/Update/DependencyOrderingTest.php index d3838d2..bb3ae37 100644 --- a/core/modules/system/src/Tests/Update/DependencyOrderingTest.php +++ b/core/modules/system/src/Tests/Update/DependencyOrderingTest.php @@ -54,4 +54,5 @@ class DependencyOrderingTest extends WebTestBase { $second_dependency_satisfied = array_search('update_test_3_update_8001', $update_order) < array_search('update_test_2_update_8002', $update_order); $this->assertTrue($second_dependency_satisfied, 'The dependency of the first module on the second module is respected by the update function order.'); } + } diff --git a/core/modules/system/src/Tests/Update/UpdateScriptTest.php b/core/modules/system/src/Tests/Update/UpdateScriptTest.php index 3f4edff..d788636 100644 --- a/core/modules/system/src/Tests/Update/UpdateScriptTest.php +++ b/core/modules/system/src/Tests/Update/UpdateScriptTest.php @@ -399,4 +399,5 @@ class UpdateScriptTest extends WebTestBase { ), ); } + } diff --git a/core/modules/system/src/Tests/Update/UpdatesWith7xTest.php b/core/modules/system/src/Tests/Update/UpdatesWith7xTest.php index bced4a4..9782d91 100644 --- a/core/modules/system/src/Tests/Update/UpdatesWith7xTest.php +++ b/core/modules/system/src/Tests/Update/UpdatesWith7xTest.php @@ -51,4 +51,5 @@ class UpdatesWith7xTest extends WebTestBase { $this->clickLink(t('Continue')); $this->assertText(t('Some of the pending updates cannot be applied because their dependencies were not met.')); } + } diff --git a/core/modules/system/tests/modules/condition_test/src/FormController.php b/core/modules/system/tests/modules/condition_test/src/FormController.php index cfbb17f..38b21cc 100644 --- a/core/modules/system/tests/modules/condition_test/src/FormController.php +++ b/core/modules/system/tests/modules/condition_test/src/FormController.php @@ -69,4 +69,5 @@ class FormController implements FormInterface { drupal_set_message(t('Executed successfully.')); } } + } diff --git a/core/modules/system/tests/modules/database_test/src/Controller/DatabaseTestController.php b/core/modules/system/tests/modules/database_test/src/Controller/DatabaseTestController.php index 560fb66..7de24d4 100644 --- a/core/modules/system/tests/modules/database_test/src/Controller/DatabaseTestController.php +++ b/core/modules/system/tests/modules/database_test/src/Controller/DatabaseTestController.php @@ -142,4 +142,5 @@ class DatabaseTestController { 'tasks' => $tasks, )); } + } diff --git a/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestConstraints.php b/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestConstraints.php index 14a4857..a91e2cb 100644 --- a/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestConstraints.php +++ b/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestConstraints.php @@ -41,4 +41,5 @@ class EntityTestConstraints extends EntityTest implements EntityChangedInterface return $fields; } + } diff --git a/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestFieldOverride.php b/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestFieldOverride.php index 090c1e8..aaca0ae 100644 --- a/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestFieldOverride.php +++ b/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestFieldOverride.php @@ -41,4 +41,5 @@ class EntityTestFieldOverride extends EntityTest { } return $fields; } + } diff --git a/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulChanged.php b/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulChanged.php index 4ae6652..5fbc408 100644 --- a/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulChanged.php +++ b/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulChanged.php @@ -71,4 +71,5 @@ class EntityTestMulChanged extends EntityTestMul implements EntityChangedInterfa sleep(1); parent::save(); } + } diff --git a/core/modules/system/tests/modules/error_service_test/src/ErrorServiceTestServiceProvider.php b/core/modules/system/tests/modules/error_service_test/src/ErrorServiceTestServiceProvider.php index 25d3682..7f1c10e 100644 --- a/core/modules/system/tests/modules/error_service_test/src/ErrorServiceTestServiceProvider.php +++ b/core/modules/system/tests/modules/error_service_test/src/ErrorServiceTestServiceProvider.php @@ -20,4 +20,5 @@ class ErrorServiceTestServiceProvider implements ServiceModifierInterface { public function alter(ContainerBuilder $container) { static::$containerBuilder = $container; } + } diff --git a/core/modules/system/tests/modules/form_test/src/Form/FormTestVerticalTabsForm.php b/core/modules/system/tests/modules/form_test/src/Form/FormTestVerticalTabsForm.php index b86dd51..3457db8 100644 --- a/core/modules/system/tests/modules/form_test/src/Form/FormTestVerticalTabsForm.php +++ b/core/modules/system/tests/modules/form_test/src/Form/FormTestVerticalTabsForm.php @@ -52,4 +52,5 @@ class FormTestVerticalTabsForm extends FormBase { print Json::encode($form_state->getValues()); exit; } + } diff --git a/core/modules/system/tests/modules/form_test/src/Form/RedirectBlockForm.php b/core/modules/system/tests/modules/form_test/src/Form/RedirectBlockForm.php index 2a4f9c1..8963462 100644 --- a/core/modules/system/tests/modules/form_test/src/Form/RedirectBlockForm.php +++ b/core/modules/system/tests/modules/form_test/src/Form/RedirectBlockForm.php @@ -35,4 +35,5 @@ class RedirectBlockForm extends FormBase { public function submitForm(array &$form, FormStateInterface $form_state) { $form_state->setRedirect('form_test.route1', array(), array('query' => array('test1' => 'test2'))); } + } diff --git a/core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/BrokenToolkit.php b/core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/BrokenToolkit.php index 5e1611f..d5b9df4 100644 --- a/core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/BrokenToolkit.php +++ b/core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/BrokenToolkit.php @@ -18,4 +18,5 @@ class BrokenToolkit extends TestToolkit { public static function isAvailable() { return FALSE; } + } diff --git a/core/modules/system/tests/modules/menu_test/src/Plugin/Derivative/LocalTaskTest.php b/core/modules/system/tests/modules/menu_test/src/Plugin/Derivative/LocalTaskTest.php index e6a87b1..10c0810 100644 --- a/core/modules/system/tests/modules/menu_test/src/Plugin/Derivative/LocalTaskTest.php +++ b/core/modules/system/tests/modules/menu_test/src/Plugin/Derivative/LocalTaskTest.php @@ -19,4 +19,5 @@ class LocalTaskTest extends DeriverBase { } return $this->derivatives; } + } 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 d602d11..9ed7851 100644 --- a/core/modules/system/tests/modules/menu_test/src/TestControllers.php +++ b/core/modules/system/tests/modules/menu_test/src/TestControllers.php @@ -82,4 +82,5 @@ class TestControllers { ] ]; } + } diff --git a/core/modules/system/tests/modules/module_autoload_test/src/SomeClass.php b/core/modules/system/tests/modules/module_autoload_test/src/SomeClass.php index 45d7862..b46f374 100644 --- a/core/modules/system/tests/modules/module_autoload_test/src/SomeClass.php +++ b/core/modules/system/tests/modules/module_autoload_test/src/SomeClass.php @@ -6,4 +6,5 @@ class SomeClass { function testMethod() { return 'Drupal\\module_autoload_test\\SomeClass::testMethod() was invoked.'; } + } diff --git a/core/modules/system/tests/modules/paramconverter_test/src/TestControllers.php b/core/modules/system/tests/modules/paramconverter_test/src/TestControllers.php index c8a3a80..6ea4306 100644 --- a/core/modules/system/tests/modules/paramconverter_test/src/TestControllers.php +++ b/core/modules/system/tests/modules/paramconverter_test/src/TestControllers.php @@ -24,4 +24,5 @@ class TestControllers { \Drupal::service('renderer')->addCacheableDependency($build, $node); return $build; } + } diff --git a/core/modules/system/tests/modules/plugin_test/src/Plugin/MockBlockManager.php b/core/modules/system/tests/modules/plugin_test/src/Plugin/MockBlockManager.php index 8d94fa1..aebb473 100644 --- a/core/modules/system/tests/modules/plugin_test/src/Plugin/MockBlockManager.php +++ b/core/modules/system/tests/modules/plugin_test/src/Plugin/MockBlockManager.php @@ -133,4 +133,5 @@ class MockBlockManager extends PluginManagerBase { // printing TranslatableMarkup objects. return new ContextDefinition($data_type, (string) $label, $required); } + } diff --git a/core/modules/system/tests/modules/plugin_test/src/Plugin/TestPluginManager.php b/core/modules/system/tests/modules/plugin_test/src/Plugin/TestPluginManager.php index 37be2f5..60e74d8 100644 --- a/core/modules/system/tests/modules/plugin_test/src/Plugin/TestPluginManager.php +++ b/core/modules/system/tests/modules/plugin_test/src/Plugin/TestPluginManager.php @@ -35,4 +35,5 @@ class TestPluginManager extends PluginManagerBase { // so we provide it the discovery object. $this->factory = new DefaultFactory($this->discovery); } + } diff --git a/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockComplexContextBlock.php b/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockComplexContextBlock.php index df45af3..e044e27 100644 --- a/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockComplexContextBlock.php +++ b/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockComplexContextBlock.php @@ -16,4 +16,5 @@ class MockComplexContextBlock extends ContextAwarePluginBase { $node = $this->getContextValue('node'); return $user->label() . ' -- ' . $node->label(); } + } diff --git a/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockLayoutBlockDeriver.php b/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockLayoutBlockDeriver.php index 25084b9..d2fa3a4 100644 --- a/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockLayoutBlockDeriver.php +++ b/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockLayoutBlockDeriver.php @@ -47,4 +47,5 @@ class MockLayoutBlockDeriver implements DeriverInterface { return $derivatives; } + } diff --git a/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php b/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php index 2a51835..f13b56e 100644 --- a/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php +++ b/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php @@ -44,4 +44,5 @@ class MockMenuBlock { } return $content; } + } 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 538a862..413eb13 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 @@ -51,4 +51,5 @@ class MockMenuBlockDeriver implements DeriverInterface { return $derivatives; } + } diff --git a/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockUserLoginBlock.php b/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockUserLoginBlock.php index 1e675ec..6741eac 100644 --- a/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockUserLoginBlock.php +++ b/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockUserLoginBlock.php @@ -26,4 +26,5 @@ class MockUserLoginBlock extends PluginBase { public function getTitle() { return $this->title; } + } diff --git a/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockUserNameBlock.php b/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockUserNameBlock.php index 6328fd0..6b4688d 100644 --- a/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockUserNameBlock.php +++ b/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockUserNameBlock.php @@ -15,4 +15,5 @@ class MockUserNameBlock extends ContextAwarePluginBase { $user = $this->getContextValue('user'); return $user->label(); } + } diff --git a/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/TypedDataStringBlock.php b/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/TypedDataStringBlock.php index 7dac172..b47d46b 100644 --- a/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/TypedDataStringBlock.php +++ b/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/TypedDataStringBlock.php @@ -15,4 +15,5 @@ class TypedDataStringBlock extends ContextAwarePluginBase { public function getTitle() { return $this->getContextValue('string'); } + } diff --git a/core/modules/system/tests/modules/router_test_directory/src/Access/TestAccessCheck.php b/core/modules/system/tests/modules/router_test_directory/src/Access/TestAccessCheck.php index 2e66973..0cbe9db 100644 --- a/core/modules/system/tests/modules/router_test_directory/src/Access/TestAccessCheck.php +++ b/core/modules/system/tests/modules/router_test_directory/src/Access/TestAccessCheck.php @@ -21,4 +21,5 @@ class TestAccessCheck implements AccessInterface { // allowed or not. return AccessResult::neutral(); } + } diff --git a/core/modules/system/tests/modules/router_test_directory/src/RouterTestServiceProvider.php b/core/modules/system/tests/modules/router_test_directory/src/RouterTestServiceProvider.php index c3d342e..7635704 100644 --- a/core/modules/system/tests/modules/router_test_directory/src/RouterTestServiceProvider.php +++ b/core/modules/system/tests/modules/router_test_directory/src/RouterTestServiceProvider.php @@ -18,4 +18,5 @@ class RouterTestServiceProvider implements ServiceProviderInterface { $container->register('access_check.router_test', 'Drupal\router_test\Access\TestAccessCheck') ->addTag('access_check', array('applies_to' => '_access_router_test')); } + } diff --git a/core/modules/system/tests/modules/service_provider_test/src/ServiceProviderTestServiceProvider.php b/core/modules/system/tests/modules/service_provider_test/src/ServiceProviderTestServiceProvider.php index 8ee0bd1..00e00a0 100644 --- a/core/modules/system/tests/modules/service_provider_test/src/ServiceProviderTestServiceProvider.php +++ b/core/modules/system/tests/modules/service_provider_test/src/ServiceProviderTestServiceProvider.php @@ -26,4 +26,5 @@ class ServiceProviderTestServiceProvider implements ServiceModifierInterface { $container->setParameter('container_rebuild_test_parameter', $parameter); } } + } diff --git a/core/modules/system/tests/modules/service_provider_test/src/TestClass.php b/core/modules/system/tests/modules/service_provider_test/src/TestClass.php index 2e7baea..9a87c97 100644 --- a/core/modules/system/tests/modules/service_provider_test/src/TestClass.php +++ b/core/modules/system/tests/modules/service_provider_test/src/TestClass.php @@ -69,4 +69,5 @@ class TestClass implements EventSubscriberInterface, DestructableInterface, Cont public function destruct() { $this->state->set('service_provider_test.destructed', TRUE); } + } diff --git a/core/modules/system/tests/modules/service_provider_test/src/TestFileUsage.php b/core/modules/system/tests/modules/service_provider_test/src/TestFileUsage.php index dad2918..4189e49 100644 --- a/core/modules/system/tests/modules/service_provider_test/src/TestFileUsage.php +++ b/core/modules/system/tests/modules/service_provider_test/src/TestFileUsage.php @@ -24,4 +24,5 @@ class TestFileUsage extends FileUsageBase { */ public function listUsage(FileInterface $file) { } + } diff --git a/core/modules/system/tests/modules/system_mail_failure_test/src/Plugin/Mail/TestPhpMailFailure.php b/core/modules/system/tests/modules/system_mail_failure_test/src/Plugin/Mail/TestPhpMailFailure.php index 108930f..7e1c8c2 100644 --- a/core/modules/system/tests/modules/system_mail_failure_test/src/Plugin/Mail/TestPhpMailFailure.php +++ b/core/modules/system/tests/modules/system_mail_failure_test/src/Plugin/Mail/TestPhpMailFailure.php @@ -29,4 +29,5 @@ class TestPhpMailFailure extends PhpMail implements MailInterface { // Simulate a failed mail send by returning FALSE. return FALSE; } + } diff --git a/core/modules/system/tests/modules/system_test/src/Controller/PageCacheAcceptHeaderController.php b/core/modules/system/tests/modules/system_test/src/Controller/PageCacheAcceptHeaderController.php index a15e681..7401f81 100644 --- a/core/modules/system/tests/modules/system_test/src/Controller/PageCacheAcceptHeaderController.php +++ b/core/modules/system/tests/modules/system_test/src/Controller/PageCacheAcceptHeaderController.php @@ -27,4 +27,5 @@ class PageCacheAcceptHeaderController { return new CacheableResponse("<p>oh hai this is html.</p>"); } } + } diff --git a/core/modules/system/tests/modules/system_test/src/MockFileTransfer.php b/core/modules/system/tests/modules/system_test/src/MockFileTransfer.php index 9e71600..de065af 100644 --- a/core/modules/system/tests/modules/system_test/src/MockFileTransfer.php +++ b/core/modules/system/tests/modules/system_test/src/MockFileTransfer.php @@ -28,4 +28,5 @@ class MockFileTransfer { ); return $form; } + } diff --git a/core/modules/system/tests/modules/url_alter_test/src/PathProcessor.php b/core/modules/system/tests/modules/url_alter_test/src/PathProcessor.php index 4bbbc03..b59fe4c 100644 --- a/core/modules/system/tests/modules/url_alter_test/src/PathProcessor.php +++ b/core/modules/system/tests/modules/url_alter_test/src/PathProcessor.php @@ -29,4 +29,5 @@ class PathProcessor implements InboundPathProcessorInterface { } return $path; } + } diff --git a/core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTest.php b/core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTest.php index ea39f69..040cf1a 100644 --- a/core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTest.php +++ b/core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTest.php @@ -153,4 +153,5 @@ class TokenReplaceKernelTest extends TokenReplaceKernelTestBase { $this->assertEqual($output, $expected, format_string('Date token %token replaced.', array('%token' => $input))); } } + } diff --git a/core/modules/taxonomy/src/Plugin/views/argument_validator/Term.php b/core/modules/taxonomy/src/Plugin/views/argument_validator/Term.php index aa3090d..7ffbba7 100644 --- a/core/modules/taxonomy/src/Plugin/views/argument_validator/Term.php +++ b/core/modules/taxonomy/src/Plugin/views/argument_validator/Term.php @@ -28,4 +28,5 @@ class Term extends Entity { } } } + } diff --git a/core/modules/taxonomy/src/Tests/EfqTest.php b/core/modules/taxonomy/src/Tests/EfqTest.php index 80cf580..572ae8f 100644 --- a/core/modules/taxonomy/src/Tests/EfqTest.php +++ b/core/modules/taxonomy/src/Tests/EfqTest.php @@ -65,4 +65,5 @@ class EfqTest extends TaxonomyTestBase { $term = _field_create_entity_from_ids($ids); $this->assertEqual($term->id(), $tid, 'Taxonomy term can be created based on the IDs.'); } + } diff --git a/core/modules/taxonomy/src/Tests/LoadMultipleTest.php b/core/modules/taxonomy/src/Tests/LoadMultipleTest.php index 1076f41..349516c 100644 --- a/core/modules/taxonomy/src/Tests/LoadMultipleTest.php +++ b/core/modules/taxonomy/src/Tests/LoadMultipleTest.php @@ -58,4 +58,5 @@ class LoadMultipleTest extends TaxonomyTestBase { $loaded_term = reset($loaded_terms); $this->assertEqual($term->id(), $loaded_term->id(), 'Term loaded by name successfully.'); } + } diff --git a/core/modules/taxonomy/src/Tests/RssTest.php b/core/modules/taxonomy/src/Tests/RssTest.php index 3350b33..10e47af 100644 --- a/core/modules/taxonomy/src/Tests/RssTest.php +++ b/core/modules/taxonomy/src/Tests/RssTest.php @@ -126,4 +126,5 @@ class RssTest extends TaxonomyTestBase { $this->drupalGet('taxonomy/term/all/feed'); $this->assertNoRaw($raw_xml); } + } diff --git a/core/modules/taxonomy/src/Tests/TaxonomyTestBase.php b/core/modules/taxonomy/src/Tests/TaxonomyTestBase.php index cac3672..aa91237 100644 --- a/core/modules/taxonomy/src/Tests/TaxonomyTestBase.php +++ b/core/modules/taxonomy/src/Tests/TaxonomyTestBase.php @@ -32,4 +32,5 @@ abstract class TaxonomyTestBase extends WebTestBase { $this->drupalCreateContentType(array('type' => 'article', 'name' => 'Article')); } } + } diff --git a/core/modules/taxonomy/src/Tests/TaxonomyTestTrait.php b/core/modules/taxonomy/src/Tests/TaxonomyTestTrait.php index 8a68458..f04be00 100644 --- a/core/modules/taxonomy/src/Tests/TaxonomyTestTrait.php +++ b/core/modules/taxonomy/src/Tests/TaxonomyTestTrait.php @@ -56,4 +56,5 @@ trait TaxonomyTestTrait { $term->save(); return $term; } + } diff --git a/core/modules/taxonomy/src/Tests/TermEntityReferenceTest.php b/core/modules/taxonomy/src/Tests/TermEntityReferenceTest.php index aec5211..de77654 100644 --- a/core/modules/taxonomy/src/Tests/TermEntityReferenceTest.php +++ b/core/modules/taxonomy/src/Tests/TermEntityReferenceTest.php @@ -75,4 +75,5 @@ class TermEntityReferenceTest extends TaxonomyTestBase { $this->assertIdentical($result, $expected_result, 'Terms selection restricted to a single vocabulary.'); } + } diff --git a/core/modules/taxonomy/src/Tests/TermIndexTest.php b/core/modules/taxonomy/src/Tests/TermIndexTest.php index 2ec8bc3..28e816c 100644 --- a/core/modules/taxonomy/src/Tests/TermIndexTest.php +++ b/core/modules/taxonomy/src/Tests/TermIndexTest.php @@ -210,4 +210,5 @@ class TermIndexTest extends TaxonomyTestBase { // language from being added to the options. $this->assertRaw(\Drupal::l($term2->getName(), $term2->urlInfo('canonical', ['language' => NULL])), 'Parent term link is displayed when viewing the node.'); } + } diff --git a/core/modules/taxonomy/src/Tests/TermLanguageTest.php b/core/modules/taxonomy/src/Tests/TermLanguageTest.php index 39248ca..e894ad2 100644 --- a/core/modules/taxonomy/src/Tests/TermLanguageTest.php +++ b/core/modules/taxonomy/src/Tests/TermLanguageTest.php @@ -106,4 +106,5 @@ class TermLanguageTest extends TaxonomyTestBase { $this->drupalGet('admin/structure/taxonomy/manage/' . $this->vocabulary->id() . '/add'); $this->assertOptionSelected('edit-langcode-0-value', 'cc', "The expected langcode, 'cc', was selected."); } + } diff --git a/core/modules/taxonomy/src/Tests/ThemeTest.php b/core/modules/taxonomy/src/Tests/ThemeTest.php index abf3eea..54ad6e4 100644 --- a/core/modules/taxonomy/src/Tests/ThemeTest.php +++ b/core/modules/taxonomy/src/Tests/ThemeTest.php @@ -45,4 +45,5 @@ class ThemeTest extends TaxonomyTestBase { $this->drupalGet('taxonomy/term/' . $term->id() . '/edit'); $this->assertRaw('seven/css/base/elements.css', t("The administrative theme's CSS appears on the page for editing a taxonomy term.")); } + } diff --git a/core/modules/taxonomy/src/Tests/TokenReplaceTest.php b/core/modules/taxonomy/src/Tests/TokenReplaceTest.php index 2a55a6d..f3c6c5d 100644 --- a/core/modules/taxonomy/src/Tests/TokenReplaceTest.php +++ b/core/modules/taxonomy/src/Tests/TokenReplaceTest.php @@ -143,4 +143,5 @@ class TokenReplaceTest extends TaxonomyTestBase { $this->assertEqual($output, $expected, format_string('Sanitized taxonomy vocabulary token %token replaced.', array('%token' => $input))); } } + } diff --git a/core/modules/taxonomy/src/Tests/Views/RelationshipRepresentativeNodeTest.php b/core/modules/taxonomy/src/Tests/Views/RelationshipRepresentativeNodeTest.php index 2966ee5..d049f82 100644 --- a/core/modules/taxonomy/src/Tests/Views/RelationshipRepresentativeNodeTest.php +++ b/core/modules/taxonomy/src/Tests/Views/RelationshipRepresentativeNodeTest.php @@ -37,4 +37,5 @@ class RelationshipRepresentativeNodeTest extends TaxonomyTestBase { ); $this->assertIdenticalResultset($view, $expected_result, $map); } + } diff --git a/core/modules/taxonomy/src/Tests/VocabularyCrudTest.php b/core/modules/taxonomy/src/Tests/VocabularyCrudTest.php index c8d33a3..914b7f2 100644 --- a/core/modules/taxonomy/src/Tests/VocabularyCrudTest.php +++ b/core/modules/taxonomy/src/Tests/VocabularyCrudTest.php @@ -178,4 +178,5 @@ class VocabularyCrudTest extends TaxonomyTestBase { FieldStorageConfig::create($storage_definition)->save(); FieldConfig::create($field_definition)->save(); } + } diff --git a/core/modules/taxonomy/src/Tests/VocabularyLanguageTest.php b/core/modules/taxonomy/src/Tests/VocabularyLanguageTest.php index 5810626..3326e51 100644 --- a/core/modules/taxonomy/src/Tests/VocabularyLanguageTest.php +++ b/core/modules/taxonomy/src/Tests/VocabularyLanguageTest.php @@ -121,4 +121,5 @@ class VocabularyLanguageTest extends TaxonomyTestBase { $this->assertEqual($new_settings->getDefaultLangcode(), 'authors_default', 'The langcode was saved.'); $this->assertFalse($new_settings->isLanguageAlterable(), 'The new visibility setting was saved.'); } + } diff --git a/core/modules/taxonomy/src/Tests/VocabularyPermissionsTest.php b/core/modules/taxonomy/src/Tests/VocabularyPermissionsTest.php index 8011fd4..5468f8a 100644 --- a/core/modules/taxonomy/src/Tests/VocabularyPermissionsTest.php +++ b/core/modules/taxonomy/src/Tests/VocabularyPermissionsTest.php @@ -124,4 +124,5 @@ class VocabularyPermissionsTest extends TaxonomyTestBase { $this->drupalGet('taxonomy/term/' . $term->id() . '/delete'); $this->assertResponse(403, 'Delete taxonomy term form open failed.'); } + } diff --git a/core/modules/taxonomy/src/Tests/VocabularyUiTest.php b/core/modules/taxonomy/src/Tests/VocabularyUiTest.php index 8d2b85b..3066ef0 100644 --- a/core/modules/taxonomy/src/Tests/VocabularyUiTest.php +++ b/core/modules/taxonomy/src/Tests/VocabularyUiTest.php @@ -153,4 +153,5 @@ class VocabularyUiTest extends TaxonomyTestBase { $this->container->get('entity.manager')->getStorage('taxonomy_vocabulary')->resetCache(); $this->assertFalse(Vocabulary::load($vid), 'Vocabulary not found.'); } + } diff --git a/core/modules/taxonomy/src/VocabularyInterface.php b/core/modules/taxonomy/src/VocabularyInterface.php index 22d2d48..ff52bec 100644 --- a/core/modules/taxonomy/src/VocabularyInterface.php +++ b/core/modules/taxonomy/src/VocabularyInterface.php @@ -38,4 +38,5 @@ interface VocabularyInterface extends ConfigEntityInterface { * The vocabulary description. */ public function getDescription(); + } diff --git a/core/modules/taxonomy/tests/src/Kernel/Migrate/MigrateTaxonomyTermStubTest.php b/core/modules/taxonomy/tests/src/Kernel/Migrate/MigrateTaxonomyTermStubTest.php index 37c7664..2da51e4 100644 --- a/core/modules/taxonomy/tests/src/Kernel/Migrate/MigrateTaxonomyTermStubTest.php +++ b/core/modules/taxonomy/tests/src/Kernel/Migrate/MigrateTaxonomyTermStubTest.php @@ -82,4 +82,5 @@ class MigrateTaxonomyTermStubTest extends MigrateDrupalTestBase { $this->assertIdentical(count($stub_entity->validate()), 0, 'Stub is a valid entity'); } } + } diff --git a/core/modules/taxonomy/tests/src/Kernel/TermKernelTest.php b/core/modules/taxonomy/tests/src/Kernel/TermKernelTest.php index 3972052..1e2b232 100644 --- a/core/modules/taxonomy/tests/src/Kernel/TermKernelTest.php +++ b/core/modules/taxonomy/tests/src/Kernel/TermKernelTest.php @@ -148,4 +148,5 @@ class TermKernelTest extends KernelTestBase { $ancestors = $storage->loadAllParents($term[3]->id()); $this->assertEqual(5, count($ancestors), 'The term has five ancestors including the term itself.'); } + } diff --git a/core/modules/taxonomy/tests/src/Kernel/TermValidationTest.php b/core/modules/taxonomy/tests/src/Kernel/TermValidationTest.php index be74413..3d9cfb7 100644 --- a/core/modules/taxonomy/tests/src/Kernel/TermValidationTest.php +++ b/core/modules/taxonomy/tests/src/Kernel/TermValidationTest.php @@ -64,4 +64,5 @@ class TermValidationTest extends EntityKernelTestBase { $violations = $term->validate(); $this->assertEqual(count($violations), 0, 'No violations for parent id 0.'); } + } diff --git a/core/modules/telephone/src/Plugin/Field/FieldFormatter/TelephoneLinkFormatter.php b/core/modules/telephone/src/Plugin/Field/FieldFormatter/TelephoneLinkFormatter.php index 23852c8..f77b751 100644 --- a/core/modules/telephone/src/Plugin/Field/FieldFormatter/TelephoneLinkFormatter.php +++ b/core/modules/telephone/src/Plugin/Field/FieldFormatter/TelephoneLinkFormatter.php @@ -89,4 +89,5 @@ class TelephoneLinkFormatter extends FormatterBase { return $element; } + } diff --git a/core/modules/telephone/src/Tests/TelephoneFieldTest.php b/core/modules/telephone/src/Tests/TelephoneFieldTest.php index a7497c9..f7452b0 100644 --- a/core/modules/telephone/src/Tests/TelephoneFieldTest.php +++ b/core/modules/telephone/src/Tests/TelephoneFieldTest.php @@ -98,4 +98,5 @@ class TelephoneFieldTest extends WebTestBase { $this->drupalPostForm('node/add/article', $edit, t('Save')); $this->assertRaw('<a href="tel:123456789">', 'Telephone link is output with whitespace removed.'); } + } diff --git a/core/modules/toolbar/src/Tests/ToolbarCacheContextsTest.php b/core/modules/toolbar/src/Tests/ToolbarCacheContextsTest.php index e8e8c29..6995d59 100644 --- a/core/modules/toolbar/src/Tests/ToolbarCacheContextsTest.php +++ b/core/modules/toolbar/src/Tests/ToolbarCacheContextsTest.php @@ -143,5 +143,4 @@ class ToolbarCacheContextsTest extends WebTestBase { $this->container->get('router.builder')->rebuildIfNeeded(); } - } diff --git a/core/modules/tour/src/Tests/TourTest.php b/core/modules/tour/src/Tests/TourTest.php index 910eb6e..ab2fe4a 100644 --- a/core/modules/tour/src/Tests/TourTest.php +++ b/core/modules/tour/src/Tests/TourTest.php @@ -184,4 +184,5 @@ class TourTest extends TourTestBasic { )); $this->assertEqual(count($elements), 0, 'Did not find English variant of tip 1.'); } + } diff --git a/core/modules/tour/src/TipPluginBase.php b/core/modules/tour/src/TipPluginBase.php index 16138f8..b760847 100644 --- a/core/modules/tour/src/TipPluginBase.php +++ b/core/modules/tour/src/TipPluginBase.php @@ -78,4 +78,5 @@ abstract class TipPluginBase extends PluginBase implements TipPluginInterface { public function set($key, $value) { $this->configuration[$key] = $value; } + } diff --git a/core/modules/tracker/src/Access/ViewOwnTrackerAccessCheck.php b/core/modules/tracker/src/Access/ViewOwnTrackerAccessCheck.php index 347299e..471eacf 100644 --- a/core/modules/tracker/src/Access/ViewOwnTrackerAccessCheck.php +++ b/core/modules/tracker/src/Access/ViewOwnTrackerAccessCheck.php @@ -26,4 +26,5 @@ class ViewOwnTrackerAccessCheck implements AccessInterface { public function access(AccountInterface $account, UserInterface $user) { return AccessResult::allowedIf($user && $account->isAuthenticated() && ($user->id() == $account->id()))->cachePerUser(); } + } diff --git a/core/modules/tracker/src/Controller/TrackerPage.php b/core/modules/tracker/src/Controller/TrackerPage.php index 4d8cfea..03b077d 100644 --- a/core/modules/tracker/src/Controller/TrackerPage.php +++ b/core/modules/tracker/src/Controller/TrackerPage.php @@ -16,4 +16,5 @@ class TrackerPage extends ControllerBase { module_load_include('inc', 'tracker', 'tracker.pages'); return tracker_page(); } + } diff --git a/core/modules/tracker/src/Controller/TrackerUserRecent.php b/core/modules/tracker/src/Controller/TrackerUserRecent.php index 7ce5a58..4ca428e 100644 --- a/core/modules/tracker/src/Controller/TrackerUserRecent.php +++ b/core/modules/tracker/src/Controller/TrackerUserRecent.php @@ -17,4 +17,5 @@ class TrackerUserRecent extends ControllerBase { module_load_include('inc', 'tracker', 'tracker.pages'); return tracker_page($user); } + } diff --git a/core/modules/tracker/src/Controller/TrackerUserTab.php b/core/modules/tracker/src/Controller/TrackerUserTab.php index 00fcddb..d9c774d 100644 --- a/core/modules/tracker/src/Controller/TrackerUserTab.php +++ b/core/modules/tracker/src/Controller/TrackerUserTab.php @@ -24,4 +24,5 @@ class TrackerUserTab extends ControllerBase { public function getTitle(UserInterface $user) { return $user->getUsername(); } + } diff --git a/core/modules/tracker/src/Tests/TrackerNodeAccessTest.php b/core/modules/tracker/src/Tests/TrackerNodeAccessTest.php index 30934d0..29492bc 100644 --- a/core/modules/tracker/src/Tests/TrackerNodeAccessTest.php +++ b/core/modules/tracker/src/Tests/TrackerNodeAccessTest.php @@ -71,4 +71,5 @@ class TrackerNodeAccessTest extends WebTestBase { $this->assertNoText($private_node->getTitle(), 'Private node is not visible to user without private access.'); $this->assertText($public_node->getTitle(), 'Public node is visible to user without private access.'); } + } diff --git a/core/modules/update/src/Tests/UpdateTestBase.php b/core/modules/update/src/Tests/UpdateTestBase.php index 24eb2aa..de15b0b 100644 --- a/core/modules/update/src/Tests/UpdateTestBase.php +++ b/core/modules/update/src/Tests/UpdateTestBase.php @@ -78,4 +78,5 @@ abstract class UpdateTestBase extends WebTestBase { $this->assertRaw(\Drupal::l(t('Drupal'), Url::fromUri('http://example.com/project/drupal')), 'Link to the Drupal project appears.'); $this->assertNoText(t('No available releases found')); } + } diff --git a/core/modules/update/src/UpdateFetcherInterface.php b/core/modules/update/src/UpdateFetcherInterface.php index db284ab..8d8f2a9 100644 --- a/core/modules/update/src/UpdateFetcherInterface.php +++ b/core/modules/update/src/UpdateFetcherInterface.php @@ -56,4 +56,5 @@ interface UpdateFetcherInterface { * @see \Drupal\update\UpdateManager::getProjects() */ public function buildFetchUrl(array $project, $site_key = ''); + } diff --git a/core/modules/update/src/UpdateManagerInterface.php b/core/modules/update/src/UpdateManagerInterface.php index 4dbdecd..d3ea88f 100644 --- a/core/modules/update/src/UpdateManagerInterface.php +++ b/core/modules/update/src/UpdateManagerInterface.php @@ -98,4 +98,5 @@ interface UpdateManagerInterface { * array when the storage is cleared. */ public function projectStorage($key); + } diff --git a/core/modules/update/src/UpdateProcessorInterface.php b/core/modules/update/src/UpdateProcessorInterface.php index ed4f525..f744bfb 100644 --- a/core/modules/update/src/UpdateProcessorInterface.php +++ b/core/modules/update/src/UpdateProcessorInterface.php @@ -78,4 +78,5 @@ interface UpdateProcessorInterface { * @see \Drupal\Core\Queue\QueueInterface::deleteItem() */ public function deleteQueueItem($item); + } diff --git a/core/modules/update/tests/modules/update_test/src/MockFileTransfer.php b/core/modules/update/tests/modules/update_test/src/MockFileTransfer.php index 9e40b65..2194b43 100644 --- a/core/modules/update/tests/modules/update_test/src/MockFileTransfer.php +++ b/core/modules/update/tests/modules/update_test/src/MockFileTransfer.php @@ -28,4 +28,5 @@ class MockFileTransfer { ); return $form; } + } diff --git a/core/modules/user/src/Access/RegisterAccessCheck.php b/core/modules/user/src/Access/RegisterAccessCheck.php index 6946bf0..c539974 100644 --- a/core/modules/user/src/Access/RegisterAccessCheck.php +++ b/core/modules/user/src/Access/RegisterAccessCheck.php @@ -24,4 +24,5 @@ class RegisterAccessCheck implements AccessInterface { $user_settings = \Drupal::config('user.settings'); return AccessResult::allowedIf($account->isAnonymous() && $user_settings->get('register') != USER_REGISTER_ADMINISTRATORS_ONLY)->cacheUntilConfigurationChanges($user_settings); } + } diff --git a/core/modules/user/src/AccountForm.php b/core/modules/user/src/AccountForm.php index 46603cc..dbdb08b 100644 --- a/core/modules/user/src/AccountForm.php +++ b/core/modules/user/src/AccountForm.php @@ -391,4 +391,5 @@ abstract class AccountForm extends ContentEntityForm { unset($_SESSION['pass_reset_' . $user->id()]); } } + } diff --git a/core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraint.php b/core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraint.php index effb26c..3c64921 100644 --- a/core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraint.php +++ b/core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraint.php @@ -20,4 +20,5 @@ class UserNameConstraint extends Constraint { public $multipleSpacesMessage = 'The username cannot contain multiple spaces in a row.'; public $illegalMessage = 'The username contains an illegal character.'; public $tooLongMessage = 'The username %name is too long: it must be %max characters or less.'; + } diff --git a/core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraintValidator.php b/core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraintValidator.php index 042dcb1..fa71464 100644 --- a/core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraintValidator.php +++ b/core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraintValidator.php @@ -57,4 +57,5 @@ class UserNameConstraintValidator extends ConstraintValidator { $this->context->addViolation($constraint->tooLongMessage, array('%name' => $name, '%max' => USERNAME_MAX_LENGTH)); } } + } diff --git a/core/modules/user/src/Plugin/views/argument_validator/User.php b/core/modules/user/src/Plugin/views/argument_validator/User.php ind |