diff --git a/core/lib/Drupal/Component/Utility/Unicode.php b/core/lib/Drupal/Component/Utility/Unicode.php index 4a63ec2e47..657d9ff795 100644 --- a/core/lib/Drupal/Component/Utility/Unicode.php +++ b/core/lib/Drupal/Component/Utility/Unicode.php @@ -2,6 +2,8 @@ namespace Drupal\Component\Utility; +// cspell:ignore myverylongurl myverylongurlexample + /** * Provides Unicode-related conversions and operations. * diff --git a/core/lib/Drupal/Core/Command/DbDumpCommand.php b/core/lib/Drupal/Core/Command/DbDumpCommand.php index d02908e716..3ecf3d03e9 100644 --- a/core/lib/Drupal/Core/Command/DbDumpCommand.php +++ b/core/lib/Drupal/Core/Command/DbDumpCommand.php @@ -8,6 +8,7 @@ use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; +// cspell:ignore mysqldump /** * Provides a command to dump the current database to a script. * diff --git a/core/lib/Drupal/Core/DependencyInjection/Compiler/TwigExtensionPass.php b/core/lib/Drupal/Core/DependencyInjection/Compiler/TwigExtensionPass.php index 0f2bdb038a..fcc3f06527 100644 --- a/core/lib/Drupal/Core/DependencyInjection/Compiler/TwigExtensionPass.php +++ b/core/lib/Drupal/Core/DependencyInjection/Compiler/TwigExtensionPass.php @@ -9,8 +9,8 @@ /** * Adds the twig_extension_hash parameter to the container. * - * Parameter twig_extension_hash is a hash of all extension mtimes for Twig - * template invalidation. + * Parameter twig_extension_hash is a hash of all extension modification times + * for Twig template invalidation. */ class TwigExtensionPass implements CompilerPassInterface { diff --git a/core/lib/Drupal/Core/Utility/ThemeRegistry.php b/core/lib/Drupal/Core/Utility/ThemeRegistry.php index 8abb17d780..b10296126b 100644 --- a/core/lib/Drupal/Core/Utility/ThemeRegistry.php +++ b/core/lib/Drupal/Core/Utility/ThemeRegistry.php @@ -55,7 +55,7 @@ public function __construct($cid, CacheBackendInterface $cache, LockBackendInter $this->tags = $tags; $this->persistable = $modules_loaded && \Drupal::hasRequest() && \Drupal::request()->isMethod('GET'); - // @todo: Implement lazyload. + // @todo: Implement lazy load. $this->cacheLoaded = TRUE; if ($this->persistable && $cached = $this->cache->get($this->cid)) { diff --git a/core/misc/cspell/dictionary.txt b/core/misc/cspell/dictionary.txt index feb5bba6ee..09d6ec9722 100644 --- a/core/misc/cspell/dictionary.txt +++ b/core/misc/cspell/dictionary.txt @@ -655,7 +655,6 @@ januar januari janvier javascripts -jcbfyr jessebeach jnoub johansson @@ -690,7 +689,6 @@ kontex kpresenter kristiaan kspread -kthxbai kword laatste labely @@ -700,9 +698,7 @@ langcodes langname languageswitcher latn -layouted lazybuilder -lazyload lcode leftjoin libc @@ -723,7 +719,6 @@ linkgenerator linkification linksby lisu -litererally llamaids llamasarelame llame @@ -735,14 +730,11 @@ localetranslatedirty localizable localpath lolspeak -longblob longerthan longtext loquesea loreming -loremipsumloremipsum lowercased -lowlevel lowline lrdd lstitle @@ -759,7 +751,6 @@ mainpage makealternatemessage makedefaultmessage makewarningmessage -mame mank mariadb maryjane @@ -783,13 +774,11 @@ membersonly menulist merhaba messagekey -metainformation metapackage metapackages metatag metatags meΦΩ -miaus middlewares midgardmvc mikey @@ -799,15 +788,12 @@ minifyzombies minimatch minimise minipager -minky minusthick missingkey missingkeys miterlimit -mjuc mlfr mlid -mlids moby mocktail mocktails @@ -821,16 +807,13 @@ montag monthnames moono mooooh -mosie mostrar moutons moyenne -mple msgctxt msgid msgstr msword -mtimes mucho mulrev mulrevpub @@ -856,9 +839,6 @@ myclabs mymodule mysite mysqladmin -mysqldump -myverylongurl -myverylongurlexample műveletek nalias nameofbin diff --git a/core/modules/book/src/BookManagerInterface.php b/core/modules/book/src/BookManagerInterface.php index 44107f2f90..1a1723c583 100644 --- a/core/modules/book/src/BookManagerInterface.php +++ b/core/modules/book/src/BookManagerInterface.php @@ -44,7 +44,7 @@ public function bookTreeAllData($bid, $link = NULL, $max_depth = NULL); * A fully loaded menu link. * * @return array - * An array containing the active trail: a list of mlids. + * An array containing the active trail: a list of menu link IDs. */ public function getActiveTrailIds($bid, $link); diff --git a/core/modules/comment/tests/src/Functional/CommentInterfaceTest.php b/core/modules/comment/tests/src/Functional/CommentInterfaceTest.php index 6631b26f91..92e6d12d21 100644 --- a/core/modules/comment/tests/src/Functional/CommentInterfaceTest.php +++ b/core/modules/comment/tests/src/Functional/CommentInterfaceTest.php @@ -247,9 +247,9 @@ public function testAutoFilledSubject() { $this->assertEquals('Lorem ipsum Lorem ipsum…', $comment1->getSubject()); // Break at 29 characters where there's no boundary before that. - $body_text2 = 'LoremipsumloremipsumLoremingipsumLoremipsum'; + $body_text2 = 'LoremIpsumLoremIpsumLoremingIpsumLorempsum'; $comment2 = $this->postComment(NULL, $body_text2, '', TRUE); - $this->assertEquals('LoremipsumloremipsumLoreming…', $comment2->getSubject()); + $this->assertEquals('LoremIpsumLoremIpsumLoreming…', $comment2->getSubject()); } /** diff --git a/core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php b/core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php index 0d96303232..c7dea4d622 100644 --- a/core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php +++ b/core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php @@ -178,7 +178,7 @@ public function testAccessToAdministrativeFields() { 'hostname' => 'magic.example.com', // Unpublished. 'status' => 0, - 'subject' => 'Gail the minky whale', + 'subject' => 'Gail the minke whale', 'entity_id' => $host->id(), 'comment_type' => 'comment', 'field_name' => 'comment_other', diff --git a/core/modules/filter/tests/src/Kernel/FilterKernelTest.php b/core/modules/filter/tests/src/Kernel/FilterKernelTest.php index c7f9b5fadf..1060231d89 100644 --- a/core/modules/filter/tests/src/Kernel/FilterKernelTest.php +++ b/core/modules/filter/tests/src/Kernel/FilterKernelTest.php @@ -761,7 +761,7 @@ public function testUrlFilter() { '
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.
+HTML www.example21.com soup by person@example22.com can literally 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.
' => [
'href="http://www.example17.com"' => TRUE,
'href="http://www.example18.com"' => TRUE,
diff --git a/core/modules/image/tests/src/Kernel/ImageItemTest.php b/core/modules/image/tests/src/Kernel/ImageItemTest.php
index 2884747213..cbb75f1c5b 100644
--- a/core/modules/image/tests/src/Kernel/ImageItemTest.php
+++ b/core/modules/image/tests/src/Kernel/ImageItemTest.php
@@ -125,7 +125,7 @@ public function testImageItem() {
// Delete the image and try to save the entity again.
$this->image->delete();
- $entity = EntityTest::create(['mame' => $this->randomMachineName()]);
+ $entity = EntityTest::create(['name' => $this->randomMachineName()]);
$entity->save();
// Test image item properties.
diff --git a/core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php b/core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
index ee50246048..5c30368c35 100644
--- a/core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
@@ -500,7 +500,7 @@ public function testThatRoutesAreRebuiltAfterDataModelChangesFromIssue2984886()
$this->createEntityReferenceField('node', 'dog', 'field_test', NULL, 'node');
\Drupal::service('router.builder')->rebuildIfNeeded();
- $dog = Node::create(['type' => 'dog', 'title' => 'Rosie P. Mosie']);
+ $dog = Node::create(['type' => 'dog', 'title' => 'retriever']);
$dog->save();
$response = $this->request('GET', Url::fromUri('internal:/jsonapi/node/dog/' . $dog->uuid() . '/field_test'), $request_options);
diff --git a/core/modules/layout_builder/tests/src/FunctionalJavascript/ItemLayoutFieldBlockTest.php b/core/modules/layout_builder/tests/src/FunctionalJavascript/ItemLayoutFieldBlockTest.php
index 726cc31a2d..5225b6fbcc 100644
--- a/core/modules/layout_builder/tests/src/FunctionalJavascript/ItemLayoutFieldBlockTest.php
+++ b/core/modules/layout_builder/tests/src/FunctionalJavascript/ItemLayoutFieldBlockTest.php
@@ -72,7 +72,7 @@ public function testAddAjaxBlock() {
$this->clickLink('Add block');
$assert_session->assertWaitOnAjaxRequest();
- // Validate that only field blocks for layouted bundle are present.
+ // Validate that only field blocks for the layout bundle are present.
$valid_links = $page->findAll('css', 'a[href$="field_block%3Anode%3Abundle_with_layout_overrides%3Abody"]');
$this->assertCount(1, $valid_links);
$invalid_links = $page->findAll('css', 'a[href$="field_block%3Anode%3Afiller_bundle%3Abody"]');
diff --git a/core/modules/menu_ui/src/MenuForm.php b/core/modules/menu_ui/src/MenuForm.php
index 599eb93c74..13551e06b9 100644
--- a/core/modules/menu_ui/src/MenuForm.php
+++ b/core/modules/menu_ui/src/MenuForm.php
@@ -527,7 +527,7 @@ protected function submitOverviewForm(array $complete_form, FormStateInterface $
if ($updated_values) {
// Use the ID from the actual plugin instance since the hidden value
// in the form could be tampered with.
- $this->menuLinkManager->updateDefinition($element['#item']->link->getPLuginId(), $updated_values);
+ $this->menuLinkManager->updateDefinition($element['#item']->link->getPluginId(), $updated_values);
}
}
}
diff --git a/core/modules/mysql/src/Driver/Database/mysql/Schema.php b/core/modules/mysql/src/Driver/Database/mysql/Schema.php
index 2771e97635..8a4d0ee065 100644
--- a/core/modules/mysql/src/Driver/Database/mysql/Schema.php
+++ b/core/modules/mysql/src/Driver/Database/mysql/Schema.php
@@ -8,6 +8,8 @@
use Drupal\Core\Database\Schema as DatabaseSchema;
use Drupal\Component\Utility\Unicode;
+// cspell:ignore longblob
+
/**
* @addtogroup schemaapi
* @{
diff --git a/core/modules/quickedit/tests/src/Functional/QuickEditEndPointAccessTest.php b/core/modules/quickedit/tests/src/Functional/QuickEditEndPointAccessTest.php
index dbff08aa28..ca38f48c01 100644
--- a/core/modules/quickedit/tests/src/Functional/QuickEditEndPointAccessTest.php
+++ b/core/modules/quickedit/tests/src/Functional/QuickEditEndPointAccessTest.php
@@ -56,6 +56,7 @@ public function testEndPointAccess() {
$edit = [];
$edit['form_id'] = 'quickedit_field_form';
+ // cspell:disable-next-line
$edit['form_token'] = 'xIOzMjuc-PULKsRn_KxFn7xzNk5Bx7XKXLfQfw1qOnA';
$edit['form_build_id'] = 'form-kVmovBpyX-SJfTT5kY0pjTV35TV-znor--a64dEnMR8';
$edit['body[0][summary]'] = '';
diff --git a/core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php b/core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php
index f20a753b71..dfafa15376 100644
--- a/core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php
+++ b/core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php
@@ -241,7 +241,7 @@ private function formSubmitHelper($form, $edit) {
$form_state->clearErrors();
// Return the processed form together with form_state and errors
- // to allow the caller lowlevel access to the form.
+ // to allow the caller low level access to the form.
return [$form, $form_state, $errors];
}
diff --git a/core/modules/views/tests/src/Functional/Handler/HandlerAllTest.php b/core/modules/views/tests/src/Functional/Handler/HandlerAllTest.php
index 1094ddbba2..b00c27e4c4 100644
--- a/core/modules/views/tests/src/Functional/Handler/HandlerAllTest.php
+++ b/core/modules/views/tests/src/Functional/Handler/HandlerAllTest.php
@@ -71,7 +71,7 @@ public function testHandlers() {
// Go through all fields and there through all handler types.
foreach ($info as $field => $field_info) {
- // Table is a reserved key for the metainformation.
+ // Table is a reserved key for the meta information.
if ($field != 'table' && !in_array("$base_table:$field", $exclude)) {
$item = [
'table' => $base_table,
diff --git a/core/tests/Drupal/KernelTests/Config/TypedConfigTest.php b/core/tests/Drupal/KernelTests/Config/TypedConfigTest.php
index 7a40310b31..c050f32df3 100644
--- a/core/tests/Drupal/KernelTests/Config/TypedConfigTest.php
+++ b/core/tests/Drupal/KernelTests/Config/TypedConfigTest.php
@@ -123,7 +123,7 @@ public function testSimpleConfigValidation() {
$this->assertEmpty($result);
// Test constrains on nested mapping.
- $config->set('cat.type', 'miaus');
+ $config->set('cat.type', 'tiger');
$config->save();
$typed_config = $typed_config_manager->get('config_test.validation');
diff --git a/core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php b/core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php
index 5a67b0483a..e9a275e9f9 100644
--- a/core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php
+++ b/core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php
@@ -164,6 +164,7 @@ public function testValidRelative($url, $prefix) {
*/
public function providerTestInvalidRelativeData() {
$data = [
+ // cspell:disable-next-line
'ex^mple',
'example<>',
'ex%ample',
diff --git a/core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php b/core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php
index b68332e34d..d4c67fe021 100644
--- a/core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php
+++ b/core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php
@@ -69,6 +69,7 @@ public function testDifferentContextForDifferentSession() {
$this->request->setSession($this->session);
$cache_context = new SessionCacheContext($this->requestStack);
+ // cspell:disable-next-line
$session1_id = 'pjH_8aSoofyCDQiuVYXJcbfyr-CPtkUY';
$session2_id = 'aSebeZ52bbM6SvADurQP89SFnEpxY6j8';
$this->session->expects($this->exactly(2))
diff --git a/core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php b/core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php
index f9006bb3db..ef5fd07a24 100644
--- a/core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php
+++ b/core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php
@@ -930,7 +930,7 @@ public function testChildrenPlusBuilder() {
$element = [];
$element['#lazy_builder'] = ['Drupal\Tests\Core\Render\RecursivePlaceholdersTest::callback', []];
$element['child_a']['#markup'] = 'Oh hai!';
- $element['child_b']['#markup'] = 'kthxbai';
+ $element['child_b']['#markup'] = 'goodbye';
$this->expectException(\AssertionError::class);
$this->expectExceptionMessage('When a #lazy_builder callback is specified, no children can exist; all children must be generated by the #lazy_builder callback. You specified the following children: child_a, child_b.');