diff --git a/core/lib/Drupal/Component/Datetime/DateTimePlus.php b/core/lib/Drupal/Component/Datetime/DateTimePlus.php index 1d71ae6b384658c0ea7937c61092979d11f13ab6..42fa409f1f6060550c8f932766698805e705e35f 100644 --- a/core/lib/Drupal/Component/Datetime/DateTimePlus.php +++ b/core/lib/Drupal/Component/Datetime/DateTimePlus.php @@ -616,4 +616,5 @@ public function format($format, $settings = array()) { return $value; } + } diff --git a/core/lib/Drupal/Component/Diff/Diff.php b/core/lib/Drupal/Component/Diff/Diff.php index 4afcbd3e3a7cf192ce72ae7270f93e7f2dafc379..2e35611dbf78e31409032b837b1e1b222b65b663 100644 --- a/core/lib/Drupal/Component/Diff/Diff.php +++ b/core/lib/Drupal/Component/Diff/Diff.php @@ -168,4 +168,5 @@ public function check($from_lines, $to_lines) { 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 ca470947efd80f87dbe37d8522db110b18bb1a0f..b27886d36dd480dff134cb3735d7a51cbeffd34c 100644 --- a/core/lib/Drupal/Component/Diff/Engine/DiffEngine.php +++ b/core/lib/Drupal/Component/Diff/Engine/DiffEngine.php @@ -453,4 +453,5 @@ protected function _shift_boundaries($lines, &$changed, $other_changed) { } } } + } diff --git a/core/lib/Drupal/Component/Diff/Engine/DiffOp.php b/core/lib/Drupal/Component/Diff/Engine/DiffOp.php index fa7b996e76a2089e421cee949113e4708195db38..29d749dc7c8421c285e0864fbc63e7980d265355 100644 --- a/core/lib/Drupal/Component/Diff/Engine/DiffOp.php +++ b/core/lib/Drupal/Component/Diff/Engine/DiffOp.php @@ -23,4 +23,5 @@ public function norig() { 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 ee4a8758317d95ce7e4420b66070237a14ebccd9..14429c251d62a71db50ac05476565cf0db01a9a9 100644 --- a/core/lib/Drupal/Component/Diff/Engine/DiffOpAdd.php +++ b/core/lib/Drupal/Component/Diff/Engine/DiffOpAdd.php @@ -18,4 +18,5 @@ public function __construct($lines) { 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 1e8b4c3c28fb9e6b0c2a11efd2565303ece5f12a..4abd6acc01f15675852bf1fd9f76bbff42c7c323 100644 --- a/core/lib/Drupal/Component/Diff/Engine/DiffOpChange.php +++ b/core/lib/Drupal/Component/Diff/Engine/DiffOpChange.php @@ -18,4 +18,5 @@ public function __construct($orig, $closing) { 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 c48a2d91ebc0f84797ac2a411cd01975cf3bb45e..4128d573291a3ce321af61572dbd00276f65da9c 100644 --- a/core/lib/Drupal/Component/Diff/Engine/DiffOpCopy.php +++ b/core/lib/Drupal/Component/Diff/Engine/DiffOpCopy.php @@ -21,4 +21,5 @@ public function __construct($orig, $closing = FALSE) { 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 5d777d147b37e63d85b6b44c0844938106799500..e402d66b61f7a5770a757166848c312e45cb23cf 100644 --- a/core/lib/Drupal/Component/Diff/Engine/DiffOpDelete.php +++ b/core/lib/Drupal/Component/Diff/Engine/DiffOpDelete.php @@ -18,4 +18,5 @@ public function __construct($lines) { 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 92ed7067ba67eaed98e60d8b73525459906b64f3..532c7014c174307dc0bbffcc1cf2929cc0c46056 100644 --- a/core/lib/Drupal/Component/Diff/Engine/HWLDFWordAccumulator.php +++ b/core/lib/Drupal/Component/Diff/Engine/HWLDFWordAccumulator.php @@ -75,4 +75,5 @@ public function getLines() { $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 9a6e8bbfcdc3a770f9a147997e34cd3d7195cb15..d49cc0df6227d6924b0112ec3923ceec81eddefa 100644 --- a/core/lib/Drupal/Component/Diff/MappedDiff.php +++ b/core/lib/Drupal/Component/Diff/MappedDiff.php @@ -52,4 +52,5 @@ public function __construct($from_lines, $to_lines, $mapped_from_lines, $mapped_ } } } + } diff --git a/core/lib/Drupal/Component/Diff/WordLevelDiff.php b/core/lib/Drupal/Component/Diff/WordLevelDiff.php index c9114bcb8af5fc03973efe42132f859fbf2f9a45..a19c687ef785b4e2ace0059475625c471a401b9b 100644 --- a/core/lib/Drupal/Component/Diff/WordLevelDiff.php +++ b/core/lib/Drupal/Component/Diff/WordLevelDiff.php @@ -78,4 +78,5 @@ public function closing() { $lines = $closing->getLines(); return $lines; } + } diff --git a/core/lib/Drupal/Component/Gettext/PoHeader.php b/core/lib/Drupal/Component/Gettext/PoHeader.php index f92cfd931e3740d4736dbf8735631a15df1eb97b..59223014dd3748f521772c7b61755d9ab097d28c 100644 --- a/core/lib/Drupal/Component/Gettext/PoHeader.php +++ b/core/lib/Drupal/Component/Gettext/PoHeader.php @@ -559,4 +559,5 @@ protected function evaluatePlural($element_stack, $n) { } return (int) $element_stack[0]; } + } diff --git a/core/lib/Drupal/Component/Graph/Graph.php b/core/lib/Drupal/Component/Graph/Graph.php index 2dd430d9130dad8fd3d0005cfad0d84df5cf28ac..5d8d5caf87894ff724c8eb3a6f56355238f617be 100644 --- a/core/lib/Drupal/Component/Graph/Graph.php +++ b/core/lib/Drupal/Component/Graph/Graph.php @@ -154,4 +154,5 @@ protected function depthFirstSearch(&$state, $start, &$component = NULL) { // 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 1bd7b6563f32cfc91cdf68dbe30a8b944191c65f..0c97c6df0fe0d1b513c5b1549f14f0c616b11418 100644 --- a/core/lib/Drupal/Component/Plugin/Derivative/DeriverBase.php +++ b/core/lib/Drupal/Component/Plugin/Derivative/DeriverBase.php @@ -31,4 +31,5 @@ public function getDerivativeDefinition($derivative_id, $base_plugin_definition) 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 fd4e5e545a03cf0c32f84a90b9173cb8729c8315..2028f405ed343e8bac550390e79234352e469b16 100644 --- a/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php +++ b/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php @@ -240,4 +240,5 @@ protected function mergeDerivativeDefinition($base_plugin_definition, $derivativ 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 d967a0bc7427e797d4da661699af4b8ff812e5bf..f7ee6718a8ae385afe2800aba183a2ab50ad330e 100644 --- a/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscovery.php +++ b/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscovery.php @@ -33,4 +33,5 @@ public function setDefinition($plugin, $definition) { 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 157d87b58418d1bbaf922235788012396e16eb65..889d146b92d37b9dd30c27dfd0ef936a45763053 100644 --- a/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php +++ b/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php @@ -63,4 +63,5 @@ public function getDefinitions() { 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 b634d51dd9fd7e05eaa7ccffa886468aa036f529..2cca811f884218a203e4d219a81f3a06eb77fb0e 100644 --- a/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php +++ b/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php @@ -103,4 +103,5 @@ public static function getPluginClass($plugin_id, $plugin_definition = NULL, $re return $class; } + } diff --git a/core/lib/Drupal/Component/Plugin/Factory/ReflectionFactory.php b/core/lib/Drupal/Component/Plugin/Factory/ReflectionFactory.php index 3bd3237e93cebb31d38234b81f3b8b06eea1cf77..9954422d295067d19b6f85a5382fd428a7d044db 100644 --- a/core/lib/Drupal/Component/Plugin/Factory/ReflectionFactory.php +++ b/core/lib/Drupal/Component/Plugin/Factory/ReflectionFactory.php @@ -76,4 +76,5 @@ protected function getInstanceArguments(\ReflectionClass $reflector, $plugin_id, } return $arguments; } + } diff --git a/core/lib/Drupal/Component/Plugin/PluginBase.php b/core/lib/Drupal/Component/Plugin/PluginBase.php index cd339a1d947374c3bfa08c195c5ac887c1be49d7..b608e90b82a5cd61156dcbc2a20f90cd64f9787e 100644 --- a/core/lib/Drupal/Component/Plugin/PluginBase.php +++ b/core/lib/Drupal/Component/Plugin/PluginBase.php @@ -92,4 +92,5 @@ public function getDerivativeId() { 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 0953bfedd4874da53c8182718d52524a459c2540..c20168df047060897b0cb002cbeefe6b26ae2312 100644 --- a/core/lib/Drupal/Component/Transliteration/PhpTransliteration.php +++ b/core/lib/Drupal/Component/Transliteration/PhpTransliteration.php @@ -280,4 +280,5 @@ protected function readGenericData($bank) { // 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 3a6771f6481afa518f0e8f7d252050f9277797c8..2291fcc86e7dacec822335c1a9f0cdeb2092ec1b 100644 --- a/core/lib/Drupal/Component/Transliteration/TransliterationInterface.php +++ b/core/lib/Drupal/Component/Transliteration/TransliterationInterface.php @@ -46,4 +46,5 @@ public function removeDiacritics($string); * 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 8f2bffd94e4bfea691958ff13e2a950c7603ad99..ab8be780324b0bc4bc7bebd943c2b19c774c1bf6 100644 --- a/core/lib/Drupal/Component/Utility/Xss.php +++ b/core/lib/Drupal/Component/Utility/Xss.php @@ -343,4 +343,5 @@ public static function getAdminTagList() { 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 13b943f8ed5476e8e08e2ccd05029a369b4065fd..070113297fbc09b57bcb4da4906cd6d2d8c267b4 100644 --- a/core/lib/Drupal/Component/Uuid/Com.php +++ b/core/lib/Drupal/Component/Uuid/Com.php @@ -15,4 +15,5 @@ public function generate() { // 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 7960ff0fad78c4e374d6bca0425cf93dbf805a01..88e0c6356ae6de3a152c5727f3c11630db90fecd 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 16ee8bbc999f532131cc7f1550a283f3253caabd..f9f8a7b486fde18765813e490dd6b5c42b46d6d4 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 81c911b870b2c86fb84b54f1c564aaaf1c2a24e0..b0a71ae4550bc2c6e44c152871934c3eac85492d 100644 --- a/core/lib/Drupal/Core/Access/AccessManager.php +++ b/core/lib/Drupal/Core/Access/AccessManager.php @@ -169,5 +169,4 @@ protected function performCheck($service_id, ArgumentsResolverInterface $argumen return $service_access; } - } diff --git a/core/lib/Drupal/Core/Access/CheckProviderInterface.php b/core/lib/Drupal/Core/Access/CheckProviderInterface.php index 5f54cdfcf2339c9aee15f6944dd6db295db8b395..bb0dd4af97c5731956df0474424487a5090e2732 100644 --- a/core/lib/Drupal/Core/Access/CheckProviderInterface.php +++ b/core/lib/Drupal/Core/Access/CheckProviderInterface.php @@ -61,4 +61,5 @@ public function loadCheck($service_id); * @return array */ public function getChecksNeedRequest(); + } diff --git a/core/lib/Drupal/Core/Ajax/CloseDialogCommand.php b/core/lib/Drupal/Core/Ajax/CloseDialogCommand.php index f1d604490c789780ba90feea8000e0b576cb0ec1..fa58208b400897a9372610fa5ea6f92d020a1146 100644 --- a/core/lib/Drupal/Core/Ajax/CloseDialogCommand.php +++ b/core/lib/Drupal/Core/Ajax/CloseDialogCommand.php @@ -46,4 +46,5 @@ public function render() { 'persist' => $this->persist, ); } + } diff --git a/core/lib/Drupal/Core/Ajax/CommandInterface.php b/core/lib/Drupal/Core/Ajax/CommandInterface.php index b6c3b2fe9d2194ecafbee74e376a899022b4f054..4865289c3a50941d394fd9bc73a7648d86b5809b 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 45b14ee9b9d4685f7b4e875e2e8d65e7f6206d07..edb4fe30867109bfcc43f48746674938b0d7155d 100644 --- a/core/lib/Drupal/Core/Ajax/OpenModalDialogCommand.php +++ b/core/lib/Drupal/Core/Ajax/OpenModalDialogCommand.php @@ -33,4 +33,5 @@ public function __construct($title, $content, array $dialog_options = array(), $ $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 6f59cb4c06ca98a0b0ee6f93255002e29a442ef9..4294aeb69937a00f35c6aa481a1600810a5a57d7 100644 --- a/core/lib/Drupal/Core/Ajax/SetDialogTitleCommand.php +++ b/core/lib/Drupal/Core/Ajax/SetDialogTitleCommand.php @@ -23,4 +23,5 @@ public function __construct($selector, $title) { $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 433a54144f17b2561a2c87b512e384bb03d55411..38c62cb92c8f3a99cae68496d0e2a39c499b195f 100644 --- a/core/lib/Drupal/Core/Archiver/ArchiverInterface.php +++ b/core/lib/Drupal/Core/Archiver/ArchiverInterface.php @@ -56,4 +56,5 @@ public function extract($path, array $files = array()); * 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 3bf66c0992804438b11038af9e212a8b49f52e81..33f4de63c61f07351f15157ecdbf926f6168bf7f 100644 --- a/core/lib/Drupal/Core/Archiver/Tar.php +++ b/core/lib/Drupal/Core/Archiver/Tar.php @@ -87,4 +87,5 @@ public function listContents() { 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 045e6c04687b301cded9030f2feec190cd370d6c..640bcde808c6226adebb8459bb8f68b8839ec510 100644 --- a/core/lib/Drupal/Core/Archiver/Zip.php +++ b/core/lib/Drupal/Core/Archiver/Zip.php @@ -89,4 +89,5 @@ public function listContents() { 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 f4865069bcb9413e8da04030ce5806ed4c515c35..68c5b5ab1fb324923fefe691981d2953a90b4b55 100644 --- a/core/lib/Drupal/Core/Cache/CacheBackendInterface.php +++ b/core/lib/Drupal/Core/Cache/CacheBackendInterface.php @@ -215,4 +215,5 @@ public function garbageCollection(); * 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 accbd8b96fb946799f3d93f11a8b5effc6641f35..3ec62beb7c4e95b452bf933f137da6fe095958a0 100644 --- a/core/lib/Drupal/Core/Cache/CacheTagsChecksumInterface.php +++ b/core/lib/Drupal/Core/Cache/CacheTagsChecksumInterface.php @@ -54,4 +54,5 @@ public function isValid($checksum, array $tags); * 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 f5fb598a043d142486c347b31178363e2c7b4b27..a96d1834723c982f1d88758e5bc6d5dfecce47df 100644 --- a/core/lib/Drupal/Core/Cache/DatabaseBackend.php +++ b/core/lib/Drupal/Core/Cache/DatabaseBackend.php @@ -477,4 +477,5 @@ public function schemaDefinition() { ); return $schema; } + } diff --git a/core/lib/Drupal/Core/Cache/ListCacheBinsPass.php b/core/lib/Drupal/Core/Cache/ListCacheBinsPass.php index 826f0dd8b160bd304ee5af9ef0e4c8608d07efd1..27886ace08c973fa013c1a32cd2b6e54c8377020 100644 --- a/core/lib/Drupal/Core/Cache/ListCacheBinsPass.php +++ b/core/lib/Drupal/Core/Cache/ListCacheBinsPass.php @@ -28,4 +28,5 @@ public function process(ContainerBuilder $container) { $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 4939bb5b4e5acff420535ddc3a08094a2cf5b8bc..fec549f127d492489e2c7e411e2cd5ec826cd233 100644 --- a/core/lib/Drupal/Core/Cache/NullBackend.php +++ b/core/lib/Drupal/Core/Cache/NullBackend.php @@ -88,4 +88,5 @@ public function garbageCollection() {} * {@inheritdoc} */ public function removeBin() {} + } diff --git a/core/lib/Drupal/Core/Config/BootstrapConfigStorageFactory.php b/core/lib/Drupal/Core/Config/BootstrapConfigStorageFactory.php index 082b0ca54714c09ddf307a0295e7e1b0705b7f59..3b9f6549e05e52e68798e05e6dd349277757153f 100644 --- a/core/lib/Drupal/Core/Config/BootstrapConfigStorageFactory.php +++ b/core/lib/Drupal/Core/Config/BootstrapConfigStorageFactory.php @@ -56,4 +56,5 @@ public static function getDatabaseStorage() { 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 aa5045ba16823762a7f4f2f322e04014c7994353..a8a42c54eddf5cf7291747f308abb0e7b8fcbf6c 100644 --- a/core/lib/Drupal/Core/Config/ConfigModuleOverridesEvent.php +++ b/core/lib/Drupal/Core/Config/ConfigModuleOverridesEvent.php @@ -99,4 +99,5 @@ public function setOverride($name, array $values) { } return $this; } + } diff --git a/core/lib/Drupal/Core/Config/DatabaseStorage.php b/core/lib/Drupal/Core/Config/DatabaseStorage.php index 30d3fa98e988e6d4fb2b288e5bce39ae90378a50..930eea1ad0fa0e09d64ca4d3cd9df76fff83f4f3 100644 --- a/core/lib/Drupal/Core/Config/DatabaseStorage.php +++ b/core/lib/Drupal/Core/Config/DatabaseStorage.php @@ -325,5 +325,4 @@ public function getAllCollectionNames() { } } - } diff --git a/core/lib/Drupal/Core/Config/Entity/ConfigDependencyDeleteFormTrait.php b/core/lib/Drupal/Core/Config/Entity/ConfigDependencyDeleteFormTrait.php index 5e9e4d72ddfb547a0f0d65b344152835d7026294..44c02e3f8e92ea18c3bac6b266498d37cb1a81b1 100644 --- a/core/lib/Drupal/Core/Config/Entity/ConfigDependencyDeleteFormTrait.php +++ b/core/lib/Drupal/Core/Config/Entity/ConfigDependencyDeleteFormTrait.php @@ -121,4 +121,5 @@ protected function addDependencyListsToForm(array &$form, $type, array $names, C } } + } diff --git a/core/lib/Drupal/Core/Config/ExtensionInstallStorage.php b/core/lib/Drupal/Core/Config/ExtensionInstallStorage.php index 9fc7d4cebcf395f57629d4552be33785da53c620..bdeb023ac572f3640ec68fec0feae461c2ad820e 100644 --- a/core/lib/Drupal/Core/Config/ExtensionInstallStorage.php +++ b/core/lib/Drupal/Core/Config/ExtensionInstallStorage.php @@ -131,4 +131,5 @@ protected function getAllFolders() { } return $this->folders; } + } diff --git a/core/lib/Drupal/Core/Config/Schema/ConfigSchemaDiscovery.php b/core/lib/Drupal/Core/Config/Schema/ConfigSchemaDiscovery.php index 9b6b06855f71184fc4c956a33143b619ae8d2b99..f74cc91c1eecfd4a210206162ef99f1201a0bd51 100644 --- a/core/lib/Drupal/Core/Config/Schema/ConfigSchemaDiscovery.php +++ b/core/lib/Drupal/Core/Config/Schema/ConfigSchemaDiscovery.php @@ -42,4 +42,5 @@ public function getDefinitions() { } return $definitions; } + } diff --git a/core/lib/Drupal/Core/Config/Schema/SchemaCheckTrait.php b/core/lib/Drupal/Core/Config/Schema/SchemaCheckTrait.php index fcbda71b3b0e91623cbcfa4a2ecd719777f0a55c..972eda438388142ba8b6e7249437d1963c0cab01 100644 --- a/core/lib/Drupal/Core/Config/Schema/SchemaCheckTrait.php +++ b/core/lib/Drupal/Core/Config/Schema/SchemaCheckTrait.php @@ -133,4 +133,5 @@ protected function checkValue($key, $value) { // 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 130d46a851862d886847f207a7fb98a47e35c361..213eb83e6e823dd8c2e4ec67776f5a571663a001 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 @@ public function __toString() { 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 0c1d0365ecd63f24b5bd4d88ea63efd9e8abe49f..a91b240566b79c88509a46cb556ec59b658aa942 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 @@ public function getFormOptions(array $database) { } 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 937678e9d488cee91bfb483955e49230d6a521c0..4cd660b4b42bcb2499a231d8dfa518d4a7a83b90 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 @@ protected function hashBase64($data) { // 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 2537963e0b27239724e7714a9c0e4953c3c4dd96..3214b332c3b115b2f1a394c9b490bbcbf257ae17 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 @@ public function execute() { 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 13e11f3f8a48a01a21a4b9e51d1337f46753c726..0d9947b96f2872871dbae5b818cf5e75273ddf58 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 @@ public function execute() { 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 23c3aa5fe30d62af226331645952e5022839d325..3a5b970912d2258e7eb3b8622feb64f2ac1373ba 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 @@ protected function connect() { } 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 be400adbd1ea197ed66b3eaf30c1a9bf3f61004d..6d7caab24bcb20e10e317d62124bcac0eb0e16db 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 @@ public function forUpdate($set = TRUE) { // 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 33a37ebd5a1882f214b1d64344a8595bd190a5cb..adc537cc345aa68b08ead672bad87f0016bb2d7f 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 @@ public function execute($args = array(), $options = array()) { 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 6cd3b9e1d969f9b850a028a15430aabc36803696..c58ff7d38c089024c256b1b8f71af33d1ca2d9b6 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 @@ public function __toString() { 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 84f55cba6944abd413ab0ae49fcb81d97a0e103e..76c39db296c460c752edc63860bb4a0a5a47b812 100644 --- a/core/lib/Drupal/Core/Database/Log.php +++ b/core/lib/Drupal/Core/Database/Log.php @@ -163,4 +163,5 @@ public function findCaller() { } } } + } diff --git a/core/lib/Drupal/Core/Database/Query/AlterableInterface.php b/core/lib/Drupal/Core/Database/Query/AlterableInterface.php index 8e0c778497c9c467bfeb3b9d21e51f53d5615bbc..002e39e45a20832b51ac2f6c5374425d24fad807 100644 --- a/core/lib/Drupal/Core/Database/Query/AlterableInterface.php +++ b/core/lib/Drupal/Core/Database/Query/AlterableInterface.php @@ -87,4 +87,5 @@ public function addMetaData($key, $object); * 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 01fbfffb276ecd57f94bdfe6d6c48b93b783b760..cb39dfdd1755cc2e22f731dd0a2af4df63167b2e 100644 --- a/core/lib/Drupal/Core/Database/Query/Condition.php +++ b/core/lib/Drupal/Core/Database/Query/Condition.php @@ -351,4 +351,5 @@ public function andConditionGroup() { 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 ae5abd26ababe13d64bfec04460df9e39ba1d0a5..bd0b52bd2cce48b41da719b07c8eb4497b8f1f25 100644 --- a/core/lib/Drupal/Core/Database/Query/ConditionInterface.php +++ b/core/lib/Drupal/Core/Database/Query/ConditionInterface.php @@ -191,4 +191,5 @@ public function andConditionGroup(); * @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 eb8438879f6661fa4d640de88bd909d611265ea9..65f96c947489002094ce31cab3a92787e81fd4d3 100644 --- a/core/lib/Drupal/Core/Database/Query/Delete.php +++ b/core/lib/Drupal/Core/Database/Query/Delete.php @@ -75,4 +75,5 @@ public function __toString() { return $query; } + } diff --git a/core/lib/Drupal/Core/Database/Query/ExtendableInterface.php b/core/lib/Drupal/Core/Database/Query/ExtendableInterface.php index 79c0633c2c193b231683f07e78fafe79479ccc40..b0d6f762d3d75db8282ae59133906c95bdb92096 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 f51b6ed60e734f2ba30754efc1ece2693323bb98..a0fa5991388469cfe84c4ca50de01d4ca2a31506 100644 --- a/core/lib/Drupal/Core/Database/Query/Insert.php +++ b/core/lib/Drupal/Core/Database/Query/Insert.php @@ -170,4 +170,5 @@ protected function preExecute() { } return TRUE; } + } diff --git a/core/lib/Drupal/Core/Database/Query/Merge.php b/core/lib/Drupal/Core/Database/Query/Merge.php index 7d60278e6574ed57b9d36b7979ba9e5c1a6e71a8..8bd02fab9ccf71d97f9ffdc7d08e9745ced3e20d 100644 --- a/core/lib/Drupal/Core/Database/Query/Merge.php +++ b/core/lib/Drupal/Core/Database/Query/Merge.php @@ -403,4 +403,5 @@ public function execute() { } } } + } diff --git a/core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php b/core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php index a925e3140bb8fc52d3411a943d544d98d0c61ca9..5207f58cb92edc9ec6a8928ae2c04a48c3929e33 100644 --- a/core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php +++ b/core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php @@ -166,4 +166,5 @@ public function element($element) { } return $this; } + } diff --git a/core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php b/core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php index ddfb5ffea75434792c8765b26ea82cc1da6136d7..f2a00dec5c1e5dde8a3e094e4fcbd7980f8c7c16 100644 --- a/core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php +++ b/core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php @@ -19,4 +19,5 @@ public function uniqueIdentifier(); * 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 8cd5755065ddfc6a430f6c064ea4c1941d4c4ee1..808593c58cb5385b05e887ce7d11f95eacfc5a62 100644 --- a/core/lib/Drupal/Core/Database/Query/SelectExtender.php +++ b/core/lib/Drupal/Core/Database/Query/SelectExtender.php @@ -532,4 +532,5 @@ public function andConditionGroup() { 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 febb66cc685a708a223106c35879a8c636785034..285f1d6a9bb8f1246f4050055d7f95548b891cb2 100644 --- a/core/lib/Drupal/Core/Database/Query/TableSortExtender.php +++ b/core/lib/Drupal/Core/Database/Query/TableSortExtender.php @@ -96,4 +96,5 @@ protected function getQueryParameters() { 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 0ca286d61c67510303d689e2e8e782cf256517c6..64520ee97eb194eeca625039a5c28e7d2d518495 100644 --- a/core/lib/Drupal/Core/Database/Query/Truncate.php +++ b/core/lib/Drupal/Core/Database/Query/Truncate.php @@ -80,4 +80,5 @@ public function __toString() { 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 fcd824dfba1318b9f9ba5d735da2d4a68dd85c34..1a2141575ac73e6e77096fb7cab17f6b38f77c07 100644 --- a/core/lib/Drupal/Core/Database/Schema.php +++ b/core/lib/Drupal/Core/Database/Schema.php @@ -655,4 +655,5 @@ protected function escapeDefaultValue($value) { } 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 e0147f452f8684f4861e5f46d1669a7d6dfabc46..5bc9e48ef79fd36af4501dbeaab2dbcd3d90e6dc 100644 --- a/core/lib/Drupal/Core/Database/StatementInterface.php +++ b/core/lib/Drupal/Core/Database/StatementInterface.php @@ -208,4 +208,5 @@ public function fetchAllKeyed($key_index = 0, $value_index = 1); * 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 5798343dfc6f79b97209a9f5933a5b02b7ddab01..8db30ab8814e7347a7d90cae986326320d98b8b6 100644 --- a/core/lib/Drupal/Core/Database/Transaction.php +++ b/core/lib/Drupal/Core/Database/Transaction.php @@ -93,4 +93,5 @@ public function rollback() { $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 47b4297af6e2eee440e016c1f96e22789902df35..157f576ed4567530b9d65b12a986acef559e3039 100644 --- a/core/lib/Drupal/Core/DependencyInjection/Container.php +++ b/core/lib/Drupal/Core/DependencyInjection/Container.php @@ -29,4 +29,5 @@ public function __sleep() { 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 03bf726b4db35392694437cb497bc5c22d4b00af..cccf69131e32357dcd7b5f6cdaf6f5ae6af58d76 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 dd6890394934726632bc5bf1eaa2b3dd2af4815e..fe39f8f3def95d79766bec5c14871a9f47c9c98c 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 53ae74f685ba0619d14c6844c3f2753168a8ef96..52f28949179b4eda912c49c1e5917032d88191e0 100644 --- a/core/lib/Drupal/Core/Diff/DiffFormatter.php +++ b/core/lib/Drupal/Core/Diff/DiffFormatter.php @@ -211,4 +211,5 @@ protected function _changed($orig, $closing) { $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 24a8e4fc1103ddbf3835e27cf51ee3faadf4511c..90541f43dab3d96460b8124af3859fccc53ed4c1 100644 --- a/core/lib/Drupal/Core/DrupalKernel.php +++ b/core/lib/Drupal/Core/DrupalKernel.php @@ -1506,4 +1506,5 @@ protected static function setupTrustedHosts(Request $request, $host_patterns) { 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 b5fab534271c910475a12e855f4e1f5bbd029fc0..b4a616ae01d7a01a80fe581898991b6d009ebe43 100644 --- a/core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php +++ b/core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php @@ -301,4 +301,5 @@ public function getPluginCollections() { '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 ca7d1b98b1410efe313e569301dc50c136b1b841..747571799cdbc3bdfad084ab1cc4666505cf187f 100644 --- a/core/lib/Drupal/Core/Entity/EntityChangedInterface.php +++ b/core/lib/Drupal/Core/Entity/EntityChangedInterface.php @@ -42,4 +42,5 @@ public function setChangedTime($timestamp); * translations. */ public function getChangedTimeAcrossTranslations(); + } diff --git a/core/lib/Drupal/Core/Entity/EntityChangedTrait.php b/core/lib/Drupal/Core/Entity/EntityChangedTrait.php index 8b2f8cf868dafd12ac543325223376dff33b292d..f94441bab64fa24540aeef492694b54d7476f741 100644 --- a/core/lib/Drupal/Core/Entity/EntityChangedTrait.php +++ b/core/lib/Drupal/Core/Entity/EntityChangedTrait.php @@ -45,4 +45,5 @@ public function setChangedTime($timestamp) { $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 e3d8d561da26f5fde1c4c68dfbc2a16ec4d5fc87..e7a2a52f00e993492eea897546c1332864b5026c 100644 --- a/core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php +++ b/core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php @@ -26,4 +26,5 @@ public function getTargetType(); * @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 3a5db0365abe99d323a128a7f44745d99b08f3f3..4ee738f7180ae7a1cd5f4e1600a8c64b3db96c7f 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 @@ public function getDerivativeDefinitions($base_plugin_definition) { } 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 e9ad11cd0c02050948f5c0df196e5d51dfcb3286..ff8be9d8d4159256faea43ad3c838cef88cb0585 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 @@ public function getString() { } 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 83a0d6bc43d895d48b22c0b5f5246e5c15dca433..513213feb7bcf33783451e9f2f33b19d3072106f 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 @@ public function getDefaultOption() { 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 65652c444d04fb6b78a7f71ad9268e3eb300787c..903e5989cb069667b13c7fb4c4dbcec98ee13c88 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 @@ 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 4cd502a7fc93a60318e815514e2508caef29cd17..c9f2d815950bf83d6ccfe458d8af5abc8e814720 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 @@ public function getDefaultOption() { 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 a00320433473ff3f66a627af33959183324f7d32..ab8d64c228dfd7de9d504480946d5956d135777a 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 @@ public function validate($value, Constraint $constraint) { } } } + } diff --git a/core/lib/Drupal/Core/Entity/Query/ConditionBase.php b/core/lib/Drupal/Core/Entity/Query/ConditionBase.php index 81e2522fa4c18f09553d5c4612cbcfdd34b8c5cc..4393935c15efcf2029bcd5754afd006ef6b76350 100644 --- a/core/lib/Drupal/Core/Entity/Query/ConditionBase.php +++ b/core/lib/Drupal/Core/Entity/Query/ConditionBase.php @@ -20,4 +20,5 @@ public function condition($field, $value = NULL, $operator = NULL, $langcode = N return $this; } + } diff --git a/core/lib/Drupal/Core/Entity/Query/ConditionInterface.php b/core/lib/Drupal/Core/Entity/Query/ConditionInterface.php index 7a0664cc87175aa23428b53329d2b6ac51c35304..81463fb91428262be755fc664e7282ac715445d0 100644 --- a/core/lib/Drupal/Core/Entity/Query/ConditionInterface.php +++ b/core/lib/Drupal/Core/Entity/Query/ConditionInterface.php @@ -72,4 +72,5 @@ public function &conditions(); * 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 cae2cecde97e9e7ac4b8858c5c1f8b7c8df248aa..33e14a7d989c06edc9311ec69ea45b5478d893d9 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 @@ public function notExistsAggregate($field, $function, $langcode = NULL) { 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 b49e5756b5dab7f378a371682752ee2353cc1592..1b561ed48ecb7db8c09342f64d830d784eb121cc 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 @@ public static function translateCondition(&$condition, SelectInterface $sql_quer } 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 f60c9f98db4cace93cf6608dcacf331ffc7ece76..1fff95d122bede6dafe58d1b54b9aeacd8bb165b 100644 --- a/core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinitionInterface.php +++ b/core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinitionInterface.php @@ -44,4 +44,5 @@ public function getBundles(); * @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 3d2ada2d0c3428ed7d5d7994ce69fd4e595d1637..8337d43b112bb2d87f614b29798bace2cc3e9350 100644 --- a/core/lib/Drupal/Core/EventSubscriber/EntityRouteAlterSubscriber.php +++ b/core/lib/Drupal/Core/EventSubscriber/EntityRouteAlterSubscriber.php @@ -56,4 +56,5 @@ static function getSubscribedEvents() { $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 07f00a6bb906b24d9bae3292bb44beab8b485aad..3db181adc81c20bd4c14a9218d4a565870b9853f 100644 --- a/core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php +++ b/core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php @@ -286,4 +286,5 @@ public static function getSubscribedEvents() { $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 8016cefd95781aec1fb52a15adb8395a332ef0a6..4b04be6e9c10426839aa53278721a79392147f0e 100644 --- a/core/lib/Drupal/Core/EventSubscriber/KernelDestructionSubscriber.php +++ b/core/lib/Drupal/Core/EventSubscriber/KernelDestructionSubscriber.php @@ -62,4 +62,5 @@ static function getSubscribedEvents() { $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 d0c8bf351b608664456cd9467c908cea26864a78..271ddbee67dc6a36c76cac5e0f956fc6894cd981 100644 --- a/core/lib/Drupal/Core/EventSubscriber/ParamConverterSubscriber.php +++ b/core/lib/Drupal/Core/EventSubscriber/ParamConverterSubscriber.php @@ -48,4 +48,5 @@ static function getSubscribedEvents() { $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 85d5faea3c9fc34c601a3a77c6420d3a0260a496..77dbdbc993c5dfbde9e2dd92cbbb52a5b82ec3b4 100644 --- a/core/lib/Drupal/Core/EventSubscriber/PathSubscriber.php +++ b/core/lib/Drupal/Core/EventSubscriber/PathSubscriber.php @@ -75,4 +75,5 @@ static function getSubscribedEvents() { $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 9cea5e0fb51950de30ea85003beac1705398ef6d..b9a64d51ba66839d35ff614a0afbe57967f9c8b4 100644 --- a/core/lib/Drupal/Core/EventSubscriber/RedirectResponseSubscriber.php +++ b/core/lib/Drupal/Core/EventSubscriber/RedirectResponseSubscriber.php @@ -170,4 +170,5 @@ static function getSubscribedEvents() { $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 7676ae808cef9328c23286069aaa11733ff852a4..7431e96cb182d737aadbcb129b2bcb9fcf0ff488 100644 --- a/core/lib/Drupal/Core/EventSubscriber/RequestCloseSubscriber.php +++ b/core/lib/Drupal/Core/EventSubscriber/RequestCloseSubscriber.php @@ -53,4 +53,5 @@ static function getSubscribedEvents() { return $events; } + } diff --git a/core/lib/Drupal/Core/Executable/ExecutablePluginBase.php b/core/lib/Drupal/Core/Executable/ExecutablePluginBase.php index b6f559b258583f120b9b20693758f2c0980c8d1d..1480cbf240d35172513630ff13a9b6ec2632df62 100644 --- a/core/lib/Drupal/Core/Executable/ExecutablePluginBase.php +++ b/core/lib/Drupal/Core/Executable/ExecutablePluginBase.php @@ -83,4 +83,5 @@ public function setConfig($key, $value) { $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 3c8dff59eab725e81fa6a401f0c74e435f8c3f73..022212e823701515ce4bd90e76a3839736490764 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 28ebcce019663ca314d022deb34b6d42fb6e4fc4..8c573bbc09557c440cefdae48e360c6cf7001474 100644 --- a/core/lib/Drupal/Core/Extension/ThemeHandler.php +++ b/core/lib/Drupal/Core/Extension/ThemeHandler.php @@ -495,4 +495,5 @@ public function hasUi($name) { } return FALSE; } + } diff --git a/core/lib/Drupal/Core/Field/ChangedFieldItemList.php b/core/lib/Drupal/Core/Field/ChangedFieldItemList.php index 969f7b43f6d51f53b5fc27297e6e1f17d7889c3b..f781dc93b0dba0a059e81e025c0616916fb1cd41 100644 --- a/core/lib/Drupal/Core/Field/ChangedFieldItemList.php +++ b/core/lib/Drupal/Core/Field/ChangedFieldItemList.php @@ -17,4 +17,5 @@ public function defaultAccess($operation = 'view', AccountInterface $account = N // 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 4b46ce48f7e8cfd76337c319754cd5e32de66d20..62e54a777bf09fb3dc6eb12672cb7a30fc18dc93 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 @@ public function viewElements(FieldItemListInterface $items, $langcode) { 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 527d3eefc8e165680e050f438cbcf4d797423646..01931913a179971f3899df344d6b0034ef75c61f 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 @@ public static function generateSampleValue(FieldDefinitionInterface $field_defin $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 5f38fb0ff6495bd55075db9902c7ce2275c99c34..2238f330c1368fbe5fc3810d6ffec0ec2ac94066 100644 --- a/core/lib/Drupal/Core/FileTransfer/FTP.php +++ b/core/lib/Drupal/Core/FileTransfer/FTP.php @@ -45,4 +45,5 @@ public function getSettingsForm() { $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 8ac58914d4a6c74190460807faf2e7f768f2e506..3617a63c9e213423fac23948cd69b8699eb8b22a 100644 --- a/core/lib/Drupal/Core/FileTransfer/FTPExtension.php +++ b/core/lib/Drupal/Core/FileTransfer/FTPExtension.php @@ -116,4 +116,5 @@ function chmodJailed($path, $mode, $recursive) { } } } + } diff --git a/core/lib/Drupal/Core/FileTransfer/FileTransfer.php b/core/lib/Drupal/Core/FileTransfer/FileTransfer.php index c106fe25440929987a28965e7b587015a8dbeced..dbe2559c0f9fe7c1961891a0cdd25cccc0ba7f60 100644 --- a/core/lib/Drupal/Core/FileTransfer/FileTransfer.php +++ b/core/lib/Drupal/Core/FileTransfer/FileTransfer.php @@ -414,4 +414,5 @@ public function getSettingsForm() { ); return $form; } + } diff --git a/core/lib/Drupal/Core/FileTransfer/FileTransferException.php b/core/lib/Drupal/Core/FileTransfer/FileTransferException.php index fd371f5a33f17f47605548c21d16efd09b6075c2..15e657012a8843975bd46477910d1883b6a9893e 100644 --- a/core/lib/Drupal/Core/FileTransfer/FileTransferException.php +++ b/core/lib/Drupal/Core/FileTransfer/FileTransferException.php @@ -28,4 +28,5 @@ function __construct($message, $code = 0, $arguments = array()) { 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 e30be493fe77bf5740ec1b2545d3f51bbff2d874..e6879316d8fe9246fb3234af359326b845f6baa8 100644 --- a/core/lib/Drupal/Core/FileTransfer/Local.php +++ b/core/lib/Drupal/Core/FileTransfer/Local.php @@ -102,4 +102,5 @@ public function chmodJailed($path, $mode, $recursive) { 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 81987302674f6a4c3e5703182f0d23a1a803c4fe..8250c1641d51775e03016383009438579196dd49 100644 --- a/core/lib/Drupal/Core/FileTransfer/SSH.php +++ b/core/lib/Drupal/Core/FileTransfer/SSH.php @@ -142,4 +142,5 @@ public function getSettingsForm() { $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 71dddd27ca5682beb6b7a0e226807206aad23347..5b3377e8d8d9ac3aa02b5d982c5d4b0f8e9e75aa 100644 --- a/core/lib/Drupal/Core/Flood/MemoryBackend.php +++ b/core/lib/Drupal/Core/Flood/MemoryBackend.php @@ -83,4 +83,5 @@ public function garbageCollection() { } } } + } diff --git a/core/lib/Drupal/Core/Form/Exception/BrokenPostRequestException.php b/core/lib/Drupal/Core/Form/Exception/BrokenPostRequestException.php index e05e6f67d4f439ffa6777e64b96a384b6a061b57..b4283bacc634e00e8525541813308fe0e1482fcc 100644 --- a/core/lib/Drupal/Core/Form/Exception/BrokenPostRequestException.php +++ b/core/lib/Drupal/Core/Form/Exception/BrokenPostRequestException.php @@ -45,5 +45,4 @@ public function getSize() { return $this->size; } - } diff --git a/core/lib/Drupal/Core/Image/ImageInterface.php b/core/lib/Drupal/Core/Image/ImageInterface.php index cf5c3c76964dda18de6519085f6e339f06e7934f..9e112c67ea1f5ac8cdf9a604e7cef15a9d1725f6 100644 --- a/core/lib/Drupal/Core/Image/ImageInterface.php +++ b/core/lib/Drupal/Core/Image/ImageInterface.php @@ -238,4 +238,5 @@ public function desaturate(); * 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 c87b9867308e28dae64435000421747211cb42b0..aca4f31acda1fbaf00efb1a53be8cdc8919b6959 100644 --- a/core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php +++ b/core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php @@ -164,4 +164,5 @@ public function deleteAll() { ->condition('collection', $this->collection) ->execute(); } + } diff --git a/core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php b/core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php index 8b87d3a2c4e7f5162a4ba29c7b22a2a608021d44..9f3b4284f3239ed04ec85abb2399e79afd7edb1d 100644 --- a/core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php +++ b/core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php @@ -117,5 +117,4 @@ public function deleteMultiple(array $keys) { parent::deleteMultiple($keys); } - } diff --git a/core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php b/core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php index 6d4e7b67a8c7798d371ed1602583756f020eb326..5670fe5b283f3dbfd13291fc2d6cdc7a3a7a2556 100644 --- a/core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php +++ b/core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php @@ -62,4 +62,5 @@ public function garbageCollection() { ->condition('expire', REQUEST_TIME, '<') ->execute(); } + } diff --git a/core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php b/core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php index 3c17b03af0d28b6328719f5d680585992415df25..d70cb1196e373aa7619eda574f6dd3301f768f41 100644 --- a/core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php +++ b/core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php @@ -43,4 +43,5 @@ function __construct(SerializationInterface $serializer, Connection $connection) 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 dc4cf9dffdade40e59305b9eadf8981eb0b8829c..f1720264cc560567e5903ad2fa8900abb6a52709 100644 --- a/core/lib/Drupal/Core/KeyValueStore/KeyValueMemoryFactory.php +++ b/core/lib/Drupal/Core/KeyValueStore/KeyValueMemoryFactory.php @@ -23,4 +23,5 @@ public function get($collection) { } return $this->collections[$collection]; } + } diff --git a/core/lib/Drupal/Core/KeyValueStore/KeyValueNullExpirableFactory.php b/core/lib/Drupal/Core/KeyValueStore/KeyValueNullExpirableFactory.php index a5ea2ec5f4ebb542db39d46b314daf218c0ef8ea..0761c2b48a755bc9bbc99629f43295f3a3be4e04 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 140c98acad63a677c79eaeb7669e09e6eb36f14e..ea9e056c34db36d3829357249f51e83575c0de31 100644 --- a/core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php +++ b/core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php @@ -97,4 +97,5 @@ public function deleteMultiple(array $keys) { 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 1ce9ff1568322ae872333d025d327b81fd9b34b3..32322d4e83bd15aa973b9e3611fd54552220ecba 100644 --- a/core/lib/Drupal/Core/Lock/LockBackendAbstract.php +++ b/core/lib/Drupal/Core/Lock/LockBackendAbstract.php @@ -71,4 +71,5 @@ public function getLockId() { } return $this->lockId; } + } diff --git a/core/lib/Drupal/Core/Lock/LockBackendInterface.php b/core/lib/Drupal/Core/Lock/LockBackendInterface.php index 4b99ccc03843f4006ab25ec2dab515196235cb27..8c65385871b4b55568a3498232f44ac408842e5f 100644 --- a/core/lib/Drupal/Core/Lock/LockBackendInterface.php +++ b/core/lib/Drupal/Core/Lock/LockBackendInterface.php @@ -128,4 +128,5 @@ public function releaseAll($lockId = NULL); * @return string */ public function getLockId(); + } diff --git a/core/lib/Drupal/Core/Lock/NullLockBackend.php b/core/lib/Drupal/Core/Lock/NullLockBackend.php index 00bbc251cb074991c5d7957976cb84cb0421c7e3..65bf65a1b15b5050c9809b8c37c1b734b2c7fec7 100644 --- a/core/lib/Drupal/Core/Lock/NullLockBackend.php +++ b/core/lib/Drupal/Core/Lock/NullLockBackend.php @@ -57,4 +57,5 @@ public function getLockId() { } return $this->lockId; } + } diff --git a/core/lib/Drupal/Core/Lock/PersistentDatabaseLockBackend.php b/core/lib/Drupal/Core/Lock/PersistentDatabaseLockBackend.php index 1735392da8cd546c4b2ed44ff5b6c9df708f5049..eba5c475e2c0293e7dcc919c0bd642f50669df32 100644 --- a/core/lib/Drupal/Core/Lock/PersistentDatabaseLockBackend.php +++ b/core/lib/Drupal/Core/Lock/PersistentDatabaseLockBackend.php @@ -28,4 +28,5 @@ public function __construct(Connection $database) { // @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 84919f96f3764d103f70e7b16504e70458751071..080b32617ac8236e0466bc793e9a95a0b5880729 100644 --- a/core/lib/Drupal/Core/Mail/MailFormatHelper.php +++ b/core/lib/Drupal/Core/Mail/MailFormatHelper.php @@ -388,4 +388,5 @@ protected static function htmlToTextPad($text, $pad, $prefix = '') { // 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 8fd0a5bf0f12abdde3d34e4a7f554bc42014cf9e..1435ff9c276bc51fc7413122f3dec59dbdcd9bd9 100644 --- a/core/lib/Drupal/Core/Mail/MailInterface.php +++ b/core/lib/Drupal/Core/Mail/MailInterface.php @@ -61,4 +61,5 @@ public function format(array $message); * 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 f750f0b2573ef28caa432515109bc47364e5e081..652c6b30552e1ed944a5ab5019620ca75be30c3f 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 @@ public function mail(array $message) { 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 89c8cb8dc496d1e0c01663a56165e6eca1b5ea8c..ede465e72986500cf4434cc789bf84a9e134de58 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 @@ public function mail(array $message) { return TRUE; } + } diff --git a/core/lib/Drupal/Core/Menu/LocalActionInterface.php b/core/lib/Drupal/Core/Menu/LocalActionInterface.php index 9c92fb236fa02228f9bc58e062ccd712d2b053a3..81ff308ae8999eca348a1e09a1a1b9870fc135de 100644 --- a/core/lib/Drupal/Core/Menu/LocalActionInterface.php +++ b/core/lib/Drupal/Core/Menu/LocalActionInterface.php @@ -59,6 +59,4 @@ public function getOptions(RouteMatchInterface $route_match); */ public function getTitle(); - - } diff --git a/core/lib/Drupal/Core/Path/AliasManager.php b/core/lib/Drupal/Core/Path/AliasManager.php index f6dcde2e362d4f64a18330f22440f6d210ee367b..0368d43c2a0f2307977b03428d1e06cfc0f5dc73 100644 --- a/core/lib/Drupal/Core/Path/AliasManager.php +++ b/core/lib/Drupal/Core/Path/AliasManager.php @@ -296,4 +296,5 @@ protected function pathAliasWhitelistRebuild($path = NULL) { 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 dcd00b90bdca8ff6c6d8e93a274fa80067759066..a3096fc64fb37580a9a23359bcf215b96404af69 100644 --- a/core/lib/Drupal/Core/Path/AliasManagerInterface.php +++ b/core/lib/Drupal/Core/Path/AliasManagerInterface.php @@ -49,4 +49,5 @@ public function getAliasByPath($path, $langcode = NULL); * 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 10d4d925ddf30c599625219087816c45b32750a0..398ce07c6537382e05212df323af15ebf9e82351 100644 --- a/core/lib/Drupal/Core/Path/AliasStorageInterface.php +++ b/core/lib/Drupal/Core/Path/AliasStorageInterface.php @@ -164,4 +164,5 @@ public function getAliasesForAdminListing($header, $keys = NULL); * 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 970dd15048476db4d113b64b69569816490025ca..2b616c2e4e7cd0ce50fa39b2ec4474eaae843d67 100644 --- a/core/lib/Drupal/Core/Path/PathMatcher.php +++ b/core/lib/Drupal/Core/Path/PathMatcher.php @@ -116,4 +116,5 @@ protected function getFrontPagePath() { } return $this->frontPage; } + } diff --git a/core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php b/core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php index 36776e2f3b3aa7d8d4e6dc005752d7744072fc48..f1987f807cb7318efc95b08fd50a31629db4bd2d 100644 --- a/core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php +++ b/core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php @@ -140,4 +140,5 @@ protected function sortProcessors($type) { } return $sorted; } + } diff --git a/core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php b/core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php index 2206cea71db250c4b15a23879781f33a39735456..24f5caeafa88266d4644862d4d04cee0854df818 100644 --- a/core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php +++ b/core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php @@ -55,4 +55,5 @@ public function getDefinitions() { } return $definitions; } + } diff --git a/core/lib/Drupal/Core/Plugin/Discovery/YamlDiscovery.php b/core/lib/Drupal/Core/Plugin/Discovery/YamlDiscovery.php index 0b276f697308d51fb5474bfe4112bfca60e9b596..0845eb4e1c81658e57c011dc22238b7c54f51bc4 100644 --- a/core/lib/Drupal/Core/Plugin/Discovery/YamlDiscovery.php +++ b/core/lib/Drupal/Core/Plugin/Discovery/YamlDiscovery.php @@ -101,4 +101,5 @@ public function getDefinitions() { return $definitions; } + } diff --git a/core/lib/Drupal/Core/Queue/Batch.php b/core/lib/Drupal/Core/Queue/Batch.php index e6a066662fd6042bcef9195a8f8de40e204edc58..a7827a992f71f07f5c04cf345eb1753b83929965 100644 --- a/core/lib/Drupal/Core/Queue/Batch.php +++ b/core/lib/Drupal/Core/Queue/Batch.php @@ -60,4 +60,5 @@ public function getAllItems() { } return $result; } + } diff --git a/core/lib/Drupal/Core/Queue/BatchMemory.php b/core/lib/Drupal/Core/Queue/BatchMemory.php index 5756d490faecf5c0280eb8a023137cef076f6ed3..8245308427e6be03a42cc069935d4d3c46dd8b68 100644 --- a/core/lib/Drupal/Core/Queue/BatchMemory.php +++ b/core/lib/Drupal/Core/Queue/BatchMemory.php @@ -46,4 +46,5 @@ public function getAllItems() { } return $result; } + } diff --git a/core/lib/Drupal/Core/Queue/Memory.php b/core/lib/Drupal/Core/Queue/Memory.php index b2ba761fbd259f7f8983e8e0fc198ef500849416..b921d2c0e0cffbd22f8a6a2bdcfd8ff07c78de5e 100644 --- a/core/lib/Drupal/Core/Queue/Memory.php +++ b/core/lib/Drupal/Core/Queue/Memory.php @@ -103,4 +103,5 @@ public function deleteQueue() { $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 5f1a2911a5599a9cd80690afdc714feaf6e33b01..e2bec48682bc1dc53ba96862dbfa87fa0281d571 100644 --- a/core/lib/Drupal/Core/Queue/QueueDatabaseFactory.php +++ b/core/lib/Drupal/Core/Queue/QueueDatabaseFactory.php @@ -38,4 +38,5 @@ function __construct(Connection $connection) { 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 7c155a46e9473d61ce387abd3a8c853580afd532..db493d9f9804435b9c6c8c90f24896a3ce5a9e58 100644 --- a/core/lib/Drupal/Core/Queue/QueueFactory.php +++ b/core/lib/Drupal/Core/Queue/QueueFactory.php @@ -63,4 +63,5 @@ public function get($name, $reliable = FALSE) { } return $this->queues[$name]; } + } diff --git a/core/lib/Drupal/Core/Queue/QueueInterface.php b/core/lib/Drupal/Core/Queue/QueueInterface.php index b384121412d32f3e8a83415c5c7f198d6faad19d..6d86224492eff70f5baee4da83ca1f4ae6bc4b34 100644 --- a/core/lib/Drupal/Core/Queue/QueueInterface.php +++ b/core/lib/Drupal/Core/Queue/QueueInterface.php @@ -106,4 +106,5 @@ public function createQueue(); * 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 6adb18ca881617aca4489ff77a71ce946529d486..f9286ea64f650572761ee9fc07995abae880aa12 100644 --- a/core/lib/Drupal/Core/Render/Element/Textarea.php +++ b/core/lib/Drupal/Core/Render/Element/Textarea.php @@ -61,4 +61,5 @@ public static function valueCallback(&$element, $input, FormStateInterface $form } return NULL; } + } diff --git a/core/lib/Drupal/Core/Render/Markup.php b/core/lib/Drupal/Core/Render/Markup.php index 3b48951a2a4e85b375e5e2476dc5a39feeb2a8bf..6a2f2914da64a2d9a773820082a274a4cb15db5c 100644 --- a/core/lib/Drupal/Core/Render/Markup.php +++ b/core/lib/Drupal/Core/Render/Markup.php @@ -22,4 +22,5 @@ */ 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 3d7228c6f651168b4ae6a36537cf90758a05c8bf..6cb8d1f5bc22039c2bc3c050dc3d0ebfd2311c67 100644 --- a/core/lib/Drupal/Core/Render/Placeholder/SingleFlushStrategy.php +++ b/core/lib/Drupal/Core/Render/Placeholder/SingleFlushStrategy.php @@ -18,4 +18,5 @@ public function processPlaceholders(array $placeholders) { // 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 a5dbbef120a9fea034faf1ce7313e20d117446d9..775d4ae4704272b62185e2ea59ff3b4fedf3c89c 100644 --- a/core/lib/Drupal/Core/Routing/CompiledRoute.php +++ b/core/lib/Drupal/Core/Routing/CompiledRoute.php @@ -163,5 +163,4 @@ public function unserialize($serialized) { $this->numParts = $data['numParts']; } - } diff --git a/core/lib/Drupal/Core/Routing/LinkGeneratorTrait.php b/core/lib/Drupal/Core/Routing/LinkGeneratorTrait.php index 75950fac6f94ef475f13aac7c6cd7af028af8473..f294bee699e6dddbe2d0891bd412468eb39f26e6 100644 --- a/core/lib/Drupal/Core/Routing/LinkGeneratorTrait.php +++ b/core/lib/Drupal/Core/Routing/LinkGeneratorTrait.php @@ -69,4 +69,5 @@ public function setLinkGenerator(LinkGeneratorInterface $generator) { return $this; } + } diff --git a/core/lib/Drupal/Core/Routing/NullGenerator.php b/core/lib/Drupal/Core/Routing/NullGenerator.php index 1254db49f1e05778f5bf25d6333b62d8b07339f8..d9bc9b048e0567b18eed52f82f2aaa741d5118cc 100644 --- a/core/lib/Drupal/Core/Routing/NullGenerator.php +++ b/core/lib/Drupal/Core/Routing/NullGenerator.php @@ -74,4 +74,5 @@ public function getContext() { 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 6d8db00f11b0fc998e5b86c24ceb71ba26930f79..71bf3326523b7936f0c0f1aefd5bdc9126530a02 100644 --- a/core/lib/Drupal/Core/Routing/UrlGenerator.php +++ b/core/lib/Drupal/Core/Routing/UrlGenerator.php @@ -452,4 +452,5 @@ public function getRouteDebugMessage($name, array $parameters = array()) { return serialize($name); } + } diff --git a/core/lib/Drupal/Core/Routing/UrlGeneratorTrait.php b/core/lib/Drupal/Core/Routing/UrlGeneratorTrait.php index 9ea564fdd7af74791e37d2ea428ec175838b407a..f0924210905970fb6ed79241a784f2595a5229b3 100644 --- a/core/lib/Drupal/Core/Routing/UrlGeneratorTrait.php +++ b/core/lib/Drupal/Core/Routing/UrlGeneratorTrait.php @@ -88,4 +88,5 @@ public function setUrlGenerator(UrlGeneratorInterface $generator) { return $this; } + } diff --git a/core/lib/Drupal/Core/StreamWrapper/LocalStream.php b/core/lib/Drupal/Core/StreamWrapper/LocalStream.php index 7199551df0d5db5737d1a357756ced0deb29a594..343b461eecc5264e6252cad91ba40cb953276dcc 100644 --- a/core/lib/Drupal/Core/StreamWrapper/LocalStream.php +++ b/core/lib/Drupal/Core/StreamWrapper/LocalStream.php @@ -567,4 +567,5 @@ public function dir_closedir() { // 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 cbce29b35f22c30e234a102dbb216d99011b7635..830fb93c479058e545002d06cf01a01d66a7396c 100644 --- a/core/lib/Drupal/Core/StreamWrapper/TemporaryStream.php +++ b/core/lib/Drupal/Core/StreamWrapper/TemporaryStream.php @@ -47,4 +47,5 @@ public function getExternalUrl() { $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 cf693087c7f3ca87588a3a48d6d1a4b8e81198e1..d4c46e3ef26603b7b458225f2c5f07969752414a 100644 --- a/core/lib/Drupal/Core/StringTranslation/Translator/FileTranslation.php +++ b/core/lib/Drupal/Core/StringTranslation/Translator/FileTranslation.php @@ -116,4 +116,5 @@ public static function filesToArray($langcode, array $files) { } return $writer->getData(); } + } diff --git a/core/lib/Drupal/Core/Theme/Registry.php b/core/lib/Drupal/Core/Theme/Registry.php index 8122e895c30c25b2a2460beb073907e2d30a5fb8..bfb4e38aee8f16e6a7b1d54eaca435082a8abe94 100644 --- a/core/lib/Drupal/Core/Theme/Registry.php +++ b/core/lib/Drupal/Core/Theme/Registry.php @@ -764,4 +764,5 @@ public function getPrefixGroupedUserFunctions() { 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 e8ffec60f864bd46128732be3755b5cb081f7583..302f501be52567046665399f76d9d9dbb3031ea6 100644 --- a/core/lib/Drupal/Core/TypedData/ListDataDefinition.php +++ b/core/lib/Drupal/Core/TypedData/ListDataDefinition.php @@ -107,4 +107,5 @@ public function setItemDefinition(DataDefinitionInterface $definition) { $this->itemDefinition = $definition; return $this; } + } diff --git a/core/lib/Drupal/Core/TypedData/OptionsProviderInterface.php b/core/lib/Drupal/Core/TypedData/OptionsProviderInterface.php index 565c3ed01af87664c58efb23f52ca53e466ca051..937e542a9a8c95ae1923e439295ff2231dca3bf8 100644 --- a/core/lib/Drupal/Core/TypedData/OptionsProviderInterface.php +++ b/core/lib/Drupal/Core/TypedData/OptionsProviderInterface.php @@ -95,4 +95,5 @@ public function getSettableValues(AccountInterface $account = NULL); * 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 f20776f71919b35ae16be71ca5e9256deecc0cad..8fe1a9a0b9668c457d81e27562d534c4e1fd21f8 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 8762ddac991b6b0a7530f0bbf4599fb1fdefcfe3..e51e5055b9b5f2eb16864aeb33696e9d8ea9feaa 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 @@ public function getString() { 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 bd24a909eb51b0b57f1e968bb62811e2ef1a14c7..1583c79bd7b2d337ff22008bf2675a4ee759a1a6 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 bf6d314bfd89dc3d6812fbc851c5f688dd796175..3fe189fa97110e323fae3eb8d414f6e2c7498c08 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 @@ public function setDateTime(DrupalDateTime $dateTime, $notify = TRUE) { $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 94f86b12b51d9a518e8f9c4ebeac1ef809292006..4de7e18b229d533b7d26422f7d10d82b08a26aed 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 7b00c5ec66d16245ebdeb90a358aaa4b037f8c47..8421dcaf2f2c4266a7d8fb7ef39ebefe25473631 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 e6c94ed85ca7eac01e38528862aa7ae1a01c68b3..3af3a6b3080155e77d2394b96d54ef317c743c1b 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 @@ public function applyDefaultValue($notify = TRUE) { } 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 513be99be1aa1e759b18c7f845d0c5ab81067b66..270f1162574442fe466d312009ae93ca9937c185 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 be11e043f9a68478b2228381f0ba597d3d3c6eaf..8c72c859cee9c2d959ee2a0f3ddc374214055bfc 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 @@ public function setDateTime(DrupalDateTime $dateTime, $notify = TRUE) { $this->parent->onChange($this->name); } } + } diff --git a/core/lib/Drupal/Core/TypedData/PrimitiveBase.php b/core/lib/Drupal/Core/TypedData/PrimitiveBase.php index 2338e4a6a343512b22a90212a99dffa62839c98f..ac2d1c130b1873f1066a49a58d0c94e8a1975d41 100644 --- a/core/lib/Drupal/Core/TypedData/PrimitiveBase.php +++ b/core/lib/Drupal/Core/TypedData/PrimitiveBase.php @@ -31,4 +31,5 @@ public function setValue($value, $notify = TRUE) { $this->parent->onChange($this->name); } } + } diff --git a/core/lib/Drupal/Core/TypedData/PrimitiveInterface.php b/core/lib/Drupal/Core/TypedData/PrimitiveInterface.php index 821f8c0a272a9fe13ebbc6e35223e4cfecc46be1..1df50f78dc4447afdb2a9b90839a81f6b2ed1847 100644 --- a/core/lib/Drupal/Core/TypedData/PrimitiveInterface.php +++ b/core/lib/Drupal/Core/TypedData/PrimitiveInterface.php @@ -31,4 +31,5 @@ public function setValue($value); * @return mixed */ public function getCastedValue(); + } diff --git a/core/lib/Drupal/Core/TypedData/TypedDataInterface.php b/core/lib/Drupal/Core/TypedData/TypedDataInterface.php index eaeeac02e32ecda7fe6486f7978ff33b39fa2bf4..a6892d24f3f8dea8a18282a13287f1dcdd8429d7 100644 --- a/core/lib/Drupal/Core/TypedData/TypedDataInterface.php +++ b/core/lib/Drupal/Core/TypedData/TypedDataInterface.php @@ -157,4 +157,5 @@ public function getPropertyPath(); * 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 eeb761285bd98161e9ff0d3f46e46f405a19937e..a20fa527a5beda42b1eda3a7c51493385fcf4bbe 100644 --- a/core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php +++ b/core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php @@ -312,4 +312,5 @@ public function isObjectInitialized($cache_key) { 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 c7cbb7fc82e98203e78be569a83cc35ce4ad2c41..be0d34be371496b491f5d8915967f56d1240108e 100644 --- a/core/lib/Drupal/Core/Updater/Module.php +++ b/core/lib/Drupal/Core/Updater/Module.php @@ -138,4 +138,5 @@ public function postUpdateTasks() { // 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 5dfbd9771f20ad67ab4d93d1a10da83964edb742..48f68c75673b3539998a0080b80da18b02e07fda 100644 --- a/core/lib/Drupal/Core/Updater/Theme.php +++ b/core/lib/Drupal/Core/Updater/Theme.php @@ -109,4 +109,5 @@ public function postInstallTasks() { ], ]; } + } diff --git a/core/lib/Drupal/Core/Updater/Updater.php b/core/lib/Drupal/Core/Updater/Updater.php index b9a59998e557b32db215a6473e2dbff5ef946e72..0381728e9b44afbc4f4c28c35f86a2bb9b2eae70 100644 --- a/core/lib/Drupal/Core/Updater/Updater.php +++ b/core/lib/Drupal/Core/Updater/Updater.php @@ -407,4 +407,5 @@ public function postInstallTasks() { public function postUpdateTasks() { return array(); } + } diff --git a/core/lib/Drupal/Core/Updater/UpdaterInterface.php b/core/lib/Drupal/Core/Updater/UpdaterInterface.php index c093c4be1c026a56b10350425683529d4d9e6740..09e3bec9072e9a94d86ccc2b19f93b3e0c7c1679 100644 --- a/core/lib/Drupal/Core/Updater/UpdaterInterface.php +++ b/core/lib/Drupal/Core/Updater/UpdaterInterface.php @@ -64,4 +64,5 @@ public function postInstall(); * 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 8f45bd62f5e9b1817afe1a24345add9bf9a2c004..53432e8cc1ed8023106c9655396e9fbfa273578d 100644 --- a/core/lib/Drupal/Core/Utility/Token.php +++ b/core/lib/Drupal/Core/Utility/Token.php @@ -405,4 +405,5 @@ public function resetInfo() { $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 8b1a18a5ff82b76623791af5040fccd1a395a946..23bd7eb165d5f949cd6bacda63fa4732403b9abc 100644 --- a/core/lib/Drupal/Core/Validation/ConstraintManager.php +++ b/core/lib/Drupal/Core/Validation/ConstraintManager.php @@ -136,4 +136,5 @@ public function getDefinitionsByType($type) { } return $definitions; } + } diff --git a/core/lib/Drupal/Core/Validation/DrupalTranslator.php b/core/lib/Drupal/Core/Validation/DrupalTranslator.php index 08096e2a4de79e69ad05947f668ff1bc40468789..f00df20b81a81cd0f42374aca2237cab9c761d15 100644 --- a/core/lib/Drupal/Core/Validation/DrupalTranslator.php +++ b/core/lib/Drupal/Core/Validation/DrupalTranslator.php @@ -103,4 +103,5 @@ protected function getOptions($domain = NULL, $locale = NULL) { $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 cf43d2fdca493fa345b39844c9de686fccc9b4c8..d20f54a723e9a233363ec7fb2d500f1329d50dc9 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 24e6ccddc164d5b3e1db807561a382e11e8c228a..5e7d0c7ebc06e8add5d639fda452831c5c8224dd 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 @@ public function getDefaultOption() { 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 2133709eef9644a08ce9579f129ea06131afbf3d..a7f5dd56ce7d7d48f1ebb6800a621444abd15cfd 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 c19c0dcb6011d482cfe36bb03712b882950be192..179ee9a58e67416461ebb3aa094de0a37623591c 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 99bad5c4b54b04d70925ba9e15328a2c27670b88..2aaca3974d01e14e95fe84368385d3b9ef7d3450 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 e53b40d74160061ab96f34124882360bf457ca32..a18700a04d9561b4e1257e8ec2944684bdb3df5f 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 @@ 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 0b84563de45a9c02fe227d9419adfa75092db095..5829e396ec09b34bd57bc5dfead9d738750d754f 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 @@ public function validate($value, Constraint $constraint) { )); } } + } 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 e16508705d33dc700233860a390991a75c1dcebb..afa715430952c0541a38aaeaff484e0e1cfcb679 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 5340b245d4e085f58568a2b2c6bf7d08403df0d6..63c6682e36338da95119ef340a485c53945752d3 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 811f5c15d4dbc69a937f20fdc1b87d0753f38eb7..1e63e6d4df7199530c2981c220fed8b8d32ca8b4 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 @@ public function validate($items, Constraint $constraint) { ]); } } + } diff --git a/core/modules/action/src/Tests/ConfigurationTest.php b/core/modules/action/src/Tests/ConfigurationTest.php index 92e12d0a77b05397ee69a68f8e607617a9a683b8..a6b20502fa066ab916a9f3b480a6ba71fdfe9fd1 100644 --- a/core/modules/action/src/Tests/ConfigurationTest.php +++ b/core/modules/action/src/Tests/ConfigurationTest.php @@ -84,4 +84,5 @@ function testActionConfiguration() { $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 72ab237a128f722318919d9adbf83da1195b3c9c..8639ff87175d07986dc9fd095caf02ddc172e4d7 100644 --- a/core/modules/aggregator/src/ItemInterface.php +++ b/core/modules/aggregator/src/ItemInterface.php @@ -141,4 +141,5 @@ public function getGuid(); * 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 77be2ef6aa445f0fa5e5ac817a0d52568cf92cf4..8854faf43757378c24cba51e5329ab766c052e75 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 @@ public function viewElements(FieldItemListInterface $items, $langcode) { } 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 e1b095bdcb9ed36983a5e0d77d4e41cd8cf8cf50..99ec48d9ce85ed925475880d146ad965d1cc82b8 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 @@ public function fetch(FeedInterface $feed) { return FALSE; } } + } diff --git a/core/modules/aggregator/src/Tests/AddFeedTest.php b/core/modules/aggregator/src/Tests/AddFeedTest.php index 37ed483d42d54f9799d5ad28966d1ad2cfa14b72..b7ffe5fbc718d6b13d61cc32d9b02ecaf8357e9b 100644 --- a/core/modules/aggregator/src/Tests/AddFeedTest.php +++ b/core/modules/aggregator/src/Tests/AddFeedTest.php @@ -91,4 +91,5 @@ public function testAddLongFeed() { $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 e2d2cb31866324c3b985a9ac855e08f3599f5a58..249817f380e64808a886e073adbb786faa04d4a4 100644 --- a/core/modules/aggregator/src/Tests/AggregatorAdminTest.php +++ b/core/modules/aggregator/src/Tests/AggregatorAdminTest.php @@ -80,4 +80,5 @@ function testOverviewPage() { $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 6d65b944f65e8e16d4b8e74e72de00bf8444ea58..34a4cb930ce91dadab366441e57d65ed8caf61e9 100644 --- a/core/modules/aggregator/src/Tests/AggregatorCronTest.php +++ b/core/modules/aggregator/src/Tests/AggregatorCronTest.php @@ -41,4 +41,5 @@ public function testCron() { $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 ac0cae6f8123d7de01496cc75cc0b2532eb0ebb6..1777fe507ee24519e1ee88019fc97910a60469a7 100644 --- a/core/modules/aggregator/src/Tests/AggregatorTestBase.php +++ b/core/modules/aggregator/src/Tests/AggregatorTestBase.php @@ -370,4 +370,5 @@ public function enableTestPlugins() { )) ->save(); } + } diff --git a/core/modules/aggregator/src/Tests/DeleteFeedItemTest.php b/core/modules/aggregator/src/Tests/DeleteFeedItemTest.php index 61e3e96ef75af594790871eadb22d6163eb463e1..0261ed5a049e27b6d9e8dc5b8c6677adb10e172b 100644 --- a/core/modules/aggregator/src/Tests/DeleteFeedItemTest.php +++ b/core/modules/aggregator/src/Tests/DeleteFeedItemTest.php @@ -36,4 +36,5 @@ public function testDeleteFeedItem() { $this->deleteFeed($feed); } } + } diff --git a/core/modules/aggregator/src/Tests/FeedAdminDisplayTest.php b/core/modules/aggregator/src/Tests/FeedAdminDisplayTest.php index 1e9c8cca4836e208f136343e0eaa7bd02d5f0814..b6e36e9c024c025c56a6f00b81b97b599838c32c 100644 --- a/core/modules/aggregator/src/Tests/FeedAdminDisplayTest.php +++ b/core/modules/aggregator/src/Tests/FeedAdminDisplayTest.php @@ -59,4 +59,5 @@ public function testFeedUpdateFields() { $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 404cecf8215eaee2ea4fe40e1c06c646a137d9c7..4aac851007f9872622c97da0e1fcc02035f42218 100644 --- a/core/modules/aggregator/src/Tests/FeedFetcherPluginTest.php +++ b/core/modules/aggregator/src/Tests/FeedFetcherPluginTest.php @@ -40,4 +40,5 @@ public function testfetch() { // 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 adaf3ddccaa6f5daff532941167de7985c014b7b..af8335e10e0a5b09468ba1fa17efcf757e5a88bb 100644 --- a/core/modules/aggregator/src/Tests/FeedLanguageTest.php +++ b/core/modules/aggregator/src/Tests/FeedLanguageTest.php @@ -81,4 +81,5 @@ public function testFeedLanguage() { } } } + } diff --git a/core/modules/aggregator/src/Tests/FeedParserTest.php b/core/modules/aggregator/src/Tests/FeedParserTest.php index db63caf57ec0aad9df49165ffe1cf3c1085577b2..6c4a04d4c7a3cf9f375ccd1ba723467513a40636 100644 --- a/core/modules/aggregator/src/Tests/FeedParserTest.php +++ b/core/modules/aggregator/src/Tests/FeedParserTest.php @@ -107,4 +107,5 @@ public function testInvalidFeed() { $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 cc812ee57f379624410ad065ae3b36463f15396e..8a7ade05a6de5205317c896b9e1dabca9dbf24ff 100644 --- a/core/modules/aggregator/src/Tests/FeedProcessorPluginTest.php +++ b/core/modules/aggregator/src/Tests/FeedProcessorPluginTest.php @@ -63,4 +63,5 @@ public function testPostProcess() { // 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 8ad04cc0a166a61d5598df21d52f0fd087b601ba..1f1e90d400a40b59a8420bff6feb534263b56fff 100644 --- a/core/modules/aggregator/src/Tests/ImportOpmlTest.php +++ b/core/modules/aggregator/src/Tests/ImportOpmlTest.php @@ -120,4 +120,5 @@ public function testOpmlImport() { $this->validateImportFormFields(); $this->submitImportForm(); } + } diff --git a/core/modules/aggregator/src/Tests/UpdateFeedItemTest.php b/core/modules/aggregator/src/Tests/UpdateFeedItemTest.php index 8e12345ac40c40c5f9d51910d3e7b0bc43a94fd3..c1c3df907c60a0f463cdca5a37aeb35a154c1bdf 100644 --- a/core/modules/aggregator/src/Tests/UpdateFeedItemTest.php +++ b/core/modules/aggregator/src/Tests/UpdateFeedItemTest.php @@ -66,4 +66,5 @@ public function testUpdateFeedItem() { $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 05a6f16e285056ef8df4be1bd5111257a0f95ea4..6bfb0f15652d3a472b2ad6d1e1b673f47bab17d0 100644 --- a/core/modules/aggregator/src/Tests/UpdateFeedTest.php +++ b/core/modules/aggregator/src/Tests/UpdateFeedTest.php @@ -42,4 +42,5 @@ public function testUpdateFeed() { $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 bb53e00581c25877bd7147af7a2513cbe920a9df..02fd209e0d7ad9da3978281be1913c99e113e89d 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 @@ public function fetch(FeedInterface $feed) { } 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 50737d14e83af289ae0db90c1341760c3bc9fe1c..a36070f1e2df98155c1b21d8dd494953a9431020 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 4adfab571a883cac66da58b54bcfcbc629baa93f..9dac60faa839a735eb0c07c99669172cfb09cbc8 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 @@ public function testAggregatorFeedImport() { $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 ec90ea182876d245b2a1be2256abf13d8524ee27..1a70f55609e027e4ba3856dd7cc2e4ebc4f2bd22 100644 --- a/core/modules/ban/src/BanIpManager.php +++ b/core/modules/ban/src/BanIpManager.php @@ -64,4 +64,5 @@ public function unbanIp($id) { 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 a537d74fc7c8774a1814d9b1fcc38e62446ffa01..9fb9ff850862302ab89d9c299550f0e90f9cc516 100644 --- a/core/modules/ban/src/Tests/IpAddressBlockingTest.php +++ b/core/modules/ban/src/Tests/IpAddressBlockingTest.php @@ -74,4 +74,5 @@ function testIPAddressValidation() { // $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 0c2115af0f69a2265b383aafad09c7ef6442da87..a954c9ac3d1bdac668659f7361c4ba27caf9686a 100644 --- a/core/modules/big_pipe/src/Render/BigPipeMarkup.php +++ b/core/modules/big_pipe/src/Render/BigPipeMarkup.php @@ -20,4 +20,5 @@ */ 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 6ab5daf11bd5d93cbe33aed10c5f56404b482a39..438a0c1c2a76c214a9ab68c3a26986e62128caaa 100644 --- a/core/modules/block/src/Tests/BlockInvalidRegionTest.php +++ b/core/modules/block/src/Tests/BlockInvalidRegionTest.php @@ -59,4 +59,5 @@ function testBlockInInvalidRegion() { $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 20de4f62ae02b3fc5653a232f406ba22fda18087..fd5871e3a1ba4bf24e4e9e2c6ffb71fc1e5f8f0e 100644 --- a/core/modules/block/src/Tests/BlockLanguageCacheTest.php +++ b/core/modules/block/src/Tests/BlockLanguageCacheTest.php @@ -73,4 +73,5 @@ public function testBlockLinks() { $this->assertText($edit['label']); } } + } diff --git a/core/modules/block/src/Tests/BlockRenderOrderTest.php b/core/modules/block/src/Tests/BlockRenderOrderTest.php index 6757c0b2d29e3b2c7a6712a1226c9a67d4833d03..faf667ed805f90628e53064e655b26cfdb0b2925 100644 --- a/core/modules/block/src/Tests/BlockRenderOrderTest.php +++ b/core/modules/block/src/Tests/BlockRenderOrderTest.php @@ -76,4 +76,5 @@ function testBlockRenderOrder() { $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 49a7f7585dd6684a7b87349414352a65757bbc41..970de5266efe9410660cd82579b2642e5e7c88a5 100644 --- a/core/modules/block/src/Tests/BlockTestBase.php +++ b/core/modules/block/src/Tests/BlockTestBase.php @@ -67,4 +67,5 @@ protected function setUp() { $block->delete(); } } + } diff --git a/core/modules/block/src/Tests/NonDefaultBlockAdminTest.php b/core/modules/block/src/Tests/NonDefaultBlockAdminTest.php index 4f0055aba59d6a289460a55ffe505d4702cecc4e..218832d6c82d3a6df8e9970ad696819ac026a00d 100644 --- a/core/modules/block/src/Tests/NonDefaultBlockAdminTest.php +++ b/core/modules/block/src/Tests/NonDefaultBlockAdminTest.php @@ -38,4 +38,5 @@ function testNonDefaultBlockAdmin() { $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 be51a09937fbe588270360a223f3f81fbb19441c..9216d493d22a5ad46b6b482d85785eec514867db 100644 --- a/core/modules/block/tests/src/Kernel/BlockInterfaceTest.php +++ b/core/modules/block/tests/src/Kernel/BlockInterfaceTest.php @@ -99,4 +99,5 @@ public function testBlockInterface() { // 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 cb2b35c09226003c1b94088620cdcbd5929489c5..63b68c07dc9bd05172c70b296908fb00cd113929 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 @@ public function getDerivativeDefinitions($base_plugin_definition) { } 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 140e6700b0baa24e1ed68a3dd04b1aa25f3414c5..7eefdc7a2b3f76e9202e2643345a8ad5ccf2f4e9 100644 --- a/core/modules/block_content/src/Tests/BlockContentCacheTagsTest.php +++ b/core/modules/block_content/src/Tests/BlockContentCacheTagsTest.php @@ -101,4 +101,5 @@ public function testBlock() { $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 1d6df90cf95328d64acb5e5d381f34149d4da07b..5a46dddd76c81bdeae928f81213e757416189642 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 @@ protected function assertPageCounts($path, $counts, $message) { $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 50df798ca88cf75971d7ce35299000f762a9381a..92076cba3f68385701dc6073159d606f8182d37d 100644 --- a/core/modules/book/src/BookOutlineStorage.php +++ b/core/modules/book/src/BookOutlineStorage.php @@ -198,4 +198,5 @@ public function getBookSubtree($link, $max_depth) { } return $query->execute(); } + } diff --git a/core/modules/book/src/BookOutlineStorageInterface.php b/core/modules/book/src/BookOutlineStorageInterface.php index b441e286a24d7d98bf50d3ec4f54451d656f271e..daaf92d4cf829c7f4266680575af644bc889e1bb 100644 --- a/core/modules/book/src/BookOutlineStorageInterface.php +++ b/core/modules/book/src/BookOutlineStorageInterface.php @@ -165,4 +165,5 @@ public function countOriginalLinkChildren($original); * 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 656431d00395d0f48344983abdd34da595752f8b..2fb479834b62651b1a44dc948542cd301f2274c7 100644 --- a/core/modules/ckeditor/src/CKEditorPluginBase.php +++ b/core/modules/ckeditor/src/CKEditorPluginBase.php @@ -50,4 +50,5 @@ function getDependencies(Editor $editor) { function getLibraries(Editor $editor) { return array(); } + } diff --git a/core/modules/ckeditor/src/CKEditorPluginInterface.php b/core/modules/ckeditor/src/CKEditorPluginInterface.php index 6e3ed24fecb02651494d527f2332a222302271c8..65475a094bb6e1aa38aac1941b87b8dd542af779 100644 --- a/core/modules/ckeditor/src/CKEditorPluginInterface.php +++ b/core/modules/ckeditor/src/CKEditorPluginInterface.php @@ -95,4 +95,5 @@ public function getFile(); * 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 53d2bb498133f407c157935ac704fde937c80e44..e8de53b528f9bf3046589b510d1747290a464a48 100644 --- a/core/modules/ckeditor/src/Tests/CKEditorLoadingTest.php +++ b/core/modules/ckeditor/src/Tests/CKEditorLoadingTest.php @@ -241,4 +241,5 @@ protected function getThingsToCheck() { $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 d0683808ddbb0490453e28cb828a85bacb253d64..813a92e126f8b89bc60535823120481be8952c4b 100644 --- a/core/modules/color/src/Tests/ColorSafePreviewTest.php +++ b/core/modules/color/src/Tests/ColorSafePreviewTest.php @@ -54,5 +54,4 @@ function testColorPreview() { $this->assertRaw('

TEST COLOR PREVIEW

'); } - } diff --git a/core/modules/comment/src/CommentForm.php b/core/modules/comment/src/CommentForm.php index 2fb10f137fdbbe5d0a8cd505d62dbe0396fd223e..75191a38bbf2bf1062785c227145c94ba3562593 100644 --- a/core/modules/comment/src/CommentForm.php +++ b/core/modules/comment/src/CommentForm.php @@ -389,4 +389,5 @@ public function save(array $form, FormStateInterface $form_state) { } $form_state->setRedirectUrl($uri); } + } diff --git a/core/modules/comment/src/Tests/CommentAdminTest.php b/core/modules/comment/src/Tests/CommentAdminTest.php index f6dc5c6f76f814a5d7f7ae9772c390a611ec05b3..5ae57cb8199c4d914ef5743bffd21ce989f1c065 100644 --- a/core/modules/comment/src/Tests/CommentAdminTest.php +++ b/core/modules/comment/src/Tests/CommentAdminTest.php @@ -214,4 +214,5 @@ public function testEditComment() { $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 4b28b33ca7df37a0efae9ee48979262115456d65..e69bfdeda5d0c138ab9e4f86aa2d013f01e3beff 100644 --- a/core/modules/comment/src/Tests/CommentNodeAccessTest.php +++ b/core/modules/comment/src/Tests/CommentNodeAccessTest.php @@ -78,4 +78,5 @@ function testThreadedCommentView() { $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 2b262b319f7c74e7bc6cfbb197ee9ece93da190d..9fed4df887864eb62d97848de8bcfe855fbbd388 100644 --- a/core/modules/comment/src/Tests/CommentNodeChangesTest.php +++ b/core/modules/comment/src/Tests/CommentNodeChangesTest.php @@ -31,4 +31,5 @@ function testNodeDeletion() { $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 8542f537bbdb5f95d4042e8bd5db0eebbe093fb5..ec673dfb46ead612d4fefe1e930781164958c038 100644 --- a/core/modules/comment/src/Tests/CommentRssTest.php +++ b/core/modules/comment/src/Tests/CommentRssTest.php @@ -75,4 +75,5 @@ function testCommentRss() { $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 a5e523d235504c4aa49313b1bafb46972e498629..0546cb6a69578950c2da1199419f007857a3f412 100644 --- a/core/modules/comment/src/Tests/CommentTitleTest.php +++ b/core/modules/comment/src/Tests/CommentTitleTest.php @@ -60,4 +60,5 @@ public function testCommentPopulatedTitles() { // Tests that markup is created for comment with heading. $this->assertPattern('|]*>]*>' . $subject_text . '|', '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 f26d3e94eadb778d2d3ec4c0ebc375316fa935c6..c0cf374762b1d39ffc83a5f1aa923d26ce48e115 100644 --- a/core/modules/comment/src/Tests/Views/CommentFieldFilterTest.php +++ b/core/modules/comment/src/Tests/Views/CommentFieldFilterTest.php @@ -116,4 +116,5 @@ protected function assertPageCounts($path, $counts, $message) { $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 d772acf5d06a29e8d3606883922cdeb84f916bfc..b96120163d7792153b2186c62d45448d70871174 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 @@ public function testComments() { $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 4b2bff6ec7966cbe91e417638921aafc6cceb6b6..a6f25f6455e127339070e0c2903064bcfdbc0569 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 @@ public function testCommentEntityDisplay() { $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 78afe51377363b40442d561de71e3a437d8238fe..ffb91b0688747a1f4bb24162c23cdad8d9d50e29 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 @@ public function testLinkReply() { $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 4365152827bce7715f98b4c71fe451b77f3d71fc..e9047543381ab62312fae1a4e8d6c0f930125e14 100644 --- a/core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php +++ b/core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php @@ -120,4 +120,5 @@ public function fetchObjectCallback() { break; } } + } diff --git a/core/modules/config/src/ConfigSubscriber.php b/core/modules/config/src/ConfigSubscriber.php index 6112a4957cb5962d4066380de9c0d67feb1d1b72..9b6c8421184b936ccc68bd2a7ee248683f1ca4d1 100644 --- a/core/modules/config/src/ConfigSubscriber.php +++ b/core/modules/config/src/ConfigSubscriber.php @@ -33,4 +33,5 @@ static function getSubscribedEvents() { $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 ecc7882bb8e7d4253b35d41f37e8334b0283cf72..f758f303478c85aecef743a776c9986a81e49fe2 100644 --- a/core/modules/config/src/Controller/ConfigController.php +++ b/core/modules/config/src/Controller/ConfigController.php @@ -160,4 +160,5 @@ public function diff($source_name, $target_name = NULL, $collection = NULL) { return $build; } + } diff --git a/core/modules/config/src/Form/ConfigSync.php b/core/modules/config/src/Form/ConfigSync.php index 8d11ad3d09f32304172f9b2128b1d4962d44981a..8dd9ca0d338f76e45559baf5f535c0429d49fe1b 100644 --- a/core/modules/config/src/Form/ConfigSync.php +++ b/core/modules/config/src/Form/ConfigSync.php @@ -411,5 +411,4 @@ public static function finishBatch($success, $results, $operations) { } } - } diff --git a/core/modules/config/src/StorageReplaceDataWrapper.php b/core/modules/config/src/StorageReplaceDataWrapper.php index feb0f4674e41c6fffcf09311a2406a1c96fcceb2..58b3b492b3ea8d17299e38793052dec49bc85721 100644 --- a/core/modules/config/src/StorageReplaceDataWrapper.php +++ b/core/modules/config/src/StorageReplaceDataWrapper.php @@ -196,4 +196,5 @@ public function replaceData($name, array $data) { $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 643f76351fae8abdc36fbbfa0831d9292b91cb18..baeacb966f3b85fd55b7987a7a89dfa4f7db3f87 100644 --- a/core/modules/config/src/Tests/ConfigImportAllTest.php +++ b/core/modules/config/src/Tests/ConfigImportAllTest.php @@ -157,4 +157,5 @@ public function testInstallUninstall() { $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 0867f4b0ae0174721b65ae36293448d76138b1b6..4b18a4c708f9155178e03a72e71bb2f0bc217310 100644 --- a/core/modules/config/src/Tests/ConfigInstallWebTest.php +++ b/core/modules/config/src/Tests/ConfigInstallWebTest.php @@ -187,4 +187,5 @@ public function testUnmetDependenciesInstall() { $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 ae315123af7b151c63e0499c0322520ce9f81d0b..bfa70db3ca890a485e5bddaf10257ddd91030b1d 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 @@ static function getSubscribedEvents() { $events[ConfigEvents::RENAME][] = array('configEventRecorder'); return $events; } + } diff --git a/core/modules/contact/src/ContactMessageAccessControlHandler.php b/core/modules/contact/src/ContactMessageAccessControlHandler.php index 4a312f8a8c5d3a204e248e690f5d7bfbd9d9f9e1..5e45e3faea419758446520ac9796e58cc8a6d134 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 1fa33b9a0bb0c2368defdcb9b419a7eaf532d2f1..eb7c5275c3e9343577df87665b64f0fdb81a709f 100644 --- a/core/modules/contact/src/Tests/ContactAuthenticatedUserTest.php +++ b/core/modules/contact/src/Tests/ContactAuthenticatedUserTest.php @@ -31,4 +31,5 @@ function testContactSiteWideTextfieldsLoggedInTestCase() { // 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 3edf549dd71122397e111f6a9d02a72dab9598c8..dce604d1e9cd7c7494a5fedcaccbbd3ec974aee5 100644 --- a/core/modules/content_translation/src/Access/ContentTranslationOverviewAccess.php +++ b/core/modules/content_translation/src/Access/ContentTranslationOverviewAccess.php @@ -75,4 +75,5 @@ public function access(RouteMatchInterface $route_match, AccountInterface $accou // No opinion. return AccessResult::neutral(); } + } diff --git a/core/modules/content_translation/src/ContentTranslationHandler.php b/core/modules/content_translation/src/ContentTranslationHandler.php index e600acd7fe96b4630712ffe63154697f16e16295..38d643be3fa2385cba06021fa93098344576e3f0 100644 --- a/core/modules/content_translation/src/ContentTranslationHandler.php +++ b/core/modules/content_translation/src/ContentTranslationHandler.php @@ -710,4 +710,5 @@ protected function entityFormTitle(EntityInterface $entity) { 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 e35755b64d1a7f09857e1a611d1b4da8ad124030..ca798e6695f00d3ed7ad43ae6a6f3173b2af55d0 100644 --- a/core/modules/content_translation/src/ContentTranslationMetadataWrapper.php +++ b/core/modules/content_translation/src/ContentTranslationMetadataWrapper.php @@ -146,4 +146,5 @@ protected function setFieldOnlyIfTranslatable($field_name, $value) { $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 f1c9d4c151c14720fd5799214e0f1d5b5197ab07..a45fda42dffda6eed9df208329eb81f5d640a040 100644 --- a/core/modules/content_translation/src/Tests/ContentTranslationMetadataFieldsTest.php +++ b/core/modules/content_translation/src/Tests/ContentTranslationMetadataFieldsTest.php @@ -140,4 +140,5 @@ public function testSetTranslatable() { $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 eef4d80875e38e5a10521d1d6406d731de6bc0c0..e5d2c85469e5b79028ffa26939c36aaf6b32aaf8 100644 --- a/core/modules/contextual/src/Tests/ContextualDynamicContextTest.php +++ b/core/modules/contextual/src/Tests/ContextualDynamicContextTest.php @@ -184,4 +184,5 @@ protected function renderContextualLinks($ids, $current_path) { } 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 914f585f8dd6e688e3d66d4c8d16c6f9c644bdce..fb2bc4abcb244e984d5b0fe071edc1f294bd574a 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 @@ public function getDateFormat($format) { // 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 4e6afe2dd8d996abf60aba20940f93bf0ca52ed4..2c8338ad259945bc72f94278c3b2669a9995ca26 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 @@ public function getDateFormat($format) { 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 50ad3d8bcac110fbd65824c9ebcb9340eb834b23..4ac76f046bd9360d997eb80d133d21f0cb646bfc 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 @@ public function get($id = NULL) { 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 6a74f1e89fbeb2f6f4738c0e84d7ad419c14b74e..1dd1f1145460a0cdcbb3eccfcb2a2614db82291e 100644 --- a/core/modules/dblog/src/Tests/Rest/DbLogResourceTest.php +++ b/core/modules/dblog/src/Tests/Rest/DbLogResourceTest.php @@ -61,4 +61,5 @@ public function testWatchdog() { $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 0d6840be0dd91629c30596f7aa9e1e556d0f47d6..c771439c6978debc26e5ce3c086a0d055ec550b0 100644 --- a/core/modules/editor/src/Tests/EditorSecurityTest.php +++ b/core/modules/editor/src/Tests/EditorSecurityTest.php @@ -431,4 +431,5 @@ function testEditorXssFilterOverride() { $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 91ec73eb63ce0a169d859c7fcd8cb5e7e41db592..2e8f74551ca2927117f821037e055635379841a2 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 @@ public function getIds() { ), ); } + } 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 08a0680ed263acc25a4cd0cbcd8c6fcc78f33e65..3c076e57ddff699e6b98119e9a335371cef4754b 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 @@ public function getIds() { ), ); } + } diff --git a/core/modules/field/src/Tests/EntityReference/EntityReferenceFileUploadTest.php b/core/modules/field/src/Tests/EntityReference/EntityReferenceFileUploadTest.php index b638d4c15bebf0ca3d20cac1fd1ea8fbaf38fcf4..6aef0f82835cc4cd3034ef54cda03c107d644149 100644 --- a/core/modules/field/src/Tests/EntityReference/EntityReferenceFileUploadTest.php +++ b/core/modules/field/src/Tests/EntityReference/EntityReferenceFileUploadTest.php @@ -125,4 +125,5 @@ public function testFileUpload() { $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 5a472efbbc94d76226d9795638f55694ad3896a2..e677dbc4ad0480d719dde895e20d42815dd45edf 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 @@ public function testSelectionHandlerRelationship() { $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 0907a4659b2c4cbe2909491af0aec0c607ae0ebc..05534060b5c38fbf864ca2041a54c3f6c1115c49 100644 --- a/core/modules/field/src/Tests/FieldAccessTest.php +++ b/core/modules/field/src/Tests/FieldAccessTest.php @@ -88,4 +88,5 @@ function testFieldAccess() { $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 ca23d03280303e992c3815ec84cef12cd85eddfd..2b1b020b4b1fb2e6ddecfcea14a4883da347f339 100644 --- a/core/modules/field/src/Tests/FieldTestBase.php +++ b/core/modules/field/src/Tests/FieldTestBase.php @@ -58,4 +58,5 @@ function assertFieldValues(EntityInterface $entity, $field_name, $expected_value $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 366024c07925578e9660f9f0e54e4b82e2bab6e2..14777ec3424f3fc140e6c3340bd654eccc56253c 100644 --- a/core/modules/field/src/Tests/Number/NumberFieldTest.php +++ b/core/modules/field/src/Tests/Number/NumberFieldTest.php @@ -558,4 +558,5 @@ function assertSetMinimumValue($field, $minimum_value) { $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 928442699eccdbca2793fd044b6fb204f28cad35..ed71ebc175daad156b11832b6409f29fc06fda61 100644 --- a/core/modules/field/src/Tests/String/StringFieldTest.php +++ b/core/modules/field/src/Tests/String/StringFieldTest.php @@ -97,4 +97,5 @@ function _testTextfieldWidgets($field_type, $widget_type) { $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 397e1c16df7771547c71337a9acd89d24230a7f7..5271fd28a1bcc7597488b6dd821e853457cdcaaa 100644 --- a/core/modules/field/src/Tests/TranslationWebTest.php +++ b/core/modules/field/src/Tests/TranslationWebTest.php @@ -130,4 +130,5 @@ private function checkTranslationRevisions($id, $revision_id, $available_langcod $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 c3f967cf363680e533c1e27b6e6c7a6b009a4ce5..be31a09351c5fab895d6350798e935f5f1916ab7 100644 --- a/core/modules/field/src/Tests/Update/FieldUpdateTest.php +++ b/core/modules/field/src/Tests/Update/FieldUpdateTest.php @@ -140,4 +140,5 @@ protected function assertEntityRefDependency(Config $config, $present) { $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 28b7024af6d3c969fbe90d433cdb397d8f783b5d..b51abb2313651be59f915436a708425483d0fb24 100644 --- a/core/modules/field/src/Tests/Views/FieldUITest.php +++ b/core/modules/field/src/Tests/Views/FieldUITest.php @@ -137,4 +137,5 @@ public function testBooleanFilterHandler() { $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 f3662b4b8048d26323e63f2aa27186c030f43a88..c2916f5d68c233d97a363160f212eb2b90eab46e 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 @@ public static function isApplicable(FieldDefinitionInterface $field_definition) 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 041967283bd96c2558e05a3018daa61d0d8becc8..5eb0354aefe384ed4bf4ef8628325e7942f31017 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 @@ public function viewElements(FieldItemListInterface $items, $langcode) { 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 b6387832ad0bad637ec6661c48abde3e5a0d774b..ca088610835ed512678e93a69017791c10e73972 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 @@ public function viewElements(FieldItemListInterface $items, $langcode) { 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 399aeba53ea0e75646c445db857bfe6831a8585e..97bb1e63622406ab4085f970ce49e51d997da44f 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 @@ public function viewElements(FieldItemListInterface $items, $langcode) { 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 5fb45e0d870edbe586c0f29c685a6f96cf73b310..f7df0c0c2f07f8986abe2cb5485bf0099961e8d8 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 @@ public function viewElements(FieldItemListInterface $items, $langcode) { return $elements; } + } diff --git a/core/modules/field/tests/src/Kernel/DisplayApiTest.php b/core/modules/field/tests/src/Kernel/DisplayApiTest.php index 9a85255dd70fcf967c42468a44da887a285b2f9c..d639e6aa257f9e4e8224a0a39f289959f9949d04 100644 --- a/core/modules/field/tests/src/Kernel/DisplayApiTest.php +++ b/core/modules/field/tests/src/Kernel/DisplayApiTest.php @@ -308,4 +308,5 @@ function testFieldEmpty() { // 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 7606076986f4f02c761fdd301ff0758783a94e85..8cd029188e8e547e3348ba4b2f49335664ae6b3b 100644 --- a/core/modules/field/tests/src/Kernel/FieldImportChangeTest.php +++ b/core/modules/field/tests/src/Kernel/FieldImportChangeTest.php @@ -48,4 +48,5 @@ function testImportChange() { $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 78a136e2aa0d2894406f8b906062fcfecf571cf2..3478dd3bea2ea45fa412ff25e0f8feb802bb7432 100644 --- a/core/modules/field/tests/src/Kernel/FieldImportCreateTest.php +++ b/core/modules/field/tests/src/Kernel/FieldImportCreateTest.php @@ -115,4 +115,5 @@ function testImportCreate() { $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 220aa46e3d94e98bf00f0128831170a6ee0969a3..b536fe8046a03900367f5866cc44be6ab599622b 100644 --- a/core/modules/field/tests/src/Kernel/FieldImportDeleteTest.php +++ b/core/modules/field/tests/src/Kernel/FieldImportDeleteTest.php @@ -108,4 +108,5 @@ public function testImportDelete() { $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 41cb06aa7f617d97703a6b3651aee7237c2baa16..b52a92fd28f1439bd3741b4160b3e9fe030d9ca8 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 @@ public function testStringFormatter() { $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 89655fd45456f9ed7d2b42d4dcdedfdb893811c6..f7b6fc7ad1278e1c570c03ecae4676fcc747f11e 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 @@ public function testDefaultsException() { 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 54ff0a6edb52c4b98809f7b718371ed438c31eba..3ebf95994b1a76137507913e9b3ba9eb3de2ff1f 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 @@ public function alterLocalTasks(&$local_tasks) { } } } + } diff --git a/core/modules/field_ui/src/Tests/FieldUIIndentationTest.php b/core/modules/field_ui/src/Tests/FieldUIIndentationTest.php index b2950e7602677be20b1844bfb90b60cf7df1c9b7..898b4172399000fd3e32cbc7ab8d1dc19fd65ba0 100644 --- a/core/modules/field_ui/src/Tests/FieldUIIndentationTest.php +++ b/core/modules/field_ui/src/Tests/FieldUIIndentationTest.php @@ -37,4 +37,5 @@ function testIndentation() { $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 d0789463869c48fbac2e9d031a831350e9170978..5b5a6bbef1879c23929b8a83a067333aa7354285 100644 --- a/core/modules/file/src/FileInterface.php +++ b/core/modules/file/src/FileInterface.php @@ -113,4 +113,5 @@ public function setTemporary(); * 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 296be7b27e679588c5d597af974c270c8a63d509..3bbd92c5be1da73a270c9711db8ed377cffeb527 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 eeab8af342830c5ea3c94196c064b9f0e27e0518..12647b112f3f75ef0c36482692349812a0f76004 100644 --- a/core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php +++ b/core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php @@ -107,4 +107,5 @@ public function listUsage(FileInterface $file) { } return $references; } + } diff --git a/core/modules/file/src/FileUsage/FileUsageBase.php b/core/modules/file/src/FileUsage/FileUsageBase.php index 5ebc79383a17400a697811e038af869762bea2ad..c90359be8b09f91818bcfa400a85b3b8ef770b0b 100644 --- a/core/modules/file/src/FileUsage/FileUsageBase.php +++ b/core/modules/file/src/FileUsage/FileUsageBase.php @@ -32,4 +32,5 @@ public function delete(FileInterface $file, $module, $type = NULL, $id = NULL, $ $file->save(); } } + } diff --git a/core/modules/file/src/FileUsage/FileUsageInterface.php b/core/modules/file/src/FileUsage/FileUsageInterface.php index cd8bea8510905cda7d38612b6e7b52408a281379..6acda42cc2c98a1e9520feece875177bbe914b93 100644 --- a/core/modules/file/src/FileUsage/FileUsageInterface.php +++ b/core/modules/file/src/FileUsage/FileUsageInterface.php @@ -66,4 +66,5 @@ public function delete(FileInterface $file, $module, $type = NULL, $id = NULL, $ * 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 745743c67101455a82da35d1c7ded2bdd41f86c7..e92cef3f2fc042ebe60d64361212394fc8b2b685 100644 --- a/core/modules/file/src/Tests/DownloadTest.php +++ b/core/modules/file/src/Tests/DownloadTest.php @@ -168,4 +168,5 @@ private function checkUrl($scheme, $directory, $filename, $expected_url) { $file->delete(); } + } diff --git a/core/modules/file/src/Tests/FileFieldPathTest.php b/core/modules/file/src/Tests/FileFieldPathTest.php index b3773beccfa9877cbcb785a48c5e1b116de45ba0..c9a15de812a052bcf6c90583cc4287e859cf7f39 100644 --- a/core/modules/file/src/Tests/FileFieldPathTest.php +++ b/core/modules/file/src/Tests/FileFieldPathTest.php @@ -89,4 +89,5 @@ function assertPathMatch($expected_path, $actual_path, $message) { $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 1fc41777eaff15bd7717c6668a86e1b78e9e4df2..665649aae9ff046f944b1e22419fe8a0cb2f20e4 100644 --- a/core/modules/file/src/Tests/FileFieldRSSContentTest.php +++ b/core/modules/file/src/Tests/FileFieldRSSContentTest.php @@ -64,4 +64,5 @@ function testFileFieldRSSContent() { ); $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 09a8572c1360c1d992a02a745e57f3d4f7ce5cb8..f5d00c7cb03c5199aca8cbdc6f8546a20464a471 100644 --- a/core/modules/file/src/Tests/FileFieldRevisionTest.php +++ b/core/modules/file/src/Tests/FileFieldRevisionTest.php @@ -138,4 +138,5 @@ function testRevisions() { $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 ce016af012e6fc1cfaebceeb1917754e4725de86..391f91a44092c96eeae614e2f9bf99d429c9474c 100644 --- a/core/modules/file/src/Tests/FileManagedAccessTest.php +++ b/core/modules/file/src/Tests/FileManagedAccessTest.php @@ -65,4 +65,5 @@ function testFileAccess() { $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 9f2ba0b11e0b0639598dfdd2cf8ffcb363b66d10..2705ef205b61e8c0550972ab2e8f186007bfe2e0 100644 --- a/core/modules/file/src/Tests/FilePrivateTest.php +++ b/core/modules/file/src/Tests/FilePrivateTest.php @@ -111,4 +111,5 @@ function testPrivateFile() { $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 de763270d5303ee025f41902d07fc01233089bf3..dfb9e51d49c6bc49c7258c3870f69e685ff822b7 100644 --- a/core/modules/file/src/Tests/FileTokenReplaceTest.php +++ b/core/modules/file/src/Tests/FileTokenReplaceTest.php @@ -93,4 +93,5 @@ function testFileTokenReplacement() { $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 64a49bed1cd1913bf21e090276cbf442f09c3ec4..b1ee6a65de1f23dbd83d459e7bf2103d4fd13909 100644 --- a/core/modules/file/src/Tests/RemoteFileSaveUploadTest.php +++ b/core/modules/file/src/Tests/RemoteFileSaveUploadTest.php @@ -20,4 +20,5 @@ protected function setUp() { 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 0f0f5ec87bd85afb4daa2e0dc6012eb76eaf0398..3aaa5cff0493294f584d544725affeaf8a978f46 100644 --- a/core/modules/file/src/Tests/SaveUploadTest.php +++ b/core/modules/file/src/Tests/SaveUploadTest.php @@ -358,4 +358,5 @@ function testDrupalMovingUploadedFileError() { '@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 5b06335a03085296e3f5e52a4c76e3b004808d15..628bb55dba0097b55b40f4d94ac8c5951455dce0 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 @@ public function submitForm(array &$form, FormStateInterface $form_state) { 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 fd6da2edf48abc5218f9d2ec7ad86236a4316e1f..c0a7c05170cdd595d5b5af0a03ab01b6063396fe 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 @@ function getInternalUri() { 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 7736751ce05958d084fb2efdf1651f00d1332160..12019e65833215bc1088a717df96a7ffe6eddd18 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 @@ public function getDescription() { 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 8ae028a74e3a0c5e435783d1caa6e32f72e5f89a..1428300f194221369c886a3cb2a01c5152f58b17 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 @@ function getInternalUri() { 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 b9bf8bc560bd06e76231e10421a8fe3f4f75d17b..8836bd48420256bd2b73b334ae4f680a68b5618c 100644 --- a/core/modules/file/tests/src/Kernel/CopyTest.php +++ b/core/modules/file/tests/src/Kernel/CopyTest.php @@ -141,4 +141,5 @@ function testExistingError() { $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 a6577d8c636bebc834b790fb55932249bad9bafd..b88057121d2444e85b0cbfcddc280dee5e5d3f25 100644 --- a/core/modules/file/tests/src/Kernel/DeleteTest.php +++ b/core/modules/file/tests/src/Kernel/DeleteTest.php @@ -68,4 +68,5 @@ function testInUse() { $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 9262b03560d368fb7b9e5b266aa550837e082e75..a56caeaeceaa27b54c7430be91a565f4e418044d 100644 --- a/core/modules/file/tests/src/Kernel/MoveTest.php +++ b/core/modules/file/tests/src/Kernel/MoveTest.php @@ -156,4 +156,5 @@ function testExistingError() { $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 e079454db4aee71c8a1bfb0f30a069928502ccc1..c5637d08d377b54c042dfec84dad163a238d609c 100644 --- a/core/modules/file/tests/src/Kernel/SaveDataTest.php +++ b/core/modules/file/tests/src/Kernel/SaveDataTest.php @@ -130,4 +130,5 @@ function testExistingError() { // 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 d5a3eef532bdb9666aa07ee1cd7eb04e7787c70c..69c7f2b7afd78137f6fe8b4c09c9bb007f2dde76 100644 --- a/core/modules/file/tests/src/Kernel/SaveTest.php +++ b/core/modules/file/tests/src/Kernel/SaveTest.php @@ -82,4 +82,5 @@ function testFileSave() { $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 95efbaf6901c54bb2b224c867b4728fa46ae1221..f8752c4f6a161a10418984db774fdc01caad8f9a 100644 --- a/core/modules/file/tests/src/Kernel/SpaceUsedTest.php +++ b/core/modules/file/tests/src/Kernel/SpaceUsedTest.php @@ -71,4 +71,5 @@ function testFileSpaceUsed() { $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 1b8918da47baccfb5455e534be99159d9e29351d..fdf12311ba97641a48a9214926ef093ba0055b41 100644 --- a/core/modules/file/tests/src/Kernel/UsageTest.php +++ b/core/modules/file/tests/src/Kernel/UsageTest.php @@ -202,4 +202,5 @@ function testTempFileCustomCleanup() { $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 c3bd453cd7c2fd0a31c32a65535bc78a8b02eb10..0bfcfddd43ed4922be86d274e343d8868757e2ea 100644 --- a/core/modules/file/tests/src/Kernel/ValidateTest.php +++ b/core/modules/file/tests/src/Kernel/ValidateTest.php @@ -34,4 +34,5 @@ function testCallerValidation() { $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 2d8f4cb7f8855c6d4b55d9dc77ebc7a3e79b81f0..30a6fe8bea356a40720684384de959a1fbeb8571 100644 --- a/core/modules/file/tests/src/Kernel/ValidatorTest.php +++ b/core/modules/file/tests/src/Kernel/ValidatorTest.php @@ -153,4 +153,5 @@ function testFileValidateSize() { $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 65bfa19988aa1b4d8cecef9a793dc01055561963..11ef4cc4edcd35a1c71f502d0c60f03f1e6ee69e 100644 --- a/core/modules/filter/src/Plugin/DataType/FilterFormat.php +++ b/core/modules/filter/src/Plugin/DataType/FilterFormat.php @@ -44,4 +44,5 @@ public function getSettableOptions(AccountInterface $account = NULL) { // @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 3a6912335eda90aa0c904f964251c5035e89ec5b..bf249835046014e447b4a7e242e1382b09cf73c2 100644 --- a/core/modules/filter/src/Render/FilteredMarkup.php +++ b/core/modules/filter/src/Render/FilteredMarkup.php @@ -21,4 +21,5 @@ */ 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 96bae809ec87b893d33d00a73c659e22ec11b2d8..800d70687cf0429c0a1359bbbbeb432f2d970d40 100644 --- a/core/modules/filter/src/Tests/FilterDefaultFormatTest.php +++ b/core/modules/filter/src/Tests/FilterDefaultFormatTest.php @@ -74,4 +74,5 @@ function testDefaultTextFormats() { 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 4d2da6183f48f9de73c17791737e1ce4ca746d59..ed41db08a64e4952bf8876dc187194f0d66bd7b6 100644 --- a/core/modules/filter/src/Tests/FilterFormatAccessTest.php +++ b/core/modules/filter/src/Tests/FilterFormatAccessTest.php @@ -329,4 +329,5 @@ function testFormatWidgetPermissions() { 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 448f2fc35e03881a286e65ca053fd717a463a543..5353ccb87c7a5d2305abe115bae35e8c2b84eeb7 100644 --- a/core/modules/filter/src/Tests/FilterHooksTest.php +++ b/core/modules/filter/src/Tests/FilterHooksTest.php @@ -68,4 +68,5 @@ function testFilterHooks() { $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 c7a2ee3adc934534ee620d40db64095989a5b444..5ce4e6d6b849cc42eafd9891fa2567eb8ba5b1ee 100644 --- a/core/modules/filter/src/Tests/FilterHtmlImageSecureTest.php +++ b/core/modules/filter/src/Tests/FilterHtmlImageSecureTest.php @@ -154,4 +154,5 @@ function testImageSource() { $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 32d5d4378635db0257ea72e6b9a019c3e7d7ee11..3dcc9f607263b9a6aeb6c84c3996378d27e7c166 100644 --- a/core/modules/filter/src/Tests/FilterNoFormatTest.php +++ b/core/modules/filter/src/Tests/FilterNoFormatTest.php @@ -33,4 +33,5 @@ function testCheckMarkupNoFormat() { // 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 4ea141c4cbb52501886370eedd5dbbaef98271c4..b86e0722aca19e86f3c54789cb0efe1d380f0faa 100644 --- a/core/modules/filter/src/Tests/FilterSecurityTest.php +++ b/core/modules/filter/src/Tests/FilterSecurityTest.php @@ -86,4 +86,5 @@ function testSkipSecurityFilters() { $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 cc90cb3c34e3073d0895fbcb621315cc1f980324..dc77eb41689e349cdd97a01a99a9c543332e0b5a 100644 --- a/core/modules/filter/tests/src/Kernel/FilterSettingsTest.php +++ b/core/modules/filter/tests/src/Kernel/FilterSettingsTest.php @@ -58,4 +58,5 @@ function testFilterDefaults() { ))); } } + } diff --git a/core/modules/filter/tests/src/Kernel/FilterUnitTest.php b/core/modules/filter/tests/src/Kernel/FilterUnitTest.php index 860f6723d5fd471a5cde63392e235b279590617d..3f467398b73a93ef4a6300cbb0cf9ce1cfdaf1d3 100644 --- a/core/modules/filter/tests/src/Kernel/FilterUnitTest.php +++ b/core/modules/filter/tests/src/Kernel/FilterUnitTest.php @@ -1174,4 +1174,5 @@ function assertNormalized($haystack, $needle, $message = '', $group = 'Other') { 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 0d4e5d07e498af50a42afc5b8696a2534e16acba..a50a069adf5f60987ad7346954e92c71d5f1e98d 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 @@ protected function setUp() { } parent::setUp(); } + } diff --git a/core/modules/forum/src/Plugin/Block/NewTopicsBlock.php b/core/modules/forum/src/Plugin/Block/NewTopicsBlock.php index 50551eef12d95e1bdbab5580e0bb20663f587a49..d57628f31a3b93380601e3d4bfde53e0736c94ec 100644 --- a/core/modules/forum/src/Plugin/Block/NewTopicsBlock.php +++ b/core/modules/forum/src/Plugin/Block/NewTopicsBlock.php @@ -24,4 +24,5 @@ protected function buildForumQuery() { ->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 1791a719d887f77f4baeae902d9f9aa6b75093ab..eec87cbee88f236dbbd8047dc951904a799c7467 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 6b1399b8d81359f0c13f47c97e56695ef3dc0d7a..1bcc9bc8d38b85fa32163093fce2421fcc7251e2 100644 --- a/core/modules/forum/src/Tests/ForumBlockTest.php +++ b/core/modules/forum/src/Tests/ForumBlockTest.php @@ -176,4 +176,5 @@ protected function createForumTopics($count = 5) { return $topics; } + } diff --git a/core/modules/forum/src/Tests/ForumIndexTest.php b/core/modules/forum/src/Tests/ForumIndexTest.php index 64fe0d12fbeeabccdca43a8ee34540db5ba4c664..8ead34f6de2819f0357067ceafa86c12103fe60b 100644 --- a/core/modules/forum/src/Tests/ForumIndexTest.php +++ b/core/modules/forum/src/Tests/ForumIndexTest.php @@ -79,4 +79,5 @@ function testForumIndexStatus() { $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 57b2c6098dc3de5e7d249d0f604fb847f5d6c51f..1327714c4aaf877115b8bc2b7d6c0cc3d10922ca 100644 --- a/core/modules/forum/src/Tests/ForumTest.php +++ b/core/modules/forum/src/Tests/ForumTest.php @@ -677,4 +677,5 @@ private function generateForumTopics() { $this->nids[] = $node->id(); } } + } diff --git a/core/modules/hal/src/Normalizer/ContentEntityNormalizer.php b/core/modules/hal/src/Normalizer/ContentEntityNormalizer.php index 8ff3235fab52c5063f42863f11ccdb03636856da..fd8158b34ae18c6b6f9502d9772224d07ff2f873 100644 --- a/core/modules/hal/src/Normalizer/ContentEntityNormalizer.php +++ b/core/modules/hal/src/Normalizer/ContentEntityNormalizer.php @@ -244,4 +244,5 @@ protected function getTypedDataIds($types, $context = array()) { 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 3e99f2fa7ce0b3623092c4ab0d201f982eae43af..64c8311f7824fe1c17d69d9a89ca7a1ab2e5e331 100644 --- a/core/modules/hal/tests/src/Kernel/DenormalizeTest.php +++ b/core/modules/hal/tests/src/Kernel/DenormalizeTest.php @@ -203,4 +203,5 @@ public function testPatchDenormalization() { // 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 6cb399198d2220aa4b80cd67b089cb50d96993d4..76e2ee3a349b8e75a2cfccae7e62f36ab010ae5b 100644 --- a/core/modules/help/src/Tests/HelpTest.php +++ b/core/modules/help/src/Tests/HelpTest.php @@ -158,4 +158,5 @@ protected function getModuleList() { } return $modules; } + } diff --git a/core/modules/help/src/Tests/NoHelpTest.php b/core/modules/help/src/Tests/NoHelpTest.php index 9d087b7564491f26ab08f548059ac6251e53d337..7a6fb7a4ce569dea80a47637cc0c84ac2d935345 100644 --- a/core/modules/help/src/Tests/NoHelpTest.php +++ b/core/modules/help/src/Tests/NoHelpTest.php @@ -45,4 +45,5 @@ public function testMainPageNoHelp() { $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 9e5d970efc92c2a10ebd5e528f0e7e426ddd5ce9..17bba34062b6817dcc9b4ce13c45bdcdb2ad5c01 100644 --- a/core/modules/history/src/Tests/HistoryTest.php +++ b/core/modules/history/src/Tests/HistoryTest.php @@ -144,4 +144,5 @@ function testHistory() { $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 1e34b79d28c9150fae678a44b03b8e709174fe8c..0f484014b0a249abd6baf9aee9631d21c8e29efc 100644 --- a/core/modules/history/src/Tests/Views/HistoryTimestampTest.php +++ b/core/modules/history/src/Tests/Views/HistoryTimestampTest.php @@ -85,4 +85,5 @@ public function testHandlers() { $this->executeView($view); } + } diff --git a/core/modules/image/src/Tests/FileMoveTest.php b/core/modules/image/src/Tests/FileMoveTest.php index 5868e85c4d5879f9299a341d9733769a5a3f03cf..195799446d2b5430c758591d0ab3b38847772e95 100644 --- a/core/modules/image/src/Tests/FileMoveTest.php +++ b/core/modules/image/src/Tests/FileMoveTest.php @@ -48,4 +48,5 @@ function testNormal() { // 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 d36aafcdc3ca71761f98f88e071d92cf608e7991..2532524126b4087429bff157e8fb8fb817028ae0 100644 --- a/core/modules/image/src/Tests/ImageFieldValidateTest.php +++ b/core/modules/image/src/Tests/ImageFieldValidateTest.php @@ -101,4 +101,5 @@ function testRequiredAttributes() { $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 1f7c8e41d41eae889ae48e3aa8fb6eb43b29079e..63c0d8093a825915226f60745eec8ed4f6aee713 100644 --- a/core/modules/image/src/Tests/ImageStyleFlushTest.php +++ b/core/modules/image/src/Tests/ImageStyleFlushTest.php @@ -106,4 +106,5 @@ function testFlush() { // 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 bf0a4cdb0186a77a053d2579ce40c6fe26402122..52cf6c6e5df687fedecafff592934864a0079055 100644 --- a/core/modules/image/src/Tests/ImageThemeFunctionTest.php +++ b/core/modules/image/src/Tests/ImageThemeFunctionTest.php @@ -217,4 +217,5 @@ function testImageAltFunctionality() { $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 1e38a9b7016379355782b9bcac01ba5d89c4be7c..dfbdabbebea68648ba90b92e8783c8918d429115 100644 --- a/core/modules/language/src/Form/NegotiationBrowserForm.php +++ b/core/modules/language/src/Form/NegotiationBrowserForm.php @@ -211,4 +211,5 @@ protected function language_get_browser_drupal_langcode_mappings() { } return $config->get('map'); } + } diff --git a/core/modules/language/src/LanguageServiceProvider.php b/core/modules/language/src/LanguageServiceProvider.php index 566bd632c26720eb62cc45910bde66186523fab0..cb4ad882308725b3699ceecc2f1165a68cec16cd 100644 --- a/core/modules/language/src/LanguageServiceProvider.php +++ b/core/modules/language/src/LanguageServiceProvider.php @@ -100,4 +100,5 @@ protected function getDefaultLanguageValues() { } return FALSE; } + } diff --git a/core/modules/language/src/Tests/LanguageBlockSettingsVisibilityTest.php b/core/modules/language/src/Tests/LanguageBlockSettingsVisibilityTest.php index f92514bd9eaef0133fd43a8b7fe1fbfff18d87c9..ee6912e372cb9514f33143b26dac8b9cd94d9964 100644 --- a/core/modules/language/src/Tests/LanguageBlockSettingsVisibilityTest.php +++ b/core/modules/language/src/Tests/LanguageBlockSettingsVisibilityTest.php @@ -23,4 +23,5 @@ public function testUnnecessaryLanguageSettingsVisibility() { $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 c6b731907e8fedec7a39191c425a8a542e282ba0..3991b2a0a9601206a21d34b8bc8ef235ef6fcb83 100644 --- a/core/modules/language/src/Tests/LanguageBrowserDetectionTest.php +++ b/core/modules/language/src/Tests/LanguageBrowserDetectionTest.php @@ -86,4 +86,5 @@ function testUIBrowserLanguageMappings() { $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 9cf69ad593fe4db5151c45660369c4b8b4631bad..dbd35cdf30de889f928f245b943cb1eec7403157 100644 --- a/core/modules/language/src/Tests/LanguageCustomLanguageConfigurationTest.php +++ b/core/modules/language/src/Tests/LanguageCustomLanguageConfigurationTest.php @@ -97,4 +97,5 @@ public function testLanguageConfiguration() { )); $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 ea9cdd5618c198da9d8c11f75dfdbdb513282d8f..3df9bdc0b1102aec184430fa36503f473e808d03 100644 --- a/core/modules/language/src/Tests/LanguageListModuleInstallTest.php +++ b/core/modules/language/src/Tests/LanguageListModuleInstallTest.php @@ -37,4 +37,5 @@ function testModuleInstallLanguageList() { $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 2f1a455e71dd3260eabf9aa40fa7a7371b7074b6..d407530603b80a5ca50966153554e359b52b1dc0 100644 --- a/core/modules/language/src/Tests/LanguageListTest.php +++ b/core/modules/language/src/Tests/LanguageListTest.php @@ -205,4 +205,5 @@ function testLanguageStates() { $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 ec05c44183fdf83004c74936cfd113cea7454649..dd3e02a1f38336c9259647f4fbd4aef202cb7062 100644 --- a/core/modules/language/src/Tests/LanguageLocaleListTest.php +++ b/core/modules/language/src/Tests/LanguageLocaleListTest.php @@ -69,4 +69,5 @@ function testLanguageLocaleList() { // 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 1f79604f1620140dc717607c56af1a9f1bff26fd..510d80542140fa57b95a331e60206ff4373dab0a 100644 --- a/core/modules/language/src/Tests/LanguagePathMonolingualTest.php +++ b/core/modules/language/src/Tests/LanguagePathMonolingualTest.php @@ -69,4 +69,5 @@ function testPageLinks() { $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 7e19d4f6bc666a90500f58bbd9e09a5a093d338f..ef2abee3c887ba9d9bf406ac7b1c01dc57ee421d 100644 --- a/core/modules/language/src/Tests/LanguageUILanguageNegotiationTest.php +++ b/core/modules/language/src/Tests/LanguageUILanguageNegotiationTest.php @@ -532,4 +532,5 @@ public function testDisableLanguageSwitcher() { $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 e89f86a66be7a6ef5ae840f4041121ede323a66a..99b2fff277090cc1943616c6e2cbd84ee6b6b03c 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 @@ public function buildForm(array $form, FormStateInterface $form_state) { */ 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 d538fcc825b231358126f71e16a950b64231a7df..0aa6c4975b70067234c2ce0256147c9cd54b707b 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 @@ public function buildForm(array $form, FormStateInterface $form_state) { */ 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 4fa83a441773cc6596452ab1c4030f5fd6e6e28f..8ecdbf771225e3814a4465638a917115298af2cc 100644 --- a/core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php +++ b/core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php @@ -249,6 +249,7 @@ public function providerTestDomain() { ); 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 4849d32b87dbce2a09e69c96521304f71a39f62e..f7370378e389d64535ccc18b7b66f21448585239 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 @@ public function viewElements(FieldItemListInterface $items, $langcode) { } 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 3fe76a67b33b8453ee02d8b62cbd52b09181040c..4f706f6a0f31e1d28e9cefbad2475b63ac04f456 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 @@ public function validate($value, Constraint $constraint) { } } } + } diff --git a/core/modules/link/src/Tests/Views/LinkViewsTokensTest.php b/core/modules/link/src/Tests/Views/LinkViewsTokensTest.php index b80624f724d8f1607f146388792a361dfec7650d..ec06ca614f9408a98a61fb37fb4e09d17b24e1f9 100644 --- a/core/modules/link/src/Tests/Views/LinkViewsTokensTest.php +++ b/core/modules/link/src/Tests/Views/LinkViewsTokensTest.php @@ -94,4 +94,5 @@ public function testLinkViewsTokens() { $this->assertRaw("Raw options: ."); } } + } diff --git a/core/modules/locale/src/Form/ImportForm.php b/core/modules/locale/src/Form/ImportForm.php index 5a20e278f56f7c1aee544431aaed7f810d86af1b..0ea71809bc1fe4fa26a2fc34954e77b5a5c894f0 100644 --- a/core/modules/locale/src/Form/ImportForm.php +++ b/core/modules/locale/src/Form/ImportForm.php @@ -192,4 +192,5 @@ public function submitForm(array &$form, FormStateInterface $form_state) { $form_state->setRedirect('locale.translate_page'); } + } diff --git a/core/modules/locale/src/Gettext.php b/core/modules/locale/src/Gettext.php index 7bfa2ddb0fc0f767ab6e8331d77a3852c65ecd28..5573f43d6a33a5cc4ac903668742b5ef9b8afff1 100644 --- a/core/modules/locale/src/Gettext.php +++ b/core/modules/locale/src/Gettext.php @@ -93,4 +93,5 @@ public static function fileToDatabase($file, $options) { $report['seek'] = $reader->getSeek(); return $report; } + } diff --git a/core/modules/locale/src/Locale.php b/core/modules/locale/src/Locale.php index 3627b578d8fc686f8753f2f07b5a0b6b1d4043ff..3e2a9f5dae61b30e18af2b59cad3c2a5c9f60269 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 e0189de3015adff257e0d5cb7ea8c043e48ec05d..907bd6cd7c3b73ca4b38d50aa16e3809a228d25e 100644 --- a/core/modules/locale/src/LocaleProjectStorage.php +++ b/core/modules/locale/src/LocaleProjectStorage.php @@ -165,4 +165,5 @@ public function getAll() { } return $this->cache; } + } diff --git a/core/modules/locale/src/LocaleProjectStorageInterface.php b/core/modules/locale/src/LocaleProjectStorageInterface.php index be3fe570f55f5253f058fdcc8ed5b885776013a9..b56174db8994b4f470bdcef689b9c12ac9608ce1 100644 --- a/core/modules/locale/src/LocaleProjectStorageInterface.php +++ b/core/modules/locale/src/LocaleProjectStorageInterface.php @@ -98,4 +98,5 @@ public function resetCache(); * 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 7797ad1171a136693ea0a79af5c5d95639a4db29..d59949b74996edffcf95fece5786df8e417e8673 100644 --- a/core/modules/locale/src/StreamWrapper/TranslationsStream.php +++ b/core/modules/locale/src/StreamWrapper/TranslationsStream.php @@ -47,4 +47,5 @@ function getDirectoryPath() { 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 fc6552a5b74a02515a0426651e970cc772849722..01a0544e458ee30917e7809c83c40408aaf0d571 100644 --- a/core/modules/locale/src/StringDatabaseStorage.php +++ b/core/modules/locale/src/StringDatabaseStorage.php @@ -536,4 +536,5 @@ protected function dbDelete($table, $keys) { 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 2aad73ea5aad323909e27fb9bd379b548ac4e128..da1c8fb1f0a4da61e0c193f9992ad308de50ba8f 100644 --- a/core/modules/locale/src/StringStorageInterface.php +++ b/core/modules/locale/src/StringStorageInterface.php @@ -176,4 +176,5 @@ public function createString($values = array()); * 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 c2ecc1a3d9cc22f0c68d1eaa53922699c8e21269..0b69da257f822311b0fac04fd9284436822d04a4 100644 --- a/core/modules/locale/src/Tests/LocaleImportFunctionalTest.php +++ b/core/modules/locale/src/Tests/LocaleImportFunctionalTest.php @@ -638,4 +638,5 @@ public function getPoFileWithConfigDe() { EOF; } + } diff --git a/core/modules/locale/src/Tests/LocaleLibraryAlterTest.php b/core/modules/locale/src/Tests/LocaleLibraryAlterTest.php index 0993e286a118a58928b6dd9cb42e9399209a3bc2..e84e3dd488ce7f9f6fd64623bb41b5cc295a471a 100644 --- a/core/modules/locale/src/Tests/LocaleLibraryAlterTest.php +++ b/core/modules/locale/src/Tests/LocaleLibraryAlterTest.php @@ -32,4 +32,5 @@ public function testLibraryAlter() { $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 7bd2615db21c9d84ede6804c903daeecc2104390..cc4f31a931e0c251f62035c641da5928513a3df4 100644 --- a/core/modules/locale/src/Tests/LocalePathTest.php +++ b/core/modules/locale/src/Tests/LocalePathTest.php @@ -147,4 +147,5 @@ public function testPathLanguageConfiguration() { $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 0f6c9c1071996b0b992c496c62b2e719f8bfab65..00fe8d58a4533d880d8efe8f58ae556cd0e73bb3 100644 --- a/core/modules/locale/src/Tests/LocalePluralFormatTest.php +++ b/core/modules/locale/src/Tests/LocalePluralFormatTest.php @@ -444,4 +444,5 @@ public function getPoFileWithBrokenPlural() { msgstr "Ponedjeljak" EOF; } + } diff --git a/core/modules/locale/src/Tests/LocaleStringTest.php b/core/modules/locale/src/Tests/LocaleStringTest.php index f70a96420cc65d6872fe6464a12c78561c857de4..2f467e74df06ee3f1fdb26d709a4c8673c7b90be 100644 --- a/core/modules/locale/src/Tests/LocaleStringTest.php +++ b/core/modules/locale/src/Tests/LocaleStringTest.php @@ -201,4 +201,5 @@ public function createTranslation($source, $langcode, $values = array()) { 'translation' => $this->randomMachineName(100), ))->save(); } + } diff --git a/core/modules/locale/src/Tests/LocaleTranslatedSchemaDefinitionTest.php b/core/modules/locale/src/Tests/LocaleTranslatedSchemaDefinitionTest.php index dae9e5b2f6b5f2aa4f9ad7e53daa644d6162a1eb..b117e2c8e45d499647d5696294daaba28ebedf42 100644 --- a/core/modules/locale/src/Tests/LocaleTranslatedSchemaDefinitionTest.php +++ b/core/modules/locale/src/Tests/LocaleTranslatedSchemaDefinitionTest.php @@ -87,4 +87,5 @@ function testTranslatedUpdate() { $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 1f790b6b965f46d3072c0aed506449ab3f4139b4..ba1678244ebd9d24da402c3fbf2b388de7abe777 100644 --- a/core/modules/locale/src/Tests/LocaleTranslationUiTest.php +++ b/core/modules/locale/src/Tests/LocaleTranslationUiTest.php @@ -539,4 +539,5 @@ public function testUICustomizedStrings() { $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 a763458393020af8a2f5b1e9636288dd82a6ef5d..85196ad7cca7837f362f9b2d60daaf6e7dd1a632 100644 --- a/core/modules/locale/src/Tests/LocaleUpdateBase.php +++ b/core/modules/locale/src/Tests/LocaleUpdateBase.php @@ -301,4 +301,5 @@ protected function assertTranslation($source, $translation, $langcode, $message $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 073258d3e1b37cf8f4c535a352126bd067d61720..569b818bd2a36683330e5b03d569448d6d71135d 100644 --- a/core/modules/locale/src/Tests/LocaleUpdateCronTest.php +++ b/core/modules/locale/src/Tests/LocaleUpdateCronTest.php @@ -106,4 +106,5 @@ public function testUpdateCron() { $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 4dd79134d89e0d8f338d5cb1976d7edc30428463..cfd2446fc7ffea18e1b53c505692b0e9647f670f 100644 --- a/core/modules/locale/src/Tests/LocaleUpdateDevelopmentReleaseTest.php +++ b/core/modules/locale/src/Tests/LocaleUpdateDevelopmentReleaseTest.php @@ -28,4 +28,5 @@ public function testLocaleUpdateDevelopmentRelease() { $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 5be8bed6b6f6a505b9c72af5e20877390ece1cf7..1bdc927f7e411de50abc4c38b9e9a25816a5c664 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 @@ public function testMenuLinkContentFormValidation() { ); $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 86fbd6b8161775db3d59e4ac656869d40eaf77bc..22bfb0ac3b0e4724ba1eef2907d921218c59c7e4 100644 --- a/core/modules/menu_ui/src/Form/MenuDeleteForm.php +++ b/core/modules/menu_ui/src/Form/MenuDeleteForm.php @@ -92,4 +92,5 @@ public function submitForm(array &$form, FormStateInterface $form_state) { 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 c0e98569832282b09a733526439745341f761b66..0396f173e52792fb9eda7346f667b424c642e760 100644 --- a/core/modules/menu_ui/src/Tests/MenuLinkReorderTest.php +++ b/core/modules/menu_ui/src/Tests/MenuLinkReorderTest.php @@ -63,4 +63,5 @@ function testDefaultMenuLinkReorder() { $this->assertLink('Home'); } + } diff --git a/core/modules/menu_ui/src/Tests/MenuNodeTest.php b/core/modules/menu_ui/src/Tests/MenuNodeTest.php index ce47fb16a5d49afe5414c98727d3538ee60e9dec..3fc8423fefb51cef0499d95a3b5e817dd1ec766d 100644 --- a/core/modules/menu_ui/src/Tests/MenuNodeTest.php +++ b/core/modules/menu_ui/src/Tests/MenuNodeTest.php @@ -337,4 +337,5 @@ function testMultilingualMenuNodeFormWidget() { $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 121276c49cd075539cc289d16b1138f007c96b01..f08da3bd9af5b7413daced805ffa77000b5becd5 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 5c52998f1b170b71caf7c93853c9c86535bd0a99..bb02c8887d2c79544af7549b8853d09957b10392 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 2b55651ca7a88303786395f26e9b3ec6dfc4b671..628a684fe5b7d7b85a008cc9f95793bbfb6f5644 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 56dcb9f515860b856d15e6c7667663a7f844a1f3..86294b5400bec3bc17f0dbdef9dcafd53858d1b1 100644 --- a/core/modules/migrate/src/Plugin/Migration.php +++ b/core/modules/migrate/src/Plugin/Migration.php @@ -712,4 +712,5 @@ public function getTrackLastImported() { public function getDestinationIds() { $this->destinationIds; } + } diff --git a/core/modules/migrate/src/Row.php b/core/modules/migrate/src/Row.php index 4f07ef4abdaceedd89fabe0fb68cb261dbeb0283..94cb8b2bd2607ebd81bda42fa2325ad45b7003ca 100644 --- a/core/modules/migrate/src/Row.php +++ b/core/modules/migrate/src/Row.php @@ -335,4 +335,5 @@ public function getHash() { 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 97009751bbf182c960305d727236597e1cf8facd..72d37ed73f205c96c71cebd7acdc4877e2fafe7e 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 @@ public function getRequirementsProvider() { ), ); } + } 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 d08e035abc4a138bf0c9c6a00d3c59f9aee9eb9b..da20b4920644c2636086570d98df943476eed975 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 @@ public function setEntity($entity) { 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 c12478b8c7dec3e49c3871f91f4b053650a5fb9d..1be14bc564b05c057d7114b284fca4411bcb1530 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 @@ protected function getEntity($entity_type, $bundle, $view_mode) { 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 a99af42405d5b82f7d0808add2c6edd21397c197..18df3621a9de9e786f7c8c8c41c6054bf42747c0 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 @@ protected function getEntity($entity_type, $bundle, $form_mode) { 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 d13c33b80382566f45f997af2be74b16509b21cc..1d0d4c3772c2303bec65948e5c92b52af58e42ff 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 @@ public function testConcatWithDelimiter() { $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 27aad89b71e1fe3dd6e2f7a3c1d214e913f24186..a1960deab7d3c3a6ea44dd75f87fbfe6424b9afc 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 @@ protected function entityQueryExpects($count) { ->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 bdbb551e5779eedaaaa0cb98e88fd57e34237899..316cbfc5c34e6046e6d9de71be58be1481ddbddb 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 @@ public function __construct() { 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 48f5647851918140c721e9a73267af6b0ddfe358..7c731a2e0fe5c2c0fd13a13c61847721c489a9de 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 @@ public function testIterator() { $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 0a43d30de237f86f92069dd0ca77a4dc4e48e405..e27a3531030ff5c184742fc6eac3e4c6d4c4cad2 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 @@ public function testVariableGet() { // Test non-default. $this->assertSame(TRUE, $this->base->variableGetWrapper('my_variable', FALSE)); } + } namespace Drupal\Tests\migrate_drupal\Unit\source\d6; @@ -217,4 +218,5 @@ public function variableGetWrapper($name, $default) { public function getIds() { return array(); } + } diff --git a/core/modules/node/src/NodeStorageInterface.php b/core/modules/node/src/NodeStorageInterface.php index 70562ff46dd586c61bf97aa3bec6327642fb17aa..b09d7b76799fa12eea26a7fc3a76663ed33355e8 100644 --- a/core/modules/node/src/NodeStorageInterface.php +++ b/core/modules/node/src/NodeStorageInterface.php @@ -64,4 +64,5 @@ public function updateType($old_type, $new_type); * 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 7e657bdddc7c72bb25bec7a443c1bd2df056e2e5..c034ffbee04de1e51366d8a394c9591e7eca4b31 100644 --- a/core/modules/node/src/NodeTypeInterface.php +++ b/core/modules/node/src/NodeTypeInterface.php @@ -80,4 +80,5 @@ public function getHelp(); * 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 248b15ca94ff13c810f9552dc0c8114ea7eaec93..33b20b88855d153a28042851ab3da0310deb0357 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 @@ protected function getUrlInfo(ResultRow $row) { 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 89d3bcedf309d79871d2f049df4f09fedf190d8e..58d484d9e48958b5dd90ce9695966e7414fb2426 100644 --- a/core/modules/node/src/Tests/AssertButtonsTrait.php +++ b/core/modules/node/src/Tests/AssertButtonsTrait.php @@ -44,4 +44,5 @@ public function assertButtons($buttons, $dropbutton = TRUE) { $this->assertNoRaw('dropbutton-wrapper'); } } + } diff --git a/core/modules/node/src/Tests/NodeAccessBaseTableTest.php b/core/modules/node/src/Tests/NodeAccessBaseTableTest.php index e84fc0e99ed6242b9d851eb7383cc0b8d97e4ff7..74e2340ca1f0d0c83a0e1f3c93f9cb47cd0f5396 100644 --- a/core/modules/node/src/Tests/NodeAccessBaseTableTest.php +++ b/core/modules/node/src/Tests/NodeAccessBaseTableTest.php @@ -222,4 +222,5 @@ protected function assertTaxonomyPage($is_admin) { } } } + } diff --git a/core/modules/node/src/Tests/NodeAccessFieldTest.php b/core/modules/node/src/Tests/NodeAccessFieldTest.php index e3a775414ed89f8c97cd00d801ad44e3386f4ff5..dcfa43d9b483c3c6f50953475f5569bc52f46c81 100644 --- a/core/modules/node/src/Tests/NodeAccessFieldTest.php +++ b/core/modules/node/src/Tests/NodeAccessFieldTest.php @@ -109,4 +109,5 @@ function testNodeAccessAdministerField() { $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 cfd351b517f040d7425d0e6bea0fc5d9c6966841..7db264cd931b46c3e0ef727df750fd36bad2f0e8 100644 --- a/core/modules/node/src/Tests/NodeAccessPagerTest.php +++ b/core/modules/node/src/Tests/NodeAccessPagerTest.php @@ -96,4 +96,5 @@ public function testForumPager() { $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 b6c3723f7ea42103616fab39b0dd0f84b12a047e..187f3a059fdeb34e9527b9a2709b37005944acdd 100644 --- a/core/modules/node/src/Tests/NodeAccessRebuildTest.php +++ b/core/modules/node/src/Tests/NodeAccessRebuildTest.php @@ -32,4 +32,5 @@ function testNodeAccessRebuild() { $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 9e05d84c712f8e800771fbec818f558ba25e1632..41265390529b3a8d5e6bc93b617430d101d148ff 100644 --- a/core/modules/node/src/Tests/NodeAccessRecordsTest.php +++ b/core/modules/node/src/Tests/NodeAccessRecordsTest.php @@ -80,4 +80,5 @@ function testNodeAccessRecords() { $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 3ffd3a33b0e0fcdcdb7042f91ef9f3f61157b43a..25ae6b68b1bd98a6b77ace81260b0f7a9e2f8f78 100644 --- a/core/modules/node/src/Tests/NodeEntityViewModeAlterTest.php +++ b/core/modules/node/src/Tests/NodeEntityViewModeAlterTest.php @@ -46,4 +46,5 @@ function testNodeViewModeChange() { $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 bf555d66fed1e44299cb8b04394b94b95e32c4c3..9f6732bfc206f6f9c7381bf734af4f43c9f0c9e0 100644 --- a/core/modules/node/src/Tests/NodeFormButtonsTest.php +++ b/core/modules/node/src/Tests/NodeFormButtonsTest.php @@ -131,4 +131,5 @@ function testNodeFormButtons() { $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 69f3963f2b6e51611c87178774ba7190755f79c2..aecf8a93e0d65b360ce70006ae446c0d0115007b 100644 --- a/core/modules/node/src/Tests/NodeFormSaveChangedTimeTest.php +++ b/core/modules/node/src/Tests/NodeFormSaveChangedTimeTest.php @@ -68,4 +68,5 @@ public function testChangedTimeAfterSaveWithoutChanges() { $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 9ede4abcd7ac2f9b35946d796d18c649e3b0197d..29460111c3e622a382d525619a74cb82a7264b15 100644 --- a/core/modules/node/src/Tests/NodeHelpTest.php +++ b/core/modules/node/src/Tests/NodeHelpTest.php @@ -73,4 +73,5 @@ public function testNodeShowHelpText() { $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 d7c4360c33df29d19e8879c95d0c28b7b5685d7a..31a30eea8cc9fa71e02d83246cb4b9a245f99a53 100644 --- a/core/modules/node/src/Tests/NodeLoadMultipleTest.php +++ b/core/modules/node/src/Tests/NodeLoadMultipleTest.php @@ -58,4 +58,5 @@ function testNodeMultipleLoad() { $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 3cfca2abb5db8a2734ae6a4bffc716ecdc61902b..bc3dd9943f54e44124bdea9d338e94a1694c1e82 100644 --- a/core/modules/node/src/Tests/NodePostSettingsTest.php +++ b/core/modules/node/src/Tests/NodePostSettingsTest.php @@ -54,4 +54,5 @@ function testPagePostInfo() { $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 2f1b11b8f374d31408ac54fafa609646fa6ce1be..022625bdcb021604b534f480eda8b2b5b8de75d6 100644 --- a/core/modules/node/src/Tests/NodeQueryAlterTest.php +++ b/core/modules/node/src/Tests/NodeQueryAlterTest.php @@ -193,4 +193,5 @@ function testNodeQueryAlterOverride() { } \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 1f5c9b786e5658537b27847783bc7540f59d44d9..e000fb808f9f495b86bfe03463e321d6d50a523d 100644 --- a/core/modules/node/src/Tests/NodeRevisionPermissionsTest.php +++ b/core/modules/node/src/Tests/NodeRevisionPermissionsTest.php @@ -165,4 +165,5 @@ function testNodeRevisionAccessPerType() { $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 f7b81bcbeb093948aa49e4ab3ab44c371d79add9..582ca5bef7c9e65d6ce6bb17b5a30c728fe70a5e 100644 --- a/core/modules/node/src/Tests/NodeRevisionsAllTest.php +++ b/core/modules/node/src/Tests/NodeRevisionsAllTest.php @@ -146,4 +146,5 @@ function testRevisions() { '%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 9c7d70fd5d692c51eb3ff3b658bf7e51d36d9c24..f01724bbcec4a3b028f0ebb5d36303e1064bac1f 100644 --- a/core/modules/node/src/Tests/NodeSaveTest.php +++ b/core/modules/node/src/Tests/NodeSaveTest.php @@ -178,4 +178,5 @@ function testNodeSaveOnInsert() { $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 ba898ee0d803c73296e36f51f654e102b608da6f..59ee0214940d4d2c77480bf3916426bf052c230e 100644 --- a/core/modules/node/src/Tests/NodeTitleTest.php +++ b/core/modules/node/src/Tests/NodeTitleTest.php @@ -99,4 +99,5 @@ function testNodeTitle() { $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 2a3e94f1abb7cd34a3ccc1138395b15325054f6d..c41027514a3a205a7ddb76d7ea8c43345df07f44 100644 --- a/core/modules/node/src/Tests/NodeTitleXSSTest.php +++ b/core/modules/node/src/Tests/NodeTitleXSSTest.php @@ -38,4 +38,5 @@ function testNodeTitleXSS() { $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 6cac96325d0b43887fa74d8c90cb2fe181aebc04..086b3e17c648b806b4cb8e83fde8be8d16a12217 100644 --- a/core/modules/node/src/Tests/PageViewTest.php +++ b/core/modules/node/src/Tests/PageViewTest.php @@ -38,4 +38,5 @@ function testPageView() { $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 d2453997365288ce60ed6c6ba89fbbbd14003417..050068b25425b93cd8175319f52f5b9289289837 100644 --- a/core/modules/node/src/Tests/Views/BulkFormAccessTest.php +++ b/core/modules/node/src/Tests/Views/BulkFormAccessTest.php @@ -169,4 +169,5 @@ public function testNodeDeleteAccess() { $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 682280761937e3a0135f7161896cd982dc241aa7..6b6d5e246efeaa387f1008504329fc0fe499a5d2 100644 --- a/core/modules/node/src/Tests/Views/NodeFieldFilterTest.php +++ b/core/modules/node/src/Tests/Views/NodeFieldFilterTest.php @@ -105,4 +105,5 @@ protected function assertPageCounts($path, $counts, $message) { $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 07986cc6a1ff45ea2e86ef260757550aec29006f..7636d52987647a426bb155fcabf474cad8e141c4 100644 --- a/core/modules/node/tests/src/Kernel/NodeConditionTest.php +++ b/core/modules/node/tests/src/Kernel/NodeConditionTest.php @@ -79,4 +79,5 @@ function testConditions() { $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 ae0bf01441b8473fab9b8a834cada5db6d11cdd4..9fd646e61a9dde19ceeecaa062f2ed2b8fcedbeb 100644 --- a/core/modules/node/tests/src/Kernel/NodeValidationTest.php +++ b/core/modules/node/tests/src/Kernel/NodeValidationTest.php @@ -68,4 +68,5 @@ public function testValidation() { $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 8ceb7a7ea779457c6cb5102a7949d307c3f8534d..287bf48395edd12456c72d0c72d0438bc2a98738 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 @@ public function testRevisionCreateTimestampView() { ], ['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 9015758bc000d04bf50ddd3ee61e17c9ae6a50f7..2d3f0fbed711edd206591068c3af063a6d89f360 100644 --- a/core/modules/options/src/Tests/OptionsDynamicValuesTestBase.php +++ b/core/modules/options/src/Tests/OptionsDynamicValuesTestBase.php @@ -75,4 +75,5 @@ protected function setUp() { 'uri' => $this->entity->url(), ]; } + } diff --git a/core/modules/options/src/Tests/OptionsSelectDynamicValuesTest.php b/core/modules/options/src/Tests/OptionsSelectDynamicValuesTest.php index 4c571a8eebb500a46ef25514275ea1bbd4f89aa8..df3365ca0759d81880df9c15ac51ea7046fb8285 100644 --- a/core/modules/options/src/Tests/OptionsSelectDynamicValuesTest.php +++ b/core/modules/options/src/Tests/OptionsSelectDynamicValuesTest.php @@ -30,4 +30,5 @@ function testSelectListDynamic() { } } } + } diff --git a/core/modules/options/tests/src/Kernel/OptionsFieldTest.php b/core/modules/options/tests/src/Kernel/OptionsFieldTest.php index b3437f32b9d4f6b54b9902af5337a6a22d976ccd..89ac127160e250e53e2869d4389b52e5202ccb97 100644 --- a/core/modules/options/tests/src/Kernel/OptionsFieldTest.php +++ b/core/modules/options/tests/src/Kernel/OptionsFieldTest.php @@ -96,4 +96,5 @@ function testUpdateAllowedValues() { $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 449a0aeb8a4c49aeed55994b42e5956c4bd58a88..df4e18db6d72494c382250d56356b1aefb6e2e7a 100644 --- a/core/modules/path/src/Tests/PathAliasTest.php +++ b/core/modules/path/src/Tests/PathAliasTest.php @@ -345,4 +345,5 @@ function testDuplicateNodeAlias() { $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 028d3593d525e87514f3aed24f5491fabd8dfeda..695f6be61ce8032d1987c5c0d2ae33b5e3c71902 100644 --- a/core/modules/path/src/Tests/PathLanguageTest.php +++ b/core/modules/path/src/Tests/PathLanguageTest.php @@ -187,4 +187,5 @@ function testAliasTranslation() { $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 9ff0ea2ee4283feee1e025097dae4a413198d7fb..540cc85db8b34df232b024c58651477ff3760b19 100644 --- a/core/modules/path/src/Tests/PathLanguageUiTest.php +++ b/core/modules/path/src/Tests/PathLanguageUiTest.php @@ -77,4 +77,5 @@ function testNonDefaultUrl() { $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 faeceabc780a8c8e49117da9f888237a5fb106f9..f62fb6c4c7c7c91f8e0a56ec9b8fb75082dda639 100644 --- a/core/modules/path/src/Tests/PathTaxonomyTermTest.php +++ b/core/modules/path/src/Tests/PathTaxonomyTermTest.php @@ -82,4 +82,5 @@ function testTermAlias() { $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 c16c4d14998f0a659700757f4e73d29636763e6f..c4a88af7d5ad0e3937e799e4a91d29bd301df506 100644 --- a/core/modules/path/src/Tests/PathTestBase.php +++ b/core/modules/path/src/Tests/PathTestBase.php @@ -25,4 +25,5 @@ protected function setUp() { $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 b9ebf122899b4528226585f059d8cc082255cc68..6baaed35481c5066695aff4b96a86bb093746fe0 100644 --- a/core/modules/quickedit/src/Tests/QuickEditLoadingTest.php +++ b/core/modules/quickedit/src/Tests/QuickEditLoadingTest.php @@ -559,4 +559,5 @@ public function testImageField() { $ajax_commands = Json::decode($response); $this->assertIdentical('
save(); return $comment; } + } diff --git a/core/modules/rdf/src/Tests/GetNamespacesTest.php b/core/modules/rdf/src/Tests/GetNamespacesTest.php index 3ecd2f15fe3ad8f99028b351bdbe789f2d2e2794..8aeaf7992b85583e96f5e88e038ff200bda754f6 100644 --- a/core/modules/rdf/src/Tests/GetNamespacesTest.php +++ b/core/modules/rdf/src/Tests/GetNamespacesTest.php @@ -46,4 +46,5 @@ function testGetRdfNamespaces() { )); $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 0ddec66ebe199309b80d17c5e9a77ff7e4bddaf9..7fde6f0c4aebc952126203ce33e73755219c70ab 100644 --- a/core/modules/rdf/src/Tests/GetRdfNamespacesTest.php +++ b/core/modules/rdf/src/Tests/GetRdfNamespacesTest.php @@ -40,4 +40,5 @@ function testGetRdfNamespaces() { $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 bcc5d50e16b136ca56bf5a3f31dfcfd46f9dbcdd..5c6b2676cd5649350361a83b8870db1d1844cbdd 100644 --- a/core/modules/rdf/src/Tests/NodeAttributesTest.php +++ b/core/modules/rdf/src/Tests/NodeAttributesTest.php @@ -90,4 +90,5 @@ function testNodeAttributes() { ); $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 1c72d71b1128cbf3c1c59b7d2fa7bf72552e140e..e6c358de6626a64c43a400171103bbb715af3f8a 100644 --- a/core/modules/rdf/src/Tests/StandardProfileTest.php +++ b/core/modules/rdf/src/Tests/StandardProfileTest.php @@ -533,4 +533,5 @@ protected function getRdfGraph(Url $url) { $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 8e18035c9d173013ba35f0445b97a9fdcb5ed547..6be2c5bc3890154faf831df5fd0cd915f343b42f 100644 --- a/core/modules/rdf/src/Tests/TaxonomyAttributesTest.php +++ b/core/modules/rdf/src/Tests/TaxonomyAttributesTest.php @@ -77,4 +77,5 @@ function testTaxonomyTermRdfaAttributes() { // @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 c68dd996fb0802d236f85e83507a77be3b6698a2..232b5b2e8c575ab8d65f8b6c53041711bafa8948 100644 --- a/core/modules/rdf/src/Tests/UserAttributesTest.php +++ b/core/modules/rdf/src/Tests/UserAttributesTest.php @@ -104,4 +104,5 @@ function testUserAttributesInMarkup() { } } + } diff --git a/core/modules/rdf/tests/src/Kernel/CrudTest.php b/core/modules/rdf/tests/src/Kernel/CrudTest.php index 39dddc4becdf3e184d76c364c01c508fac6464b9..60b4208d00b35651328d53f7968bcd7ed2580137 100644 --- a/core/modules/rdf/tests/src/Kernel/CrudTest.php +++ b/core/modules/rdf/tests/src/Kernel/CrudTest.php @@ -107,4 +107,5 @@ function testFieldMapping() { ->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 012b57dbf2618643122b168819515a9c7a389361..a35a9c43ad05dd83188f14aa86d488d070325821 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 @@ protected function setUp() { 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 88f9a7c6a6aa2881575ab278921af5cb16ec130f..c121751655abf77d28da0c9d28074f6221ff31c7 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 @@ public function testAllFormatters() { // 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 d2b123993ede31eec0398e8db9b9e89ef1a4625e..514ca9d6b4d719c78893778f2034c17b29fbf1a9 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 @@ protected function createTestEntity($testValue) { $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 6f0f9d3f81c177f6b0b3910c4daf1fa92ecf0aed..a0b28e94d1c6486257a6aed5a5fdfb8811fca134 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 @@ public function testStringFormatters() { // 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 e26bd79706baca5087b2b82af5cbeafb5e700104..9741256080e96f71223290a5bfb1793f70c0548a 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 @@ public function testAllFormatters() { // 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 c50cc164712112c68d2ef4bd0893bec1a98c84e1..cce3499576c76195d7ba3b354a4353a68bfaf1ac 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 @@ public function testAllFormatters() { // 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 de33d843c12f2fa6956096f0f7f0f981fe32af33..b91ef186044428e06bb2b1b0c2875480dbdcceaf 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 @@ public function viewElements(FieldItemListInterface $items, $langcode) { } return $elements; } + } diff --git a/core/modules/responsive_image/src/Tests/ResponsiveImageFieldDisplayTest.php b/core/modules/responsive_image/src/Tests/ResponsiveImageFieldDisplayTest.php index c0fbc9035bc8db7243b7b4d234e5388a1b8b8c3f..f5b277dcdf72cc6e66504cd708f32278b9320b24 100644 --- a/core/modules/responsive_image/src/Tests/ResponsiveImageFieldDisplayTest.php +++ b/core/modules/responsive_image/src/Tests/ResponsiveImageFieldDisplayTest.php @@ -514,4 +514,5 @@ private function assertResponsiveImageFieldFormattersLink($link_type) { 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 bbe8d9e4e4f661156861d0a62165f9da2255bca7..883322eadf30295796849f67ede9d787d9ed1717 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 @@ public function viewElements(FieldItemListInterface $items, $langcode) { } return $elements; } + } diff --git a/core/modules/rest/src/LinkManager/RelationLinkManager.php b/core/modules/rest/src/LinkManager/RelationLinkManager.php index 988e57c5d94d6a856923d92ce0d06d34e0b954ae..297ffd9a0c2823a879dda432fd95ec9e1f8dc20b 100644 --- a/core/modules/rest/src/LinkManager/RelationLinkManager.php +++ b/core/modules/rest/src/LinkManager/RelationLinkManager.php @@ -138,4 +138,5 @@ protected function writeCache($context = array()) { // 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 3873358e7afaec9ccd8e4b593eb2ae79d268f3d8..484ca76f15693ab560faae98a87dd7807a780dac 100644 --- a/core/modules/rest/src/LinkManager/TypeLinkManagerInterface.php +++ b/core/modules/rest/src/LinkManager/TypeLinkManagerInterface.php @@ -36,4 +36,5 @@ public function getTypeUri($entity_type, $bundle, $context = array()); * 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 52e31f0ecafb752a9beb2c61f1d69e14f12a2254..6a6ddae96720767e7ffa0118ac05a215ff66117f 100644 --- a/core/modules/rest/src/Plugin/Deriver/EntityDeriver.php +++ b/core/modules/rest/src/Plugin/Deriver/EntityDeriver.php @@ -93,4 +93,5 @@ public function getDerivativeDefinitions($base_plugin_definition) { } return $this->derivatives; } + } diff --git a/core/modules/rest/src/Plugin/Type/ResourcePluginManager.php b/core/modules/rest/src/Plugin/Type/ResourcePluginManager.php index 97fbf1cabc26b946e7c4e14668eac2f00684a0ea..9a3587c4427ca211e9aa56fef4f9fd3330bf8e2f 100644 --- a/core/modules/rest/src/Plugin/Type/ResourcePluginManager.php +++ b/core/modules/rest/src/Plugin/Type/ResourcePluginManager.php @@ -42,4 +42,5 @@ public function getInstance(array $options){ 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 e81ee0966cb1afd9b563615c26c761620a35aa41..6ec5f265ab66ad7efa6363868ef63f726bfe903c 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 @@ protected function getBaseRoute($canonical_path, $method) { return $route; } - } diff --git a/core/modules/rest/src/RequestHandler.php b/core/modules/rest/src/RequestHandler.php index 9efdb35abeaa9e443feab69a9516873f2c90e753..c58516690de17e0a05ebe0dc2014002e3060c46d 100644 --- a/core/modules/rest/src/RequestHandler.php +++ b/core/modules/rest/src/RequestHandler.php @@ -131,4 +131,5 @@ public function handle(RouteMatchInterface $route_match, Request $request) { 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 6d304150659a08f04fb6e65f1587434190ad1c91..20a7e78e8d73634ce8c7ee021e96a79a1ce3e066 100644 --- a/core/modules/rest/src/ResourceResponse.php +++ b/core/modules/rest/src/ResourceResponse.php @@ -49,4 +49,5 @@ public function __construct($data = NULL, $status = 200, $headers = array()) { 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 3835ab8e2e0bc85b344b55f47bad4c69d28b82f3..f98abad3d0467b6ed03cb7fad647636aa7145a01 100644 --- a/core/modules/rest/src/Tests/CsrfTest.php +++ b/core/modules/rest/src/Tests/CsrfTest.php @@ -114,4 +114,5 @@ protected function getCurlOptions() { ), ); } + } diff --git a/core/modules/rest/src/Tests/DeleteTest.php b/core/modules/rest/src/Tests/DeleteTest.php index 3d975409af33daad479d378358a49f2ba5e2307d..ccba38ea5b68599ef34a208a229782be6a752618 100644 --- a/core/modules/rest/src/Tests/DeleteTest.php +++ b/core/modules/rest/src/Tests/DeleteTest.php @@ -72,4 +72,5 @@ public function testDelete() { $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 357109c23c3b01fde29dcc8b02891c1e5604c57a..7f0ed81b3bb090bfd865e689a1ceca3994e2be23 100644 --- a/core/modules/rest/src/Tests/NodeTest.php +++ b/core/modules/rest/src/Tests/NodeTest.php @@ -194,4 +194,5 @@ public function testMissingBundle() { $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 099957ecc1d594c536b607cf4613cd52c7e530da..71b1a085cd4293da1f17acc36d67735789bd22e7 100644 --- a/core/modules/rest/src/Tests/RESTTestBase.php +++ b/core/modules/rest/src/Tests/RESTTestBase.php @@ -425,4 +425,5 @@ protected function removeNodeFieldsForNonAdminUsers(NodeInterface $node) { 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 04dfa12bc7ec08b2d9f666e526c7e7a7a5c00da1..a8843428e7569c4ddda208e1b832a2515a4ba21a 100644 --- a/core/modules/rest/src/Tests/Views/StyleSerializerTest.php +++ b/core/modules/rest/src/Tests/Views/StyleSerializerTest.php @@ -785,4 +785,5 @@ public function testMulEntityRows() { $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 d5d46f3b9b520b3e51589574407d8ff2a9ceb420..6c19ca4b376a06b82ae0cf0a5179dc0ed95c9a7d 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 4cc1e7d437aadb17437c9d832336ae837cbf135e..53ebbd5793ccb468999bd76b836235a7dbd436c2 100644 --- a/core/modules/rest/tests/src/Unit/CollectRoutesTest.php +++ b/core/modules/rest/tests/src/Unit/CollectRoutesTest.php @@ -133,4 +133,5 @@ public function testRoutesRequirements() { $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 5096d10bb964ea21f2f65595666c3531539006ca..9cd4a15a265d4ebd7e7cb2533f50620d874e067a 100644 --- a/core/modules/search/src/Form/ReindexConfirm.php +++ b/core/modules/search/src/Form/ReindexConfirm.php @@ -67,4 +67,5 @@ public function submitForm(array &$form, FormStateInterface $form_state) { $form_state->setRedirectUrl($this->getCancelUrl()); } } + } diff --git a/core/modules/search/src/Form/SearchBlockForm.php b/core/modules/search/src/Form/SearchBlockForm.php index 1e63d652fcf04ad9205af68e9083ce419577adfd..cc9d89ee4b2c5fe9a3a611b7835de81cbc9b807e 100644 --- a/core/modules/search/src/Form/SearchBlockForm.php +++ b/core/modules/search/src/Form/SearchBlockForm.php @@ -115,4 +115,5 @@ public function buildForm(array $form, FormStateInterface $form_state) { 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 bc1ee58ad3ac956bf2dd369f9b246d598595cd29..1521beb6da7201f0ce01bd74583c4f9a8c8d4743 100644 --- a/core/modules/search/src/Form/SearchPageForm.php +++ b/core/modules/search/src/Form/SearchPageForm.php @@ -101,4 +101,5 @@ public function submitForm(array &$form, FormStateInterface $form_state) { 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 03e8fd9ae42f1f272342c428045c4ed6e9132167..643fcc45d4b824cbaf6ad9b5cd306673d2440e03 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 @@ public function render(ResultRow $values) { return parent::render($values); } } + } diff --git a/core/modules/search/src/SearchPluginManager.php b/core/modules/search/src/SearchPluginManager.php index fa407ff36c0320acd32a0a0cdef78fc81492fad0..e70039b5d069abc3e1033caf38cb889182bc2581 100644 --- a/core/modules/search/src/SearchPluginManager.php +++ b/core/modules/search/src/SearchPluginManager.php @@ -27,4 +27,5 @@ public function __construct(\Traversable $namespaces, CacheBackendInterface $cac $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 3e19fb263bbdb7e40b2b19e508aeb513dac41920..48f8bb64c88f5a1868b253df1167da9456c03cdb 100644 --- a/core/modules/search/src/Tests/SearchCommentCountToggleTest.php +++ b/core/modules/search/src/Tests/SearchCommentCountToggleTest.php @@ -111,4 +111,5 @@ function testSearchCommentCountToggle() { $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 1af119436d89dcb358da8d2b5f170092b7fdeefa..f67637ffc80e8004ba4795313485497cc4f01059 100644 --- a/core/modules/search/src/Tests/SearchCommentTest.php +++ b/core/modules/search/src/Tests/SearchCommentTest.php @@ -350,4 +350,5 @@ function testAddNewComment() { $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 30f26bd2e67a9b0db24bc527ea11b8cf12ca020f..967f1f537547a17fc22b8720cf9a119192855e06 100644 --- a/core/modules/search/src/Tests/SearchDateIntervalTest.php +++ b/core/modules/search/src/Tests/SearchDateIntervalTest.php @@ -71,4 +71,5 @@ public function testDateIntervalQueryAlter() { $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 b62706b574ef4662a6d81dcba13f05cb5e2d3616..22da9b611e63fb3466637ccf3c3b80467c51aee1 100644 --- a/core/modules/search/src/Tests/SearchEmbedFormTest.php +++ b/core/modules/search/src/Tests/SearchEmbedFormTest.php @@ -81,4 +81,5 @@ function testEmbeddedForm() { $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 eaf3edb1fcaddc89055c8560b874988c86528c97..d17646bb587fd4d2e8260192c0f67ae28563cba3 100644 --- a/core/modules/search/src/Tests/SearchExactTest.php +++ b/core/modules/search/src/Tests/SearchExactTest.php @@ -75,4 +75,5 @@ function testExactQuery() { $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 731d0ea4dbb579b2fc98d4ab2d4346d384e8e12b..1625d8de9bed99c0a103214345fd5a1d3e606ed4 100644 --- a/core/modules/search/src/Tests/SearchKeywordsConditionsTest.php +++ b/core/modules/search/src/Tests/SearchKeywordsConditionsTest.php @@ -58,4 +58,5 @@ function testSearchKeywordsConditions() { $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 f359a99f5873589b3fb848917d36ac452ecc31e6..cdd0bd4c6ca7b25328b624ffece1c5dfaea317e1 100644 --- a/core/modules/search/src/Tests/SearchLanguageTest.php +++ b/core/modules/search/src/Tests/SearchLanguageTest.php @@ -133,4 +133,5 @@ function testLanguages() { $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 a7a3070874eecec490ef06792144c7a2c9630cd5..e133101d5d63843ab68667bd52664211b436c1d9 100644 --- a/core/modules/search/src/Tests/SearchMultilingualEntityTest.php +++ b/core/modules/search/src/Tests/SearchMultilingualEntityTest.php @@ -318,4 +318,5 @@ protected function assertDatabaseCounts($count_node, $count_foo, $message) { $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 a8b5369e7f7e2829276700457d9692213372fa74..a8b45a57a87b1527ebbf656d5c39444de8aed2ce 100644 --- a/core/modules/search/src/Tests/SearchNodeDiacriticsTest.php +++ b/core/modules/search/src/Tests/SearchNodeDiacriticsTest.php @@ -76,4 +76,5 @@ function testPhraseSearchPunctuation() { $this->drupalPostForm('search/node', $edit, t('Search')); $this->assertNoRaw('æll'); } + } diff --git a/core/modules/search/src/Tests/SearchNodePunctuationTest.php b/core/modules/search/src/Tests/SearchNodePunctuationTest.php index 77449bab656891ab36e8c5de621c6237420d2255..c185aeaceffd2bf92ec5794de9f864baf9a7d4fb 100644 --- a/core/modules/search/src/Tests/SearchNodePunctuationTest.php +++ b/core/modules/search/src/Tests/SearchNodePunctuationTest.php @@ -59,4 +59,5 @@ function testPhraseSearchPunctuation() { $this->assertNoRaw('&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 179c9ae73fd5df27947a68084e749dff4b691bbf..a6ad05728680d18cade199daef76ef575b55367e 100644 --- a/core/modules/search/src/Tests/SearchNumberMatchingTest.php +++ b/core/modules/search/src/Tests/SearchNumberMatchingTest.php @@ -95,4 +95,5 @@ function testNumberSearching() { } } + } diff --git a/core/modules/search/src/Tests/SearchNumbersTest.php b/core/modules/search/src/Tests/SearchNumbersTest.php index 4ddb831d765ca74106818d1da105f39e9b48e160..30d3906f8139694e391efedb6f3bacbfd30f7d12 100644 --- a/core/modules/search/src/Tests/SearchNumbersTest.php +++ b/core/modules/search/src/Tests/SearchNumbersTest.php @@ -100,4 +100,5 @@ function testNumberSearching() { $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 040172025012c27a626c49d6d72df6cb9b6a8fa3..97689045b2bac5ebcd881d57646807d2cc9e3a6d 100644 --- a/core/modules/search/src/Tests/SearchPageOverrideTest.php +++ b/core/modules/search/src/Tests/SearchPageOverrideTest.php @@ -40,4 +40,5 @@ function testSearchPageHook() { $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 4eead8b8382249e36d1e3b3f3f84a502e59fa084..db33d85c0b3398de22a4ca00b50dd21519a1174c 100644 --- a/core/modules/search/src/Tests/SearchPageTextTest.php +++ b/core/modules/search/src/Tests/SearchPageTextTest.php @@ -159,4 +159,5 @@ function testSearchText() { $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 e26025159963ddfdcbfbb405bb97e4d223755cd5..38cb3508e0e0cd43c49e79198266e331086899b9 100644 --- a/core/modules/search/src/Tests/SearchPreprocessLangcodeTest.php +++ b/core/modules/search/src/Tests/SearchPreprocessLangcodeTest.php @@ -95,4 +95,5 @@ function testPreprocessStemming() { $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 2b058168f21d78749cddf5e5ea0dc0e44103854a..0cb473f5f0bedec829a98b0d4183d92946970756 100644 --- a/core/modules/search/src/Tests/SearchQueryAlterTest.php +++ b/core/modules/search/src/Tests/SearchQueryAlterTest.php @@ -45,4 +45,5 @@ function testQueryAlter() { $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 c138d9fd5ffd872e939d8604525c0c54ea544457..78e3e242a4ebe042de96f7fea7bafafea007ac87 100644 --- a/core/modules/search/src/Tests/SearchRankingTest.php +++ b/core/modules/search/src/Tests/SearchRankingTest.php @@ -274,4 +274,5 @@ public function testHTMLRankings() { $node->delete(); } } + } diff --git a/core/modules/search/src/Tests/SearchSetLocaleTest.php b/core/modules/search/src/Tests/SearchSetLocaleTest.php index d098c4749df31bbeac7d30cad1f9e2b00b311b07..0ec4137800cf7b8eace154f8734ce8d3f78b97b7 100644 --- a/core/modules/search/src/Tests/SearchSetLocaleTest.php +++ b/core/modules/search/src/Tests/SearchSetLocaleTest.php @@ -47,4 +47,5 @@ public function testSearchWithNumericLocale() { // necessary here. $this->nodeSearchPlugin->execute(); } + } diff --git a/core/modules/search/src/Tests/SearchSimplifyTest.php b/core/modules/search/src/Tests/SearchSimplifyTest.php index 2dc9ff658fe2a606487c096f56729ee6e94d5fb6..bdb96c93d15d7e5cd987140629f962ac44a29b45 100644 --- a/core/modules/search/src/Tests/SearchSimplifyTest.php +++ b/core/modules/search/src/Tests/SearchSimplifyTest.php @@ -77,4 +77,5 @@ function testSearchSimplifyPunctuation() { $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 0a605c6ee680de534a78b5bf3fc7118d1d8b5bfe..83967b3a04600913538f2543877f9398f2d919e0 100644 --- a/core/modules/search/src/Tests/SearchTestBase.php +++ b/core/modules/search/src/Tests/SearchTestBase.php @@ -88,4 +88,5 @@ protected function submitGetForm($path, $edit, $submit, $form_html_id = NULL) { $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 fd410c9fb976f23a1282b2de066919f5bcff18fc..f8b3ccbe17a291f1f06dc3d79d99f7483985c8c6 100644 --- a/core/modules/search/src/Tests/SearchTokenizerTest.php +++ b/core/modules/search/src/Tests/SearchTokenizerTest.php @@ -147,4 +147,5 @@ function code2utf($num) { return ''; } + } diff --git a/core/modules/search/tests/src/Kernel/SearchMatchTest.php b/core/modules/search/tests/src/Kernel/SearchMatchTest.php index 1469efa77adedc76babd584d940057068f0ee80a..0a17f7173e6237df7313199c8c93351068fc632a 100644 --- a/core/modules/search/tests/src/Kernel/SearchMatchTest.php +++ b/core/modules/search/tests/src/Kernel/SearchMatchTest.php @@ -251,4 +251,5 @@ function _testQueryScores($query, $set, $results) { // 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 767a81b59a3c092e7e0105bc6394cda6de312d9c..d634207ba02ade3aa60cb6672c902314378b165c 100644 --- a/core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php +++ b/core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php @@ -281,4 +281,5 @@ public function __construct(array $values) { 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 1a88364983862758b911dca05af97fb624b6f857..abd78968a36eca3858b528e60118ef0f290ef456 100644 --- a/core/modules/serialization/src/Encoder/XmlEncoder.php +++ b/core/modules/serialization/src/Encoder/XmlEncoder.php @@ -78,4 +78,5 @@ public function decode($data, $format, array $context = array()){ 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 81549bab219e8a690fdf17429d94c46eaff4a8b1..b800e812af35fb67815f2ea68f96644d6c5013eb 100644 --- a/core/modules/serialization/src/Normalizer/EntityNormalizer.php +++ b/core/modules/serialization/src/Normalizer/EntityNormalizer.php @@ -88,4 +88,5 @@ public function denormalize($data, $class, $format = NULL, array $context = []) return $entity; } + } diff --git a/core/modules/serialization/src/RegisterEntityResolversCompilerPass.php b/core/modules/serialization/src/RegisterEntityResolversCompilerPass.php index 96b1e91f9dc585eef279d45d5e885c0e1a107efa..90a2c26a0f633524c40fe823467ff8a7d2293c6f 100644 --- a/core/modules/serialization/src/RegisterEntityResolversCompilerPass.php +++ b/core/modules/serialization/src/RegisterEntityResolversCompilerPass.php @@ -58,4 +58,5 @@ protected function sort($services) { return $sorted; } + } diff --git a/core/modules/serialization/src/RegisterSerializationClassesCompilerPass.php b/core/modules/serialization/src/RegisterSerializationClassesCompilerPass.php index 6d3a9f8ff34c99b6d9195833f66c4d3539c524bc..e1f73d77a38ebae0833eccc02cbd363b649814b2 100644 --- a/core/modules/serialization/src/RegisterSerializationClassesCompilerPass.php +++ b/core/modules/serialization/src/RegisterSerializationClassesCompilerPass.php @@ -71,4 +71,5 @@ protected function sort($services) { return $sorted; } + } diff --git a/core/modules/serialization/src/SerializationServiceProvider.php b/core/modules/serialization/src/SerializationServiceProvider.php index fbd34c0a068b43f8be7eaec2b3c108fc73a39557..95211851a02ca0a21c5114a2e068d7a8c8dba520 100644 --- a/core/modules/serialization/src/SerializationServiceProvider.php +++ b/core/modules/serialization/src/SerializationServiceProvider.php @@ -19,4 +19,5 @@ public function register(ContainerBuilder $container) { // 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 90cd1c594fbc7467f6ab4463fb83e0d6b8216ad7..00ea14fe6fd6c0a0d8f32c5b0a614e0678ac1baa 100644 --- a/core/modules/serialization/src/Tests/EntitySerializationTest.php +++ b/core/modules/serialization/src/Tests/EntitySerializationTest.php @@ -222,4 +222,5 @@ public function testDenormalize() { $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 509347df3f1948785b62f3ad02c28c7a1b2af532..0eb9aa5d9d40f1144f9097fec1ec61230e31ffc4 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 @@ public function encode($data, $format, array $context = array()) { 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 34beb2d475e6437d0ef4ab664bacbb3a3cff7589..0cb58335528e8ffc7f4a54c4bbc553022ec0e91e 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 @@ public function normalize($object, $format = NULL, array $context = array()) { 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 cd8ba96814fde822c865ef3e70afc096616cf25c..8b700a32813b0179d133ebce273c621ef0c6d801 100644 --- a/core/modules/serialization/tests/src/Kernel/SerializationTest.php +++ b/core/modules/serialization/tests/src/Kernel/SerializationTest.php @@ -51,4 +51,5 @@ public function testSerializerComponentRegistration() { $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 72964bb10e9dc45e86b8544032eb2e351eacbe26..fddf08a7126118e384d0163aaddac53bdf3bf2fd 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 @@ protected function getEntity(Row $row, array $old_destination_id_values) { $entity->setSyncing(TRUE); return $entity; } + } diff --git a/core/modules/shortcut/src/Tests/ShortcutSetsTest.php b/core/modules/shortcut/src/Tests/ShortcutSetsTest.php index 1e87ea63bb2e6a9c99015a61fae0679b000e51eb..0744053e684e9c5d0f307321e16cc2912ff20bc7 100644 --- a/core/modules/shortcut/src/Tests/ShortcutSetsTest.php +++ b/core/modules/shortcut/src/Tests/ShortcutSetsTest.php @@ -207,4 +207,5 @@ function testShortcutSetCreateWithSetName() { $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 d702c5fc58e9aaa6d866de25beef208999ec40d0..f9f7aec5bcbc1b1972eae77dcdc1f5b1e1e62854 100644 --- a/core/modules/simpletest/src/RandomGeneratorTrait.php +++ b/core/modules/simpletest/src/RandomGeneratorTrait.php @@ -14,4 +14,5 @@ */ trait RandomGeneratorTrait { use BaseGeneratorTrait; + } diff --git a/core/modules/simpletest/src/Tests/BrokenSetUpTest.php b/core/modules/simpletest/src/Tests/BrokenSetUpTest.php index 459a9d1b9744abdec43e1c555bb6b03d3e11b9e6..e988f4d3da43377a93df384252a7e27b7030f599 100644 --- a/core/modules/simpletest/src/Tests/BrokenSetUpTest.php +++ b/core/modules/simpletest/src/Tests/BrokenSetUpTest.php @@ -116,4 +116,5 @@ function testMethod() { $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 1eb8fe40fdd66e8cb32c79ca73e1dd09d79bd8e2..d43c63803055a7dfb7f30b3d8b74f4e8b736a4d7 100644 --- a/core/modules/simpletest/src/Tests/FolderTest.php +++ b/core/modules/simpletest/src/Tests/FolderTest.php @@ -23,4 +23,5 @@ function testFolderSetup() { $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 4c32512dcd7ee297f0500f93e01bb7fb44c0fc89..a1063e7b2f4236efa6c59d4e80e1d47112509b34 100644 --- a/core/modules/simpletest/src/Tests/InstallationProfileModuleTestsTest.php +++ b/core/modules/simpletest/src/Tests/InstallationProfileModuleTestsTest.php @@ -58,4 +58,5 @@ function testInstallationProfileTests() { $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 cf36c5dfe23f09b22997c16884e9560b19bc7868..700c757c92a7055d93fb6a92e350e69cae7397bd 100644 --- a/core/modules/simpletest/src/Tests/MailCaptureTest.php +++ b/core/modules/simpletest/src/Tests/MailCaptureTest.php @@ -74,4 +74,5 @@ function testMailSend() { $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 27e1001f20558aab166a8a4756f77e9f4e66ba4d..0b21d546dba92d0578359b2691c2cd17a0cd876d 100644 --- a/core/modules/simpletest/src/Tests/MissingCheckedRequirementsTest.php +++ b/core/modules/simpletest/src/Tests/MissingCheckedRequirementsTest.php @@ -53,4 +53,5 @@ public function testCheckRequirements() { $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 73210c5c08d43bd4b9870b27cdb4f72d48379a48..6fb61d523c8f3ed8398109a872ba188b7238e170 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 @@ public function testWillDie() { } $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 835f5c135168b059791835a87d2907ba505704dc..8c816b0bbea327dea54aed50881406d28e61febc 100644 --- a/core/modules/simpletest/tests/src/Unit/AssertHelperTraitTest.php +++ b/core/modules/simpletest/tests/src/Unit/AssertHelperTraitTest.php @@ -36,6 +36,7 @@ public function providerCastSafeStrings() { [['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 0a82609e97eb6dfd2af6207e70a119ab5e63d3b2..25211fc40459d0b37b1c77d86cec20f73b1e8d53 100644 --- a/core/modules/simpletest/tests/src/Unit/PhpUnitErrorTest.php +++ b/core/modules/simpletest/tests/src/Unit/PhpUnitErrorTest.php @@ -36,4 +36,5 @@ public function testPhpUnitXmlParsing() { // 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 5bd150c4e08646c484f02764b5494d5262beef39..2abb5642a49d2a9f9467e5bd53fc5c615af4760d 100644 --- a/core/modules/statistics/src/StatisticsSettingsForm.php +++ b/core/modules/statistics/src/StatisticsSettingsForm.php @@ -96,4 +96,5 @@ public function submitForm(array &$form, FormStateInterface $form_state) { parent::submitForm($form, $form_state); } + } diff --git a/core/modules/statistics/src/Tests/StatisticsAdminTest.php b/core/modules/statistics/src/Tests/StatisticsAdminTest.php index ad573c1aba4fc9eccd67314b50839066af9311f7..565925c0e51e604defc8a3b0889188ba84ed48d5 100644 --- a/core/modules/statistics/src/Tests/StatisticsAdminTest.php +++ b/core/modules/statistics/src/Tests/StatisticsAdminTest.php @@ -167,4 +167,5 @@ function testExpiredLogs() { ->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 f9b2d24192699085d33195ee3f29cd122c0fbe4a..b18b0ac69f07530a15d6e15256a5c06155910970 100644 --- a/core/modules/statistics/src/Tests/StatisticsTestBase.php +++ b/core/modules/statistics/src/Tests/StatisticsTestBase.php @@ -47,4 +47,5 @@ protected function setUp() { ->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 bf35de3b8494d7239941586a328247d740446f50..b7d22b8fe418a22efa7731f2bc82be0277de3f22 100644 --- a/core/modules/statistics/src/Tests/StatisticsTokenReplaceTest.php +++ b/core/modules/statistics/src/Tests/StatisticsTokenReplaceTest.php @@ -48,4 +48,5 @@ function testStatisticsTokenReplacement() { $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 fc674652894cd8ded7a36a7806a863a3775284ec..a40847c2aeb21f40a631efb1d0c879fbb7363239 100644 --- a/core/modules/syslog/src/Tests/SyslogTest.php +++ b/core/modules/syslog/src/Tests/SyslogTest.php @@ -37,4 +37,5 @@ function testSettings() { } } } + } diff --git a/core/modules/system/src/Access/CronAccessCheck.php b/core/modules/system/src/Access/CronAccessCheck.php index 2e5a865c04b99bc06db98de9e2a21394da1c29ae..bdc582daf7ae2bd0a9007c03f9528c7901eb2286 100644 --- a/core/modules/system/src/Access/CronAccessCheck.php +++ b/core/modules/system/src/Access/CronAccessCheck.php @@ -30,4 +30,5 @@ public function access($key) { } return AccessResult::allowed()->setCacheMaxAge(0); } + } diff --git a/core/modules/system/src/Access/DbUpdateAccessCheck.php b/core/modules/system/src/Access/DbUpdateAccessCheck.php index d2aa5e820ca74860f328e85772394b577630c43f..2bcc5fb0ab40678a6e354f83caed58c2eefa821a 100644 --- a/core/modules/system/src/Access/DbUpdateAccessCheck.php +++ b/core/modules/system/src/Access/DbUpdateAccessCheck.php @@ -34,4 +34,5 @@ public function access(AccountInterface $account) { return AccessResult::forbidden()->cachePerPermissions(); } } + } diff --git a/core/modules/system/src/Form/ModulesUninstallForm.php b/core/modules/system/src/Form/ModulesUninstallForm.php index 617270bf51d45fd37f7ffec6096fa526b7e5514a..a06810ef0b196295c86a9af4e8fd92b670291111 100644 --- a/core/modules/system/src/Form/ModulesUninstallForm.php +++ b/core/modules/system/src/Form/ModulesUninstallForm.php @@ -187,4 +187,5 @@ public function submitForm(array &$form, FormStateInterface $form_state) { // 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 c3c2725d127f7127ebf7607f560bd3696cfab4de..bbc34c1eeed590d51048fdfe471e41fdfa1c96ec 100644 --- a/core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php +++ b/core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php @@ -431,4 +431,5 @@ public function extensionToImageType($extension) { 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 86ec402587526d3d4f032a31da704c3540cf7912..3c0de5fa43c5b47b83053217decb4a139bc9dad5 100644 --- a/core/modules/system/src/SystemConfigSubscriber.php +++ b/core/modules/system/src/SystemConfigSubscriber.php @@ -88,4 +88,5 @@ public static function getSubscribedEvents() { $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 3016edb9bae3991ebd4a3b684c5c83a6742daae3..4ca7390a1cb27bf3378224e6c36ce36d16ae481c 100644 --- a/core/modules/system/src/Tests/Ajax/AjaxInGroupTest.php +++ b/core/modules/system/src/Tests/Ajax/AjaxInGroupTest.php @@ -28,4 +28,5 @@ function testSimpleAjaxFormValue() { $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 03ade3f845a3544a42d7c997346f52bb9058ee39..e4db3bd9c2e1f1527da462bf245005785daa1506 100644 --- a/core/modules/system/src/Tests/Ajax/AjaxTestBase.php +++ b/core/modules/system/src/Tests/Ajax/AjaxTestBase.php @@ -59,4 +59,5 @@ protected function assertCommand($haystack, $needle, $message) { } $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 12b1aae2a11524064ae21a85cd80cc10679d3629..5133ce3767ebb7f9085e507f1c493e640f7bf9bb 100644 --- a/core/modules/system/src/Tests/Ajax/ElementValidationTest.php +++ b/core/modules/system/src/Tests/Ajax/ElementValidationTest.php @@ -34,4 +34,5 @@ function testAjaxElementValidation() { $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 3c592eef0cd85bdf6e899cebd0bb74ec66c45079..0a23db18432d292dbfc9e6f5d5c3eda724c81658 100644 --- a/core/modules/system/src/Tests/Ajax/FormValuesTest.php +++ b/core/modules/system/src/Tests/Ajax/FormValuesTest.php @@ -60,4 +60,5 @@ function testSimpleAjaxFormValue() { // 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 9441a014855c1a44e95d8a966922e9f5f95d31e1..fb59bcc58878e642506a00400ecdbbf36035d163 100644 --- a/core/modules/system/src/Tests/Ajax/FrameworkTest.php +++ b/core/modules/system/src/Tests/Ajax/FrameworkTest.php @@ -211,4 +211,5 @@ public function testLazyLoadOverriddenCSS() { // 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 3a8ef1f2a3abc2e1f6c80b660eb256060156cf8e..e07204cc7fde586e70c209ecbcbcf328da58ee28 100644 --- a/core/modules/system/src/Tests/Ajax/MultiFormTest.php +++ b/core/modules/system/src/Tests/Ajax/MultiFormTest.php @@ -94,4 +94,5 @@ function testMultiForm() { } } } + } diff --git a/core/modules/system/src/Tests/Batch/ProcessingTest.php b/core/modules/system/src/Tests/Batch/ProcessingTest.php index c85890d0b53bef522d5bbe32762f2866fc4f3662..66c0fc6b1529bb80b0cc16f9cb8214961bc42b27 100644 --- a/core/modules/system/src/Tests/Batch/ProcessingTest.php +++ b/core/modules/system/src/Tests/Batch/ProcessingTest.php @@ -292,4 +292,5 @@ function _resultMessages($id) { } return $messages; } + } diff --git a/core/modules/system/src/Tests/Bootstrap/GetFilenameUnitTest.php b/core/modules/system/src/Tests/Bootstrap/GetFilenameUnitTest.php index 9d5ef0984e415281a670451b3b5da971f11af7ce..50bbc6b000f5d8f0f48a5e4da020d9ec586bf6c6 100644 --- a/core/modules/system/src/Tests/Bootstrap/GetFilenameUnitTest.php +++ b/core/modules/system/src/Tests/Bootstrap/GetFilenameUnitTest.php @@ -57,4 +57,5 @@ function testDrupalGetFilename() { // 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 1e7b6dd9c7cfbb84c39f4b80219c2f6280c49687..b15c8775cef8646173e0c6f036fa932c0231b19a 100644 --- a/core/modules/system/src/Tests/Bootstrap/ResettableStaticUnitTest.php +++ b/core/modules/system/src/Tests/Bootstrap/ResettableStaticUnitTest.php @@ -37,4 +37,5 @@ function testDrupalStatic() { 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 c527991f1eb99242803f892ed462f9a62a7c49d1..efca9fdf4a6d941a6c9813668de69e361b352ea9 100644 --- a/core/modules/system/src/Tests/Cache/CacheTestBase.php +++ b/core/modules/system/src/Tests/Cache/CacheTestBase.php @@ -82,4 +82,5 @@ function assertCacheRemoved($message, $cid = NULL, $bin = NULL) { $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 2b1c691d55375ea9ac9dbf7e0422847403b1a4b4..3a3fe905f09cca1de2eac6dca8421c6279f9ea8d 100644 --- a/core/modules/system/src/Tests/Cache/ClearTest.php +++ b/core/modules/system/src/Tests/Cache/ClearTest.php @@ -38,4 +38,5 @@ function testFlushAllCaches() { $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 0fbb1832052edd46f9bc1127611be31b5cd3bb7b..6a37b81afbaa094edbb1b83c5fcfd6e9d54afac1 100644 --- a/core/modules/system/src/Tests/Cache/MemoryBackendUnitTest.php +++ b/core/modules/system/src/Tests/Cache/MemoryBackendUnitTest.php @@ -22,4 +22,5 @@ protected function createCacheBackend($bin) { \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 a4176fe02860cba87aa717a75275e7b6a41238c8..b539281629ba86739c432cb8ed8498542c1f2bf6 100644 --- a/core/modules/system/src/Tests/Common/AddFeedTest.php +++ b/core/modules/system/src/Tests/Common/AddFeedTest.php @@ -91,4 +91,5 @@ function testFeedIconEscaping() { $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 33eb1f80c07895e9779f6b71f154cc4c45729e1c..86bed7d24a2e55e3612ae0bbe811b2f35d1b392c 100644 --- a/core/modules/system/src/Tests/Common/AlterTest.php +++ b/core/modules/system/src/Tests/Common/AlterTest.php @@ -68,4 +68,5 @@ function testDrupalAlter() { \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 59b9619a44624899f26424d891ea4502f55822eb..36589ef4670d2c89fe7b35b598b73726143c1974 100644 --- a/core/modules/system/src/Tests/Common/FormatDateTest.php +++ b/core/modules/system/src/Tests/Common/FormatDateTest.php @@ -118,4 +118,5 @@ function testFormatDate() { $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 tags not removed from dates.'); $this->assertIdentical($formatter->format($timestamp, 'custom', '\<\e\m\>Y\<\/\e\m\>'), '2007', '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 e36ed7e5cb44a45d8cd07c8d5721db48c863429c..1be7e9482669514073c6f22b1788b98d5a7ce4c3 100644 --- a/core/modules/system/src/Tests/Common/SimpleTestErrorCollectorTest.php +++ b/core/modules/system/src/Tests/Common/SimpleTestErrorCollectorTest.php @@ -90,4 +90,5 @@ function assertError($error, $group, $function, $file, $message = NULL) { $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 4fd5c17c711e0f8f37e5bca649fe57daa15dfa4a..39c06bbaa52f676ebb371834afcf0fd6dc781d3d 100644 --- a/core/modules/system/src/Tests/Common/SizeUnitTest.php +++ b/core/modules/system/src/Tests/Common/SizeUnitTest.php @@ -65,4 +65,5 @@ function testCommonParseSizeFormatSize() { ); } } + } diff --git a/core/modules/system/src/Tests/Common/SystemListingTest.php b/core/modules/system/src/Tests/Common/SystemListingTest.php index a9bf480366900331dbf8cb1a93e254586891bf0e..e2d5c6f1f253af2cc43737093197980131be3e55 100644 --- a/core/modules/system/src/Tests/Common/SystemListingTest.php +++ b/core/modules/system/src/Tests/Common/SystemListingTest.php @@ -50,4 +50,5 @@ function testDirectoryPrecedence() { ))); } } + } diff --git a/core/modules/system/src/Tests/Common/TableSortExtenderUnitTest.php b/core/modules/system/src/Tests/Common/TableSortExtenderUnitTest.php index 97608688492d90a4fb6cfea8b26543aa23262f8f..9b456a9d3ddc1da2a93412e0b29ca14c1f3e3629 100644 --- a/core/modules/system/src/Tests/Common/TableSortExtenderUnitTest.php +++ b/core/modules/system/src/Tests/Common/TableSortExtenderUnitTest.php @@ -137,4 +137,5 @@ function testTableSortInit() { $this->verbose(strtr('$ts:
!ts
', 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 f7bfd947ba066db376c0be6007ad39c58d973c42..062e3e42d5e501fa0b86e169ca3df3b52ee76c95 100644 --- a/core/modules/system/src/Tests/Common/UrlTest.php +++ b/core/modules/system/src/Tests/Common/UrlTest.php @@ -316,4 +316,5 @@ function testExternalUrls() { $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 eef42b7b37d1893439afad637a6e9cd44d5e677b..17977378d02f0b4e8ae5f440e386067abc7fc67f 100644 --- a/core/modules/system/src/Tests/Common/XssUnitTest.php +++ b/core/modules/system/src/Tests/Common/XssUnitTest.php @@ -53,4 +53,5 @@ function testBadProtocolStripping() { $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 4e6e3ecda29103aceace7d5b99946382d1174673..d484d68fd2031c80d122438b2d1a8a896b9aae90 100644 --- a/core/modules/system/src/Tests/Database/DatabaseWebTestBase.php +++ b/core/modules/system/src/Tests/Database/DatabaseWebTestBase.php @@ -22,4 +22,5 @@ protected function setUp() { DatabaseTestBase::addSampleData(); } + } diff --git a/core/modules/system/src/Tests/Database/SelectPagerDefaultTest.php b/core/modules/system/src/Tests/Database/SelectPagerDefaultTest.php index eeb75721f03f3ae7588eaeedc96d8db8a0589bff..cdfeab8d0a1f0a6c22bdf72c18c5413f4cd3028d 100644 --- a/core/modules/system/src/Tests/Database/SelectPagerDefaultTest.php +++ b/core/modules/system/src/Tests/Database/SelectPagerDefaultTest.php @@ -164,4 +164,5 @@ function testElementNumbers() { $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 5b30e54e5a16fca585ba80b3bc1ee5886bddbb15..1bfa75466e25d9998e32079f21c580e9d5c755bd 100644 --- a/core/modules/system/src/Tests/Database/TemporaryQueryTest.php +++ b/core/modules/system/src/Tests/Database/TemporaryQueryTest.php @@ -53,4 +53,5 @@ function testTemporaryQuery() { $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 db3808ae2ba6c9245895eed0889b52703e17f0f6..cc1a3814854d225ad1d11d2183add95142d5264e 100644 --- a/core/modules/system/src/Tests/DrupalKernel/ServiceDestructionTest.php +++ b/core/modules/system/src/Tests/DrupalKernel/ServiceDestructionTest.php @@ -54,4 +54,5 @@ public function testDestructionUnused() { $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 f7420b4ac9ef1bddf8edefe67ba6758587d08b35..bee4ec283f5ec1be65a263beec505646b096aab9 100644 --- a/core/modules/system/src/Tests/Entity/EntityRevisionsTest.php +++ b/core/modules/system/src/Tests/Entity/EntityRevisionsTest.php @@ -112,4 +112,5 @@ protected function runRevisionsTests($entity_type) { $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 15128744d3fbae6d9e138af443ef6e5a7262cdb3..101569ce178775c0bfc0a8a35f38f016ba363615 100644 --- a/core/modules/system/src/Tests/Entity/EntityTranslationFormTest.php +++ b/core/modules/system/src/Tests/Entity/EntityTranslationFormTest.php @@ -110,4 +110,5 @@ function testEntityFormLanguage() { $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 61256fae830b256d8cc50fc652eff327222ce2f1..5e9e44ace748cdafdc5b8dbfdcddee88e8ef23a6 100644 --- a/core/modules/system/src/Tests/File/DirectoryTest.php +++ b/core/modules/system/src/Tests/File/DirectoryTest.php @@ -159,4 +159,5 @@ function testFileDirectoryTemp() { $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 c3d6ba2fc7cc256c5acb91d036fe28e1a577606a..219ff6cba1c2552763ba3600f92466217ff59c5b 100644 --- a/core/modules/system/src/Tests/File/FileTestBase.php +++ b/core/modules/system/src/Tests/File/FileTestBase.php @@ -164,4 +164,5 @@ function createUri($filepath = NULL, $contents = NULL, $scheme = NULL) { $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 b96b1bf1010a5756884e2f0d3cac6d018b64ece8..8120c0a4c0c389d1e0a758296ce75f2b227c14ea 100644 --- a/core/modules/system/src/Tests/File/MimeTypeTest.php +++ b/core/modules/system/src/Tests/File/MimeTypeTest.php @@ -86,4 +86,5 @@ public function testFileMimeTypeDetection() { $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 f4d7ce8d4c6f865b51c0eb0843aaf9d697311bfe..52163fc9c90ee7730b8037010428596e7f20a347 100644 --- a/core/modules/system/src/Tests/File/NameMungingTest.php +++ b/core/modules/system/src/Tests/File/NameMungingTest.php @@ -83,4 +83,5 @@ function testUnMunge() { $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 838d4584559fa82eb3cc30fb68b753483a2862c0..d1128c42d00fde298b543913d7262f61db8a753f 100644 --- a/core/modules/system/src/Tests/File/ReadOnlyStreamWrapperTest.php +++ b/core/modules/system/src/Tests/File/ReadOnlyStreamWrapperTest.php @@ -85,4 +85,5 @@ function testReadOnlyBehavior() { // 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 180af4de74ab486be512fab15174d37422618544..7c286fe7165d831cbc8c3095f9c3f935c00d9ddc 100644 --- a/core/modules/system/src/Tests/File/RemoteFileDirectoryTest.php +++ b/core/modules/system/src/Tests/File/RemoteFileDirectoryTest.php @@ -34,4 +34,5 @@ protected function setUp() { 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 6913ff341057d809dced33de0856ba3bb6047bb9..8b30abaedb76f688edb3b2fb243e03a172190b38 100644 --- a/core/modules/system/src/Tests/File/RemoteFileScanDirectoryTest.php +++ b/core/modules/system/src/Tests/File/RemoteFileScanDirectoryTest.php @@ -34,4 +34,5 @@ protected function setUp() { 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 d6724527814a047d312d2455e2357334db5f1760..9c6c0d67c93248306fc22cac6ff4c7528854254f 100644 --- a/core/modules/system/src/Tests/File/RemoteFileUnmanagedCopyTest.php +++ b/core/modules/system/src/Tests/File/RemoteFileUnmanagedCopyTest.php @@ -34,4 +34,5 @@ protected function setUp() { 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 37a4279f0db9d14159ec6b4c7b22afaa5fc08bdc..7c47526fdd6a56482dfea35122b5d153f6fb60fd 100644 --- a/core/modules/system/src/Tests/File/RemoteFileUnmanagedDeleteRecursiveTest.php +++ b/core/modules/system/src/Tests/File/RemoteFileUnmanagedDeleteRecursiveTest.php @@ -34,4 +34,5 @@ protected function setUp() { 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 8f39ef3a3a23275d104594c7d3b232fbbf101a01..d628bee4bf582c94076a34cd24cb6455634a18d8 100644 --- a/core/modules/system/src/Tests/File/RemoteFileUnmanagedDeleteTest.php +++ b/core/modules/system/src/Tests/File/RemoteFileUnmanagedDeleteTest.php @@ -34,4 +34,5 @@ protected function setUp() { 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 935011814fc0cc7471eff7a3ee08313e7bb9f080..ee3ef7f0433c35354b93502f8d9445edb6858bd4 100644 --- a/core/modules/system/src/Tests/File/RemoteFileUnmanagedMoveTest.php +++ b/core/modules/system/src/Tests/File/RemoteFileUnmanagedMoveTest.php @@ -34,4 +34,5 @@ protected function setUp() { 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 c9f20eec0a43ddbd7a14ea330602b0d5ce0a8a37..2af252a6197d1babaf63c961d2a4321b8b34d5c0 100644 --- a/core/modules/system/src/Tests/File/RemoteFileUnmanagedSaveDataTest.php +++ b/core/modules/system/src/Tests/File/RemoteFileUnmanagedSaveDataTest.php @@ -34,4 +34,5 @@ protected function setUp() { 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 99913fc13fc78ca234f0f7c160c05b6034fe54d5..d372671215cf0a36b0369c5df761069b8b69a166 100644 --- a/core/modules/system/src/Tests/File/ScanDirectoryTest.php +++ b/core/modules/system/src/Tests/File/ScanDirectoryTest.php @@ -141,4 +141,5 @@ function testOptionMinDepth() { $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 2d836272030a9d90a3c4be5b07a3704e6399ebed..9524388ca500e6f8016be7e029ffeee54c500248 100644 --- a/core/modules/system/src/Tests/File/StreamWrapperTest.php +++ b/core/modules/system/src/Tests/File/StreamWrapperTest.php @@ -145,4 +145,5 @@ function testGetValidStreamScheme() { $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 4e7b97ff02c4f4e547c0ac24f8fb18d3659d8da3..97a8b4c68465d9ccf15575807876a43fe4968134 100644 --- a/core/modules/system/src/Tests/File/UnmanagedCopyTest.php +++ b/core/modules/system/src/Tests/File/UnmanagedCopyTest.php @@ -85,4 +85,5 @@ function testOverwriteSelf() { $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 5808eb897ed35c531aaa1ad364c6ae4cce9c77fa..b8c33e034aa2785c43eab551bb488a45d3c6fcc8 100644 --- a/core/modules/system/src/Tests/File/UnmanagedDeleteRecursiveTest.php +++ b/core/modules/system/src/Tests/File/UnmanagedDeleteRecursiveTest.php @@ -70,4 +70,5 @@ function testSubDirectory() { $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 b193123d7996448608bed65189eeb3197dd7cbd5..d93e213db910e3f166f69b2efa70dcc5eeab7f45 100644 --- a/core/modules/system/src/Tests/File/UnmanagedDeleteTest.php +++ b/core/modules/system/src/Tests/File/UnmanagedDeleteTest.php @@ -39,4 +39,5 @@ function testDirectory() { $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 1cf41f95bf814009099aaf3cecd9b950c874d785..562ab5f4c400d8fbaff437c2ffbf25c37bebf472 100644 --- a/core/modules/system/src/Tests/File/UnmanagedMoveTest.php +++ b/core/modules/system/src/Tests/File/UnmanagedMoveTest.php @@ -69,4 +69,5 @@ function testOverwriteSelf() { $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 3bc4f1b67a061ff2c4223e80d1c8cef25e17d353..7b869f8a159f4b08e5caa506432b590a7b4c0e68 100644 --- a/core/modules/system/src/Tests/File/UnmanagedSaveDataTest.php +++ b/core/modules/system/src/Tests/File/UnmanagedSaveDataTest.php @@ -28,4 +28,5 @@ function testFileSaveData() { $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 c8e3820028ac4a563c1ad2a689fd6e6e9c25acdc..e8a67890e097e0fd42b4fc2c054fbfcc667ebed3 100644 --- a/core/modules/system/src/Tests/FileTransfer/FileTransferTest.php +++ b/core/modules/system/src/Tests/FileTransfer/FileTransferTest.php @@ -89,4 +89,5 @@ function testJail() { } $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 10ccc1461cb39f164a2662ae0a3d0e5f7a921f98..7e63dc78f7278896359259c3e66a4568a9f263e2 100644 --- a/core/modules/system/src/Tests/FileTransfer/MockTestConnection.php +++ b/core/modules/system/src/Tests/FileTransfer/MockTestConnection.php @@ -19,4 +19,5 @@ function flushCommands() { $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 40c2b8c9b54983ace8c41e4dfbb94449a5de016d..eb73ebc90f473de4783aa0efa75beccdca8d3925 100644 --- a/core/modules/system/src/Tests/FileTransfer/TestFileTransfer.php +++ b/core/modules/system/src/Tests/FileTransfer/TestFileTransfer.php @@ -61,4 +61,5 @@ function isFile($path) { 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 b6e44bc81e7e4576097a10a6927d17aa2694718a..ae307224cbcc5f3ba44d0736ff70fb0ff6b1a977 100644 --- a/core/modules/system/src/Tests/Form/AlterTest.php +++ b/core/modules/system/src/Tests/Form/AlterTest.php @@ -35,4 +35,5 @@ function testExecutionOrder() { $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 2f22fa78c6daf62aa939255519555098cd6f7349..3702d35eb342d09d52a10541460bf3d2592113e7 100644 --- a/core/modules/system/src/Tests/Form/ArbitraryRebuildTest.php +++ b/core/modules/system/src/Tests/Form/ArbitraryRebuildTest.php @@ -72,4 +72,5 @@ function testUserRegistrationMultipleField() { $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 6e4886571de3f4026806cd8557bf29a4bbfed80d..6e3e23a0ce7db7e6828dadd0ca6bacb24c61b2e2 100644 --- a/core/modules/system/src/Tests/Form/CheckboxTest.php +++ b/core/modules/system/src/Tests/Form/CheckboxTest.php @@ -81,4 +81,5 @@ function testFormCheckbox() { $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 93aeba2a38d62450ab94b7d6682c8ae9a8129bee..5965dc2552d439de3248e27869ea1e22d177b899 100644 --- a/core/modules/system/src/Tests/Form/ElementsLabelsTest.php +++ b/core/modules/system/src/Tests/Form/ElementsLabelsTest.php @@ -146,4 +146,5 @@ protected function getFormWithLimitedProperties() { return $form; } + } diff --git a/core/modules/system/src/Tests/Form/ElementsTableSelectTest.php b/core/modules/system/src/Tests/Form/ElementsTableSelectTest.php index b964e9de15b160226ba90080ea0b58ece72636c9..34a558cb0d48aa67d5e24159037fd6503eb42f0b 100644 --- a/core/modules/system/src/Tests/Form/ElementsTableSelectTest.php +++ b/core/modules/system/src/Tests/Form/ElementsTableSelectTest.php @@ -254,4 +254,5 @@ private function formSubmitHelper($form, $edit) { // 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 5bd1a9fa8a09f30310c7e4b05c8c1983aa012dca..3de1867b88d36846e3b50051c3988056efe759fa 100644 --- a/core/modules/system/src/Tests/Form/ElementsVerticalTabsTest.php +++ b/core/modules/system/src/Tests/Form/ElementsVerticalTabsTest.php @@ -85,4 +85,5 @@ function testDefaultTabCleaned() { $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 715279db25eefb9fcb43e10280f2c07afc67b29c..e53247f3c0eaa019eaee3e1fcc0d7e5de1b49c06 100644 --- a/core/modules/system/src/Tests/Form/EmailTest.php +++ b/core/modules/system/src/Tests/Form/EmailTest.php @@ -45,4 +45,5 @@ function testFormEmail() { $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 d2317786f695d5365a635b48366807b02d55b9ef..7b3d73cb0f4a53d826a871f3a20aa204189c7529 100644 --- a/core/modules/system/src/Tests/Form/LanguageSelectElementTest.php +++ b/core/modules/system/src/Tests/Form/LanguageSelectElementTest.php @@ -113,4 +113,5 @@ protected function _testLanguageSelectElementOptions($id, $options) { } $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 b6b5152b529f88d08727d046fc1ea145f3caf700..5fbefb5e5820f8bcbbf52659338d51678e91ee16 100644 --- a/core/modules/system/src/Tests/Form/ProgrammaticTest.php +++ b/core/modules/system/src/Tests/Form/ProgrammaticTest.php @@ -115,4 +115,5 @@ public function testProgrammaticAccessBypass() { $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 89537185b9cee2f495b3f2277b0443b05325320b..bee15fe1d7c158729e019bc395cc4fb3a12b0208 100644 --- a/core/modules/system/src/Tests/Form/RebuildTest.php +++ b/core/modules/system/src/Tests/Form/RebuildTest.php @@ -115,4 +115,5 @@ function testPreserveFormActionAfterAJAX() { $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 89320089167f3420f7582938320147017b29ade6..6b6d3600197473d869a41dc77ef50551005ddb33 100644 --- a/core/modules/system/src/Tests/Form/RedirectTest.php +++ b/core/modules/system/src/Tests/Form/RedirectTest.php @@ -102,4 +102,5 @@ public function testRedirectFromErrorPages() { $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 27cacf3e471ec8176ba0841ca2cb8db7cfa99bc7..eb53244a900351d8a52b9a9ca9b152b73e9f40da 100644 --- a/core/modules/system/src/Tests/Form/StateValuesCleanAdvancedTest.php +++ b/core/modules/system/src/Tests/Form/StateValuesCleanAdvancedTest.php @@ -47,4 +47,5 @@ function testFormStateValuesCleanAdvanced() { $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 1211eb7effacdafecb057161fdf6a21c3fee71cb..7761bd8ad06f338897226a84f9e925d77adec05f 100644 --- a/core/modules/system/src/Tests/Form/StateValuesCleanTest.php +++ b/core/modules/system/src/Tests/Form/StateValuesCleanTest.php @@ -54,4 +54,5 @@ function testFormStateValuesClean() { // 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 28b625bbd0247b0436e8d694f616ee362159e736..5d8a18082c7f4dc51b58b6851119ed0ad54c18fe 100644 --- a/core/modules/system/src/Tests/Form/TriggeringElementTest.php +++ b/core/modules/system/src/Tests/Form/TriggeringElementTest.php @@ -93,4 +93,5 @@ function testAttemptAccessControlBypass() { $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 1347b4a2b3cecbf1a4c43916ba8cf41e6f52e4aa..4bf6f608f37b772c3392ee94b350e192cc9061cf 100644 --- a/core/modules/system/src/Tests/Form/UrlTest.php +++ b/core/modules/system/src/Tests/Form/UrlTest.php @@ -46,4 +46,5 @@ function testFormUrl() { $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 4439eb815e83e2ac2cab30ed231e8a7df7d6d551..66989de0b57020f7b5a31bd922a5bcbe14e329e9 100644 --- a/core/modules/system/src/Tests/Image/ToolkitSetupFormTest.php +++ b/core/modules/system/src/Tests/Image/ToolkitSetupFormTest.php @@ -70,4 +70,5 @@ function testToolkitSetupForm() { $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 4a3beaadd35e0e60825d7a979463e27130a53796..53ede0dc7c83daae1a285237fa5d8237773bffef 100644 --- a/core/modules/system/src/Tests/Image/ToolkitTestBase.php +++ b/core/modules/system/src/Tests/Image/ToolkitTestBase.php @@ -150,4 +150,5 @@ function imageTestReset() { 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 e697991c6f0c533e801ed6f7782f6a82b541c812..ca2ea0c655ce4ef9c2e745572ef26938c1b7f68a 100644 --- a/core/modules/system/src/Tests/Installer/InstallerLanguageTest.php +++ b/core/modules/system/src/Tests/Installer/InstallerLanguageTest.php @@ -55,4 +55,5 @@ function testInstallerTranslationCache() { $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 994b98be6c2628d49f927d2386013df2420a1718..fc3b3418f7a4a93379933197ba95a879f0308032 100644 --- a/core/modules/system/src/Tests/Lock/LockUnitTest.php +++ b/core/modules/system/src/Tests/Lock/LockUnitTest.php @@ -67,4 +67,5 @@ public function testBackendLockReleaseAll() { $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 32733d397da4b4118504af7b2c7351bda1118183..f396acd3164ed3f269be4b7892fb7361329476fa 100644 --- a/core/modules/system/src/Tests/Mail/HtmlToTextTest.php +++ b/core/modules/system/src/Tests/Mail/HtmlToTextTest.php @@ -383,4 +383,5 @@ public function testUsenetSignature() { $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 200585be5f0a38868e25fa89b31e436533c71771..70f5a4b4cf48db2e5dbd097d306710d9acc376af 100644 --- a/core/modules/system/src/Tests/Mail/MailTest.php +++ b/core/modules/system/src/Tests/Mail/MailTest.php @@ -98,4 +98,5 @@ public function testFromAndReplyToHeader() { $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 5d654fd51fb35196bfe8e89c30d0e4818f0af336..5d1db0322f19164662c9ef3a427c81638b2f7c60 100644 --- a/core/modules/system/src/Tests/Module/ClassLoaderTest.php +++ b/core/modules/system/src/Tests/Module/ClassLoaderTest.php @@ -47,4 +47,5 @@ function testClassLoadingDisabledModules() { $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 a589a8c52021cbec8513e9e0efdb570114b6c91c..ccbbff980e6db34bb9072c56f3a27e984fc5f8ba 100644 --- a/core/modules/system/src/Tests/Module/HookRequirementsTest.php +++ b/core/modules/system/src/Tests/Module/HookRequirementsTest.php @@ -23,4 +23,5 @@ function testHookRequirementsFailure() { $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 d9194d1d0b10f7ae4955f73875c040d9cd1fd196..e2126170d42ff8bf9c454aa3d16b707566369f07 100644 --- a/core/modules/system/src/Tests/Module/ModuleTestBase.php +++ b/core/modules/system/src/Tests/Module/ModuleTestBase.php @@ -190,4 +190,5 @@ function assertLogMessage($type, $message, $variables = array(), $severity = Rfc ->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 0b8f062f45fcd3e312e2db3d3a04fa455e8c6abe..004854ba28413ce4e897e3be57287a57896e8894 100644 --- a/core/modules/system/src/Tests/Module/RequiredTest.php +++ b/core/modules/system/src/Tests/Module/RequiredTest.php @@ -28,4 +28,5 @@ function testDisableRequired() { } } } + } diff --git a/core/modules/system/src/Tests/Module/VersionTest.php b/core/modules/system/src/Tests/Module/VersionTest.php index b1ff44d2d2d4dc0051a9f994631cda8b8ff0f457..031d4bad663ac5b901549054705dde53fd09e102 100644 --- a/core/modules/system/src/Tests/Module/VersionTest.php +++ b/core/modules/system/src/Tests/Module/VersionTest.php @@ -52,4 +52,5 @@ function testModuleVersions() { $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 7f2f07a6f2123d4dfaea93b080f9fb5fe6807632..1000b1cf95da2e341cb6b2c09c80c88ace954d12 100644 --- a/core/modules/system/src/Tests/Pager/PagerTest.php +++ b/core/modules/system/src/Tests/Pager/PagerTest.php @@ -233,4 +233,5 @@ protected function assertNoClass(\SimpleXMLElement $element, $class, $message = } $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 b487561302b77e9e25cd34864faec2b1c70cfee1..b245b0e509f3257e2040f4d1dff35a51c7578af7 100644 --- a/core/modules/system/src/Tests/Path/PathUnitTestBase.php +++ b/core/modules/system/src/Tests/Path/PathUnitTestBase.php @@ -28,4 +28,5 @@ protected function tearDown() { parent::tearDown(); } + } diff --git a/core/modules/system/src/Tests/Path/UrlAliasFixtures.php b/core/modules/system/src/Tests/Path/UrlAliasFixtures.php index 92984ff6f527a8890b83bddee35e27abd0410e15..a527fc5fc56478c1be22e78e2ef2c87670ec2eb2 100644 --- a/core/modules/system/src/Tests/Path/UrlAliasFixtures.php +++ b/core/modules/system/src/Tests/Path/UrlAliasFixtures.php @@ -93,4 +93,5 @@ public function tableDefinition() { return $tables; } + } diff --git a/core/modules/system/src/Tests/Path/UrlAlterFunctionalTest.php b/core/modules/system/src/Tests/Path/UrlAlterFunctionalTest.php index f48ad764b15d132e3857052684890277df570f24..743b74bdebac6dc1d6a4718c082310e75c8abdb6 100644 --- a/core/modules/system/src/Tests/Path/UrlAlterFunctionalTest.php +++ b/core/modules/system/src/Tests/Path/UrlAlterFunctionalTest.php @@ -109,4 +109,5 @@ protected function assertUrlInboundAlter($original, $final) { $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 dbdb3ac06a5c8aeb8a0f46168f643359b46e84ee..6c37dcfe623e8447dc193c72faa810422eb543c4 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 @@ public function testConditions() { $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 1711041324c8f316780d98fa889227cb4407e5fa..ca36a3b8fe9dfa61fd5db392dd6ad088d2c393c8 100644 --- a/core/modules/system/src/Tests/Plugin/ContextPluginTest.php +++ b/core/modules/system/src/Tests/Plugin/ContextPluginTest.php @@ -102,4 +102,5 @@ function testContext() { // 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 98b3f1e9dabe09f5a3b308ec94dcafcc75e24a0f..1ff5e6963390e1277479c2beb38b7742cac5b437 100644 --- a/core/modules/system/src/Tests/Plugin/DerivativeTest.php +++ b/core/modules/system/src/Tests/Plugin/DerivativeTest.php @@ -28,4 +28,5 @@ function testDerivativeDecorator() { $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 869ac18435c073a2134bf611ebff55df71e4d2e1..b68f7095f302516ec60b7ca65d65cffa918a8ec5 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 @@ protected function setUp() { } $this->emptyDiscovery = $discovery; } + } diff --git a/core/modules/system/src/Tests/Plugin/FactoryTest.php b/core/modules/system/src/Tests/Plugin/FactoryTest.php index 2660144a730e2cf29c01e678308f38b52922602a..1cdaf3a481488cc0728039d55a3bd8a8d4237283 100644 --- a/core/modules/system/src/Tests/Plugin/FactoryTest.php +++ b/core/modules/system/src/Tests/Plugin/FactoryTest.php @@ -71,4 +71,5 @@ function testReflectionFactory() { } } } + } diff --git a/core/modules/system/src/Tests/Queue/QueueTest.php b/core/modules/system/src/Tests/Queue/QueueTest.php index a62b7d9cef58fde1da0efc7b5494b117d2b789db..2c0513c7c9c7dfb94af624624c853406a9749d4e 100644 --- a/core/modules/system/src/Tests/Queue/QueueTest.php +++ b/core/modules/system/src/Tests/Queue/QueueTest.php @@ -116,4 +116,5 @@ protected function queueScore($items, $new_items) { } return $score; } + } diff --git a/core/modules/system/src/Tests/Render/AjaxPageStateTest.php b/core/modules/system/src/Tests/Render/AjaxPageStateTest.php index 550e229fec87aaca92c0b46e2433459940dabb08..08cd2768e176f18d2020b4e0f12ef62a54910ce2 100644 --- a/core/modules/system/src/Tests/Render/AjaxPageStateTest.php +++ b/core/modules/system/src/Tests/Render/AjaxPageStateTest.php @@ -103,4 +103,5 @@ public function testMultipleLibrariesAreNotLoaded() { '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 ff487858cf1f39a307d5670742bdc0a79fff3db5..7c7920f4afdfbe6b7aa54aa21590dee4cbae5c52 100644 --- a/core/modules/system/src/Tests/Routing/MockAliasManager.php +++ b/core/modules/system/src/Tests/Routing/MockAliasManager.php @@ -91,4 +91,5 @@ public function getAliasByPath($path, $langcode = NULL) { 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 9e18284d5659a94c0158d5b16b3bd4b78fbbb08b..924acd13f6ebb0579da22888c273feef98879864 100644 --- a/core/modules/system/src/Tests/Routing/MockMatcher.php +++ b/core/modules/system/src/Tests/Routing/MockMatcher.php @@ -32,4 +32,5 @@ public function matchRequest(Request $request) { $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 ce5de16e6b8e0084e8cf776ee069dd5e9d0b9769..2fb009918df4079580306eda22e58cf5d2eb4929 100644 --- a/core/modules/system/src/Tests/Routing/RouterPermissionTest.php +++ b/core/modules/system/src/Tests/Routing/RouterPermissionTest.php @@ -36,4 +36,5 @@ public function testPermissionAccess() { $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 f9c52ed6110ea131db0163b029a1d7cb522d470a..139fba517f42719dd7ffdb73fdb114057a39a94e 100644 --- a/core/modules/system/src/Tests/Session/SessionTest.php +++ b/core/modules/system/src/Tests/Session/SessionTest.php @@ -320,4 +320,5 @@ function assertSessionEmpty($empty) { $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 75d4514ddca309ba72b2c4468895de94e7905ed9..ea92bd9348ff337928cdc6a5e58c80742d3cfc25 100644 --- a/core/modules/system/src/Tests/System/AdminMetaTagTest.php +++ b/core/modules/system/src/Tests/System/AdminMetaTagTest.php @@ -19,4 +19,5 @@ public function testMetaTag() { $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 7c1d0d174823b610953d365c83379996bcab38dd..8921ad0a871afa72977da2e293fb02a0b602f934 100644 --- a/core/modules/system/src/Tests/System/AdminTest.php +++ b/core/modules/system/src/Tests/System/AdminTest.php @@ -167,4 +167,5 @@ function testCompactMode() { $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 9cd563d6f2b8605a68a072ba908fc27c643b074f..ec35b72bbe7484c58bad4ad39e1065465e87b1ca 100644 --- a/core/modules/system/src/Tests/System/CronRunTest.php +++ b/core/modules/system/src/Tests/System/CronRunTest.php @@ -125,4 +125,5 @@ public function testManualCron() { $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 14aeb3e826023cf37ff75a4bb974b79796d1e230..98d82d36b9dc3f2080e796d8dbedec8b296a8712 100644 --- a/core/modules/system/src/Tests/System/DefaultMobileMetaTagsTest.php +++ b/core/modules/system/src/Tests/System/DefaultMobileMetaTagsTest.php @@ -45,4 +45,5 @@ public function testRemovingDefaultMetaTags() { $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 39295f8446ad30e74689e1c95daab82bc0493aa6..03666fdf1e2d918e6a3ed4d816743c2a1e0a2e77 100644 --- a/core/modules/system/src/Tests/System/FrontPageTest.php +++ b/core/modules/system/src/Tests/System/FrontPageTest.php @@ -84,4 +84,5 @@ public function testDrupalFrontPage() { $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 dc3f5c9cf8d889e89a67a6f207027452bbfe7558..8b35bdfe6a0747762c0468e70e3e946d33f195df 100644 --- a/core/modules/system/src/Tests/System/IgnoreReplicaSubscriberTest.php +++ b/core/modules/system/src/Tests/System/IgnoreReplicaSubscriberTest.php @@ -39,4 +39,5 @@ function testSystemInitIgnoresSecondaries() { $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 55c625308f47f38fd33bedc4f8adee3ab0fd9c96..72811a8a3c564d708e7ccaf28fe5238dc5465970 100644 --- a/core/modules/system/src/Tests/System/IndexPhpTest.php +++ b/core/modules/system/src/Tests/System/IndexPhpTest.php @@ -26,4 +26,5 @@ function testIndexPhpHandling() { $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 c104a000e0579279832dc1195dd00203badfb573..b09893bb5a6f265d8ab3955711572caa373c2975 100644 --- a/core/modules/system/src/Tests/System/InfoAlterTest.php +++ b/core/modules/system/src/Tests/System/InfoAlterTest.php @@ -32,4 +32,5 @@ function testSystemInfoAlter() { $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 cc3b20a2e1f4a8e5e42ad4dfb142cbdfa6e78788..551e4c744f1863b1163c284d1a24a72d7e52a1d5 100644 --- a/core/modules/system/src/Tests/System/MainContentFallbackTest.php +++ b/core/modules/system/src/Tests/System/MainContentFallbackTest.php @@ -70,4 +70,5 @@ function testMainContentFallback() { $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 938a7b49f025c4dbe8158b3312b2594a1e85b1d5..8f6fe4af1496f21335bf9ddef12a85897741d3fe 100644 --- a/core/modules/system/src/Tests/System/RetrieveFileTest.php +++ b/core/modules/system/src/Tests/System/RetrieveFileTest.php @@ -45,4 +45,5 @@ function testFileRetrieving() { 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 6212f4a1854a0622f2ba8abf91c1ad70c5e2ab6f..630db65bd21c726e3bcbe9b773585f57046190bb 100644 --- a/core/modules/system/src/Tests/System/SettingsRewriteTest.php +++ b/core/modules/system/src/Tests/System/SettingsRewriteTest.php @@ -122,4 +122,5 @@ function testDrupalRewriteSettings() { // Check that the result is just the php opening tag and the settings. $this->assertEqual(file_get_contents(\Drupal::root() . '/' . $filename), "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 f1d75c07c92b02084de4211350f6d8466176ac97..6a86083b3ab6da6712a72ad3908252bf6dd3a1ab 100644 --- a/core/modules/system/src/Tests/System/SiteMaintenanceTest.php +++ b/core/modules/system/src/Tests/System/SiteMaintenanceTest.php @@ -130,4 +130,5 @@ protected function testSiteMaintenance() { $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 f989d2236fec4c615e7f3b0f3d8b53a2cdee4d67..f9331ba8c2eeeea2ffdccb1f25551f3bad1d857c 100644 --- a/core/modules/system/src/Tests/System/SitesDirectoryHardeningTest.php +++ b/core/modules/system/src/Tests/System/SitesDirectoryHardeningTest.php @@ -107,4 +107,5 @@ protected function settingsFile($site_path) { $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 a860c6da148b3d44e340ebed53ece53100f5e605..d82a2103722228a3dd457ea9585a54e1fcd47b2b 100644 --- a/core/modules/system/src/Tests/System/SystemAuthorizeTest.php +++ b/core/modules/system/src/Tests/System/SystemAuthorizeTest.php @@ -57,4 +57,5 @@ function testFileTransferHooks() { // 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 55294c45077e2c8a8fac272976dc764d9d952a2a..08f741d8c249251d7269de6eaebad57c2e6d04f2 100644 --- a/core/modules/system/src/Tests/System/SystemConfigFormTestBase.php +++ b/core/modules/system/src/Tests/System/SystemConfigFormTestBase.php @@ -63,4 +63,5 @@ public function testConfigForm() { $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 5dba0e8a554d84963ee8909d843c29815bab1bcf..a05666fe0828677e9b0f5e8fb979173680534420 100644 --- a/core/modules/system/src/Tests/Theme/FastTest.php +++ b/core/modules/system/src/Tests/Theme/FastTest.php @@ -32,4 +32,5 @@ function testUserAutocomplete() { $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 1798ca9a2f89cdf03e34f01807de3c083108ffdd..f103caaa79cdc4932ebd22819c9791dd2e1b9c2c 100644 --- a/core/modules/system/src/Tests/Theme/HtmlAttributesTest.php +++ b/core/modules/system/src/Tests/Theme/HtmlAttributesTest.php @@ -28,4 +28,5 @@ function testThemeHtmlAttributes() { $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 32516d06986cd46e5a97493f68c6ade7f229b1f5..6605e81e648da6cd0015f47fc6206665088899bb 100644 --- a/core/modules/system/src/Tests/Theme/MessageTest.php +++ b/core/modules/system/src/Tests/Theme/MessageTest.php @@ -33,4 +33,5 @@ function testMessages() { $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 a7920a520c0b9c72853d83c3d0e430dda0567943..ddbb770aab74ba032831e58aedaf3cd43f7668aa 100644 --- a/core/modules/system/src/Tests/Theme/ThemeEarlyInitializationTest.php +++ b/core/modules/system/src/Tests/Theme/ThemeEarlyInitializationTest.php @@ -30,4 +30,5 @@ function testRequestListener() { // 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 eec3e1ebdb5e3dc5b2c16ab04950fdbddf59e8b5..48a80836906a470d4cc1022b35f9f1137762ed9b 100644 --- a/core/modules/system/src/Tests/TypedData/TypedDataTest.php +++ b/core/modules/system/src/Tests/TypedData/TypedDataTest.php @@ -630,4 +630,5 @@ public function testTypedDataValidation() { $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 1452693ae9649fd6a355f25f68f80ea3b05cd294..6689c2ffd3f388d12c2fa1b47394248a6350124c 100644 --- a/core/modules/system/src/Tests/Update/CompatibilityFixTest.php +++ b/core/modules/system/src/Tests/Update/CompatibilityFixTest.php @@ -40,4 +40,5 @@ function testFixCompatibility() { $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 e66675b644accd186f463605ed6329792b685b7a..a9723c235dc3feb0974f4170fccf2ec92efdd73f 100644 --- a/core/modules/system/src/Tests/Update/DependencyHookInvocationTest.php +++ b/core/modules/system/src/Tests/Update/DependencyHookInvocationTest.php @@ -33,4 +33,5 @@ function testHookUpdateDependencies() { $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 17a468db93a17cb408b33453d449c5467534fa76..9764b4c81267318ae33f9223bbc38234649f8679 100644 --- a/core/modules/system/src/Tests/Update/DependencyMissingTest.php +++ b/core/modules/system/src/Tests/Update/DependencyMissingTest.php @@ -34,4 +34,5 @@ function testMissingUpdate() { $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 d3838d23bb941501378a7c6c303a82c70a65062b..bb3ae3717c4df5039492130de2a4d409fe9dd10b 100644 --- a/core/modules/system/src/Tests/Update/DependencyOrderingTest.php +++ b/core/modules/system/src/Tests/Update/DependencyOrderingTest.php @@ -54,4 +54,5 @@ function testUpdateOrderingModuleInterdependency() { $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 3f4edffc04f8e85cf582f8415b99eb8f5dc718be..d788636129df6064b0ab70f302dca0be213baf65 100644 --- a/core/modules/system/src/Tests/Update/UpdateScriptTest.php +++ b/core/modules/system/src/Tests/Update/UpdateScriptTest.php @@ -399,4 +399,5 @@ public function getSystemSchema() { ), ); } + } diff --git a/core/modules/system/src/Tests/Update/UpdatesWith7xTest.php b/core/modules/system/src/Tests/Update/UpdatesWith7xTest.php index bced4a49dff27bc91b70373671a3f96087d2bed9..9782d91c63c198d276bb4310190449fce8ec0914 100644 --- a/core/modules/system/src/Tests/Update/UpdatesWith7xTest.php +++ b/core/modules/system/src/Tests/Update/UpdatesWith7xTest.php @@ -51,4 +51,5 @@ function testWith7x() { $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 cfbb17f5ee0c3bc30cf640d3cec6c97b0c243e61..38b21ccade49b4680c68126f31a0553b6d4e7b17 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 @@ public function submitForm(array &$form, FormStateInterface $form_state) { 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 560fb667e0e92728e9cd87e5d17b4c73c87f6fb9..7de24d49e8f51e74de4fb384bb48de6b20759108 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 @@ public function testTablesortFirst() { '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 14a485782ab3820af275dd820c3821c538efdb1c..a91e2cb9fb661c53d253ea90b92de04636ea296f 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 @@ public static function baseFieldDefinitions(EntityTypeInterface $entity_type) { 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 090c1e8abd276e739a8c25b5e19c48d9fa9a18c2..aaca0ae10b85006503500f6cc1d9b628b0563cb4 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 @@ public static function bundleFieldDefinitions(EntityTypeInterface $entity_type, } 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 4ae6652deac8a66c5467d8f2ebe96cdaec97963a..5fbc408df833fd963a48743b660c03f21a10e2c4 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 @@ public function save() { 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 25d368264036f880361affd4a44ebe87bad2bff6..7f1c10ec50e706d28bd34b7f07f029a34d98d8b8 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 b86dd51bd02174e9af1e8f3dcb8df0bad3c698cd..3457db8087404d827a71e59dad839a391976d16c 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 @@ public function submitForm(array &$form, FormStateInterface $form_state) { 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 2a4f9c1eb63d10f873bb8481c061e77dbf13f3d4..8963462fd2e40bcb47db1388a53a1a19b5fc7af6 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 @@ public function buildForm(array $form, FormStateInterface $form_state) { 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 5e1611f860e49c293ef2ff6cfe04b1dbf0d32529..d5b9df451d76514b3a22ef5ae3e4c7c79ae1c540 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 e6a87b1ded866941155174682b4af6551284c5d3..10c0810f684f07f154c96b60510f395d764a2cbe 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 @@ public function getDerivativeDefinitions($base_plugin_definition) { } 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 d602d1152ed66f7b53dd5d96c361750a80ba01da..9ed7851b2a9c7a0227f7765898e8a111ef61d32d 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 @@ public function testContextual() { ] ]; } + } 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 45d7862b5b04177dc2ab6daa5032f9e39c521ff8..b46f37426c7a7731353f8f06bbdede26b45d9fa9 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 c8a3a808ac5a0fff8f850b2fe9fc9429b70c4c29..6ea430648b9ccbc8306c601e707e63b335ebfa62 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 @@ public function testEntityLanguage(NodeInterface $node) { \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 8d94fa16f04c3ed77d22f5f37e0992633bba158b..aebb4730afd17c21c1c37818ecd8bd59154f4828 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 @@ protected function createContextDefinition($data_type, $label, $required = TRUE) // 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 37be2f526e296d6b83c67ece25f31261d37bfc5a..60e74d839418abce081470365d9ef0d421483a72 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 @@ public function __construct() { // 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 df45af3e90642ba628c500cb432ce2ce74f0920d..e044e27e32204ffff8f50eb3c6897d0ba87cc661 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 @@ public function getTitle() { $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 25084b93606a753f732f647e0a1cd83a6a83a192..d2fa3a46ced4fe538d5d20281bb52362d426abe0 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 @@ public function getDerivativeDefinitions($base_plugin_definition) { 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 2a518354216e7812287a2799c63608f2c97bfcb2..f13b56e1c01987f16456ca3aa5ceb48b2a51146d 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 @@ public function getContent() { } 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 538a862039a0c6996163ff60c7a1991ce546c8aa..413eb1335518712536fa65371ecee2d90debc8b3 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 @@ public function getDerivativeDefinitions($base_plugin_definition) { 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 1e675eca1e8529d9be87c499b842f73e45e56188..6741eac9646daff45f35bd09764dabb461c51027 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 @@ public function __construct(array $configuration, $plugin_id, $plugin_definition 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 6328fd0be86eb6faebc10f26e43d2b8e634bb479..6b4688d8acde250c2ab39785ca8f445e412b4efe 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 @@ public function getTitle() { $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 7dac1722e4d2737f5d0ff0f57baee26cc67c9fd4..b47d46b4fca76d80c55949385aa2f41ceb21b5e5 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 2e66973555fc06bee51316d2a464a3e870f92505..0cbe9db9dac08d9a077fe4f519217de48b5105d7 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 @@ public function access() { // 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 c3d342e3ed2259a013f30a25a3b1b23bb114e75c..7635704fb3b3f32f47a140e9bf89aa425afc0a94 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 @@ public function register(ContainerBuilder $container) { $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 8ee0bd173bb568ef32a77537bbfb1953e210df5e..00e00a00d154fdf6091cac3fc9a8eec27c6bd097 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 @@ public function alter(ContainerBuilder $container) { $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 2e7baea2b68583cc45241591eeaf55b730ae5e52..9a87c9721df679e3fcae98ba034ff474a57b93c0 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 @@ static function getSubscribedEvents() { 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 dad2918fb52fe89fc6a79bca6363a9325aa240eb..4189e498f9011796d9304dac302357e5055685d1 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 @@ public function delete(FileInterface $file, $module, $type = NULL, $id = NULL, $ */ 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 108930f722e62c29587622d671a353313a78e20d..7e1c8c20a11397c48fa8a66445c248cda1e4ec28 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 @@ public function mail(array $message) { // 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 a15e6815d5740fc2e71719579b459e5dd80b7846..7401f814000cab86a5bac58a4814dd326489fd6d 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 @@ public function content(Request $request) { return new CacheableResponse("

oh hai this is html.

"); } } + } 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 9e716002a7a68c5e890db88bdecc62ebda51356c..de065af25773c8911d81d0f5fa5a2c2942af5513 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 @@ public function getSettingsForm() { ); 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 4bbbc03376f1ee1ae094d6c156f2d7958191e826..b59fe4ccf30b5d4506fdb26a9252d3451a465c74 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 @@ public function processInbound($path, Request $request) { } 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 ea39f6981e74ac3d72c0b8b516bd7055992f2602..040cf1a353b98fd94660a8d63b30e6911505283c 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 @@ public function testSystemDateTokenReplacement() { $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 aa3090d6388f103a3523fb6d39c867c00b7c689a..7ffbba7b398b05128342f2c3499bf90ed1f1ab7a 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 @@ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$o } } } + } diff --git a/core/modules/taxonomy/src/Tests/EfqTest.php b/core/modules/taxonomy/src/Tests/EfqTest.php index 80cf580cb76aedc80662ae02c51d2c8a5fb58546..572ae8f86bca3c951b54cb86f2ee5830e4a99814 100644 --- a/core/modules/taxonomy/src/Tests/EfqTest.php +++ b/core/modules/taxonomy/src/Tests/EfqTest.php @@ -65,4 +65,5 @@ function testTaxonomyEfq() { $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 1076f4157a1363dfc9c013842dd92ce25ad45c49..349516c8fd29905a9212688c444f58db482cea50 100644 --- a/core/modules/taxonomy/src/Tests/LoadMultipleTest.php +++ b/core/modules/taxonomy/src/Tests/LoadMultipleTest.php @@ -58,4 +58,5 @@ function testTaxonomyTermMultipleLoad() { $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 3350b33173a4456b9b695fed07f5d992591ddc2c..10e47afe0079e77d5c87587f5684d48b8cd3fd55 100644 --- a/core/modules/taxonomy/src/Tests/RssTest.php +++ b/core/modules/taxonomy/src/Tests/RssTest.php @@ -126,4 +126,5 @@ function testTaxonomyRss() { $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 cac3672355889b84395529e1e2eea9eac5a98acc..aa91237982d54763d6a4d4befefb96777d3dff44 100644 --- a/core/modules/taxonomy/src/Tests/TaxonomyTestBase.php +++ b/core/modules/taxonomy/src/Tests/TaxonomyTestBase.php @@ -32,4 +32,5 @@ protected function setUp() { $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 8a684585d92ea2553cd549b0039fd847d192e2cb..f04be0013e35059c85fa442770727db43cfd362d 100644 --- a/core/modules/taxonomy/src/Tests/TaxonomyTestTrait.php +++ b/core/modules/taxonomy/src/Tests/TaxonomyTestTrait.php @@ -56,4 +56,5 @@ function createTerm(Vocabulary $vocabulary, $values = array()) { $term->save(); return $term; } + } diff --git a/core/modules/taxonomy/src/Tests/TermEntityReferenceTest.php b/core/modules/taxonomy/src/Tests/TermEntityReferenceTest.php index aec521195b0d4c63f407dea72210421a5c323121..de7765424f4e983de181fd8d5186d3e3d7546a86 100644 --- a/core/modules/taxonomy/src/Tests/TermEntityReferenceTest.php +++ b/core/modules/taxonomy/src/Tests/TermEntityReferenceTest.php @@ -75,4 +75,5 @@ function testSelectionTestVocabularyRestriction() { $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 2ec8bc3aba37dcd279077b6d7d86ccf5000bdb88..28e816ce63ad1de23c89a424494c8739f9228612 100644 --- a/core/modules/taxonomy/src/Tests/TermIndexTest.php +++ b/core/modules/taxonomy/src/Tests/TermIndexTest.php @@ -210,4 +210,5 @@ function testTaxonomyTermHierarchyBreadcrumbs() { // 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 39248ca62e5799ec38da7c33f6b56b036cd09159..e894ad2fa3ef50cce4bac2317fdd55c36dce4236 100644 --- a/core/modules/taxonomy/src/Tests/TermLanguageTest.php +++ b/core/modules/taxonomy/src/Tests/TermLanguageTest.php @@ -106,4 +106,5 @@ function testDefaultTermLanguage() { $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 abf3eeab8dfbeb2cb344a6f305042e467e19e196..54ad6e4622ea8414c0a71774ca697a95df912add 100644 --- a/core/modules/taxonomy/src/Tests/ThemeTest.php +++ b/core/modules/taxonomy/src/Tests/ThemeTest.php @@ -45,4 +45,5 @@ function testTaxonomyTermThemes() { $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 2a55a6d3aec0cc67c448d46d480f51c80b332a74..f3c6c5dc0701ccb8ce425fea56154c5e219d59cd 100644 --- a/core/modules/taxonomy/src/Tests/TokenReplaceTest.php +++ b/core/modules/taxonomy/src/Tests/TokenReplaceTest.php @@ -143,4 +143,5 @@ function testTaxonomyTokenReplacement() { $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 2966ee554766fed98cf0f9f1451007ccccc6b151..d049f8228214596097ccd60a26025c14ee418adc 100644 --- a/core/modules/taxonomy/src/Tests/Views/RelationshipRepresentativeNodeTest.php +++ b/core/modules/taxonomy/src/Tests/Views/RelationshipRepresentativeNodeTest.php @@ -37,4 +37,5 @@ public function testRelationship() { ); $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 c8d33a3074d667389bd0e7c46006b08a0e505cce..914b7f2a652bdd59504d6777c84eded476dad255 100644 --- a/core/modules/taxonomy/src/Tests/VocabularyCrudTest.php +++ b/core/modules/taxonomy/src/Tests/VocabularyCrudTest.php @@ -178,4 +178,5 @@ function testUninstallReinstall() { 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 5810626e38b5cd228af9c79947cdd745b03775c9..3326e51e656741a26bb193c827228f58fa0cb1c4 100644 --- a/core/modules/taxonomy/src/Tests/VocabularyLanguageTest.php +++ b/core/modules/taxonomy/src/Tests/VocabularyLanguageTest.php @@ -121,4 +121,5 @@ function testVocabularyDefaultLanguageForTerms() { $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 8011fd48baa876b18072c0c7262b027e971b0bda..5468f8a7a177d3f97e2c18225152f0a34ba28024 100644 --- a/core/modules/taxonomy/src/Tests/VocabularyPermissionsTest.php +++ b/core/modules/taxonomy/src/Tests/VocabularyPermissionsTest.php @@ -124,4 +124,5 @@ function testVocabularyPermissionsTaxonomyTerm() { $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 8d2b85ba2131056b8cff2b0d8944e5834f68748d..3066ef07dfda22145df37a08e4433b525308af38 100644 --- a/core/modules/taxonomy/src/Tests/VocabularyUiTest.php +++ b/core/modules/taxonomy/src/Tests/VocabularyUiTest.php @@ -153,4 +153,5 @@ function testTaxonomyAdminDeletingVocabulary() { $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 22d2d480152fe2d4d805994723d3eb97c8c43ed6..ff52bec82f6c6aef02da7ba4485d05017d1c40c6 100644 --- a/core/modules/taxonomy/src/VocabularyInterface.php +++ b/core/modules/taxonomy/src/VocabularyInterface.php @@ -38,4 +38,5 @@ public function setHierarchy($hierarchy); * 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 37c7664adc6745a045191c8316cf4deec30ed9a8..2da51e4a43933d5ee5e3721c35d5b04fda84d5ad 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 @@ public function testStubWithWeightMapping() { $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 39720520dda18342b47f4a0d8e967f5cbb9002ae..1e2b23230254b14f644aece4e9c2238c8eb1aef4 100644 --- a/core/modules/taxonomy/tests/src/Kernel/TermKernelTest.php +++ b/core/modules/taxonomy/tests/src/Kernel/TermKernelTest.php @@ -148,4 +148,5 @@ public function testTaxonomyVocabularyTree() { $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 be74413acd35b7ee2c00c6f33e538e199bcefa12..3d9cfb77765dcd204ea0bebe83137ad8074b35b1 100644 --- a/core/modules/taxonomy/tests/src/Kernel/TermValidationTest.php +++ b/core/modules/taxonomy/tests/src/Kernel/TermValidationTest.php @@ -64,4 +64,5 @@ public function testValidation() { $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 23852c80d30bf73a00065f2144d9c81923001ff9..f77b751e42c608e3d9e0e5074c8d899c0914987e 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 @@ public function viewElements(FieldItemListInterface $items, $langcode) { return $element; } + } diff --git a/core/modules/telephone/src/Tests/TelephoneFieldTest.php b/core/modules/telephone/src/Tests/TelephoneFieldTest.php index a7497c941f6048d30cb1e8d50c33d57b2a7f2469..f7452b0bfe7914c96f8f2d2ca97c7917405e1f31 100644 --- a/core/modules/telephone/src/Tests/TelephoneFieldTest.php +++ b/core/modules/telephone/src/Tests/TelephoneFieldTest.php @@ -98,4 +98,5 @@ function testTelephoneField() { $this->drupalPostForm('node/add/article', $edit, t('Save')); $this->assertRaw('', '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 e8e8c29b537d88b3dc9122066d15746dc4e6cc33..6995d5985c31cf40e470db9e16fc6b4e300346f1 100644 --- a/core/modules/toolbar/src/Tests/ToolbarCacheContextsTest.php +++ b/core/modules/toolbar/src/Tests/ToolbarCacheContextsTest.php @@ -143,5 +143,4 @@ protected function installExtraModules(array $module_list) { $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 910eb6e138040014560fee4af06d3ca95217a4b2..ab2fe4a0942cb5561c9f8cb446b65818540fa0c7 100644 --- a/core/modules/tour/src/Tests/TourTest.php +++ b/core/modules/tour/src/Tests/TourTest.php @@ -184,4 +184,5 @@ public function testTourFunctionality() { )); $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 16138f8716bcf36f9f11f02a1971470e4d2c30e4..b76084728723e4a12ad5e018c69caad40143dca4 100644 --- a/core/modules/tour/src/TipPluginBase.php +++ b/core/modules/tour/src/TipPluginBase.php @@ -78,4 +78,5 @@ public function get($key) { 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 347299eb282beacdf8461c5db89e1d66e05bdaf8..471eacfee21841c7fd375725f9a4e2de6298678b 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 4d8cfeac6fcfe4fa708e2c866b36124c1fbaf1df..03b077dbddecfeedb248e48d948e73b0b158293c 100644 --- a/core/modules/tracker/src/Controller/TrackerPage.php +++ b/core/modules/tracker/src/Controller/TrackerPage.php @@ -16,4 +16,5 @@ public function getContent() { 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 7ce5a58616b07cd28168fa6817cbedfd1b129f7e..4ca428e5b61780ba2c6f6d56ea30aeabc51ffea5 100644 --- a/core/modules/tracker/src/Controller/TrackerUserRecent.php +++ b/core/modules/tracker/src/Controller/TrackerUserRecent.php @@ -17,4 +17,5 @@ public function getContent(UserInterface $user) { 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 00fcddb3df02530c2c104c8187a7cab3cab33e78..d9c774d02685b0630bc6df42f57a021b746f9cc1 100644 --- a/core/modules/tracker/src/Controller/TrackerUserTab.php +++ b/core/modules/tracker/src/Controller/TrackerUserTab.php @@ -24,4 +24,5 @@ public function getContent(UserInterface $user) { 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 30934d09ba2e1de007a2d6825789545bc58a0917..29492bc6457c76707c6e608b21663e6e3ecf096f 100644 --- a/core/modules/tracker/src/Tests/TrackerNodeAccessTest.php +++ b/core/modules/tracker/src/Tests/TrackerNodeAccessTest.php @@ -71,4 +71,5 @@ function testTrackerNodeAccess() { $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 24eb2aac7913a5f1787f44d2e37dd673cb9a4774..de15b0b23a2793d7d91c8cc61b99cdda70c7dd49 100644 --- a/core/modules/update/src/Tests/UpdateTestBase.php +++ b/core/modules/update/src/Tests/UpdateTestBase.php @@ -78,4 +78,5 @@ protected function standardTests() { $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 db284ab944063b77cde887e50f42e2f85bfd520d..8d8f2a9f21d8d9926ad18813a108d8c5100737a4 100644 --- a/core/modules/update/src/UpdateFetcherInterface.php +++ b/core/modules/update/src/UpdateFetcherInterface.php @@ -56,4 +56,5 @@ public function fetchProjectData(array $project, $site_key = ''); * @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 4dbdecdd8bcfd0b9ea9d7204106ed3dc6ae0e92a..d3ea88f492c795f68964afdc2b183525f0eca5d7 100644 --- a/core/modules/update/src/UpdateManagerInterface.php +++ b/core/modules/update/src/UpdateManagerInterface.php @@ -98,4 +98,5 @@ public function refreshUpdateData(); * 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 ed4f5259fea4f88bf642bd834db87cc895150c23..f744bfb2a0eb75a01f14b4605b4e1205ac61fdfc 100644 --- a/core/modules/update/src/UpdateProcessorInterface.php +++ b/core/modules/update/src/UpdateProcessorInterface.php @@ -78,4 +78,5 @@ public function numberOfQueueItems(); * @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 9e40b65e5c8a4cfbc25c0e752df649e1e7a9d541..2194b435555adb456c64c772065030d7f3b627ba 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 @@ public function getSettingsForm() { ); return $form; } + } diff --git a/core/modules/user/src/Access/RegisterAccessCheck.php b/core/modules/user/src/Access/RegisterAccessCheck.php index 6946bf0c8d48d3b2e572b03dd8362e069cfa74bf..c5399747a2bc534194393e6b1a59fead37f6b26c 100644 --- a/core/modules/user/src/Access/RegisterAccessCheck.php +++ b/core/modules/user/src/Access/RegisterAccessCheck.php @@ -24,4 +24,5 @@ public function access(AccountInterface $account) { $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 46603ccfabc886a664f3a8a8a689ab1ee326bb7d..dbdb08b8db0404eb4c12caca1e3b838917302254 100644 --- a/core/modules/user/src/AccountForm.php +++ b/core/modules/user/src/AccountForm.php @@ -391,4 +391,5 @@ public function submitForm(array &$form, FormStateInterface $form_state) { 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 effb26c75bee82aed69e5f04b3192dfe7271ddbf..3c64921116d210724736e2b702bb5eef64975e7d 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 042dcb16741dd40d672d6c7b3b6a93565d02516d..fa714646b3c1f0c9d097790287c29018590bc608 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 @@ public function validate($items, Constraint $constraint) { $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 index 411e04b98ae326348d340bc5463dac4dc7214634..fa61dbf662ca06babddbbd8e748887ace518652c 100644 --- a/core/modules/user/src/Plugin/views/argument_validator/User.php +++ b/core/modules/user/src/Plugin/views/argument_validator/User.php @@ -109,5 +109,4 @@ public function calculateDependencies() { return $dependencies; } - } diff --git a/core/modules/user/src/PrivateTempStore.php b/core/modules/user/src/PrivateTempStore.php index fdc7516358f0e0cafca692773837ca386b84470f..bb0224605db88203a668142727ccfbbd1bda74c3 100644 --- a/core/modules/user/src/PrivateTempStore.php +++ b/core/modules/user/src/PrivateTempStore.php @@ -203,4 +203,5 @@ protected function createkey($key) { protected function getOwner() { return $this->currentUser->id() ?: $this->requestStack->getCurrentRequest()->getSession()->getId(); } + } diff --git a/core/modules/user/src/RegisterForm.php b/core/modules/user/src/RegisterForm.php index 2db540bdeb1a508acef9785d5db6f5394a1e3e30..9bc047b581f7ab1cab5c50214afd0896077bfb66 100644 --- a/core/modules/user/src/RegisterForm.php +++ b/core/modules/user/src/RegisterForm.php @@ -135,4 +135,5 @@ public function save(array $form, FormStateInterface $form_state) { $form_state->setRedirect(''); } } + } diff --git a/core/modules/user/src/Tests/UserAdminSettingsFormTest.php b/core/modules/user/src/Tests/UserAdminSettingsFormTest.php index aef94e6cc47aea5cf65f3ae3233a0da149d1a22b..2fba848bf240fe4d8bd62417e6c7875b18c9826b 100644 --- a/core/modules/user/src/Tests/UserAdminSettingsFormTest.php +++ b/core/modules/user/src/Tests/UserAdminSettingsFormTest.php @@ -44,4 +44,5 @@ protected function setUp() { ), ); } + } diff --git a/core/modules/user/src/Tests/UserAdminTest.php b/core/modules/user/src/Tests/UserAdminTest.php index d8252ec7e6e3d914913ac76a587fd06ed1500313..6569ad2940c7c0da0ac09be5fcb4d6c081fcbdd9 100644 --- a/core/modules/user/src/Tests/UserAdminTest.php +++ b/core/modules/user/src/Tests/UserAdminTest.php @@ -196,4 +196,5 @@ function testNotificationEmailAddress() { )); $this->assertTrue(count($user_mail), 'New user mail to user is sent from configured Notification Email address'); } + } diff --git a/core/modules/user/src/Tests/UserBlocksTest.php b/core/modules/user/src/Tests/UserBlocksTest.php index dff52b5e0bfe2608b5ce20c9ade655a497477c06..40e63d8a4ce52bb60307cdce95ad4009f58efba7 100644 --- a/core/modules/user/src/Tests/UserBlocksTest.php +++ b/core/modules/user/src/Tests/UserBlocksTest.php @@ -130,4 +130,5 @@ private function updateAccess($uid, $access = REQUEST_TIME) { ->fields(array('access' => $access)) ->execute(); } + } diff --git a/core/modules/user/src/Tests/UserCreateFailMailTest.php b/core/modules/user/src/Tests/UserCreateFailMailTest.php index cd5c630d5c66d50c4f2d4b9f7bc623761256aaa6..a51229a30aecb5cafe2596070bea78fe5c1483d6 100644 --- a/core/modules/user/src/Tests/UserCreateFailMailTest.php +++ b/core/modules/user/src/Tests/UserCreateFailMailTest.php @@ -41,4 +41,5 @@ public function testUserAdd() { $this->assertText(t('Unable to send email. Contact the site administrator if the problem persists.')); $this->assertNoText(t('A welcome message with further instructions has been emailed to the new user @name.', array('@name' => $edit['name']))); } + } diff --git a/core/modules/user/src/Tests/UserCreateTest.php b/core/modules/user/src/Tests/UserCreateTest.php index b0dec498f0d13483db87ad507ed0768294bd3805..efc7ddf7aa31ac490a9f51e8e2c9e1de90643c1e 100644 --- a/core/modules/user/src/Tests/UserCreateTest.php +++ b/core/modules/user/src/Tests/UserCreateTest.php @@ -126,4 +126,5 @@ public function testUserAdd() { $this->assertText("Created a new user account for $name. No email has been sent"); $this->assertNoText('Password field is required'); } + } diff --git a/core/modules/user/src/Tests/UserDeleteTest.php b/core/modules/user/src/Tests/UserDeleteTest.php index 5a48552103327fff7f1be67dbbf1c9c75716b3e4..dbb3002a5abe4eacb8623b3bcb8b85ca1b8cfc3b 100644 --- a/core/modules/user/src/Tests/UserDeleteTest.php +++ b/core/modules/user/src/Tests/UserDeleteTest.php @@ -51,4 +51,5 @@ function testUserDeleteMultiple() { $this->assertNull(User::load($user_b->id()), format_string('User with id @uid deleted.', array('@uid' => $user_b->id()))); $this->assertNull(User::load($user_c->id()), format_string('User with id @uid deleted.', array('@uid' => $user_c->id()))); } + } diff --git a/core/modules/user/src/Tests/UserEditTest.php b/core/modules/user/src/Tests/UserEditTest.php index 81bae396a34eb9785caf27e47479dc9d20ded702..225b1944038d928b9d0c32446936ffc8680dc5b5 100644 --- a/core/modules/user/src/Tests/UserEditTest.php +++ b/core/modules/user/src/Tests/UserEditTest.php @@ -136,4 +136,5 @@ function testUserWithoutEmailEdit() { $this->drupalPostForm("user/" . $user1->id() . "/edit", array('mail' => ''), t('Save')); $this->assertRaw(t("The changes have been saved.")); } + } diff --git a/core/modules/user/src/Tests/UserEditedOwnAccountTest.php b/core/modules/user/src/Tests/UserEditedOwnAccountTest.php index ce1b91fb644d0f4de414c2166702e0f556921b48..6c058bfac1118e107cb428aa2553dc46fe977aa2 100644 --- a/core/modules/user/src/Tests/UserEditedOwnAccountTest.php +++ b/core/modules/user/src/Tests/UserEditedOwnAccountTest.php @@ -39,4 +39,5 @@ function testUserEditedOwnAccount() { $account->name = $edit['name']; $this->drupalLogin($account); } + } diff --git a/core/modules/user/src/Tests/UserLanguageCreationTest.php b/core/modules/user/src/Tests/UserLanguageCreationTest.php index 51242042820a8eb1eb9bdcdaf2e45c9c13995e65..08ca7077a7e71dc54e7853772849488976c8cbd5 100644 --- a/core/modules/user/src/Tests/UserLanguageCreationTest.php +++ b/core/modules/user/src/Tests/UserLanguageCreationTest.php @@ -99,4 +99,5 @@ function testLocalUserCreation() { $this->drupalGet($user_edit); $this->assertOptionSelected("edit-preferred-langcode", $langcode, 'Language selector is accessible and correct language is selected.'); } + } diff --git a/core/modules/user/src/Tests/UserLanguageTest.php b/core/modules/user/src/Tests/UserLanguageTest.php index 5b7b5668a49b074dd2d807cfe84c419ba3503b6d..5c5f73f05d9861be8317ae97e84a317426beb963 100644 --- a/core/modules/user/src/Tests/UserLanguageTest.php +++ b/core/modules/user/src/Tests/UserLanguageTest.php @@ -63,4 +63,5 @@ function testUserLanguageConfiguration() { $this->drupalLogout(); } + } diff --git a/core/modules/user/src/Tests/UserLoginTest.php b/core/modules/user/src/Tests/UserLoginTest.php index a22cd1723679e08618a3e9dc0d7ea54991738ccd..af00c747376142ecad8e03ebcf766dee4b650629 100644 --- a/core/modules/user/src/Tests/UserLoginTest.php +++ b/core/modules/user/src/Tests/UserLoginTest.php @@ -174,4 +174,5 @@ function assertFailedLogin($account, $flood_trigger = NULL) { $this->assertText(t('Unrecognized username or password. Forgot your password?')); } } + } diff --git a/core/modules/user/src/Tests/UserPictureTest.php b/core/modules/user/src/Tests/UserPictureTest.php index 03c453aabc097e0c4b8315e3d6580a27a47b3a97..3f8db42770da80b00c4ca25f77cc90223c64403f 100644 --- a/core/modules/user/src/Tests/UserPictureTest.php +++ b/core/modules/user/src/Tests/UserPictureTest.php @@ -139,4 +139,5 @@ function saveUserPicture($image) { $account = $user_storage->load($this->webUser->id()); return File::load($account->user_picture->target_id); } + } diff --git a/core/modules/user/src/Tests/UserRoleAdminTest.php b/core/modules/user/src/Tests/UserRoleAdminTest.php index 58b2e973dc0370a0cbc78d2ea27ce90beb77c056..62b4bc1c18cd771f98459bd9eb445afe1a355ae8 100644 --- a/core/modules/user/src/Tests/UserRoleAdminTest.php +++ b/core/modules/user/src/Tests/UserRoleAdminTest.php @@ -128,4 +128,5 @@ function testRoleWeightOrdering() { // The order of the roles should be reversed. $this->assertIdentical($rids, array_reverse($saved_rids)); } + } diff --git a/core/modules/user/src/Tests/UserRolesAssignmentTest.php b/core/modules/user/src/Tests/UserRolesAssignmentTest.php index 544e4bb945c6f359ef597b23fb7346d7e2dd9795..485bd2f382bcdeeb0be1ee21f10c103485462d16 100644 --- a/core/modules/user/src/Tests/UserRolesAssignmentTest.php +++ b/core/modules/user/src/Tests/UserRolesAssignmentTest.php @@ -90,4 +90,5 @@ private function userLoadAndCheckRoleAssigned($account, $rid, $is_assigned = TRU $this->assertTrue(array_search($rid, $account->getRoles()) === FALSE, 'The role is not present in the user object.'); } } + } diff --git a/core/modules/user/src/Tests/UserSearchTest.php b/core/modules/user/src/Tests/UserSearchTest.php index 49e2e89a049c1eb098d28d3d524c79bf3fcb7f54..d154030e390fbd06a1c18e3807aa108e51cfc5fe 100644 --- a/core/modules/user/src/Tests/UserSearchTest.php +++ b/core/modules/user/src/Tests/UserSearchTest.php @@ -116,4 +116,5 @@ function testUserSearch() { $this->assertResponse('403', 'User without search permission cannot search'); $this->drupalLogout(); } + } diff --git a/core/modules/user/src/Tests/UserTimeZoneTest.php b/core/modules/user/src/Tests/UserTimeZoneTest.php index 944fca85e3d0e266acc5e9ca68174a3a8095c12b..09513fd7e1c56180b809d65f7d4a433fd5262cc5 100644 --- a/core/modules/user/src/Tests/UserTimeZoneTest.php +++ b/core/modules/user/src/Tests/UserTimeZoneTest.php @@ -83,4 +83,5 @@ function testUserTimeZone() { $this->drupalGet('/system-test/date'); $this->assertText('2016-01-13 08:29 PST', 'Date should be PST.'); } + } diff --git a/core/modules/user/src/Tests/UserTokenReplaceTest.php b/core/modules/user/src/Tests/UserTokenReplaceTest.php index 2e6f90e144d5cb4440b7808fbb11a1a827042661..b8cfde0e8c0d14b70d7527ea40ff72733c0dd70b 100644 --- a/core/modules/user/src/Tests/UserTokenReplaceTest.php +++ b/core/modules/user/src/Tests/UserTokenReplaceTest.php @@ -164,4 +164,5 @@ function testUserTokenReplacement() { $output = $token_service->replace($input, ['user' => $user1]); $this->assertEqual($output, $expected, new FormattableMarkup('User token %token does not escape safe markup.', ['%token' => 'display-name'])); } + } diff --git a/core/modules/user/src/Tests/Views/AccessTestBase.php b/core/modules/user/src/Tests/Views/AccessTestBase.php index 3a5c6745d479e929625085f89e15edba90722d49..90a3d2f52e57fa94c90b74f586e970be8a7cb476 100644 --- a/core/modules/user/src/Tests/Views/AccessTestBase.php +++ b/core/modules/user/src/Tests/Views/AccessTestBase.php @@ -62,4 +62,5 @@ protected function setUp() { // @todo when all the plugin information is cached make a reset function and // call it here. } + } diff --git a/core/modules/user/src/Tests/Views/BulkFormAccessTest.php b/core/modules/user/src/Tests/Views/BulkFormAccessTest.php index 1102b8e58db6fe72a9d8c94431aa9e328123b83a..47d283331be83755d0f5e191460eca32ca62a391 100644 --- a/core/modules/user/src/Tests/Views/BulkFormAccessTest.php +++ b/core/modules/user/src/Tests/Views/BulkFormAccessTest.php @@ -127,4 +127,5 @@ public function testUserDeleteAccess() { $account = User::load($account2->id()); $this->assertNull($account, 'The user "may_delete" is deleted.'); } + } diff --git a/core/modules/user/src/Tests/Views/BulkFormTest.php b/core/modules/user/src/Tests/Views/BulkFormTest.php index e80b31a689287d755a74aa63f50c2518dc04dc84..a4ff23dbcc416ee08c2eed75d16091450bbdf8de 100644 --- a/core/modules/user/src/Tests/Views/BulkFormTest.php +++ b/core/modules/user/src/Tests/Views/BulkFormTest.php @@ -135,4 +135,5 @@ public function testBulkFormCombineFilter() { $errors = $view->validate(); $this->assertEqual(reset($errors['default']), t('Field %field set in %filter is not usable for this filter type. Combined field filter only works for simple fields.', array('%field' => 'User: Bulk update', '%filter' => 'Global: Combine fields filter'))); } + } diff --git a/core/modules/user/tests/src/Kernel/UserEntityReferenceTest.php b/core/modules/user/tests/src/Kernel/UserEntityReferenceTest.php index d2ca79e1f60f871b3ab5f4a3083ad743d8157d0d..8958c542a4e0f346bbc376fa4e0bfcbd2d577a6c 100644 --- a/core/modules/user/tests/src/Kernel/UserEntityReferenceTest.php +++ b/core/modules/user/tests/src/Kernel/UserEntityReferenceTest.php @@ -94,4 +94,5 @@ function testUserSelectionByRole() { $matches = $autocomplete->getMatches('user', 'default', $field_definition->getSetting('handler_settings'), 'aabbbb'); $this->assertEqual(count($matches), 0, ''); } + } diff --git a/core/modules/user/tests/src/Unit/PermissionHandlerTest.php b/core/modules/user/tests/src/Unit/PermissionHandlerTest.php index 6a2b26fb006ec40e449726c6ec14e29ed774ef8d..593d8c4f1aa43ca63c917d159d57a3e107e0908f 100644 --- a/core/modules/user/tests/src/Unit/PermissionHandlerTest.php +++ b/core/modules/user/tests/src/Unit/PermissionHandlerTest.php @@ -426,6 +426,7 @@ public function titleProvider() { ), ); } + } /** diff --git a/core/modules/views/src/DisplayPluginCollection.php b/core/modules/views/src/DisplayPluginCollection.php index 176f138db903ef4c11add798da13cec587fee270..e94a6ac99e182b392706dba85e44afffac5dcb93 100644 --- a/core/modules/views/src/DisplayPluginCollection.php +++ b/core/modules/views/src/DisplayPluginCollection.php @@ -105,5 +105,4 @@ public function remove($instance_id) { parent::remove($instance_id); } - } diff --git a/core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php b/core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php index 15200263b450c39ee6281e0d2932223e18564d74..00ae5248718570134b5d101152cd5aec40632379 100644 --- a/core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php +++ b/core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php @@ -74,4 +74,5 @@ public function getLangcode(ResultRow $row) { public function getCacheContexts() { return ['languages:' . LanguageInterface::TYPE_CONTENT]; } + } diff --git a/core/modules/views/src/Plugin/Derivative/DefaultWizardDeriver.php b/core/modules/views/src/Plugin/Derivative/DefaultWizardDeriver.php index 6bfec5b440bd256d58a64f8650901958784e1c7f..072d692be940158957ac8ae8ead74f5ef2c12780 100644 --- a/core/modules/views/src/Plugin/Derivative/DefaultWizardDeriver.php +++ b/core/modules/views/src/Plugin/Derivative/DefaultWizardDeriver.php @@ -31,4 +31,5 @@ public function getDerivativeDefinitions($base_plugin_definition) { } return parent::getDerivativeDefinitions($base_plugin_definition); } + } diff --git a/core/modules/views/src/Plugin/ViewsHandlerManager.php b/core/modules/views/src/Plugin/ViewsHandlerManager.php index f6ddf041d5c62a0377c05c58c4352584849652bc..d138d72d054a8782ae762927dbdacc5732e4c820 100644 --- a/core/modules/views/src/Plugin/ViewsHandlerManager.php +++ b/core/modules/views/src/Plugin/ViewsHandlerManager.php @@ -132,4 +132,5 @@ public function createInstance($plugin_id, array $configuration = array()) { public function getFallbackPluginId($plugin_id, array $configuration = array()) { return 'broken'; } + } diff --git a/core/modules/views/src/Plugin/views/HandlerBase.php b/core/modules/views/src/Plugin/views/HandlerBase.php index fab36a0a10b19f2ea9161978965ac316b6788d0d..12cd72bccf5afe57abefa607e5a41c8b45eb19c8 100644 --- a/core/modules/views/src/Plugin/views/HandlerBase.php +++ b/core/modules/views/src/Plugin/views/HandlerBase.php @@ -815,4 +815,5 @@ public function submitTemporaryForm($form, FormStateInterface $form_state) { // Write to cache $view->cacheSet(); } + } diff --git a/core/modules/views/src/Plugin/views/area/Entity.php b/core/modules/views/src/Plugin/views/area/Entity.php index abb6288ba10a4d4446c854ce021afbc90b983e58..b1f5a1b18bbbc2f806371b047c497bf51c34dbe7 100644 --- a/core/modules/views/src/Plugin/views/area/Entity.php +++ b/core/modules/views/src/Plugin/views/area/Entity.php @@ -194,4 +194,5 @@ public function calculateDependencies() { return $dependencies; } + } diff --git a/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php b/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php index 4a899d1dac516c8f201ffaecc789db78b3f0de6d..193e20b07e992a7788e74f524420eceffb74e13c 100644 --- a/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php +++ b/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php @@ -2674,6 +2674,7 @@ protected function isBaseTableTranslatable() { } return FALSE; } + } /** diff --git a/core/modules/views/src/Plugin/views/display/EntityReference.php b/core/modules/views/src/Plugin/views/display/EntityReference.php index c4d3fa2ca54eb4c701978046b325a14f5ced8249..22c8c8cf8d191534a08642cfa04ba1bf389eb41d 100644 --- a/core/modules/views/src/Plugin/views/display/EntityReference.php +++ b/core/modules/views/src/Plugin/views/display/EntityReference.php @@ -175,4 +175,5 @@ public function validate() { } return $errors; } + } diff --git a/core/modules/views/src/Plugin/views/filter/LanguageFilter.php b/core/modules/views/src/Plugin/views/filter/LanguageFilter.php index 1e1184610fbdf31406c1a094a23e50bebdc03bd4..69fdc81a1fd19fe001c4c1766216d0984cdb7311 100644 --- a/core/modules/views/src/Plugin/views/filter/LanguageFilter.php +++ b/core/modules/views/src/Plugin/views/filter/LanguageFilter.php @@ -79,4 +79,5 @@ public function query() { parent::query(); } + } diff --git a/core/modules/views/src/Plugin/views/pager/Full.php b/core/modules/views/src/Plugin/views/pager/Full.php index 67b850dfc256f7b5e55f856a738acd51ecc32187..76e646974f61fb840a7bbc34bc20352ef38cc804 100644 --- a/core/modules/views/src/Plugin/views/pager/Full.php +++ b/core/modules/views/src/Plugin/views/pager/Full.php @@ -95,5 +95,4 @@ public function render($input) { ); } - } diff --git a/core/modules/views/src/Plugin/views/row/EntityReference.php b/core/modules/views/src/Plugin/views/row/EntityReference.php index d6f2e008a47771eb08ac18291f4da20778baff3f..4ca79ba42f38e7c1e8d16f3098cd8955956db8a0 100644 --- a/core/modules/views/src/Plugin/views/row/EntityReference.php +++ b/core/modules/views/src/Plugin/views/row/EntityReference.php @@ -53,4 +53,5 @@ public function preRender($row) { return parent::preRender($row); } + } diff --git a/core/modules/views/src/Plugin/views/style/EntityReference.php b/core/modules/views/src/Plugin/views/style/EntityReference.php index 310cd2731d98d12d845e222df47b3d72f87baef9..f694b00e1385bf97c09913d227b225c565cc7471 100644 --- a/core/modules/views/src/Plugin/views/style/EntityReference.php +++ b/core/modules/views/src/Plugin/views/style/EntityReference.php @@ -100,4 +100,5 @@ public function render() { public function evenEmpty() { return TRUE; } + } diff --git a/core/modules/views/src/Render/ViewsRenderPipelineMarkup.php b/core/modules/views/src/Render/ViewsRenderPipelineMarkup.php index ab8da7f31c3c95c8a3773fe0f28823231e08d043..e0f3df18c87ffdcc42542fed14e780bed8cc20cf 100644 --- a/core/modules/views/src/Render/ViewsRenderPipelineMarkup.php +++ b/core/modules/views/src/Render/ViewsRenderPipelineMarkup.php @@ -20,4 +20,5 @@ */ final class ViewsRenderPipelineMarkup implements MarkupInterface, \Countable { use MarkupTrait; + } diff --git a/core/modules/views/src/Tests/Plugin/DisplayAttachmentTest.php b/core/modules/views/src/Tests/Plugin/DisplayAttachmentTest.php index 21f5c550cebf3acc08a5fc84d915700b6ee26c19..88db8b1b926bab907305fe2eee0c9928baf4f430 100644 --- a/core/modules/views/src/Tests/Plugin/DisplayAttachmentTest.php +++ b/core/modules/views/src/Tests/Plugin/DisplayAttachmentTest.php @@ -102,4 +102,5 @@ public function testDisabledAttachments() { $result = $this->xpath('//div[contains(@class, "attachment-after")]'); $this->assertEqual(count($result), 0, 'The attachment_2 is not rendered.'); } + } diff --git a/core/modules/views/src/Tests/Plugin/MenuLinkTest.php b/core/modules/views/src/Tests/Plugin/MenuLinkTest.php index f1e58bd9b875a92d7773acfa876a10e5bd9e70be..06e661f28b2500e3a286a63b991858064aaf421c 100644 --- a/core/modules/views/src/Tests/Plugin/MenuLinkTest.php +++ b/core/modules/views/src/Tests/Plugin/MenuLinkTest.php @@ -94,4 +94,5 @@ public function testHierarchicalMenuLinkVisibility() { $this->assertText('Primary level node'); $this->assertText('Secondary level view page'); } + } diff --git a/core/modules/views/src/Tests/Plugin/NumericFormatPluralTest.php b/core/modules/views/src/Tests/Plugin/NumericFormatPluralTest.php index 8617e71af033a488555e5dd8b1bbd50bdf8d647b..94f752b0b8254ef99a1552bae9295044912a5103 100644 --- a/core/modules/views/src/Tests/Plugin/NumericFormatPluralTest.php +++ b/core/modules/views/src/Tests/Plugin/NumericFormatPluralTest.php @@ -156,4 +156,5 @@ protected function createFile() { return $file; } + } diff --git a/core/modules/views/src/Tests/Plugin/PagerTest.php b/core/modules/views/src/Tests/Plugin/PagerTest.php index e3282a387dd09343af0d7a8994838ce13121929f..f922748e4d2b2079eeec6c9d81be024ab6db90d5 100644 --- a/core/modules/views/src/Tests/Plugin/PagerTest.php +++ b/core/modules/views/src/Tests/Plugin/PagerTest.php @@ -449,4 +449,5 @@ protected function createTranslation($source, $translation, $langcode) { ); return $this->localeStorage->createTranslation($values)->save(); } + } diff --git a/core/modules/views/src/Tests/Plugin/ViewsFormTest.php b/core/modules/views/src/Tests/Plugin/ViewsFormTest.php index a3bbe640d3fc094fbceb8162edab3cf45a246bf2..01f7a8cff098f939d1eb2aac7227baf92e0b52c6 100644 --- a/core/modules/views/src/Tests/Plugin/ViewsFormTest.php +++ b/core/modules/views/src/Tests/Plugin/ViewsFormTest.php @@ -30,4 +30,5 @@ public function testFormWrapper() { $result = (bool) preg_match('#]*?>(?!/form).*getRawContent()); $this->assertFalse($result, 'The views form element is not nested.'); } + } diff --git a/core/modules/views/src/ViewEntityInterface.php b/core/modules/views/src/ViewEntityInterface.php index d18179d026cdff5dc5a660c1701fb02fddefd195..7eeb53938bf1a7b0ae79db056c2418e44be26240 100644 --- a/core/modules/views/src/ViewEntityInterface.php +++ b/core/modules/views/src/ViewEntityInterface.php @@ -66,5 +66,4 @@ public function duplicateDisplayAsType($old_display_id, $new_display_type); */ public function addDisplay($plugin_id = 'page', $title = NULL, $id = NULL); - } diff --git a/core/modules/views/src/ViewsData.php b/core/modules/views/src/ViewsData.php index dcfc05d45dfea78af7682e30db33c399fb5696c0..021ea78eae3de308383233083a631bbb0cc06f38 100644 --- a/core/modules/views/src/ViewsData.php +++ b/core/modules/views/src/ViewsData.php @@ -319,4 +319,5 @@ public function clear() { $this->fullyLoaded = FALSE; Cache::invalidateTags(array('views_data')); } + } diff --git a/core/modules/views/tests/modules/views_test_data/src/Form/ViewsTestDataElementEmbedForm.php b/core/modules/views/tests/modules/views_test_data/src/Form/ViewsTestDataElementEmbedForm.php index dd60f92db212ee81e637d4ee3c353b70da2b3f85..f80092b3ac391bf4f98ba561acffcad6eefdbe2a 100644 --- a/core/modules/views/tests/modules/views_test_data/src/Form/ViewsTestDataElementEmbedForm.php +++ b/core/modules/views/tests/modules/views_test_data/src/Form/ViewsTestDataElementEmbedForm.php @@ -37,4 +37,5 @@ public function buildForm(array $form, FormStateInterface $form_state) { */ public function submitForm(array &$form, FormStateInterface $form_state) { } + } diff --git a/core/modules/views/tests/src/Kernel/Handler/ArgumentDateTest.php b/core/modules/views/tests/src/Kernel/Handler/ArgumentDateTest.php index 526b7438887f17301f06617b8da7eeedd2b3050b..527bd724f244b2d71e8f6d017d68b34f7aabcd18 100644 --- a/core/modules/views/tests/src/Kernel/Handler/ArgumentDateTest.php +++ b/core/modules/views/tests/src/Kernel/Handler/ArgumentDateTest.php @@ -315,4 +315,5 @@ public function testYearMonthHandler() { $expected = array(); $this->assertIdenticalResultset($view, $expected, $this->columnMap); } + } diff --git a/core/modules/views/tests/src/Kernel/Wizard/WizardPluginBaseKernelTest.php b/core/modules/views/tests/src/Kernel/Wizard/WizardPluginBaseKernelTest.php index 8a1fc9608634c3f4a2abccc07720ff4674abbee7..27f21c220ce688a8fc812a8416660766dc7b4173 100644 --- a/core/modules/views/tests/src/Kernel/Wizard/WizardPluginBaseKernelTest.php +++ b/core/modules/views/tests/src/Kernel/Wizard/WizardPluginBaseKernelTest.php @@ -70,4 +70,5 @@ public function testCreateView() { $this->assertEqual($view->get('base_table'), 'views_test_data'); $this->assertEqual($view->get('langcode'), 'it'); } + } diff --git a/core/modules/views/tests/src/Unit/EntityViewsDataTest.php b/core/modules/views/tests/src/Unit/EntityViewsDataTest.php index e6d8f9f01aad492eb670d3a11b457a1e80e96f04..c3e93ed45934d34d1c1782fe718cc4c69f11c114 100644 --- a/core/modules/views/tests/src/Unit/EntityViewsDataTest.php +++ b/core/modules/views/tests/src/Unit/EntityViewsDataTest.php @@ -962,6 +962,7 @@ class TestEntityViewsData extends EntityViewsData { public function setEntityType(EntityTypeInterface $entity_type) { $this->entityType = $entity_type; } + } class TestEntityType extends EntityType { diff --git a/core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php b/core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php index 346eb899f8e7e718a4218f07d0b4d34494fc8035..d522bcf1585d7dcb20fb6f7b969f07ec8d0ad9fe 100644 --- a/core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php @@ -163,6 +163,7 @@ public function testRenderWithoutDestination() { $build = $this->plugin->render($result); $this->assertSame($expected_build, $build); } + } } diff --git a/core/modules/views_ui/src/Tests/ArgumentValidatorTest.php b/core/modules/views_ui/src/Tests/ArgumentValidatorTest.php index c3035530366c81890ffb3d1bc3bf4cc278149fb2..b62f876e52f885cb11a8d0a5c1b1390f73601ee1 100644 --- a/core/modules/views_ui/src/Tests/ArgumentValidatorTest.php +++ b/core/modules/views_ui/src/Tests/ArgumentValidatorTest.php @@ -53,4 +53,5 @@ protected function saveArgumentHandlerWithValidationOptions($specify_validation) $this->drupalPostForm('admin/structure/views/nojs/handler/test_argument/default/argument/id', $options, t('Apply')); $this->drupalPostForm('admin/structure/views/view/test_argument', array(), t('Save')); } + } diff --git a/core/modules/views_ui/src/Tests/DisplayAttachmentTest.php b/core/modules/views_ui/src/Tests/DisplayAttachmentTest.php index 1172fb2ca7ced2ef2a6dcf0daf1bd4a4fd5c31e8..fbacb145c2ff4ca3c029875a5c45bff46e6cb32b 100644 --- a/core/modules/views_ui/src/Tests/DisplayAttachmentTest.php +++ b/core/modules/views_ui/src/Tests/DisplayAttachmentTest.php @@ -57,4 +57,5 @@ public function testAttachmentUI() { $view->initDisplay(); $this->assertEqual(array_keys($view->displayHandlers->get('attachment_1')->getOption('displays')), array('default', 'page_1'), 'The attached displays got saved as expected'); } + } diff --git a/core/modules/views_ui/src/Tests/DuplicateTest.php b/core/modules/views_ui/src/Tests/DuplicateTest.php index 8cf9b0dc142b0de5c148e8dfe9dda635975bc904..a6948f0029447436af2e923496f4c9702541cf9b 100644 --- a/core/modules/views_ui/src/Tests/DuplicateTest.php +++ b/core/modules/views_ui/src/Tests/DuplicateTest.php @@ -39,4 +39,5 @@ public function testDuplicateView() { // Assert that the page title is correctly displayed. $this->assertText($view['label']); } + } diff --git a/core/modules/views_ui/src/Tests/ExposedFormUITest.php b/core/modules/views_ui/src/Tests/ExposedFormUITest.php index a74300d8111ed156f096908c481e3d3b317c3870..fd70978c882b68321e9e955d933a59b2442b3791 100644 --- a/core/modules/views_ui/src/Tests/ExposedFormUITest.php +++ b/core/modules/views_ui/src/Tests/ExposedFormUITest.php @@ -169,4 +169,5 @@ function testExposedAdminUi() { $this->assertEqual($display['display_options']['sorts']['created']['expose'], ['label' => $edit['options[expose][label]']]); $this->assertEqual($display['display_options']['sorts']['created']['order'], 'DESC'); } + } diff --git a/core/modules/views_ui/src/Tests/FilterUITest.php b/core/modules/views_ui/src/Tests/FilterUITest.php index 36b782afda1c03303f3be9891311879ca0b0347d..371800f841d8453eee0af4714f286a44a87b3d97 100644 --- a/core/modules/views_ui/src/Tests/FilterUITest.php +++ b/core/modules/views_ui/src/Tests/FilterUITest.php @@ -119,4 +119,5 @@ public function testFilterIdentifier() { $this->drupalPostForm($path, $edit, t('Apply')); $this->assertText('This identifier has illegal characters.'); } + } diff --git a/core/modules/views_ui/src/Tests/HandlerTest.php b/core/modules/views_ui/src/Tests/HandlerTest.php index 63d7e035e186d5388e27f5043142d21c3dea1219..bc61a37056f51720ce8220156f0c005b1af03a74 100644 --- a/core/modules/views_ui/src/Tests/HandlerTest.php +++ b/core/modules/views_ui/src/Tests/HandlerTest.php @@ -278,4 +278,5 @@ public function assertNoDuplicateField($field_name, $entity_type) { $elements = $this->xpath('//td[.=:entity_type]/preceding-sibling::td[@class="title" and .=:title]', [':title' => $field_name, ':entity_type' => $entity_type]); $this->assertEqual(1, count($elements), $field_name . ' appears just once in ' . $entity_type . '.'); } + } diff --git a/core/modules/views_ui/src/Tests/UITestBase.php b/core/modules/views_ui/src/Tests/UITestBase.php index 216df7de9d265e8679fa05f7bbdee9a6cb6f1fdd..74b6f4ff05479f37eed5fc63c6ce7b3791f143a7 100644 --- a/core/modules/views_ui/src/Tests/UITestBase.php +++ b/core/modules/views_ui/src/Tests/UITestBase.php @@ -87,5 +87,4 @@ protected function drupalGet($path, array $options = array(), array $headers = a return parent::drupalGet($path, $options, $headers); } - } diff --git a/core/phpcs.xml.dist b/core/phpcs.xml.dist index 66aa48526c6b36b35986b17c0333c3d9a13bcdd0..f4a9fe68059c304034e1d4e786bebb5f8576a0ef 100644 --- a/core/phpcs.xml.dist +++ b/core/phpcs.xml.dist @@ -13,6 +13,13 @@ + + + + + + + diff --git a/core/profiles/minimal/src/Tests/MinimalTest.php b/core/profiles/minimal/src/Tests/MinimalTest.php index d8a0619a42fd21aa200bbae564cddcca9859ed57..056565e710ef369a29cac64c2ded536c742a3a54 100644 --- a/core/profiles/minimal/src/Tests/MinimalTest.php +++ b/core/profiles/minimal/src/Tests/MinimalTest.php @@ -38,4 +38,5 @@ function testMinimal() { // Ensure that there are no pending entity updates after installation. $this->assertFalse($this->container->get('entity.definition_update_manager')->needsUpdates(), 'After installation, entity schema is up to date.'); } + } diff --git a/core/profiles/standard/src/Tests/StandardTest.php b/core/profiles/standard/src/Tests/StandardTest.php index 6be002b869be3682b36b4fc8fb8779618d29f1a4..bff61a9f71a97616c02ff9cecd5ada411ac808cf 100644 --- a/core/profiles/standard/src/Tests/StandardTest.php +++ b/core/profiles/standard/src/Tests/StandardTest.php @@ -198,4 +198,5 @@ function testStandard() { $this->drupalGet($url); $this->assertEqual('HIT', $this->drupalGetHeader(DynamicPageCacheSubscriber::HEADER), 'User profile page is cached by Dynamic Page Cache.'); } + } diff --git a/core/profiles/testing/modules/drupal_system_listing_compatible_test/src/Tests/SystemListingCompatibleTest.php b/core/profiles/testing/modules/drupal_system_listing_compatible_test/src/Tests/SystemListingCompatibleTest.php index 206e81dccafdf771580a2a7db72d85d822e34506..332b00081486a72d278df9f90eb631075018ee26 100644 --- a/core/profiles/testing/modules/drupal_system_listing_compatible_test/src/Tests/SystemListingCompatibleTest.php +++ b/core/profiles/testing/modules/drupal_system_listing_compatible_test/src/Tests/SystemListingCompatibleTest.php @@ -38,4 +38,5 @@ class SystemListingCompatibleTest extends WebTestBase { function testSystemListing() { $this->pass(__CLASS__ . ' test executed.'); } + } diff --git a/core/tests/Drupal/KernelTests/Core/Config/ConfigDependencyTest.php b/core/tests/Drupal/KernelTests/Core/Config/ConfigDependencyTest.php index 291f077641d05246cbd3fa34175c7cf2a42e2a8e..2fd6301f5c7fb1bcb4dea0f6711a2be7505408fb 100644 --- a/core/tests/Drupal/KernelTests/Core/Config/ConfigDependencyTest.php +++ b/core/tests/Drupal/KernelTests/Core/Config/ConfigDependencyTest.php @@ -478,4 +478,5 @@ protected function getDependentIds(array $dependents) { } return $dependent_ids; } + } diff --git a/core/tests/Drupal/KernelTests/Core/Config/ConfigFileContentTest.php b/core/tests/Drupal/KernelTests/Core/Config/ConfigFileContentTest.php index 64cb5c4d6ceb4ca67b73914591e7d1282c2ddf0c..c440c0391934721432e4596d7af313ee3503a0d2 100644 --- a/core/tests/Drupal/KernelTests/Core/Config/ConfigFileContentTest.php +++ b/core/tests/Drupal/KernelTests/Core/Config/ConfigFileContentTest.php @@ -227,4 +227,5 @@ function testSerialization() { $key = 'invalid xml'; $this->assertIdentical($config_data[$key], $config_parsed[$key]); } + } diff --git a/core/tests/Drupal/KernelTests/Core/Config/ConfigLanguageOverrideTest.php b/core/tests/Drupal/KernelTests/Core/Config/ConfigLanguageOverrideTest.php index 8d0760acf6a78f3e5e1f1d7be1359f2e209c90d0..994406c2a2dc225826770c9840a59f1c05e3d75b 100644 --- a/core/tests/Drupal/KernelTests/Core/Config/ConfigLanguageOverrideTest.php +++ b/core/tests/Drupal/KernelTests/Core/Config/ConfigLanguageOverrideTest.php @@ -116,4 +116,5 @@ function testConfigLanguageOverride() { $this->assertTrue($override->isNew()); $this->assertEqual($override->get('value'), NULL); } + } diff --git a/core/tests/Drupal/KernelTests/Core/Config/ConfigModuleOverridesTest.php b/core/tests/Drupal/KernelTests/Core/Config/ConfigModuleOverridesTest.php index 2b5b30278725548ecca03eb537c448829b07f882..1310cb32fcf01a93d7968fb8ac6dfc5130d7bebd 100644 --- a/core/tests/Drupal/KernelTests/Core/Config/ConfigModuleOverridesTest.php +++ b/core/tests/Drupal/KernelTests/Core/Config/ConfigModuleOverridesTest.php @@ -47,4 +47,5 @@ public function testSimpleModuleOverrides() { unset($GLOBALS['config_test_run_module_overrides']); } + } diff --git a/core/tests/Drupal/KernelTests/Core/Config/ConfigOverridesPriorityTest.php b/core/tests/Drupal/KernelTests/Core/Config/ConfigOverridesPriorityTest.php index 454e70be3bf06a105d2803982fe22f090e1bae82..f18bf3c8743cf2566e0ef2c0a2720ee0e253ca1b 100644 --- a/core/tests/Drupal/KernelTests/Core/Config/ConfigOverridesPriorityTest.php +++ b/core/tests/Drupal/KernelTests/Core/Config/ConfigOverridesPriorityTest.php @@ -92,4 +92,5 @@ public function testOverridePriorities() { unset($GLOBALS['config_test_run_module_overrides']); } + } diff --git a/core/tests/Drupal/KernelTests/Core/Config/Storage/DatabaseStorageTest.php b/core/tests/Drupal/KernelTests/Core/Config/Storage/DatabaseStorageTest.php index 0365382d4493649e6d56acf9173379bec9e96e6b..6f09a829d4a2635f4fbb64097628906dc7e004ad 100644 --- a/core/tests/Drupal/KernelTests/Core/Config/Storage/DatabaseStorageTest.php +++ b/core/tests/Drupal/KernelTests/Core/Config/Storage/DatabaseStorageTest.php @@ -40,4 +40,5 @@ protected function update($name, $data) { protected function delete($name) { db_delete('config')->condition('name', $name)->execute(); } + } diff --git a/core/tests/Drupal/KernelTests/Core/Database/AlterTest.php b/core/tests/Drupal/KernelTests/Core/Database/AlterTest.php index 82996fa3fe4e877b08abb0c946315da10b128a03..c5f9e9f4cb6e314c0b05ac2c931dad5f15b6c05f 100644 --- a/core/tests/Drupal/KernelTests/Core/Database/AlterTest.php +++ b/core/tests/Drupal/KernelTests/Core/Database/AlterTest.php @@ -147,4 +147,5 @@ function testSimpleAlterSubquery() { $this->assertEqual($record->$name_field, 'George', 'Fetched name is correct.'); $this->assertEqual($record->$age_field, 27 * 3, 'Fetched age expression is correct.'); } + } diff --git a/core/tests/Drupal/KernelTests/Core/Database/CaseSensitivityTest.php b/core/tests/Drupal/KernelTests/Core/Database/CaseSensitivityTest.php index a320e5bf268a66444b0afa2704c7e3d44d7108e7..35fdb4d912ec17753240ce99b03bd78b53f6b81f 100644 --- a/core/tests/Drupal/KernelTests/Core/Database/CaseSensitivityTest.php +++ b/core/tests/Drupal/KernelTests/Core/Database/CaseSensitivityTest.php @@ -27,4 +27,5 @@ function testCaseSensitiveInsert() { $saved_age = db_query('SELECT age FROM {test} WHERE name = :name', array(':name' => 'john'))->fetchField(); $this->assertIdentical($saved_age, '2', 'Can retrieve after inserting.'); } + } diff --git a/core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php b/core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php index fb0b398b2d91666d42dcb39d6b2a7d554c0bb0e4..b38c5b649a71da9e264634bad0d6d1832475e656 100644 --- a/core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php +++ b/core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php @@ -143,4 +143,5 @@ static function addSampleData() { )) ->execute(); } + } diff --git a/core/tests/Drupal/KernelTests/Core/Database/DeleteTruncateTest.php b/core/tests/Drupal/KernelTests/Core/Database/DeleteTruncateTest.php index 093c39f9bf030763e7f90d8fb2936b907da196b3..1545dd9dd3ec070043752a714670d46b831b39b9 100644 --- a/core/tests/Drupal/KernelTests/Core/Database/DeleteTruncateTest.php +++ b/core/tests/Drupal/KernelTests/Core/Database/DeleteTruncateTest.php @@ -80,4 +80,5 @@ function testSpecialColumnDelete() { $num_records_after = db_query('SELECT COUNT(*) FROM {test_special_columns}')->fetchField(); $this->assertEqual($num_records_before, $num_records_after + $num_deleted, 'Deletion adds up.'); } + } diff --git a/core/tests/Drupal/KernelTests/Core/Database/InsertDefaultsTest.php b/core/tests/Drupal/KernelTests/Core/Database/InsertDefaultsTest.php index 1d0b0c78186a8d001271c65d5846f18d2954cfc0..6e0363aeb3058e89a767b8b6ca9bd319f3daa184 100644 --- a/core/tests/Drupal/KernelTests/Core/Database/InsertDefaultsTest.php +++ b/core/tests/Drupal/KernelTests/Core/Database/InsertDefaultsTest.php @@ -57,4 +57,5 @@ function testDefaultInsertWithFields() { $job = db_query('SELECT job FROM {test} WHERE id = :id', array(':id' => $id))->fetchField(); $this->assertEqual($job, $schema['fields']['job']['default'], 'Default field value is set.'); } + } diff --git a/core/tests/Drupal/KernelTests/Core/Database/InsertLobTest.php b/core/tests/Drupal/KernelTests/Core/Database/InsertLobTest.php index 6f374e0646e65845061aee0015ffee19daab6081..cb41dc03987488781d6123de529e684dc854b206 100644 --- a/core/tests/Drupal/KernelTests/Core/Database/InsertLobTest.php +++ b/core/tests/Drupal/KernelTests/Core/Database/InsertLobTest.php @@ -35,4 +35,5 @@ function testInsertMultipleBlob() { $r = db_query('SELECT * FROM {test_two_blobs} WHERE id = :id', array(':id' => $id))->fetchAssoc(); $this->assertTrue($r['blob1'] === 'This is' && $r['blob2'] === 'a test', 'Can insert multiple blobs per row.'); } + } diff --git a/core/tests/Drupal/KernelTests/Core/Database/InsertTest.php b/core/tests/Drupal/KernelTests/Core/Database/InsertTest.php index 030c7e92d8c803a3ea89740a02e5adc1c2a04f20..d703f9d3150d15703d6e54bc7c466d74fc831d5d 100644 --- a/core/tests/Drupal/KernelTests/Core/Database/InsertTest.php +++ b/core/tests/Drupal/KernelTests/Core/Database/InsertTest.php @@ -206,4 +206,5 @@ function testSpecialColumnInsert() { $saved_value = db_query('SELECT "offset" FROM {test_special_columns} WHERE id = :id', array(':id' => 2))->fetchField(); $this->assertIdentical($saved_value, 'Offset value 2', 'Can retrieve special column name value after inserting.'); } + } diff --git a/core/tests/Drupal/KernelTests/Core/Database/LoggingTest.php b/core/tests/Drupal/KernelTests/Core/Database/LoggingTest.php index af477d149c18d206c3f7bb85ee5510b5835dd200..f4ee580d94ba0c219ad8c460a1c144aedd2ca546 100644 --- a/core/tests/Drupal/KernelTests/Core/Database/LoggingTest.php +++ b/core/tests/Drupal/KernelTests/Core/Database/LoggingTest.php @@ -125,4 +125,5 @@ function testEnableMultiConnectionLogging() { $this->assertEqual(count($queries1), 1, 'Correct number of queries recorded for first connection.'); $this->assertEqual(count($queries2), 1, 'Correct number of queries recorded for second connection.'); } + } diff --git a/core/tests/Drupal/KernelTests/Core/Database/MergeTest.php b/core/tests/Drupal/KernelTests/Core/Database/MergeTest.php index eb6a1ed63128125024e20208ef8bf7f4cd6b2994..34b81d0f212b58661bdbc2c947d6c3c3fa7da88c 100644 --- a/core/tests/Drupal/KernelTests/Core/Database/MergeTest.php +++ b/core/tests/Drupal/KernelTests/Core/Database/MergeTest.php @@ -229,4 +229,5 @@ function testInvalidMerge() { } $this->fail('No InvalidMergeQueryException thrown'); } + } diff --git a/core/tests/Drupal/KernelTests/Core/Database/NextIdTest.php b/core/tests/Drupal/KernelTests/Core/Database/NextIdTest.php index 598718028725188f7e39a80f66933d967faf1561..b0cdc857faf92e3244bc7ff74966aff08a8e5b2b 100644 --- a/core/tests/Drupal/KernelTests/Core/Database/NextIdTest.php +++ b/core/tests/Drupal/KernelTests/Core/Database/NextIdTest.php @@ -35,4 +35,5 @@ function testDbNextId() { $result = db_next_id(1000); $this->assertEqual($result, 1001, 'Sequence provides a larger number than the existing ID.'); } + } diff --git a/core/tests/Drupal/KernelTests/Core/Database/RangeQueryTest.php b/core/tests/Drupal/KernelTests/Core/Database/RangeQueryTest.php index 3e6af791fc710595458012a8accac38708c46f73..33f315b7cb1f040d28cd69fbeaa31ac21e002491 100644 --- a/core/tests/Drupal/KernelTests/Core/Database/RangeQueryTest.php +++ b/core/tests/Drupal/KernelTests/Core/Database/RangeQueryTest.php @@ -29,4 +29,5 @@ function testRangeQuery() { $raw_rows = array_slice($raw_rows, 1, 3); $this->assertEqual($range_rows, $raw_rows); } + } diff --git a/core/tests/Drupal/KernelTests/Core/Database/RegressionTest.php b/core/tests/Drupal/KernelTests/Core/Database/RegressionTest.php index 412ad153c3d26d69d20df45cacac6027c64a04d3..e13bcfe554201b1be905a382812dfaa33cd85a78 100644 --- a/core/tests/Drupal/KernelTests/Core/Database/RegressionTest.php +++ b/core/tests/Drupal/KernelTests/Core/Database/RegressionTest.php @@ -56,4 +56,5 @@ function testDBIndexExists() { $this->assertIdentical(TRUE, db_index_exists('test', 'ages'), 'Returns true for existent index.'); $this->assertIdentical(FALSE, db_index_exists('test', 'nosuchindex'), 'Returns false for nonexistent index.'); } + } diff --git a/core/tests/Drupal/KernelTests/Core/Database/SelectCloneTest.php b/core/tests/Drupal/KernelTests/Core/Database/SelectCloneTest.php index 2835fcbf13d7fed191a549bb47f1af195c6985d1..64e95d0b6dc74663aa3e6d967cffea7bcd8e6b80 100644 --- a/core/tests/Drupal/KernelTests/Core/Database/SelectCloneTest.php +++ b/core/tests/Drupal/KernelTests/Core/Database/SelectCloneTest.php @@ -33,4 +33,5 @@ function testSelectConditionSubQueryCloning() { $this->assertEqual(3, $clone_result, 'The cloned query returns the expected number of rows'); $this->assertEqual(2, $query_result, 'The query returns the expected number of rows'); } + } diff --git a/core/tests/Drupal/KernelTests/Core/Database/SelectOrderedTest.php b/core/tests/Drupal/KernelTests/Core/Database/SelectOrderedTest.php index 272b45f59373c763b8e47c39f1a5fcdf491522a0..c9e199be902208624994be6a4b62c66d046b2823 100644 --- a/core/tests/Drupal/KernelTests/Core/Database/SelectOrderedTest.php +++ b/core/tests/Drupal/KernelTests/Core/Database/SelectOrderedTest.php @@ -81,4 +81,5 @@ function testSimpleSelectOrderedDesc() { $this->assertEqual($num_records, 4, 'Returned the correct number of rows.'); } + } diff --git a/core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php b/core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php index 46eb2d0e471ae0df7614d5588b67dca458b9b947..4877ca2f73dc93eacaf6b4628f57a0d78bb0c224 100644 --- a/core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php +++ b/core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php @@ -175,4 +175,5 @@ function testNotExistsSubquerySelect() { $people = $query->execute()->fetchCol(); $this->assertEqual(count($people), 3, 'NOT EXISTS query returned the correct results.'); } + } diff --git a/core/tests/Drupal/KernelTests/Core/Database/SerializeQueryTest.php b/core/tests/Drupal/KernelTests/Core/Database/SerializeQueryTest.php index 4e2d6881a052407d44917e2cce705c8f31d9443c..6505484f8d257b4b05302ee7e43dc818f9679110 100644 --- a/core/tests/Drupal/KernelTests/Core/Database/SerializeQueryTest.php +++ b/core/tests/Drupal/KernelTests/Core/Database/SerializeQueryTest.php @@ -21,4 +21,5 @@ function testSerializeQuery() { $results = $query->execute()->fetchCol(); $this->assertEqual($results[0], 28, 'Query properly executed after unserialization.'); } + } diff --git a/core/tests/Drupal/KernelTests/Core/Database/TaggingTest.php b/core/tests/Drupal/KernelTests/Core/Database/TaggingTest.php index 03e89d3eb4f846af5dd65a25810e133f552f840d..611b2460b71d0d086c3cd4264532b95755cc5ca3 100644 --- a/core/tests/Drupal/KernelTests/Core/Database/TaggingTest.php +++ b/core/tests/Drupal/KernelTests/Core/Database/TaggingTest.php @@ -124,4 +124,5 @@ function testMetaData() { $return = $query->getMetaData('nothere'); $this->assertNull($return, 'Non-existent key returned NULL.'); } + } diff --git a/core/tests/Drupal/KernelTests/Core/Database/UpdateLobTest.php b/core/tests/Drupal/KernelTests/Core/Database/UpdateLobTest.php index d8d92cb498afb0736046f3cc596b062e6f922fbc..57a141835d2e563b2cde95ad70d59223388f5e73 100644 --- a/core/tests/Drupal/KernelTests/Core/Database/UpdateLobTest.php +++ b/core/tests/Drupal/KernelTests/Core/Database/UpdateLobTest.php @@ -48,4 +48,5 @@ function testUpdateMultipleBlob() { $r = db_query('SELECT * FROM {test_two_blobs} WHERE id = :id', array(':id' => $id))->fetchAssoc(); $this->assertTrue($r['blob1'] === 'and so' && $r['blob2'] === 'is this', 'Can update multiple blobs per row.'); } + } diff --git a/core/tests/Drupal/KernelTests/Core/Database/UpdateTest.php b/core/tests/Drupal/KernelTests/Core/Database/UpdateTest.php index 49d8f8ecf368d96a3155f99a2e4b7f414f0c75a7..25ad3cbac6c0894dd1280bb5a03009395fbc378e 100644 --- a/core/tests/Drupal/KernelTests/Core/Database/UpdateTest.php +++ b/core/tests/Drupal/KernelTests/Core/Database/UpdateTest.php @@ -154,4 +154,5 @@ function testSpecialColumnUpdate() { $saved_value = db_query('SELECT "offset" FROM {test_special_columns} WHERE id = :id', array(':id' => 1))->fetchField(); $this->assertIdentical($saved_value, 'New offset value', 'Updated special column name value successfully.'); } + } diff --git a/core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php b/core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php index 459a96d916b6b60e63b12d9567662cf0b93628c0..2219487d7761f255968aa18d443fbdeea4ef7135 100644 --- a/core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php +++ b/core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php @@ -68,4 +68,5 @@ protected function assertValidation($bundle) { $this->assertEqual($violation->getRoot(), $typed_data, 'Violation root is correct.'); $this->assertEqual($violation->getInvalidValue(), $page_node, 'The invalid value is set correctly in the violation.'); } + } diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php index 1383a7c5a48d398ef0930a5c7999a9aa02226d54..724c2101c6790b6ecb460d60dce98bdb5c3922d2 100644 --- a/core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php +++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php @@ -222,4 +222,5 @@ public function testHooks() { $this->assertEqual($state->get('entity_test_entity_access'), TRUE); $this->assertEqual($state->get('entity_test_entity_test_access'), TRUE); } + } diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityApiTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityApiTest.php index 5f2693e58aa0b914e31b68ccb1ab2fe12fbf523e..583940ed30594c108150e66baa021b549343e590 100644 --- a/core/tests/Drupal/KernelTests/Core/Entity/EntityApiTest.php +++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityApiTest.php @@ -170,4 +170,5 @@ public function testEntityStorageExceptionHandling() { $this->assertNotEqual($e->getCode(), 2, 'Entity predelete EntityStorageException thrown.'); } } + } diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php index 7bba9482efa6c44165661ca796ed5ea23155da74..935fd7a2af7b6adafdeee64c5e56741f7137a78d 100644 --- a/core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php +++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php @@ -556,4 +556,5 @@ function testEntityRollback() { $this->assertFalse(empty($ids), 'Transactions not supported, and entity found in database.'); } } + } diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php index 0b7e12241a997d5ddf75e23bc4c01c851d26bf8e..819445d152ec37ec48755eadd47897ba234d3a71 100644 --- a/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php +++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php @@ -581,4 +581,5 @@ protected function assertResults($expected, $sorted = FALSE) { protected function assertSortedResults($expected) { return $this->assertResults($expected, TRUE); } + } diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php index d39a1aa43987437ba9e6c78b34398c04ab3209c7..8465438207069e92e0f67468e47f032f12515a63 100644 --- a/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php +++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php @@ -169,4 +169,5 @@ protected function assertResults($expected) { $this->assertEqual($this->queryResults[$id], $id); } } + } diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php index 2db824f2eace3d3bf13f75508231c4c738eb504d..09c9f845a54c33dcafac4b94c0f0029f359bdfdb 100644 --- a/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php +++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php @@ -862,4 +862,5 @@ public function testInjectionInCondition() { $this->pass('SQL Injection attempt in Entity Query condition in operator should result in an exception.'); } } + } diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php index 6da6d6a0ddcb22745d57840a56a4ebebec01082d..87d76b484c47d106b0e6c1e37740e11d63151573 100644 --- a/core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php +++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php @@ -57,4 +57,5 @@ public function testValidation() { $this->assertEqual($violation->getRoot(), $typed_data, 'Violation root is correct.'); $this->assertEqual($violation->getInvalidValue(), $account, 'The invalid value is set correctly in the violation.'); } + } diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityUUIDTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityUUIDTest.php index 10d711f348788398ddf979b7bbd9e3890eb770b1..5b0a64345e95713f6a28f7caa5eb40838ba08758 100644 --- a/core/tests/Drupal/KernelTests/Core/Entity/EntityUUIDTest.php +++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityUUIDTest.php @@ -100,4 +100,5 @@ protected function assertCRUD($entity_type) { $entity_duplicate->save(); $this->assertNotEqual($entity->id(), $entity_duplicate->id()); } + } diff --git a/core/tests/Drupal/KernelTests/Core/Field/FieldAccessTest.php b/core/tests/Drupal/KernelTests/Core/Field/FieldAccessTest.php index bdf1cf2d2d6e895743971c043e076d8271708f03..5a59a235733acacb61d53d1cf984af5365932343 100644 --- a/core/tests/Drupal/KernelTests/Core/Field/FieldAccessTest.php +++ b/core/tests/Drupal/KernelTests/Core/Field/FieldAccessTest.php @@ -75,4 +75,5 @@ function testFieldAccess() { $this->assertTrue($entity->field_test_text->access('view', $account), 'Access to the field was granted.'); $this->assertEqual(AccessResult::allowed(), $entity->field_test_text->access('view', $account, TRUE), 'Access to the field was granted.'); } + } diff --git a/core/tests/Drupal/KernelTests/MissingDependentModuleUnitTest.php b/core/tests/Drupal/KernelTests/MissingDependentModuleUnitTest.php index 7c22d1fa316024d8fd9bee327aabd0cb402f6e4e..124e144c9556accc2e2c00f45e57904a7f11635a 100644 --- a/core/tests/Drupal/KernelTests/MissingDependentModuleUnitTest.php +++ b/core/tests/Drupal/KernelTests/MissingDependentModuleUnitTest.php @@ -18,4 +18,5 @@ class MissingDependentModuleUnitTest extends KernelTestBase { function testFail() { $this->fail('Running test with missing required module.'); } + } diff --git a/core/tests/Drupal/Tests/Component/Bridge/ZfExtensionManagerSfContainerTest.php b/core/tests/Drupal/Tests/Component/Bridge/ZfExtensionManagerSfContainerTest.php index e8ff5429d88a8a6dabf00c847fe05608835cbafb..9efbf4ecc5db54dc616b1c68b57564b8f2c631b3 100644 --- a/core/tests/Drupal/Tests/Component/Bridge/ZfExtensionManagerSfContainerTest.php +++ b/core/tests/Drupal/Tests/Component/Bridge/ZfExtensionManagerSfContainerTest.php @@ -116,4 +116,5 @@ public function canonicalizeNameProvider() { ), ); } + } diff --git a/core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php b/core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php index 4bb3a98daf780a58ff5970215eeab7d726c0736e..8130b2df206d76827826de5d883cb39b19a67043 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php @@ -149,6 +149,7 @@ public static function getPluginClass($plugin_id, $plugin_definition = NULL, $re // Return the class name from the plugin definition. return $plugin_definition[$plugin_id]['class']; } + } /** diff --git a/core/tests/Drupal/Tests/Component/Transliteration/PhpTransliterationTest.php b/core/tests/Drupal/Tests/Component/Transliteration/PhpTransliterationTest.php index 2d536837c91b40f6494aca247436c12663749431..a3c534aea6c6dd0d7ad6f201d482402fe9d50986 100644 --- a/core/tests/Drupal/Tests/Component/Transliteration/PhpTransliterationTest.php +++ b/core/tests/Drupal/Tests/Component/Transliteration/PhpTransliterationTest.php @@ -184,4 +184,5 @@ public function testSafeInclude() { $transliterated = $transliteration->transliterate(chr(0xC2) . chr(0x82), '../index'); $this->assertSame($transliterated, 'safe'); } + } diff --git a/core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php b/core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php index 660ff2a24391a434e389f089f0b68fe552aafc48..0d6babc5585676d84d386f095927faa9b69d3380 100644 --- a/core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php @@ -199,6 +199,7 @@ public function providerTestHandleUnresolvedArgument() { class TestClass { public function access($foo) { } + } /** diff --git a/core/tests/Drupal/Tests/Component/Utility/HtmlTest.php b/core/tests/Drupal/Tests/Component/Utility/HtmlTest.php index 193906bf497535c8df161d2253c217ae3b0b9768..88e0240be6423a1880f3a98bb617eaa0a1a9cf14 100644 --- a/core/tests/Drupal/Tests/Component/Utility/HtmlTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/HtmlTest.php @@ -320,4 +320,5 @@ public function testSerialize() { $result = Html::serialize($document); $this->assertSame('', $result); } + } diff --git a/core/tests/Drupal/Tests/Component/Utility/RandomTest.php b/core/tests/Drupal/Tests/Component/Utility/RandomTest.php index da28936720e8502e87ceb7f5d6742b77d33dd8df..b67758526895edef5b66882e92dae1eea9bed2c5 100644 --- a/core/tests/Drupal/Tests/Component/Utility/RandomTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/RandomTest.php @@ -163,4 +163,5 @@ public function _RandomStringValidate($string) { } return TRUE; } + } diff --git a/core/tests/Drupal/Tests/Component/Utility/SafeMarkupTest.php b/core/tests/Drupal/Tests/Component/Utility/SafeMarkupTest.php index 0e43609f9c34a0809c830e8d043dd51978e6b491..b1a36b9b8761c240700777dda4b294a405732168 100644 --- a/core/tests/Drupal/Tests/Component/Utility/SafeMarkupTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/SafeMarkupTest.php @@ -229,4 +229,5 @@ public function __toString() { */ class SafeMarkupTestMarkup implements MarkupInterface { use MarkupTrait; + } diff --git a/core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php b/core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php index b69f2a55f2245a7bc768ea109916d3e36ef878b4..87ab75f09c4384f190f7e6471ae813a71d8aeb8e 100644 --- a/core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php @@ -584,4 +584,5 @@ public function providerTestExternalIsLocalInvalid() { array('http://', 'http://example.com/foo'), ); } + } diff --git a/core/tests/Drupal/Tests/Component/Uuid/UuidTest.php b/core/tests/Drupal/Tests/Component/Uuid/UuidTest.php index 5dab76ef2c52eebdf9585028cdd4f738879267b8..96b004dd4b8d6821ace76b647a2e5078b6dc7522 100644 --- a/core/tests/Drupal/Tests/Component/Uuid/UuidTest.php +++ b/core/tests/Drupal/Tests/Component/Uuid/UuidTest.php @@ -93,4 +93,5 @@ public function providerTestValidation() { array('0ab26e6b-f074-4e44-9daf-1205fa0e9761f', FALSE, 'Invalid length was validated'), ); } + } diff --git a/core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php b/core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php index 9c04041ae5acc9f2674293757b06add595632a7d..eee526059392fa67bb037efd79222b49abad843b 100644 --- a/core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php @@ -568,4 +568,5 @@ protected function setupAccessArgumentsResolverFactory($constraint = NULL) { */ interface TestAccessCheckInterface extends AccessCheckInterface { public function access(); + } diff --git a/core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php b/core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php index cd6b6cc6c334d6bf539fff6d3959f4230b18ef16..fcfa4139270ec05ba21d0cc20105634ac7850ff4 100644 --- a/core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php +++ b/core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php @@ -91,5 +91,4 @@ public function testPrepareResponseForIeFormRequestsWithFileUpload() { $this->assertEquals($response->getContent(), ''); } - } diff --git a/core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php b/core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php index 8b1b3399f6d7301ab520a3026958d6174ef257d9..107cb2e2b35e5cdfcbba657acfbfe3816a91c6e9 100644 --- a/core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php @@ -165,4 +165,5 @@ class TestMemoryBackend extends MemoryBackend { public function getAllCids() { return array_keys($this->cache); } + } diff --git a/core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php b/core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php index 50f73137fcf4115adbc2b18c49fb1789086b8068..4b782130ce541daafc73c4fb112bc9f969710b57 100644 --- a/core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php @@ -500,5 +500,6 @@ function testRenderInvalidType() { ); $this->renderer->render($css_group); } + } } diff --git a/core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php b/core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php index ccada29c611313146bd74d29d73705b4947b54ae..32f76a1c24c0582fa30474086db7b644d6815880 100644 --- a/core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php @@ -297,4 +297,5 @@ public function testRemoveBin() { $chain->removeBin(); } + } diff --git a/core/tests/Drupal/Tests/Core/Cache/NullBackendTest.php b/core/tests/Drupal/Tests/Core/Cache/NullBackendTest.php index 973c73add7709cd2dea13c5a3b7f6618ad3e0bc2..cd2481748e8f054c1fcac6a875347672055645a1 100644 --- a/core/tests/Drupal/Tests/Core/Cache/NullBackendTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/NullBackendTest.php @@ -24,4 +24,5 @@ function testNullBackend() { $null_cache->set($key, $value); $this->assertFalse($null_cache->get($key)); } + } diff --git a/core/tests/Drupal/Tests/Core/Condition/ConditionAccessResolverTraitTest.php b/core/tests/Drupal/Tests/Core/Condition/ConditionAccessResolverTraitTest.php index e8b4a2ffa84b36bf0ef04f46f8fc904e61c29c27..00511d35849a92e4ee4a3354433975796c441689 100644 --- a/core/tests/Drupal/Tests/Core/Condition/ConditionAccessResolverTraitTest.php +++ b/core/tests/Drupal/Tests/Core/Condition/ConditionAccessResolverTraitTest.php @@ -88,4 +88,5 @@ class TestConditionAccessResolverTrait { use \Drupal\Core\Condition\ConditionAccessResolverTrait { resolveConditions as public; } + } diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php b/core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php index 79737d99eaea3b7e265c92a4fef6f10a5f4bf79f..75fe62534779937de98cd5c9c6f28d61e8d2acfe 100644 --- a/core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php +++ b/core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php @@ -130,4 +130,5 @@ protected function getConfigObject($name) { ->getMock(); return $config->setName($name); } + } diff --git a/core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php b/core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php index dc8c8d19ba76270665579f65533061f2efdbd20a..fec4d4c5f4295c7c253684c00dcc3c15d81e5c08 100644 --- a/core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php +++ b/core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php @@ -278,14 +278,17 @@ public static function create(ContainerInterface $container) { public function getResult() { return $this->result; } + } class MockContainerAware extends ContainerAware { public function getResult() { return 'This is container aware.'; } + } class MockInvokeController { public function __invoke() { return 'This used __invoke().'; } + } diff --git a/core/tests/Drupal/Tests/Core/Database/EmptyStatementTest.php b/core/tests/Drupal/Tests/Core/Database/EmptyStatementTest.php index 959b4ee18604ff3ae00751455fef80bda7426750..46b1cd75064cd5e6ec8b03da25103d41997b3dd4 100644 --- a/core/tests/Drupal/Tests/Core/Database/EmptyStatementTest.php +++ b/core/tests/Drupal/Tests/Core/Database/EmptyStatementTest.php @@ -38,4 +38,5 @@ function testEmptyFetchAll() { $this->assertEquals($result->fetchAll(), array(), 'Empty array returned from empty result set.'); } + } diff --git a/core/tests/Drupal/Tests/Core/Database/OrderByTest.php b/core/tests/Drupal/Tests/Core/Database/OrderByTest.php index 81b2c8d8184bf89500a332bfd1c5c3e83b6c93d8..bab257186b743e6ecb53e48acef4134069c10af7 100644 --- a/core/tests/Drupal/Tests/Core/Database/OrderByTest.php +++ b/core/tests/Drupal/Tests/Core/Database/OrderByTest.php @@ -46,4 +46,5 @@ public function testFieldEscaping() { $sql = $this->query->__toString(); $this->assertStringEndsWith('ORDER BY xDROPtablenode ASC', $sql, 'Order by field is escaped correctly.'); } + } diff --git a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php index 0448e2869ad1eb21439e8849030935cefbc428b3..2eeb603b4c7774c118d624161efb65185e434882 100644 --- a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php +++ b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php @@ -359,10 +359,12 @@ public function addNoPriority(HandlerInterface $instance) { } public function addWithId(HandlerInterface $instance, $id, $priority = 0) { } + } class InvalidConsumer { public function addHandler($instance, $priority = 0) { } + } class ValidConsumerWithExtraArguments { public function addHandler(HandlerInterface $instance, $priority = 0, $extra1 = '', $extra2 = '') { @@ -373,6 +375,7 @@ public function addWithId(HandlerInterface $instance, $id, $priority = 0, $extra } public function addWithDifferentOrder(HandlerInterface $instance, $extra1, $priority = 0, $extra2 = 'default2', $extra3 = 'default3') { } + } class ValidHandler implements HandlerInterface { } diff --git a/core/tests/Drupal/Tests/Core/DependencyInjection/DependencySerializationTest.php b/core/tests/Drupal/Tests/Core/DependencyInjection/DependencySerializationTest.php index 6b84d404554f31f413f3489dcb6fec51a5c503be..f5f9a849afce96a120f556c6480a91969ddb23d0 100644 --- a/core/tests/Drupal/Tests/Core/DependencyInjection/DependencySerializationTest.php +++ b/core/tests/Drupal/Tests/Core/DependencyInjection/DependencySerializationTest.php @@ -90,4 +90,5 @@ public function setContainer(ContainerInterface $container = NULL) { public function getServiceIds() { return $this->_serviceIds; } + } diff --git a/core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php b/core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php index 7928fad7e91dcbda0e6392cbdcf65da5eabd4f0a..36caa0015949ae1482a55a0d82fa17fcf696c250 100644 --- a/core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php +++ b/core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php @@ -133,6 +133,7 @@ public function testFindSitePath() { $this->assertEquals('sites/example', DrupalKernel::findSitePath($request, TRUE, $vfs_root->url('drupal_root'))); $this->assertEquals('sites/example', DrupalKernel::findSitePath($request, FALSE, $vfs_root->url('drupal_root'))); } + } } diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php index a44e6fc8caa35945ea7235ce429f3cf9024c81af..7cad93c2dc02b923a3853bb8c86208354e6fa4a5 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php @@ -784,6 +784,7 @@ public function testClearEntityFieldInfo() { $this->fieldDefinitions = []; $this->fieldStorageDefinitions = []; } + } /** diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php index 79447e5dc1d92a833c18a065a199d2229f4ff9de..f5c12649b42ae6e0fb78893597c7e0e17006fb41 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php @@ -143,4 +143,5 @@ class TestEntityListBuilder extends EntityTestListBuilder { public function buildOperations(EntityInterface $entity) { return array(); } + } diff --git a/core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php b/core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php index 9604157ea8b6af7fe16cd653cdbac7014310174e..b7debfffd77063901f4aa113a346ab5e4c471bc7 100644 --- a/core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php @@ -412,4 +412,5 @@ public function testGetIterator() { $this->entityAdapter->setValue(NULL); $this->assertEquals(new \ArrayIterator([]), $this->entityAdapter->getIterator()); } + } diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php index b1fb8411acff245821dc25271ab32cd4dec9c3c3..b945b141ffda87ec234d1c402653dfe408683723 100644 --- a/core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php +++ b/core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php @@ -267,4 +267,5 @@ public function providerTestSanitizeDestination() { return $data; } + } diff --git a/core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php b/core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php index 14ebde3d105cca570cbf120699f7a1585cc26175..aa45b3b70ac596f4b541c17d3026e6458e823fb4 100644 --- a/core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php @@ -511,4 +511,5 @@ public function testGetModuleDirectories() { $this->moduleHandler->addModule('module', 'place'); $this->assertEquals(array('module' => $this->root . '/place'), $this->moduleHandler->getModuleDirectories()); } + } diff --git a/core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php b/core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php index 89fa4aacf4f6d71a6e079c260b8e1e9b1923fb1b..8927597452a29e9bea64a5bc72d976df256d72fe 100644 --- a/core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php +++ b/core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php @@ -208,4 +208,5 @@ public function testDefaultValuesFormSubmit() { $this->assertNull($field_list->defaultValuesFormSubmit([], $form, $form_state)); } + } diff --git a/core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php b/core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php index cb2e1ecc91b9a66cea866a118e02340927e9379b..1530292d906dc0eaee4aaf95ee7bf9539d06d260 100644 --- a/core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php +++ b/core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php @@ -886,11 +886,13 @@ public function buildForm(array $form, FormStateInterface $form_state) { } public function validateForm(array &$form, FormStateInterface $form_state) { } public function submitForm(array &$form, FormStateInterface $form_state) { } + } class TestFormInjected extends TestForm implements ContainerInjectionInterface { public static function create(ContainerInterface $container) { return new static(); } + } diff --git a/core/tests/Drupal/Tests/Core/Form/FormStateTest.php b/core/tests/Drupal/Tests/Core/Form/FormStateTest.php index 23d7a0002aa639bf7987f9bab562a7dad523aeb9..f014d772c42a2931251224866cbc5db0c7f1bac1 100644 --- a/core/tests/Drupal/Tests/Core/Form/FormStateTest.php +++ b/core/tests/Drupal/Tests/Core/Form/FormStateTest.php @@ -583,6 +583,7 @@ public function testCleanValues($form_state) { $form_state->setValue('value_to_keep', 'magic_ponies'); $this->assertSame($form_state->cleanValues()->getValues(), ['value_to_keep' => 'magic_ponies']); } + } /** @@ -596,4 +597,5 @@ public function getFormId() { public function buildForm(array $form, FormStateInterface $form_state) {} public function validateForm(array &$form, FormStateInterface $form_state) { } public function submitForm(array &$form, FormStateInterface $form_state) { } + } diff --git a/core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php b/core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php index 0aa86fc2d2a6ceb0447d909bede001b534076fea..927360664daa3ebaef98a98bf943d44cc7ac1ee1 100644 --- a/core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php +++ b/core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php @@ -160,4 +160,5 @@ public function __construct(LoggerChannel $channel) { public function log($level, $message, array $context = []) { $this->channel->log(rand(0, 7), $message, $context); } + } diff --git a/core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php b/core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php index f7ee9414cf9557f70403e835c5e23a5c3143c407..2ca4d11f5e364df095d30179323897cd6a7bd9e6 100644 --- a/core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php @@ -123,6 +123,7 @@ public function testGetInstance() { $instance = $this->mailManager->getInstance($options); $this->assertInstanceOf('Drupal\Core\Mail\Plugin\Mail\TestMailCollector', $instance); } + } /** @@ -138,4 +139,5 @@ class TestMailManager extends MailManager { public function setDiscovery(DiscoveryInterface $discovery) { $this->discovery = $discovery; } + } diff --git a/core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php b/core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php index 005add6f6110ea6f496a8276fcd3c03cac8d0f54..1e7ec1ed8bba39897346cb2ed6977847b84e6def 100644 --- a/core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php @@ -321,4 +321,5 @@ public function setRouteProvider(RouteProviderInterface $route_provider) { $this->routeProvider = $route_provider; return $this; } + } diff --git a/core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php b/core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php index aa1f5d7d931401eec4fb07155152688417a9b711..f4ae1c9f132c1c0bce43392cb23cdc9d90cffdff 100644 --- a/core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php +++ b/core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php @@ -57,4 +57,5 @@ public function testNoAllowUnlessSessionCookiePresent() { $result = $this->policy->check($request_with_session); $this->assertSame(NULL, $result); } + } diff --git a/core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php b/core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php index 5f5bb0fd75c54368a95089f880b4676431d3b5e6..b456654957573e625f1ac5146c3c87cb16d9b701 100644 --- a/core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php +++ b/core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php @@ -152,4 +152,5 @@ public function getMatchPathData() { ), ); } + } diff --git a/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorFrontTest.php b/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorFrontTest.php index 56e0b8cee861cd88103fdd2f4b04cfaf0ca919a7..4076f1e0599f7edc60e1dc457c64b458ebe9aa88 100644 --- a/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorFrontTest.php +++ b/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorFrontTest.php @@ -82,4 +82,5 @@ public function providerProcessOutbound() { ['/user', '/user'], ]; } + } diff --git a/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php b/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php index ce78ac328cd29262494aaf50b89caa79c2b0a697..1134eccab63ee696c84346161c33044667a412ec 100644 --- a/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php +++ b/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php @@ -209,4 +209,5 @@ function testProcessInbound() { $processed = $processor_manager->processInbound($test_path, $request); $this->assertEquals('/user/1', $processed, 'Processing in the correct order resolves the system path from an alias.'); } + } diff --git a/core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php b/core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php index 36207f138f82cb37d7a0ae33d1c63023bb4c067b..d027f8a04de001af7d7debdfb1ca695f136c0d48 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php @@ -164,6 +164,7 @@ protected function setUpDefaultValue($default_value = NULL) { ->with($mock_data_definition, $default_value) ->willReturn($this->typedData); } + } /** diff --git a/core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php b/core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php index c18b00cfd45ef961acd713744521b32be4565032..0e883951a7a0f195d28c50f0decb40bacba78acc 100644 --- a/core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php +++ b/core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php @@ -156,6 +156,7 @@ protected function lazyLoadItself() return $expected_string; } + } class TestServiceNoMethod { diff --git a/core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php b/core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php index 7775cdef106869f99ab93fa30890269beb9183af..8e639f9047f5e5fcee48a4601f2d32f350782084 100644 --- a/core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php +++ b/core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php @@ -691,4 +691,5 @@ public function providerTestAddCachableDependency() { ], ]; } + } diff --git a/core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php b/core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php index e0d3717387b1e8837521323d53dafa39ef889502..647d82dbc6dc8f560706716077cef13aab5b82ab 100644 --- a/core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php @@ -151,6 +151,7 @@ public function testGetInfoProperty() { $this->assertNull($element_info->getInfoProperty('foo', '#non_existing_property')); $this->assertSame('qux', $element_info->getInfoProperty('foo', '#non_existing_property', 'qux')); } + } /** diff --git a/core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php b/core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php index e8d11b7f4b40a1e2ac6f5d524e92cde44d41e4ad..542bda6cb3f41b14ed14c419aa5606b8a549bc47 100644 --- a/core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php +++ b/core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php @@ -587,6 +587,7 @@ public function testOverWriteCacheKeys() { ]; $this->renderer->renderRoot($data); } + } diff --git a/core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php b/core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php index 593b1b114a2679dbf5be5ca1bd9a0e348017662c..c69c502e74075f092158bbab4ad0e8098327bd7e 100644 --- a/core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php @@ -273,6 +273,7 @@ public function testRebuildIfNeeded() { // This will not trigger a rebuild. $this->assertFalse($this->routeBuilder->rebuildIfNeeded()); } + } /** @@ -320,4 +321,5 @@ public function routesFromCollection() { $collection->add('test_route.2', new Route('/test-route/2')); return $collection; } + } diff --git a/core/tests/Drupal/Tests/Core/Routing/RoutingFixtures.php b/core/tests/Drupal/Tests/Core/Routing/RoutingFixtures.php index 05762353d33f35c28877dc96fdb3d89555e8df1d..d1826ed45e95b13f69dd76e76b196fd7d2551bad 100644 --- a/core/tests/Drupal/Tests/Core/Routing/RoutingFixtures.php +++ b/core/tests/Drupal/Tests/Core/Routing/RoutingFixtures.php @@ -238,4 +238,5 @@ public function routingTableDefinition() { return $tables; } + } diff --git a/core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php b/core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php index 4e5150c23e4a91b67b8b249b75eb96a61d837e04..0ddae48eb14d20685792ff62255db2478296ce9a 100644 --- a/core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php +++ b/core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php @@ -174,4 +174,5 @@ public function providerTestOtherMethods() { ['gc', TRUE, [42]], ]; } + } diff --git a/core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php b/core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php index 639768ddda9aeff9c299cd061649f5193930fe2a..593ce606d6012a9e642b2a89318154560b22722b 100644 --- a/core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php +++ b/core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php @@ -139,4 +139,5 @@ public function testSetFormat() { class StubNegotiationMiddleware extends NegotiationMiddleware { public function getContentType(Request $request) { return parent::getContentType($request); } + } diff --git a/core/tests/Drupal/Tests/Core/StackMiddleware/ReverseProxyMiddlewareTest.php b/core/tests/Drupal/Tests/Core/StackMiddleware/ReverseProxyMiddlewareTest.php index a6c253a137228d38b9028db86a6f1a640e8e12ab..9bbf2e17547afa68781ad3407a9153f3231d29ac 100644 --- a/core/tests/Drupal/Tests/Core/StackMiddleware/ReverseProxyMiddlewareTest.php +++ b/core/tests/Drupal/Tests/Core/StackMiddleware/ReverseProxyMiddlewareTest.php @@ -94,4 +94,5 @@ protected function trustedHeadersAreSet(Settings $settings) { $this->assertSame($settings->get('reverse_proxy_forwarded_header'), $request->getTrustedHeaderName($request::HEADER_FORWARDED)); $this->assertSame($settings->get('reverse_proxy_addresses'), $request->getTrustedProxies()); } + } diff --git a/core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php b/core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php index dfaab791c0ec7f766194ab4f9bc2bf0feadc8e8c..8ab6874e724d005a7229d34299f54fd447fe808b 100644 --- a/core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php +++ b/core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php @@ -97,6 +97,7 @@ public function providerTestTranslatePlaceholder() { ['bar %baz @bar', ['%baz' => 'baz', '@bar' => 'bar'], 'bar baz bar'], ]; } + } class TestTranslationManager extends TranslationManager { diff --git a/core/tests/Drupal/Tests/Core/UrlTest.php b/core/tests/Drupal/Tests/Core/UrlTest.php index 2571093e2782ebe7265f8423b292660207849db0..66013c4762af3ebc627f741ff4896127ea5a2b12 100644 --- a/core/tests/Drupal/Tests/Core/UrlTest.php +++ b/core/tests/Drupal/Tests/Core/UrlTest.php @@ -835,5 +835,4 @@ public function setAccessManager(AccessManagerInterface $access_manager) { $this->accessManager = $access_manager; } - }