diff --git a/core/lib/Drupal/Core/Database/Query/Condition.php b/core/lib/Drupal/Core/Database/Query/Condition.php index 616255db2f76a46eefe2e128e5b059f11f5a6e50..f0f71aed610e8de06f1b337ce036864ab9efce5f 100644 --- a/core/lib/Drupal/Core/Database/Query/Condition.php +++ b/core/lib/Drupal/Core/Database/Query/Condition.php @@ -258,9 +258,9 @@ public function compile(Connection $connection, PlaceholderInterface $queryPlace $this->stringVersion = '( AND 1 = 0 )'; // Conceptually throwing an exception caused by user input is bad - // as you result into a WSOD, which depending on your webserver - // configuration can result into the assumption that your site is - // broken. + // as you result into a 'white screen of death', which depending on + // your webserver configuration can result into the assumption that + // your site is broken. // On top of that the database API relies on __toString() which // does not allow to throw exceptions. trigger_error('Invalid characters in query operator: ' . $condition['operator'], E_USER_ERROR); diff --git a/core/lib/Drupal/Core/Template/TwigPhpStorageCache.php b/core/lib/Drupal/Core/Template/TwigPhpStorageCache.php index 89a7a7522e4d5ff77b15cb040cde7cb43a912e81..23c6decaeb8623a26a8193bccb874346b8da1d3d 100644 --- a/core/lib/Drupal/Core/Template/TwigPhpStorageCache.php +++ b/core/lib/Drupal/Core/Template/TwigPhpStorageCache.php @@ -10,9 +10,9 @@ /** * Provides an alternate cache storage for Twig using PhpStorage. * - * This class is designed to work on setups with multiple webheads using a local - * filesystem for the twig cache. When generating the cache key, a hash value - * depending on the enabled extensions is included. This prevents stale + * This class is designed to work on setups with multiple web heads using a + * local filesystem for the twig cache. When generating the cache key, a hash + * value depending on the enabled extensions is included. This prevents stale * templates from being reused when twig extensions are enabled or disabled. * * @see \Drupal\Core\DependencyInjection\Compiler\TwigExtensionPass diff --git a/core/misc/cspell/dictionary.txt b/core/misc/cspell/dictionary.txt index ec6dd524716fa00f2ad234ef38038fcb55894669..a4cd7d4c83f08dec90ba76227815186e8e0b7f03 100644 --- a/core/misc/cspell/dictionary.txt +++ b/core/misc/cspell/dictionary.txt @@ -1341,7 +1341,6 @@ wcprops webassert webcal webflo -webheads webhosting webmention webmozart @@ -1350,19 +1349,14 @@ webroot webservers webtest whitespaces -whos widthx -wimoids wmet wmlscript wordprocessingml wordsafe wordword workspaceswitcher -writability writeln -wrongparam -wsod wwwrun xbap xbitmap diff --git a/core/modules/file/file.module b/core/modules/file/file.module index 3a6de2031a9e3bdbd6ab425f206452acdc1303aa..220ec88bc47e2d63e6b67156e28216091a9ddd90 100644 --- a/core/modules/file/file.module +++ b/core/modules/file/file.module @@ -34,7 +34,7 @@ use Symfony\Component\HttpFoundation\File\Exception\NoFileException; use Symfony\Component\HttpFoundation\File\Exception\PartialFileException; -// cspell:ignore abiword +// cspell:ignore abiword widthx /** * Implements hook_help(). diff --git a/core/modules/image/tests/src/Functional/ImageStylesPathAndUrlTest.php b/core/modules/image/tests/src/Functional/ImageStylesPathAndUrlTest.php index 9926f8c9d2cd15fbab0f3d6cc8fde1f4e21e8c58..40184001c5b9be19bbe14afa90e90863ac4158f2 100644 --- a/core/modules/image/tests/src/Functional/ImageStylesPathAndUrlTest.php +++ b/core/modules/image/tests/src/Functional/ImageStylesPathAndUrlTest.php @@ -187,7 +187,7 @@ public function doImageStyleUrlAndPathTests($scheme, $clean_url = TRUE, $extra_s $this->drupalGet(str_replace(IMAGE_DERIVATIVE_TOKEN . '=', IMAGE_DERIVATIVE_TOKEN . '=Zo', $generate_url)); $this->assertSession()->statusCodeEquals(404); // Change the parameter name so the token is missing. - $this->drupalGet(str_replace(IMAGE_DERIVATIVE_TOKEN . '=', 'wrongparam=', $generate_url)); + $this->drupalGet(str_replace(IMAGE_DERIVATIVE_TOKEN . '=', 'wrong_parameter=', $generate_url)); $this->assertSession()->statusCodeEquals(404); // Check that the generated URL is the same when we pass in a relative path @@ -306,7 +306,7 @@ public function doImageStyleUrlAndPathTests($scheme, $clean_url = TRUE, $extra_s $nested_url = $this->style->buildUrl($generated_uri, $clean_url); $matches_expected_url_format = (boolean) preg_match('/styles\/' . $this->style->id() . '\/' . $scheme . '\/styles\/' . $this->style->id() . '\/' . $scheme . '/', $nested_url); $this->assertTrue($matches_expected_url_format, "URL for a derivative of an image style matches expected format."); - $nested_url_with_wrong_token = str_replace(IMAGE_DERIVATIVE_TOKEN . '=', 'wrongparam=', $nested_url); + $nested_url_with_wrong_token = str_replace(IMAGE_DERIVATIVE_TOKEN . '=', 'wrong_parameter=', $nested_url); $this->drupalGet($nested_url_with_wrong_token); $this->assertSession()->statusCodeEquals(404); // Check that this restriction cannot be bypassed by adding extra slashes diff --git a/core/modules/jsonapi/tests/src/Functional/TermTest.php b/core/modules/jsonapi/tests/src/Functional/TermTest.php index 6638c3821c89c8d2f4d3d8fbcc05f3427fd7f830..77acd006294211d9c0cdde006b9a12b137088f18 100644 --- a/core/modules/jsonapi/tests/src/Functional/TermTest.php +++ b/core/modules/jsonapi/tests/src/Functional/TermTest.php @@ -464,7 +464,7 @@ public function testGetIndividualTermWithParent(array $parent_term_ids) { ->setName('Lamoids') ->save(); Term::create(['vid' => Vocabulary::load('camelids')->id()]) - ->setName('Wimoids') + ->setName('Camels') ->save(); // Modify the entity under test to use the provided parent terms. diff --git a/core/modules/system/system.install b/core/modules/system/system.install index fae06ecc2724a1dc5a6e6e85964cd1b17a08b886..5684accadf2f964a3eeea7f6b31d5ac37d6304ba 100644 --- a/core/modules/system/system.install +++ b/core/modules/system/system.install @@ -640,7 +640,7 @@ function system_requirements($phase) { } } - // Test configuration files and directory for writability. + // Test if configuration files and directory are writable. if ($phase == 'runtime') { $conf_errors = []; // Find the site path. Kernel service is not always available at this point, diff --git a/core/modules/taxonomy/tests/src/Functional/Rest/TermResourceTestBase.php b/core/modules/taxonomy/tests/src/Functional/Rest/TermResourceTestBase.php index 16f1d3734e7456fce4b542fe45f03ecdc14fbcd8..76ddf9026c977da92f7071d90aca0d13ed14c770 100644 --- a/core/modules/taxonomy/tests/src/Functional/Rest/TermResourceTestBase.php +++ b/core/modules/taxonomy/tests/src/Functional/Rest/TermResourceTestBase.php @@ -337,7 +337,7 @@ public function testGetTermWithParent(array $parent_term_ids) { ->setName('Lamoids') ->save(); Term::create(['vid' => Vocabulary::load('camelids')->id()]) - ->setName('Wimoids') + ->setName('Camels') ->save(); // Modify the entity under test to use the provided parent terms. diff --git a/core/modules/user/tests/src/Kernel/WhosOnlineBlockTest.php b/core/modules/user/tests/src/Kernel/WhoIsOnlineBlockTest.php similarity index 97% rename from core/modules/user/tests/src/Kernel/WhosOnlineBlockTest.php rename to core/modules/user/tests/src/Kernel/WhoIsOnlineBlockTest.php index 4f96e0f3ab32e97fc1dfae86376652e86fb8bf5a..ec84fcfacfbf136d00a242fb421cfc198aa29a77 100644 --- a/core/modules/user/tests/src/Kernel/WhosOnlineBlockTest.php +++ b/core/modules/user/tests/src/Kernel/WhoIsOnlineBlockTest.php @@ -11,7 +11,7 @@ * * @group user */ -class WhosOnlineBlockTest extends KernelTestBase { +class WhoIsOnlineBlockTest extends KernelTestBase { /** * {@inheritdoc} @@ -71,7 +71,7 @@ protected function setUp(): void { /** * Tests the Who's Online block. */ - public function testWhosOnlineBlock() { + public function testWhoIsOnlineBlock() { $request_time = \Drupal::time()->getRequestTime(); // Generate users. $user1 = User::create([ diff --git a/core/modules/views/tests/src/Functional/Plugin/DisplayPageWebTest.php b/core/modules/views/tests/src/Functional/Plugin/DisplayPageWebTest.php index 1cc6c9f0cd99634d86f0a5d96223d4f592c49f8c..b2ca2f10315ea2f3bd6393936224fb8b58c9fff0 100644 --- a/core/modules/views/tests/src/Functional/Plugin/DisplayPageWebTest.php +++ b/core/modules/views/tests/src/Functional/Plugin/DisplayPageWebTest.php @@ -7,7 +7,7 @@ use Drupal\views\Views; /** - * Tests the views page display plugin as webtest. + * Tests the views page display plugin. * * @group views */