summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2015-10-15 11:16:56 +0100
committerAlex Pott2015-10-15 11:16:56 +0100
commit210468fe49e118a0d8ae8d206ee780dbe3208b3a (patch)
treefdfdad5112dba194cf9ff86030ca556e40c74144
parent59117140bd58081c651aaf33fbf4a62fc8e905a0 (diff)
Issue #2589733 by joshi.rohit100, Sagar Ramgade: LocalTaskInterface, XssTest, RendererTest - double 'are'
-rw-r--r--core/lib/Drupal/Core/Menu/LocalTaskInterface.php6
-rw-r--r--core/tests/Drupal/Tests/Component/Utility/XssTest.php2
-rw-r--r--core/tests/Drupal/Tests/Core/Render/RendererTest.php2
3 files changed, 5 insertions, 5 deletions
diff --git a/core/lib/Drupal/Core/Menu/LocalTaskInterface.php b/core/lib/Drupal/Core/Menu/LocalTaskInterface.php
index 5898710..23dd4eb 100644
--- a/core/lib/Drupal/Core/Menu/LocalTaskInterface.php
+++ b/core/lib/Drupal/Core/Menu/LocalTaskInterface.php
@@ -12,9 +12,9 @@ use Drupal\Core\Routing\RouteMatchInterface;
/**
* Defines an interface for menu local tasks.
*
- * Menu local tasks are are typically rendered as navigation tabs above the
- * content region, though other presentations are possible. It is convention
- * that the titles of these tasks should be short verbs if possible.
+ * Menu local tasks are typically rendered as navigation tabs above the content
+ * region, though other presentations are possible. It is convention that the
+ * titles of these tasks should be short verbs if possible.
*
* @see \Drupal\Core\Menu\LocalTaskManagerInterface
*/
diff --git a/core/tests/Drupal/Tests/Component/Utility/XssTest.php b/core/tests/Drupal/Tests/Component/Utility/XssTest.php
index 7ca4be8..a8ab157 100644
--- a/core/tests/Drupal/Tests/Component/Utility/XssTest.php
+++ b/core/tests/Drupal/Tests/Component/Utility/XssTest.php
@@ -489,7 +489,7 @@ class XssTest extends UnitTestCase {
}
/**
- * Check that strings in HTML attributes are are correctly processed.
+ * Check that strings in HTML attributes are correctly processed.
*
* @covers ::attributes
* @dataProvider providerTestAttributes
diff --git a/core/tests/Drupal/Tests/Core/Render/RendererTest.php b/core/tests/Drupal/Tests/Core/Render/RendererTest.php
index 92b1625..48b394e 100644
--- a/core/tests/Drupal/Tests/Core/Render/RendererTest.php
+++ b/core/tests/Drupal/Tests/Core/Render/RendererTest.php
@@ -96,7 +96,7 @@ class RendererTest extends RendererTestBase {
'#plain_text' => '<em>foo</em>',
'#markup' => 'bar',
], '&lt;em&gt;foo&lt;/em&gt;'];
- // Safe strings in #plain_text are are still escaped.
+ // Safe strings in #plain_text are still escaped.
$data[] = [[
'#plain_text' => Markup::create('<em>foo</em>'),
], '&lt;em&gt;foo&lt;/em&gt;'];