';
/**
* Modules to enable.
diff --git a/core/modules/editor/src/Tests/QuickEditIntegrationLoadingTest.php b/core/modules/editor/src/Tests/QuickEditIntegrationLoadingTest.php
index cce6e04..e631a7a 100644
--- a/core/modules/editor/src/Tests/QuickEditIntegrationLoadingTest.php
+++ b/core/modules/editor/src/Tests/QuickEditIntegrationLoadingTest.php
@@ -58,7 +58,7 @@ protected function setUp() {
'type' => 'article',
'body' => array(
0 => array(
- 'value' => 'Do you also love Drupal?
',
+ 'value' => 'Do you also love Drupal?
',
'format' => 'filtered_html',
)
)
@@ -110,7 +110,7 @@ public function testUserWithPermission() {
$ajax_commands = Json::decode($response);
$this->assertIdentical(1, count($ajax_commands), 'The untransformed text POST request results in one AJAX command.');
$this->assertIdentical('editorGetUntransformedText', $ajax_commands[0]['command'], 'The first AJAX command is an editorGetUntransformedText command.');
- $this->assertIdentical('Do you also love Drupal?
', $ajax_commands[0]['data'], 'The editorGetUntransformedText command contains the expected data.');
+ $this->assertIdentical('Do you also love Drupal?
', $ajax_commands[0]['data'], 'The editorGetUntransformedText command contains the expected data.');
}
}
diff --git a/core/modules/entity_reference/src/Plugin/views/row/EntityReference.php b/core/modules/entity_reference/src/Plugin/views/row/EntityReference.php
index 3323933..5b7fa54 100644
--- a/core/modules/entity_reference/src/Plugin/views/row/EntityReference.php
+++ b/core/modules/entity_reference/src/Plugin/views/row/EntityReference.php
@@ -43,7 +43,7 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) {
parent::buildOptionsForm($form, $form_state);
// Expand the description of the 'Inline field' checkboxes.
- $form['inline']['#description'] .= ' ' . $this->t("Note: In 'Entity Reference' displays, all fields will be displayed inline unless an explicit selection of inline fields is made here." );
+ $form['inline']['#description'] .= ' ' . $this->t("Note: In 'Entity Reference' displays, all fields will be displayed inline unless an explicit selection of inline fields is made here." );
}
/**
diff --git a/core/modules/field_ui/src/DisplayOverviewBase.php b/core/modules/field_ui/src/DisplayOverviewBase.php
index 541500e..c01eb9c 100644
--- a/core/modules/field_ui/src/DisplayOverviewBase.php
+++ b/core/modules/field_ui/src/DisplayOverviewBase.php
@@ -402,7 +402,7 @@ protected function buildFieldRow(FieldDefinitionInterface $field_definition, Ent
if (!empty($summary)) {
$field_row['settings_summary'] = array(
'#type' => 'inline_template',
- '#template' => '{{ summary|safe_join(" ") }}
',
+ '#template' => '{{ summary|safe_join(" ") }}
',
'#context' => array('summary' => $summary),
'#cell_attributes' => array('class' => array('field-plugin-summary-cell')),
);
diff --git a/core/modules/field_ui/src/Form/FieldEditForm.php b/core/modules/field_ui/src/Form/FieldEditForm.php
index 8de533c..03c8541 100644
--- a/core/modules/field_ui/src/Form/FieldEditForm.php
+++ b/core/modules/field_ui/src/Form/FieldEditForm.php
@@ -127,7 +127,7 @@ public function buildForm(array $form, FormStateInterface $form_state, FieldConf
'#title' => $this->t('Help text'),
'#default_value' => $this->field->getDescription(),
'#rows' => 5,
- '#description' => $this->t('Instructions to present to the user below this field on the editing form. Allowed HTML tags: @tags', array('@tags' => $this->displayAllowedTags())) . ' ' . $this->t('This field supports tokens.'),
+ '#description' => $this->t('Instructions to present to the user below this field on the editing form. Allowed HTML tags: @tags', array('@tags' => $this->displayAllowedTags())) . ' ' . $this->t('This field supports tokens.'),
'#weight' => -10,
);
diff --git a/core/modules/field_ui/src/Tests/ManageDisplayTest.php b/core/modules/field_ui/src/Tests/ManageDisplayTest.php
index 4839309..16aa16c 100644
--- a/core/modules/field_ui/src/Tests/ManageDisplayTest.php
+++ b/core/modules/field_ui/src/Tests/ManageDisplayTest.php
@@ -443,7 +443,7 @@ function assertNodeViewTextHelper(EntityInterface $node, $view_mode, $text, $mes
$clone = clone $node;
$element = node_view($clone, $view_mode);
$output = drupal_render($element);
- $this->verbose(t('Rendered node - view mode: @view_mode', array('@view_mode' => $view_mode)) . ' '. $output);
+ $this->verbose(t('Rendered node - view mode: @view_mode', array('@view_mode' => $view_mode)) . ' '. $output);
// Assign content so that WebTestBase functions can be used.
$this->drupalSetContent($output);
diff --git a/core/modules/file/templates/file-upload-help.html.twig b/core/modules/file/templates/file-upload-help.html.twig
index 8fa6b3e..07be817 100644
--- a/core/modules/file/templates/file-upload-help.html.twig
+++ b/core/modules/file/templates/file-upload-help.html.twig
@@ -11,4 +11,4 @@
* @ingroup themeable
*/
#}
-{{ descriptions|safe_join(' ') }}
+{{ descriptions|safe_join(' ') }}
diff --git a/core/modules/filter/src/Plugin/Filter/FilterAutoP.php b/core/modules/filter/src/Plugin/Filter/FilterAutoP.php
index 0627527..0e2fb34 100644
--- a/core/modules/filter/src/Plugin/Filter/FilterAutoP.php
+++ b/core/modules/filter/src/Plugin/Filter/FilterAutoP.php
@@ -33,7 +33,7 @@ public function process($text, $langcode) {
*/
public function tips($long = FALSE) {
if ($long) {
- return $this->t('Lines and paragraphs are automatically recognized. The <br /> line break, <p> paragraph and </p> close paragraph tags are inserted automatically. If paragraphs are not recognized simply add a couple of blank lines.');
+ return $this->t('Lines and paragraphs are automatically recognized. The <br> line break, <p> paragraph and </p> close paragraph tags are inserted automatically. If paragraphs are not recognized simply add a couple of blank lines.');
}
else {
return $this->t('Lines and paragraphs break automatically.');
diff --git a/core/modules/filter/src/Plugin/Filter/FilterHtml.php b/core/modules/filter/src/Plugin/Filter/FilterHtml.php
index b76933e..831bb23 100644
--- a/core/modules/filter/src/Plugin/Filter/FilterHtml.php
+++ b/core/modules/filter/src/Plugin/Filter/FilterHtml.php
@@ -103,7 +103,7 @@ public function tips($long = FALSE) {
$output .= '' . $this->t('For more information see W3C\'s HTML Specifications or use your favorite search engine to find other sites that explain HTML.', array('@html-specifications' => 'http://www.w3.org/TR/html/')) . '
';
$tips = array(
'a' => array($this->t('Anchors are used to make links to other pages.'), '' . String::checkPlain(\Drupal::config('system.site')->get('name')) . ' '),
- 'br' => array($this->t('By default line break tags are automatically added, so use this tag to add additional ones. Use of this tag is different because it is not used with an open/close pair like all the others. Use the extra " /" inside the tag to maintain XHTML 1.0 compatibility'), $this->t('Text with line break')),
+ 'br' => array($this->t('By default line break tags are automatically added, so use this tag to add additional ones. Use of this tag is different because it is not used with an open/close pair like all the others. Use the extra " /" inside the tag to maintain XHTML 1.0 compatibility'), $this->t('Text with line break')),
'p' => array($this->t('By default paragraph tags are automatically added, so use this tag to add additional ones.'), '' . $this->t('Paragraph one.') . '
' . $this->t('Paragraph two.') . '
'),
'strong' => array($this->t('Strong', array(), array('context' => 'Font weight')), '' . $this->t('Strong', array(), array('context' => 'Font weight')) . ' '),
'em' => array($this->t('Emphasized'), '' . $this->t('Emphasized') . ' '),
diff --git a/core/modules/filter/src/Tests/FilterUnitTest.php b/core/modules/filter/src/Tests/FilterUnitTest.php
index 00977ab..bbfbcdc 100644
--- a/core/modules/filter/src/Tests/FilterUnitTest.php
+++ b/core/modules/filter/src/Tests/FilterUnitTest.php
@@ -233,7 +233,7 @@ function testLineBreakFilter() {
// strings and expectations, we're using "\n" instead of regular newlines
// here.
$tests = array(
- // Single line breaks should be changed to tags, while paragraphs
+ // Single line breaks should be changed to tags, while paragraphs
// separated with double line breaks should be enclosed with
tags.
"aaa\nbbb\n\nccc" => array(
"aaa \nbbb
\nccc
" => TRUE,
@@ -294,7 +294,7 @@ function testLineBreakFilter() {
$result = _filter_autop($source);
$success = $this->assertEqual($result, '' . $source . "
\n", 'Line break filter can process very long strings.');
if (!$success) {
- $this->verbose("\n" . $source . "\n \n" . $result);
+ $this->verbose("\n" . $source . "\n \n" . $result);
}
}
@@ -342,7 +342,7 @@ function testHtmlFilter() {
$f = _filter_html(' ', $filter);
$this->assertNoNormalized($f, 'img', 'HTML filter should remove img tags on default.');
- $f = _filter_html(' ', $filter);
+ $f = _filter_html(' ', $filter);
$this->assertNoNormalized($f, 'img', 'HTML filter should remove input tags on default.');
// Filtering content of some attributes is infeasible, these shouldn't be
@@ -621,7 +621,7 @@ function testUrlFilter() {
'href="http://www.example.pooh"' => TRUE,
),
'
-Test <br/>: This is a www.example17.com example with various http://www.example18.com tags. *
+
Test <br/>: This is a www.example17.com example with various http://www.example18.com tags. *
It is important www.example19.com to * test different URLs and http://www.example20.com in the same paragraph. *
HTML www.example21.com soup by person@example22.com can litererally http://www.example23.com contain *img* anything. Just a www.example24.com with http://www.example25.com thrown in. www.example26.com from person@example27.com with extra http://www.example28.com.
' => array(
@@ -762,8 +762,8 @@ function assertFilteredString($filter, $tests) {
}
if (!$success) {
$this->verbose('Source:
' . String::checkPlain(var_export($source, TRUE)) . ' '
- . ' ' . 'Result:' . String::checkPlain(var_export($result, TRUE)) . ' '
- . ' ' . ($is_expected ? 'Expected:' : 'Not expected:')
+ . ' ' . 'Result:' . String::checkPlain(var_export($result, TRUE)) . ' '
+ . ' ' . ($is_expected ? 'Expected:' : 'Not expected:')
. '' . String::checkPlain(var_export($value, TRUE)) . ' '
);
}
@@ -824,7 +824,7 @@ function testHtmlCorrectorFilter() {
$this->assertEqual($f, 'content
', 'HTML corrector -- unclosed tag with attribute.');
// XHTML slash for empty elements.
- $f = Html::normalize(' ');
+ $f = Html::normalize(' ');
$this->assertEqual($f, ' ', 'HTML corrector -- XHTML closing slash.');
$f = Html::normalize('test
');
@@ -839,13 +839,13 @@ function testHtmlCorrectorFilter() {
$f = Html::normalize('test ');
$this->assertEqual($f, 'test ', 'HTML corrector -- Let proper XHTML pass through, but ensure there is a single space before the closing slash.');
- $f = Html::normalize('test ');
+ $f = Html::normalize('test ');
$this->assertEqual($f, 'test ', 'HTML corrector -- Let proper XHTML pass through, but ensure there are not too many spaces before the closing slash.');
$f = Html::normalize(' ');
$this->assertEqual($f, ' ', 'HTML corrector -- Convert XHTML that is properly formed but that would not be compatible with typical HTML user agents.');
- $f = Html::normalize('test1 test2');
+ $f = Html::normalize('test1 test2');
$this->assertEqual($f, 'test1 test2', 'HTML corrector -- Automatically close single tags.');
$f = Html::normalize('line1 line2');
@@ -863,7 +863,7 @@ function testHtmlCorrectorFilter() {
$f = Html::normalize('
');
$this->assertEqual($f, '
', "HTML corrector -- Do not transform empty tags to a single closed tag if the tag's content model is not EMPTY.");
- $f = Html::normalize('line1
line2');
+ $f = Html::normalize('line1
line2');
$this->assertEqual($f, 'line1
line2', 'HTML corrector -- Move non-inline elements outside of inline containers.');
$f = Html::normalize('line1
line2
');
@@ -872,7 +872,7 @@ function testHtmlCorrectorFilter() {
$f = Html::normalize('test
test
\n');
$this->assertEqual($f, 'test
test
\n', 'HTML corrector -- Auto-close improperly nested tags.');
- $f = Html::normalize('Line1bold stuff');
+ $f = Html::normalize('Line1bold stuff');
$this->assertEqual($f, 'Line1bold stuff
', 'HTML corrector -- Properly close unclosed tags, and remove useless closing tags.');
$f = Html::normalize('test ');
diff --git a/core/modules/filter/tests/filter_test/src/Plugin/Filter/FilterTestReplace.php b/core/modules/filter/tests/filter_test/src/Plugin/Filter/FilterTestReplace.php
index 735c02d..a622b29 100644
--- a/core/modules/filter/tests/filter_test/src/Plugin/Filter/FilterTestReplace.php
+++ b/core/modules/filter/tests/filter_test/src/Plugin/Filter/FilterTestReplace.php
@@ -29,7 +29,7 @@ public function process($text, $langcode) {
$text = array();
$text[] = 'Filter: ' . $this->getLabel() . ' (' . $this->getPluginId() . ')';
$text[] = 'Language: ' . $langcode;
- return new FilterProcessResult(implode(" \n", $text));
+ return new FilterProcessResult(implode(" \n", $text));
}
}
diff --git a/core/modules/forum/forum.module b/core/modules/forum/forum.module
index 6b99955..7c02bc8 100644
--- a/core/modules/forum/forum.module
+++ b/core/modules/forum/forum.module
@@ -558,7 +558,7 @@ function template_preprocess_forums(&$variables) {
else {
$new_replies = '';
if ($topic->new_replies) {
- $new_replies = '' . $topic->new_text . ' ';
+ $new_replies = '' . $topic->new_text . ' ';
}
$row[] = array(
diff --git a/core/modules/forum/templates/forum-list.html.twig b/core/modules/forum/templates/forum-list.html.twig
index 5b41f6a..6fae175 100644
--- a/core/modules/forum/templates/forum-list.html.twig
+++ b/core/modules/forum/templates/forum-list.html.twig
@@ -68,7 +68,7 @@
{{ forum.num_topics }}
{% if forum.new_topics == true %}
-
+
{{ forum.new_text }}
{% endif %}
diff --git a/core/modules/image/src/Tests/ImageDimensionsTest.php b/core/modules/image/src/Tests/ImageDimensionsTest.php
index 4d6c76b..06b07a3 100644
--- a/core/modules/image/src/Tests/ImageDimensionsTest.php
+++ b/core/modules/image/src/Tests/ImageDimensionsTest.php
@@ -67,7 +67,7 @@ function testImageDimensions() {
$style->addImageEffect($effect);
$style->save();
- $this->assertEqual($this->getImageTag($variables), ' ');
+ $this->assertEqual($this->getImageTag($variables), ' ');
$this->assertFalse(file_exists($generated_uri), 'Generated file does not exist.');
$this->drupalGet($url);
$this->assertResponse(200, 'Image was generated at the URL.');
@@ -88,7 +88,7 @@ function testImageDimensions() {
$style->addImageEffect($effect);
$style->save();
- $this->assertEqual($this->getImageTag($variables), ' ');
+ $this->assertEqual($this->getImageTag($variables), ' ');
$this->assertFalse(file_exists($generated_uri), 'Generated file does not exist.');
$this->drupalGet($url);
$this->assertResponse(200, 'Image was generated at the URL.');
@@ -110,7 +110,7 @@ function testImageDimensions() {
$style->addImageEffect($effect);
$style->save();
- $this->assertEqual($this->getImageTag($variables), ' ');
+ $this->assertEqual($this->getImageTag($variables), ' ');
$this->assertFalse(file_exists($generated_uri), 'Generated file does not exist.');
$this->drupalGet($url);
$this->assertResponse(200, 'Image was generated at the URL.');
@@ -132,7 +132,7 @@ function testImageDimensions() {
$style->addImageEffect($effect);
$style->save();
- $this->assertEqual($this->getImageTag($variables), ' ');
+ $this->assertEqual($this->getImageTag($variables), ' ');
$this->assertFalse(file_exists($generated_uri), 'Generated file does not exist.');
$this->drupalGet($url);
$this->assertResponse(200, 'Image was generated at the URL.');
@@ -150,7 +150,7 @@ function testImageDimensions() {
$style->addImageEffect($effect);
$style->save();
- $this->assertEqual($this->getImageTag($variables), ' ');
+ $this->assertEqual($this->getImageTag($variables), ' ');
$this->assertFalse(file_exists($generated_uri), 'Generated file does not exist.');
$this->drupalGet($url);
$this->assertResponse(200, 'Image was generated at the URL.');
@@ -171,7 +171,7 @@ function testImageDimensions() {
$style->addImageEffect($effect);
$style->save();
- $this->assertEqual($this->getImageTag($variables), ' ');
+ $this->assertEqual($this->getImageTag($variables), ' ');
$this->assertFalse(file_exists($generated_uri), 'Generated file does not exist.');
$this->drupalGet($url);
$this->assertResponse(200, 'Image was generated at the URL.');
@@ -191,7 +191,7 @@ function testImageDimensions() {
$style->addImageEffect($effect);
$style->save();
- $this->assertEqual($this->getImageTag($variables), ' ');
+ $this->assertEqual($this->getImageTag($variables), ' ');
$this->assertFalse(file_exists($generated_uri), 'Generated file does not exist.');
$this->drupalGet($url);
$this->assertResponse(200, 'Image was generated at the URL.');
@@ -212,7 +212,7 @@ function testImageDimensions() {
$effect_id = $style->addImageEffect($effect);
$style->save();
- $this->assertEqual($this->getImageTag($variables), ' ');
+ $this->assertEqual($this->getImageTag($variables), ' ');
$this->assertFalse(file_exists($generated_uri), 'Generated file does not exist.');
$this->drupalGet($url);
$this->assertResponse(200, 'Image was generated at the URL.');
@@ -231,7 +231,7 @@ function testImageDimensions() {
$style->addImageEffect($effect);
$style->save();
- $this->assertEqual($this->getImageTag($variables), ' ');
+ $this->assertEqual($this->getImageTag($variables), ' ');
}
/**
diff --git a/core/modules/locale/locale.pages.inc b/core/modules/locale/locale.pages.inc
index 7a3ee6a..cfc791a 100644
--- a/core/modules/locale/locale.pages.inc
+++ b/core/modules/locale/locale.pages.inc
@@ -61,12 +61,12 @@ function theme_locale_translate_edit_form_strings(array $variables) {
foreach (Element::children($form) as $lid) {
$string = $form[$lid];
if ($string['plural']['#value']) {
- $source = drupal_render($string['original_singular']) . ' ' . drupal_render($string['original_plural']);
+ $source = drupal_render($string['original_singular']) . ' ' . drupal_render($string['original_plural']);
}
else {
$source = drupal_render($string['original']);
}
- $source .= empty($string['context']) ? '' : '' . t('In Context') . ': ' . $string['context']['#value'] . ' ';
+ $source .= empty($string['context']) ? '' : '' . t('In Context') . ': ' . $string['context']['#value'] . ' ';
$rows[] = array(
array('data' => SafeMarkup::set($source)),
array('data' => $string['translations']),
diff --git a/core/modules/options/src/Plugin/Field/FieldType/ListFloatItem.php b/core/modules/options/src/Plugin/Field/FieldType/ListFloatItem.php
index 6fa8fbe..f0bbcac 100644
--- a/core/modules/options/src/Plugin/Field/FieldType/ListFloatItem.php
+++ b/core/modules/options/src/Plugin/Field/FieldType/ListFloatItem.php
@@ -55,9 +55,9 @@ public static function schema(FieldStorageDefinitionInterface $field_definition)
*/
protected function allowedValuesDescription() {
$description = '' . t('The possible values this field can contain. Enter one value per line, in the format key|label.');
- $description .= ' ' . t('The key is the stored value, and must be numeric. The label will be used in displayed values and edit forms.');
- $description .= ' ' . t('The label is optional: if a line contains a single number, it will be used as key and label.');
- $description .= ' ' . t('Lists of labels are also accepted (one label per line), only if the field does not hold any values yet. Numeric keys will be automatically generated from the positions in the list.');
+ $description .= ' ' . t('The key is the stored value, and must be numeric. The label will be used in displayed values and edit forms.');
+ $description .= ' ' . t('The label is optional: if a line contains a single number, it will be used as key and label.');
+ $description .= ' ' . t('Lists of labels are also accepted (one label per line), only if the field does not hold any values yet. Numeric keys will be automatically generated from the positions in the list.');
$description .= '
';
$description .= '' . t('Allowed HTML tags in labels: @tags', array('@tags' => $this->displayAllowedTags())) . '
';
return $description;
diff --git a/core/modules/options/src/Plugin/Field/FieldType/ListStringItem.php b/core/modules/options/src/Plugin/Field/FieldType/ListStringItem.php
index d74049a..02e63c2 100644
--- a/core/modules/options/src/Plugin/Field/FieldType/ListStringItem.php
+++ b/core/modules/options/src/Plugin/Field/FieldType/ListStringItem.php
@@ -58,8 +58,8 @@ public static function schema(FieldStorageDefinitionInterface $field_definition)
*/
protected function allowedValuesDescription() {
$description = '' . t('The possible values this field can contain. Enter one value per line, in the format key|label.');
- $description .= ' ' . t('The key is the stored value. The label will be used in displayed values and edit forms.');
- $description .= ' ' . t('The label is optional: if a line contains a single string, it will be used as key and label.');
+ $description .= ' ' . t('The key is the stored value. The label will be used in displayed values and edit forms.');
+ $description .= ' ' . t('The label is optional: if a line contains a single string, it will be used as key and label.');
$description .= '
';
$description .= '' . t('Allowed HTML tags in labels: @tags', array('@tags' => $this->displayAllowedTags())) . '
';
return $description;
diff --git a/core/modules/responsive_image/responsive_image.module b/core/modules/responsive_image/responsive_image.module
index bdb2a83..35a6bc5 100644
--- a/core/modules/responsive_image/responsive_image.module
+++ b/core/modules/responsive_image/responsive_image.module
@@ -276,17 +276,17 @@ function theme_responsive_image_source($variables) {
$output = array();
if (isset($variables['media']) && !empty($variables['media'])) {
if (!isset($variables['srcset'])) {
- $output[] = '';
- $output[] = ' ';
+ $output[] = '';
+ $output[] = '';
}
elseif (!isset($variables['src'])) {
- $output[] = '';
- $output[] = ' ';
+ $output[] = '';
+ $output[] = '';
}
}
else {
- $output[] = '';
- $output[] = ' ';
+ $output[] = '';
+ $output[] = '';
}
return implode("\n", $output);
}
diff --git a/core/modules/rest/src/Tests/AuthTest.php b/core/modules/rest/src/Tests/AuthTest.php
index 230b24c..f7b1fa1 100644
--- a/core/modules/rest/src/Tests/AuthTest.php
+++ b/core/modules/rest/src/Tests/AuthTest.php
@@ -95,7 +95,7 @@ protected function basicAuthGet($path, $username, $password) {
);
$this->verbose('GET request to: ' . $path .
- ' ' . $out);
+ ' ' . $out);
return $out;
}
diff --git a/core/modules/rest/src/Tests/RESTTestBase.php b/core/modules/rest/src/Tests/RESTTestBase.php
index 32fa9c3..d286d0c 100644
--- a/core/modules/rest/src/Tests/RESTTestBase.php
+++ b/core/modules/rest/src/Tests/RESTTestBase.php
@@ -150,9 +150,9 @@ protected function httpRequest($url, $method, $body = NULL, $mime_type = NULL) {
$headers = implode("\n", $headers);
$this->verbose($method . ' request to: ' . $url .
- ' Code: ' . curl_getinfo($this->curlHandle, CURLINFO_HTTP_CODE) .
- ' Response headers: ' . $headers .
- ' Response body: ' . $response);
+ ' Code: ' . curl_getinfo($this->curlHandle, CURLINFO_HTTP_CODE) .
+ ' Response headers: ' . $headers .
+ ' Response body: ' . $response);
return $response;
}
diff --git a/core/modules/simpletest/simpletest.js b/core/modules/simpletest/simpletest.js
index 7e365bd..f19dc6d 100644
--- a/core/modules/simpletest/simpletest.js
+++ b/core/modules/simpletest/simpletest.js
@@ -31,7 +31,7 @@
$(context).find('.simpletest-group').once('simpletest-group-select-all', function () {
var $group = $(this);
var $cell = $group.find('.simpletest-group-select-all');
- var $groupCheckbox = $(' ');
+ var $groupCheckbox = $(' ');
var $testCheckboxes = $group.nextUntil('.simpletest-group').find('input[type=checkbox]');
$cell.append($groupCheckbox);
diff --git a/core/modules/simpletest/src/AssertContentTrait.php b/core/modules/simpletest/src/AssertContentTrait.php
index 0836987..7fc3819 100644
--- a/core/modules/simpletest/src/AssertContentTrait.php
+++ b/core/modules/simpletest/src/AssertContentTrait.php
@@ -743,9 +743,9 @@ protected function assertNoTitle($title, $message = '', $group = 'Other') {
protected function assertThemeOutput($callback, array $variables = array(), $expected = '', $message = '', $group = 'Other') {
$output = \Drupal::theme()->render($callback, $variables);
$this->verbose(
- ' ' . 'Result:' . '' . String::checkPlain(var_export($output, TRUE)) . ' '
- . ' ' . 'Expected:' . '' . String::checkPlain(var_export($expected, TRUE)) . ' '
- . ' ' . $output
+ ' ' . 'Result:' . '' . String::checkPlain(var_export($output, TRUE)) . ' '
+ . ' ' . 'Expected:' . '' . String::checkPlain(var_export($expected, TRUE)) . ' '
+ . ' ' . $output
);
if (!$message) {
$message = '%callback rendered correctly.';
diff --git a/core/modules/simpletest/src/TestBase.php b/core/modules/simpletest/src/TestBase.php
index 9475715..867c533 100644
--- a/core/modules/simpletest/src/TestBase.php
+++ b/core/modules/simpletest/src/TestBase.php
@@ -741,7 +741,7 @@ protected function verbose($message) {
return;
}
- $message = ' ID #' . $this->verboseId . ' (Previous | Next ) ' . $message;
+ $message = ' ID #' . $this->verboseId . ' (Previous | Next ) ' . $message;
$verbose_filename = $this->verboseDirectory . '/' . $this->verboseClassName . '-' . $this->verboseId . '.html';
if (file_put_contents($verbose_filename, $message, FILE_APPEND)) {
$url = $this->verboseDirectoryUrl . '/' . $this->verboseClassName . '-' . $this->verboseId . '.html';
diff --git a/core/modules/simpletest/src/WebTestBase.php b/core/modules/simpletest/src/WebTestBase.php
index 730f84f..5ea7e9d 100644
--- a/core/modules/simpletest/src/WebTestBase.php
+++ b/core/modules/simpletest/src/WebTestBase.php
@@ -1471,11 +1471,11 @@ protected function drupalGet($path, array $options = array(), array $headers = a
}
$verbose = 'GET request to: ' . $path .
- ' Ending URL: ' . $this->getUrl();
+ ' Ending URL: ' . $this->getUrl();
if ($this->dumpHeaders) {
- $verbose .= ' Headers: ' . String::checkPlain(var_export(array_map('trim', $this->headers), TRUE)) . ' ';
+ $verbose .= ' Headers: ' . String::checkPlain(var_export(array_map('trim', $this->headers), TRUE)) . ' ';
}
- $verbose .= ' ' . $out;
+ $verbose .= ' ' . $out;
$this->verbose($verbose);
return $out;
@@ -1662,12 +1662,12 @@ protected function drupalPostForm($path, $edit, $submit, array $options = array(
}
$verbose = 'POST request to: ' . $path;
- $verbose .= ' Ending URL: ' . $this->getUrl();
+ $verbose .= ' Ending URL: ' . $this->getUrl();
if ($this->dumpHeaders) {
- $verbose .= ' Headers: ' . String::checkPlain(var_export(array_map('trim', $this->headers), TRUE)) . ' ';
+ $verbose .= ' Headers: ' . String::checkPlain(var_export(array_map('trim', $this->headers), TRUE)) . ' ';
}
- $verbose .= ' Fields: ' . highlight_string('' . $out;
+ $verbose .= ' Fields: ' . highlight_string('' . $out;
$this->verbose($verbose);
return $out;
@@ -1787,9 +1787,9 @@ protected function drupalPostAjaxForm($path, $edit, $triggering_element, $ajax_p
}
$verbose = 'AJAX POST request to: ' . $path;
- $verbose .= ' AJAX controller path: ' . $ajax_path;
- $verbose .= ' Ending URL: ' . $this->getUrl();
- $verbose .= ' ' . $this->content;
+ $verbose .= ' AJAX controller path: ' . $ajax_path;
+ $verbose .= ' Ending URL: ' . $this->getUrl();
+ $verbose .= ' ' . $this->content;
$this->verbose($verbose);
@@ -2073,8 +2073,8 @@ protected function drupalHead($path, array $options = array(), array $headers =
if ($this->dumpHeaders) {
$this->verbose('GET request to: ' . $path .
- ' Ending URL: ' . $this->getUrl() .
- ' Headers: ' . String::checkPlain(var_export(array_map('trim', $this->headers), TRUE)) . ' ');
+ ' Ending URL: ' . $this->getUrl() .
+ ' Headers: ' . String::checkPlain(var_export(array_map('trim', $this->headers), TRUE)) . ' ');
}
return $out;
diff --git a/core/modules/statistics/src/Plugin/Block/StatisticsPopularBlock.php b/core/modules/statistics/src/Plugin/Block/StatisticsPopularBlock.php
index 5e42e1c..3817ba1 100644
--- a/core/modules/statistics/src/Plugin/Block/StatisticsPopularBlock.php
+++ b/core/modules/statistics/src/Plugin/Block/StatisticsPopularBlock.php
@@ -123,17 +123,17 @@ public function build() {
if ($this->day_list) {
$content['top_day'] = $this->day_list;
- $content['top_day']['#suffix'] = ' ';
+ $content['top_day']['#suffix'] = ' ';
}
if ($this->all_time_list) {
$content['top_all'] = $this->all_time_list;
- $content['top_all']['#suffix'] = ' ';
+ $content['top_all']['#suffix'] = ' ';
}
if ($this->last_list) {
$content['top_last'] = $this->last_list;
- $content['top_last']['#suffix'] = ' ';
+ $content['top_last']['#suffix'] = ' ';
}
return $content;
diff --git a/core/modules/system/src/Controller/SystemController.php b/core/modules/system/src/Controller/SystemController.php
index 22bade6..d26d52b 100644
--- a/core/modules/system/src/Controller/SystemController.php
+++ b/core/modules/system/src/Controller/SystemController.php
@@ -397,7 +397,7 @@ public static function setLinkActiveClass(array $element, array $context) {
// Parse it into a DOMDocument so we can reliably read and modify
// attributes.
$dom = new \DOMDocument();
- @$dom->loadHTML(' ' . $tag . '');
+ @$dom->loadHTML(' ' . $tag . '');
$node = $dom->getElementsByTagName('body')->item(0)->firstChild;
// The language of an active link is equal to the current language.
diff --git a/core/modules/system/src/Tests/Common/RenderWebTest.php b/core/modules/system/src/Tests/Common/RenderWebTest.php
index c2cb88f..6bceb02 100644
--- a/core/modules/system/src/Tests/Common/RenderWebTest.php
+++ b/core/modules/system/src/Tests/Common/RenderWebTest.php
@@ -150,7 +150,7 @@ function testDrupalRenderFormElements() {
protected function assertRenderedElement(array $element, $xpath, array $xpath_args = array()) {
$original_element = $element;
$this->drupalSetContent(drupal_render_root($element));
- $this->verbose(' ' . $this->drupalGetContent());
+ $this->verbose(' ' . $this->drupalGetContent());
// @see \Drupal\simpletest\WebTestBase::xpath()
$xpath = $this->buildXPathQuery($xpath, $xpath_args);
diff --git a/core/modules/system/src/Tests/Form/ProgrammaticTest.php b/core/modules/system/src/Tests/Form/ProgrammaticTest.php
index ef8130c..71979d2 100644
--- a/core/modules/system/src/Tests/Form/ProgrammaticTest.php
+++ b/core/modules/system/src/Tests/Form/ProgrammaticTest.php
@@ -82,7 +82,7 @@ private function submitForm($values, $valid_input) {
'%values' => print_r($values, TRUE),
'%errors' => $valid_form ? t('None') : implode(' ', $errors),
);
- $this->assertTrue($valid_input == $valid_form, format_string('Input values: %values Validation handler errors: %errors', $args));
+ $this->assertTrue($valid_input == $valid_form, format_string('Input values: %values Validation handler errors: %errors', $args));
// We check submitted values only if we have a valid input.
if ($valid_input) {
diff --git a/core/modules/system/src/Tests/Mail/HtmlToTextTest.php b/core/modules/system/src/Tests/Mail/HtmlToTextTest.php
index 57de914..681a9dc 100644
--- a/core/modules/system/src/Tests/Mail/HtmlToTextTest.php
+++ b/core/modules/system/src/Tests/Mail/HtmlToTextTest.php
@@ -59,12 +59,12 @@ protected function assertHtmlToText($html, $text, $message, $allowed_tags = NULL
$result = MailFormatHelper::htmlToText($html, $allowed_tags);
$pass = $this->assertEqual($result, $text, String::checkPlain($message));
$verbose = 'html = ' . $this->stringToHtml($html)
- . ' ' . 'result = ' . $this->stringToHtml($result)
- . ' ' . 'expected = ' . $this->stringToHtml($text)
+ . ' ' . 'result = ' . $this->stringToHtml($result)
+ . ' ' . 'expected = ' . $this->stringToHtml($text)
. ' ';
$this->verbose($verbose);
if (!$pass) {
- $this->pass("Previous test verbose info: $verbose");
+ $this->pass("Previous test verbose info: $verbose");
}
}
@@ -219,7 +219,7 @@ public function testDrupalHtmltoTextCollapsesWhitespace() {
public function testDrupalHtmlToTextBlockTagToNewline() {
$input = '[text]'
. '[blockquote] '
- . ' [br]'
+ . ' [br]'
. '[dl-dt] '
. '[dt] '
. '[dd] '
@@ -230,7 +230,7 @@ public function testDrupalHtmlToTextBlockTagToNewline() {
. '[h4] '
. '[h5] '
. '[h6] '
- . ' [hr]'
+ . ' [hr]'
. '[ol-li] '
. '[li] '
. '[li-ol] '
@@ -257,7 +257,7 @@ public function testDrupalHtmlToTextBlockTagToNewline() {
if (!$pass) {
$this->verbose(
$upper_output
- . ' should be equal to '
+ . ' should be equal to '
. $output_upper
);
}
@@ -294,9 +294,9 @@ public function testHeaderSeparation() {
public function testFootnoteReferences() {
global $base_path, $base_url;
$source = 'Host and path '
- . 'Host, no path '
- . 'Path, no host '
- . 'Relative path ';
+ . 'Host, no path '
+ . 'Path, no host '
+ . 'Relative path ';
// @todo Footnote URLs should be absolute.
$tt = "Host and path [1]"
. "\nHost, no path [2]"
@@ -319,12 +319,12 @@ public function testFootnoteReferences() {
public function testDrupalHtmlToTextParagraphs() {
$tests = array();
$tests[] = array(
- 'html' => "line 1 \nline 2 line 3\n line 4
paragraph
",
+ 'html' => "line 1 \nline 2 line 3\n line 4
paragraph
",
// @todo Trailing line breaks should be trimmed.
'text' => "line 1\nline 2\nline 3\nline 4\n\nparagraph\n\n",
);
$tests[] = array(
- 'html' => "line 1 line 2
line 4 line 5
0
",
+ 'html' => "line 1 line 2
line 4 line 5
0
",
// @todo Trailing line breaks should be trimmed.
'text' => "line 1\nline 2\n\nline 4\nline 5\n\n0\n\n",
);
@@ -346,7 +346,7 @@ public function testDrupalHtmlToTextParagraphs() {
* is 1000 characters."
*/
public function testVeryLongLineWrap() {
- $input = 'Drupal' . str_repeat('x', 2100) . '> Drupal';
+ $input = 'Drupal
' . str_repeat('x', 2100) . '> Drupal';
$output = MailFormatHelper::htmlToText($input);
$eol = Settings::get('mail_line_endings', PHP_EOL);
diff --git a/core/modules/system/src/Tests/System/SystemConfigFormTestBase.php b/core/modules/system/src/Tests/System/SystemConfigFormTestBase.php
index a9f17c0..92fb5ce 100644
--- a/core/modules/system/src/Tests/System/SystemConfigFormTestBase.php
+++ b/core/modules/system/src/Tests/System/SystemConfigFormTestBase.php
@@ -62,7 +62,7 @@ public function testConfigForm() {
'%values' => print_r($values, TRUE),
'%errors' => $valid_form ? t('None') : implode(' ', $errors),
);
- $this->assertTrue($valid_form, format_string('Input values: %values Validation handler errors: %errors', $args));
+ $this->assertTrue($valid_form, format_string('Input values: %values Validation handler errors: %errors', $args));
foreach ($this->values as $data) {
$this->assertEqual($data['#value'], \Drupal::config($data['#config_name'])->get($data['#config_key']));
diff --git a/core/modules/system/src/Tests/Theme/FunctionsTest.php b/core/modules/system/src/Tests/Theme/FunctionsTest.php
index f9a4a83..d2e8569 100644
--- a/core/modules/system/src/Tests/Theme/FunctionsTest.php
+++ b/core/modules/system/src/Tests/Theme/FunctionsTest.php
@@ -387,7 +387,7 @@ function testImage() {
$variables = array();
$variables['uri'] = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==';
$variables['alt'] = 'Data URI image of a red dot';
- $expected = ' ' . "\n";
+ $expected = ' ' . "\n";
$this->assertThemeOutput('image', $variables, $expected);
}
diff --git a/core/modules/system/system.install b/core/modules/system/system.install
index 868b2eb..18f17a8 100644
--- a/core/modules/system/system.install
+++ b/core/modules/system/system.install
@@ -317,7 +317,7 @@ function system_requirements($phase) {
}
$description .= ' ' . t('You can run cron manually .', array('@cron' => \Drupal::url('system.run_cron')));
- $description .= ' ' . t('To run cron from outside the site, go to !cron ', array('!cron' => \Drupal::url('system.cron', array('key' => \Drupal::state()->get('system.cron_key'), array('absolute' => TRUE)))));
+ $description .= ' ' . t('To run cron from outside the site, go to !cron ', array('!cron' => \Drupal::url('system.cron', array('key' => \Drupal::state()->get('system.cron_key'), array('absolute' => TRUE)))));
$requirements['cron'] = array(
'title' => t('Cron maintenance tasks'),
diff --git a/core/modules/system/templates/block--system-branding-block.html.twig b/core/modules/system/templates/block--system-branding-block.html.twig
index 4cf0f1a..1f06416 100644
--- a/core/modules/system/templates/block--system-branding-block.html.twig
+++ b/core/modules/system/templates/block--system-branding-block.html.twig
@@ -18,7 +18,7 @@
{% block content %}
{% if site_logo %}
-
+
{% endif %}
{% if site_name %}
diff --git a/core/modules/system/templates/image.html.twig b/core/modules/system/templates/image.html.twig
index 2f29304..7667992 100644
--- a/core/modules/system/templates/image.html.twig
+++ b/core/modules/system/templates/image.html.twig
@@ -17,4 +17,4 @@ set classes = [
style_name ? 'image-style-' ~ style_name|clean_class,
]
%}
-
+
diff --git a/core/modules/system/templates/input.html.twig b/core/modules/system/templates/input.html.twig
index 1409c25..175aa82 100644
--- a/core/modules/system/templates/input.html.twig
+++ b/core/modules/system/templates/input.html.twig
@@ -12,4 +12,4 @@
* @ingroup themeable
*/
#}
- {{ children }}
+ {{ children }}
diff --git a/core/modules/system/templates/maintenance-page.html.twig b/core/modules/system/templates/maintenance-page.html.twig
index fd780d4..612a07c 100644
--- a/core/modules/system/templates/maintenance-page.html.twig
+++ b/core/modules/system/templates/maintenance-page.html.twig
@@ -16,7 +16,7 @@
diff --git a/core/modules/system/tests/themes/test_theme/templates/theme-test-specific-suggestions--variant.html.twig b/core/modules/system/tests/themes/test_theme/templates/theme-test-specific-suggestions--variant.html.twig
index 8ac8cd2..e586cf8 100644
--- a/core/modules/system/tests/themes/test_theme/templates/theme-test-specific-suggestions--variant.html.twig
+++ b/core/modules/system/tests/themes/test_theme/templates/theme-test-specific-suggestions--variant.html.twig
@@ -2,4 +2,4 @@
Template matching the specific theme call.
Theme hook suggestions:
-{{ theme_hook_suggestions|safe_join(" ") }}
+{{ theme_hook_suggestions|safe_join(" ") }}
diff --git a/core/modules/tracker/tracker.pages.inc b/core/modules/tracker/tracker.pages.inc
index 8275c78..3d10765 100644
--- a/core/modules/tracker/tracker.pages.inc
+++ b/core/modules/tracker/tracker.pages.inc
@@ -73,7 +73,7 @@ function tracker_page($account = NULL) {
$comments = $node->comment_count;
if ($new = \Drupal::service('comment.manager')->getCountNewComments($node)) {
- $comments .= ' ';
+ $comments .= ' ';
$comments .= \Drupal::l(format_plural($new, '1 new', '@count new'), $node->urlInfo()->setOptions(array('fragment' => 'new')));
}
}
diff --git a/core/modules/user/src/RegisterForm.php b/core/modules/user/src/RegisterForm.php
index be73f39..52de57d 100644
--- a/core/modules/user/src/RegisterForm.php
+++ b/core/modules/user/src/RegisterForm.php
@@ -153,7 +153,7 @@ public function save(array $form, FormStateInterface $form_state) {
// Administrator approval required.
else {
_user_mail_notify('register_pending_approval', $account);
- drupal_set_message($this->t('Thank you for applying for an account. Your account is currently pending approval by the site administrator. In the meantime, a welcome message with further instructions has been sent to your email address.'));
+ drupal_set_message($this->t('Thank you for applying for an account. Your account is currently pending approval by the site administrator. In the meantime, a welcome message with further instructions has been sent to your email address.'));
$form_state->setRedirect('');
}
}
diff --git a/core/modules/user/user.permissions.js b/core/modules/user/user.permissions.js
index 415fc53..9c56f62 100644
--- a/core/modules/user/user.permissions.js
+++ b/core/modules/user/user.permissions.js
@@ -31,7 +31,7 @@
// submitted form. If we'd automatically check existing checkboxes, the
// permission table would be polluted with redundant entries. This
// is deliberate, but desirable when we automatically check them.
- var $dummy = $(' ')
+ var $dummy = $(' ')
.attr('title', Drupal.t("This permission is inherited from the authenticated user role."))
.hide();
diff --git a/core/modules/views/src/Plugin/entity_reference/selection/ViewsSelection.php b/core/modules/views/src/Plugin/entity_reference/selection/ViewsSelection.php
index 139f2f6..4bfaa3f 100644
--- a/core/modules/views/src/Plugin/entity_reference/selection/ViewsSelection.php
+++ b/core/modules/views/src/Plugin/entity_reference/selection/ViewsSelection.php
@@ -90,7 +90,7 @@ public static function settingsForm(FieldDefinitionInterface $field_definition)
'#required' => TRUE,
'#options' => $options,
'#default_value' => $default,
- '#description' => '' . t('Choose the view and display that select the entities that can be referenced. Only views with a display of type "Entity Reference" are eligible.') . '
',
+ '#description' => '' . t('Choose the view and display that select the entities that can be referenced. Only views with a display of type "Entity Reference" are eligible.') . '
',
);
$default = !empty($view_settings['arguments']) ? implode(', ', $view_settings['arguments']) : '';
diff --git a/core/themes/bartik/color/preview.html b/core/themes/bartik/color/preview.html
index ae9aa14..2174662 100644
--- a/core/themes/bartik/color/preview.html
+++ b/core/themes/bartik/color/preview.html
@@ -1,7 +1,7 @@