diff --git a/core/lib/Drupal/Core/Access/AccessResultInterface.php b/core/lib/Drupal/Core/Access/AccessResultInterface.php index 5ea25856c8f..199ef3c2270 100644 --- a/core/lib/Drupal/Core/Access/AccessResultInterface.php +++ b/core/lib/Drupal/Core/Access/AccessResultInterface.php @@ -74,7 +74,7 @@ interface AccessResultInterface { /** * Combine this access result with another using AND. * - * When ANDing two access results, the result is: + * When AND is performed on two access results, the result is: * - isForbidden() in either ⇒ isForbidden() * - otherwise, if isAllowed() in both ⇒ isAllowed() * - otherwise, one of them is isNeutral() ⇒ isNeutral() diff --git a/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php b/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php index 1390593498a..46e96c9a887 100644 --- a/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php +++ b/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php @@ -2540,7 +2540,7 @@ class SqlContentEntityStorageSchema implements DynamicallyFieldableEntityStorage } /** - * Typecasts values to proper datatypes. + * Typecasts values to the proper data type. * * MySQL PDO silently casts, e.g. FALSE and '' to 0, when inserting the value * into an integer column, but PostgreSQL PDO does not. Use the schema diff --git a/core/lib/Drupal/Core/FileTransfer/FileTransfer.php b/core/lib/Drupal/Core/FileTransfer/FileTransfer.php index 9b1c65275e1..4b68c237b91 100644 --- a/core/lib/Drupal/Core/FileTransfer/FileTransfer.php +++ b/core/lib/Drupal/Core/FileTransfer/FileTransfer.php @@ -232,7 +232,7 @@ abstract class FileTransfer { */ final protected function fixRemotePath($path, $strip_chroot = TRUE) { $path = $this->sanitizePath($path); - // Strip out windows driveletter if its there. + // Strip out windows drive letter if its there. $path = preg_replace('|^([a-z]{1}):|i', '', $path); if ($strip_chroot) { if ($this->chroot && strpos($path, $this->chroot) === 0) { diff --git a/core/lib/Drupal/Core/Password/PhpassHashedPassword.php b/core/lib/Drupal/Core/Password/PhpassHashedPassword.php index 8a53607121f..b0440355254 100644 --- a/core/lib/Drupal/Core/Password/PhpassHashedPassword.php +++ b/core/lib/Drupal/Core/Password/PhpassHashedPassword.php @@ -167,9 +167,9 @@ class PhpassHashedPassword implements PasswordInterface { return FALSE; } $count_log2 = $this->getCountLog2($setting); - // Stored hashes may have been crypted with any iteration count. However we - // do not allow applying the algorithm for unreasonable low and high values - // respectively. + // Stored hashes may have been encrypted with any iteration count. However + // we do not allow applying the algorithm for unreasonable low and high + // values respectively. if ($count_log2 != $this->enforceLog2Boundaries($count_log2)) { return FALSE; } diff --git a/core/lib/Drupal/Core/Url.php b/core/lib/Drupal/Core/Url.php index 226ab436e02..47ab4c4fcd9 100644 --- a/core/lib/Drupal/Core/Url.php +++ b/core/lib/Drupal/Core/Url.php @@ -14,6 +14,8 @@ use Drupal\Core\Utility\UnroutedUrlAssemblerInterface; use Drupal\Core\Routing\RouteObjectInterface; use Symfony\Component\HttpFoundation\Request; +// cspell:ignore abempty + /** * Defines an object that holds information about a URL. * diff --git a/core/misc/cspell/dictionary.txt b/core/misc/cspell/dictionary.txt index 40ebb8e9d11..feb5bba6ee6 100644 --- a/core/misc/cspell/dictionary.txt +++ b/core/misc/cspell/dictionary.txt @@ -1,7 +1,5 @@ abcdefghijklmno abcdefghijklmnopqrstuvwxyz -abempty -abiword absolutezero accesslog accum @@ -10,8 +8,6 @@ addedline addtogroup adminforms adminlabel -aewesome -aflopend afterclose aftercreate ahah @@ -20,9 +16,6 @@ ajaxcallback ajaxify ajaxing akiko -aliasable -aliquet -allowtransparency allwords alphadecimal alterjs @@ -38,7 +31,6 @@ anotherwordenglish anotherwordgerman antilop anyall -apng applix archiver archivers @@ -57,7 +49,6 @@ asdf asdrsad assertable asterix -asubject atomentry atomfeed atomrendererfeed @@ -75,17 +66,12 @@ autocreate autocreated autocreation autodetect -autodiscovered autoescape autoescaped autoescaping -autofilling autofix autogenerate autogenerator -autoincrement -autoincrementing -autoindex autoloadable autoloaded autoloader @@ -117,7 +103,6 @@ bartik bartik's basefield basepath -baseroot basestrings basetheme basicpage @@ -139,11 +124,9 @@ bgred bigpipe bikeshed bikesheds -bistromathic bitmask bkmgtpezy bkslshv -blackhat blist blockarticles blockbasic @@ -182,10 +165,8 @@ bundlenode buttonpane buttonset buytaert -bzzzzzzzt cacheability cacheable -cacheablemetadata cachebackend cachebackends cachebin @@ -242,12 +223,10 @@ classtype cldr clearfix cleartype -clicksort clicksorter clist cloner closethick -closur cnenzrgre cnfi cochez @@ -265,7 +244,6 @@ complote compositionend compositionstart configentity -configtranslation configurability configurator conneg @@ -274,7 +252,6 @@ contentblock contententry contentrendererentry contextuals -contrained controlgroup corefake coretest @@ -287,8 +264,6 @@ createrole createuser crema crossout -crudui -crypted crème cscript csrftoken @@ -301,8 +276,6 @@ ctund cucurbitaceae curle curlopt -currenttime -currentuser customevent customly customrequest @@ -315,7 +288,6 @@ databasename datapoint datas datatypes -datefield dateformatter datelist dateonly @@ -325,7 +297,6 @@ datetimeiso datetimeplus datetype daycount -daycounter dblog dbtng dburl @@ -334,7 +305,6 @@ deckard deconstructor deduplicated deduplicates -defalt defaultable defgroup delayable @@ -356,7 +326,6 @@ denyall dependee dependee's dependees -dependening depenencies deprioritize dequeues @@ -382,8 +351,6 @@ diffchange differring discoverability displaymessage -displayname -distincted distro ditka divs @@ -401,7 +368,6 @@ dramallama dramallamas drei drillable -driveletter drivernumber drivertest drivertestmysql @@ -446,7 +412,6 @@ eins elbonia elementspath elems -elit encapsed endapply endautoescape @@ -823,7 +788,7 @@ metapackage metapackages metatag metatags -meφω +meΦΩ miaus middlewares midgardmvc @@ -980,7 +945,6 @@ onewidgetfield onoff opendocument openxmlformats -oplopend optgroups optimizable optin @@ -1297,7 +1261,6 @@ somethinggeneric soofy sortablejs sortby -sorteren sourcearea sourcearea's sourcedialog @@ -1501,7 +1464,6 @@ titleslogan tlds tmpfs tnid -toepassen toggleable togglewrap tongatapu @@ -1668,7 +1630,6 @@ vids viewmode viewports viewsviewfiles -vivamus vmov vocabs volgende diff --git a/core/modules/basic_auth/tests/src/Functional/BasicAuthTest.php b/core/modules/basic_auth/tests/src/Functional/BasicAuthTest.php index 62cd03281a5..bd4995934e5 100644 --- a/core/modules/basic_auth/tests/src/Functional/BasicAuthTest.php +++ b/core/modules/basic_auth/tests/src/Functional/BasicAuthTest.php @@ -203,7 +203,7 @@ class BasicAuthTest extends BrowserTestBase { } /** - * Tests the cacheability of Basic Auth's 401 response. + * Tests the cacheability of the Basic Auth 401 response. * * @see \Drupal\basic_auth\Authentication\Provider\BasicAuth::challengeException() */ diff --git a/core/modules/block/tests/src/Functional/BlockUiTest.php b/core/modules/block/tests/src/Functional/BlockUiTest.php index a7790c96ef4..3efa21f2956 100644 --- a/core/modules/block/tests/src/Functional/BlockUiTest.php +++ b/core/modules/block/tests/src/Functional/BlockUiTest.php @@ -282,7 +282,7 @@ class BlockUiTest extends BrowserTestBase { $this->submitForm($edit, 'Save block'); $this->assertSession()->pageTextContains('The block configuration has been saved.'); - // Now, check to make sure the form starts by autoincrementing correctly. + // Now, check to make sure the form starts by auto-incrementing correctly. $this->drupalGet($url); $this->assertSession()->fieldValueEquals('id', 'displaymessage_2'); $this->drupalGet($url); diff --git a/core/modules/config/tests/src/Functional/ConfigEntityTest.php b/core/modules/config/tests/src/Functional/ConfigEntityTest.php index 8cd8991917c..2c5a6bf5667 100644 --- a/core/modules/config/tests/src/Functional/ConfigEntityTest.php +++ b/core/modules/config/tests/src/Functional/ConfigEntityTest.php @@ -225,7 +225,7 @@ class ConfigEntityTest extends BrowserTestBase { /** * Tests CRUD operations through the UI. */ - public function testCRUDUI() { + public function testCrudUi() { $this->drupalLogin($this->drupalCreateUser([ 'administer site configuration', ])); diff --git a/core/modules/editor/editor.admin.inc b/core/modules/editor/editor.admin.inc index 3388f4692fb..6c03ad7c4ac 100644 --- a/core/modules/editor/editor.admin.inc +++ b/core/modules/editor/editor.admin.inc @@ -64,8 +64,8 @@ function editor_image_upload_settings_form(Editor $editor) { ]; } // Set data- attributes with human-readable names for all possible stream - // wrappers, so that drupal.ckeditor.drupalimage.admin's summary rendering - // can use that. + // wrappers, so that it can be used by the summary rendering of + // drupal.ckeditor.drupalimage.admin. foreach (\Drupal::service('stream_wrapper_manager')->getNames(StreamWrapperInterface::WRITE_VISIBLE) as $scheme => $name) { $form['scheme'][$scheme]['#attributes']['data-label'] = t('Storage: @name', ['@name' => $name]); } diff --git a/core/modules/file/file.module b/core/modules/file/file.module index 7300dd9c676..59c5acbcc54 100644 --- a/core/modules/file/file.module +++ b/core/modules/file/file.module @@ -35,6 +35,8 @@ use Symfony\Component\HttpFoundation\File\Exception\NoFileException; use Symfony\Component\HttpFoundation\File\Exception\PartialFileException; use Symfony\Component\Mime\MimeTypeGuesserInterface; +// cspell:ignore abiword + /** * The regex pattern used when checking for insecure file types. * diff --git a/core/modules/filter/src/Element/ProcessedText.php b/core/modules/filter/src/Element/ProcessedText.php index ed5ccb31783..8a05887fb0d 100644 --- a/core/modules/filter/src/Element/ProcessedText.php +++ b/core/modules/filter/src/Element/ProcessedText.php @@ -72,7 +72,7 @@ class ProcessedText extends RenderElement { if (!isset($format_id)) { $filter_settings = static::configFactory()->get('filter.settings'); $format_id = $filter_settings->get('fallback_format'); - // Ensure 'filter.settings' config's cacheability is respected. + // Ensure 'filter.settings' cacheability is respected. CacheableMetadata::createFromRenderArray($element) ->addCacheableDependency($filter_settings) ->applyTo($element); diff --git a/core/modules/help/src/Controller/HelpController.php b/core/modules/help/src/Controller/HelpController.php index 0b909b35df0..970de141471 100644 --- a/core/modules/help/src/Controller/HelpController.php +++ b/core/modules/help/src/Controller/HelpController.php @@ -85,7 +85,7 @@ class HelpController extends ControllerBase { foreach ($plugins as $plugin_id => $plugin_definition) { // Check the provided permission. - if (!empty($plugin_definition['permission']) && !$this->currentuser()->hasPermission($plugin_definition['permission'])) { + if (!empty($plugin_definition['permission']) && !$this->currentUser()->hasPermission($plugin_definition['permission'])) { continue; } diff --git a/core/modules/history/src/Plugin/views/filter/HistoryUserTimestamp.php b/core/modules/history/src/Plugin/views/filter/HistoryUserTimestamp.php index 02288da1c4f..8d381ed81cf 100644 --- a/core/modules/history/src/Plugin/views/filter/HistoryUserTimestamp.php +++ b/core/modules/history/src/Plugin/views/filter/HistoryUserTimestamp.php @@ -80,7 +80,7 @@ class HistoryUserTimestamp extends FilterPluginBase { } // Hey, Drupal kills old history, so nodes that haven't been updated - // since HISTORY_READ_LIMIT are bzzzzzzzt outta here! + // since HISTORY_READ_LIMIT are outta here! $limit = REQUEST_TIME - HISTORY_READ_LIMIT; $this->ensureMyTable(); diff --git a/core/modules/jsonapi/tests/modules/jsonapi_test_field_aliasing/src/ResourceType/AliasingResourceTypeRepository.php b/core/modules/jsonapi/tests/modules/jsonapi_test_field_aliasing/src/ResourceType/AliasingResourceTypeRepository.php index 218deb04232..f50e098253f 100644 --- a/core/modules/jsonapi/tests/modules/jsonapi_test_field_aliasing/src/ResourceType/AliasingResourceTypeRepository.php +++ b/core/modules/jsonapi/tests/modules/jsonapi_test_field_aliasing/src/ResourceType/AliasingResourceTypeRepository.php @@ -6,7 +6,7 @@ use Drupal\Core\Entity\EntityTypeInterface; use Drupal\jsonapi\ResourceType\ResourceTypeRepository; /** - * Provides a repository of JSON:API resource types with aliasable field names. + * Provides a repository of resource types with field names that can be aliased. */ class AliasingResourceTypeRepository extends ResourceTypeRepository { diff --git a/core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php b/core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php index 518b8b2e35a..5dbfe01ed41 100644 --- a/core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php +++ b/core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php @@ -67,7 +67,7 @@ class LinkTest extends UnitTestCase { ], 'same href and same link relation type and same nested target attributes' => [ new Link(new CacheableMetadata(), Url::fromUri('https://jsonapi.org/foo'), 'self', ['data' => ['foo' => 'bar']]), - new Link(new cacheablemetadata(), Url::fromUri('https://jsonapi.org/foo'), 'self', ['data' => ['foo' => 'bar']]), + new Link(new CacheableMetadata(), Url::fromUri('https://jsonapi.org/foo'), 'self', ['data' => ['foo' => 'bar']]), TRUE, ], 'same href and same link relation type and different nested target attributes' => [ diff --git a/core/modules/layout_builder/tests/src/FunctionalJavascript/FieldBlockTest.php b/core/modules/layout_builder/tests/src/FunctionalJavascript/FieldBlockTest.php index 031ea2795d3..002cece560a 100644 --- a/core/modules/layout_builder/tests/src/FunctionalJavascript/FieldBlockTest.php +++ b/core/modules/layout_builder/tests/src/FunctionalJavascript/FieldBlockTest.php @@ -6,6 +6,8 @@ use Drupal\field\Entity\FieldConfig; use Drupal\field\Entity\FieldStorageConfig; use Drupal\FunctionalJavascriptTests\WebDriverTestBase; +// cspell:ignore datefield + /** * @coversDefaultClass \Drupal\layout_builder\Plugin\Block\FieldBlock * diff --git a/core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php b/core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php index 0db4a607eaf..fcb107e4b36 100644 --- a/core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php +++ b/core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php @@ -367,7 +367,7 @@ class LocaleImportFunctionalTest extends BrowserTestBase { /** * Tests .po file import with user.settings configuration. */ - public function testConfigtranslationImportingPoFile() { + public function testConfigTranslationImportingPoFile() { // Set the language code. $langcode = 'de'; diff --git a/core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php b/core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php index 0c9229b4e2b..c0062314475 100644 --- a/core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php +++ b/core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php @@ -20,6 +20,7 @@ use Drupal\media\OEmbed\UrlResolverInterface; use Drupal\media\Plugin\media\Source\OEmbedInterface; use Symfony\Component\DependencyInjection\ContainerInterface; +// cspell:ignore allowtransparency /** * Plugin implementation of the 'oembed' formatter. * diff --git a/core/modules/path_alias/tests/src/Functional/UrlAlterFunctionalTest.php b/core/modules/path_alias/tests/src/Functional/UrlAlterFunctionalTest.php index 9accbe0435f..1d5388221d4 100644 --- a/core/modules/path_alias/tests/src/Functional/UrlAlterFunctionalTest.php +++ b/core/modules/path_alias/tests/src/Functional/UrlAlterFunctionalTest.php @@ -39,7 +39,7 @@ class UrlAlterFunctionalTest extends BrowserTestBase { // User names can have quotes and plus signs so we should ensure that URL // altering works with this. - $account = $this->drupalCreateUser(['administer url aliases'], "a'foo+bar"); + $account = $this->drupalCreateUser(['administer url aliases'], "it's+bar"); $this->drupalLogin($account); $uid = $account->id(); diff --git a/core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditJavascriptTestBase.php b/core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditJavascriptTestBase.php index c671a10e40b..99e99151d81 100644 --- a/core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditJavascriptTestBase.php +++ b/core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditJavascriptTestBase.php @@ -78,7 +78,7 @@ class QuickEditJavascriptTestBase extends WebDriverTestBase { } $this->assertTrue(TRUE, 'All contextual links triggers are visible.'); - // @todo Press tab key to verify that tabbing is now contrained to only + // @todo Press tab key to verify that tabbing is now constrained to only // contextual links triggers: https://www.drupal.org/node/2834776 // Assert that the contextual links associated with the entity's contextual diff --git a/core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditLoadingTest.php b/core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditLoadingTest.php index 18e59f1b46e..71eca0c6a84 100644 --- a/core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditLoadingTest.php +++ b/core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditLoadingTest.php @@ -376,7 +376,7 @@ class QuickEditLoadingTest extends WebDriverTestBase { $page->attachFileToField('files[field_image_0]', $image_path); $alt_field = $assert->waitForField('field_image[0][alt]'); $this->assertNotEmpty($alt_field); - $this->submitForm(['field_image[0][alt]' => 'Vivamus aliquet elit'], 'Save'); + $this->submitForm(['field_image[0][alt]' => 'The quick fox'], 'Save'); // The image field form should load normally. // Wait "Quick edit" button for node. diff --git a/core/modules/search/tests/modules/search_extra_type/src/Plugin/Search/SearchExtraTypeSearch.php b/core/modules/search/tests/modules/search_extra_type/src/Plugin/Search/SearchExtraTypeSearch.php index f7c8599a629..2ae2682ba7d 100644 --- a/core/modules/search/tests/modules/search_extra_type/src/Plugin/Search/SearchExtraTypeSearch.php +++ b/core/modules/search/tests/modules/search_extra_type/src/Plugin/Search/SearchExtraTypeSearch.php @@ -99,7 +99,7 @@ class SearchExtraTypeSearch extends ConfigurableSearchPluginBase { '#type' => 'select', '#title' => t('Boost method'), '#options' => [ - 'bi' => t('Bistromathic'), + 'bi' => t('Bistro mathematics'), 'ii' => t('Infinite Improbability'), ], '#default_value' => $this->configuration['boost'], diff --git a/core/modules/search/tests/src/Functional/SearchCommentTest.php b/core/modules/search/tests/src/Functional/SearchCommentTest.php index b07904e922e..25142d8940e 100644 --- a/core/modules/search/tests/src/Functional/SearchCommentTest.php +++ b/core/modules/search/tests/src/Functional/SearchCommentTest.php @@ -147,7 +147,7 @@ class SearchCommentTest extends BrowserTestBase { // Post a comment with a keyword inside an evil script tag in the comment // body. Use the 'FULL HTML' text format so the script tag is stored. $edit_comment3 = []; - $edit_comment3['subject[0][value]'] = 'asubject'; + $edit_comment3['subject[0][value]'] = 'a subject'; $edit_comment3['comment_body[0][value]'] = ""; $edit_comment3['comment_body[0][format]'] = $full_html_format_id; $this->drupalGet('comment/reply/node/' . $node->id() . '/comment'); diff --git a/core/modules/sqlite/src/Driver/Database/sqlite/Schema.php b/core/modules/sqlite/src/Driver/Database/sqlite/Schema.php index dd88410715f..ff893d27518 100644 --- a/core/modules/sqlite/src/Driver/Database/sqlite/Schema.php +++ b/core/modules/sqlite/src/Driver/Database/sqlite/Schema.php @@ -6,6 +6,8 @@ use Drupal\Core\Database\SchemaObjectExistsException; use Drupal\Core\Database\SchemaObjectDoesNotExistException; use Drupal\Core\Database\Schema as DatabaseSchema; +// cspell:ignore autoincrement autoindex + /** * @ingroup schemaapi * @{ diff --git a/core/modules/statistics/tests/src/Functional/StatisticsAdminTest.php b/core/modules/statistics/tests/src/Functional/StatisticsAdminTest.php index 445a53d15a5..d943bcecf14 100644 --- a/core/modules/statistics/tests/src/Functional/StatisticsAdminTest.php +++ b/core/modules/statistics/tests/src/Functional/StatisticsAdminTest.php @@ -181,7 +181,7 @@ class StatisticsAdminTest extends BrowserTestBase { ->condition('nid', $this->testNode->id(), '=') ->execute() ->fetchField(); - $this->assertEmpty($result, 'Daycounter is zero.'); + $this->assertEmpty($result, 'Daycount is zero.'); } } diff --git a/core/modules/system/src/Form/ThemeSettingsForm.php b/core/modules/system/src/Form/ThemeSettingsForm.php index 51b57e6be1e..a07e9e6a8fb 100644 --- a/core/modules/system/src/Form/ThemeSettingsForm.php +++ b/core/modules/system/src/Form/ThemeSettingsForm.php @@ -17,6 +17,8 @@ use Drupal\Core\Form\ConfigFormBase; use Drupal\Core\Theme\ThemeManagerInterface; use Symfony\Component\Mime\MimeTypeGuesserInterface; +// cspell:ignore apng + /** * Displays theme configuration for entire site and individual themes. * diff --git a/core/modules/system/tests/modules/conneg_test/src/Controller/TestController.php b/core/modules/system/tests/modules/conneg_test/src/Controller/TestController.php index c26c01cf7bb..92321ed4f53 100644 --- a/core/modules/system/tests/modules/conneg_test/src/Controller/TestController.php +++ b/core/modules/system/tests/modules/conneg_test/src/Controller/TestController.php @@ -32,7 +32,7 @@ class TestController { } /** - * Returns different responses dependening on the request format. + * Returns different responses depending on the request format. * * @param \Symfony\Component\HttpFoundation\Request $request * The request diff --git a/core/modules/system/tests/modules/form_test/form_test.routing.yml b/core/modules/system/tests/modules/form_test/form_test.routing.yml index f58c11cd289..1f1379dd441 100644 --- a/core/modules/system/tests/modules/form_test/form_test.routing.yml +++ b/core/modules/system/tests/modules/form_test/form_test.routing.yml @@ -298,7 +298,7 @@ form_test.radios_checked: path: '/form-test/radios-checked' defaults: _form: '\Drupal\form_test\Form\FormTestRadiosCheckedForm' - _title: 'Radios checked defalt value' + _title: 'Radios checked default value' requirements: _access: 'TRUE' diff --git a/core/modules/system/tests/src/Unit/Transliteration/MachineNameControllerTest.php b/core/modules/system/tests/src/Unit/Transliteration/MachineNameControllerTest.php index eff6426a601..af8954e80f6 100644 --- a/core/modules/system/tests/src/Unit/Transliteration/MachineNameControllerTest.php +++ b/core/modules/system/tests/src/Unit/Transliteration/MachineNameControllerTest.php @@ -10,6 +10,8 @@ use Prophecy\Argument; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException; +// cspell:ignore aewesome + /** * Tests that the machine name controller can transliterate strings as expected. * diff --git a/core/modules/user/src/AccountForm.php b/core/modules/user/src/AccountForm.php index 34e5d401a4b..b157be34d0d 100644 --- a/core/modules/user/src/AccountForm.php +++ b/core/modules/user/src/AccountForm.php @@ -174,7 +174,7 @@ abstract class AccountForm extends ContentEntityForm implements TrustedCallbackI } // When not building the user registration form, prevent web browsers from - // autofilling/prefilling the email, username, and password fields. + // auto-filling/prefilling the email, username, and password fields. if (!$register) { foreach (['mail', 'name', 'pass'] as $key) { if (isset($form['account'][$key])) { diff --git a/core/modules/views/src/Plugin/views/query/Sql.php b/core/modules/views/src/Plugin/views/query/Sql.php index 1f090ac81bd..0a639958893 100644 --- a/core/modules/views/src/Plugin/views/query/Sql.php +++ b/core/modules/views/src/Plugin/views/query/Sql.php @@ -237,7 +237,7 @@ class Sql extends QueryPluginBase { * Set the view to be distinct (per base field). * * @param bool $value - * Should the view be distincted. + * Should the view be distinct. */ protected function setDistinct($value = TRUE) { if (!(isset($this->noDistinct) && $value)) { diff --git a/core/modules/views/src/Plugin/views/style/Table.php b/core/modules/views/src/Plugin/views/style/Table.php index 5a508b77990..11552188dda 100644 --- a/core/modules/views/src/Plugin/views/style/Table.php +++ b/core/modules/views/src/Plugin/views/style/Table.php @@ -103,7 +103,7 @@ class Table extends StylePluginBase implements CacheableDependencyInterface { $query = $this->view->getRequest()->query; $order = $query->get('order'); if (!isset($order)) { - // check for a 'default' clicksort. If there isn't one, exit gracefully. + // check for a 'default' clickSort. If there isn't one, exit gracefully. if (empty($this->options['default'])) { return; } diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_user_path.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_user_path.yml index d0640d83e9e..66de53e98c8 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_user_path.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_user_path.yml @@ -35,13 +35,13 @@ display: exposed_form: type: basic options: - submit_button: Toepassen + submit_button: Submit reset_button: false reset_button_label: Reset - exposed_sorts_label: 'Sorteren op' + exposed_sorts_label: Sort expose_sort_order: true - sort_asc_label: Oplopend - sort_desc_label: Aflopend + sort_asc_label: Ascending + sort_desc_label: Descending pager: type: mini options: @@ -54,7 +54,7 @@ display: items_per_page_label: 'Items per pagina' items_per_page_options: '5, 10, 25, 50' items_per_page_options_all: false - items_per_page_options_all_label: '- Alle -' + items_per_page_options_all_label: '- All -' offset: false offset_label: Startpunt tags: diff --git a/core/modules/views/tests/src/Functional/Plugin/StyleTableTest.php b/core/modules/views/tests/src/Functional/Plugin/StyleTableTest.php index 461346ba6db..38c7a08dde5 100644 --- a/core/modules/views/tests/src/Functional/Plugin/StyleTableTest.php +++ b/core/modules/views/tests/src/Functional/Plugin/StyleTableTest.php @@ -122,7 +122,7 @@ class StyleTableTest extends ViewTestBase { * Tests that a number with the value of "0" is displayed in the table. */ public function testNumericFieldVisible() { - // Adds a new datapoint in the views_test_data table to have a person with + // Adds a new data point in the views_test_data table to have a person with // an age of zero. $data_set = $this->dataSet(); $query = Database::getConnection()->insert('views_test_data') diff --git a/core/modules/workspaces/src/WorkspaceListBuilder.php b/core/modules/workspaces/src/WorkspaceListBuilder.php index d4ae958403d..a6aa53a4dad 100644 --- a/core/modules/workspaces/src/WorkspaceListBuilder.php +++ b/core/modules/workspaces/src/WorkspaceListBuilder.php @@ -121,7 +121,7 @@ class WorkspaceListBuilder extends EntityListBuilder { '#url' => $entity->toUrl(), ], ], - 'owner' => $entity->getOwner()->getDisplayname(), + 'owner' => $entity->getOwner()->getDisplayName(), ]; $row['data'] = $row['data'] + parent::buildRow($entity); diff --git a/core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php b/core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php index 06dde6ce8d0..126f8f34c16 100644 --- a/core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php +++ b/core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php @@ -180,7 +180,7 @@ class UncaughtExceptionTest extends BrowserTestBase { $this->expectedExceptionMessage = PHP_VERSION_ID >= 80000 ? 'Drupal\FunctionalTests\Bootstrap\ErrorContainer::Drupal\FunctionalTests\Bootstrap\{closure}(): Argument #1 ($container) must be of type Drupal\FunctionalTests\Bootstrap\ErrorContainer' : - 'Argument 1 passed to Drupal\FunctionalTests\Bootstrap\ErrorContainer::Drupal\FunctionalTests\Bootstrap\{closur'; + 'Argument 1 passed to Drupal\FunctionalTests\Bootstrap\ErrorContainer::Drupal\FunctionalTests\Bootstrap\{closure'; $this->drupalGet(''); $this->assertSession()->statusCodeEquals(500); diff --git a/core/tests/Drupal/KernelTests/Core/Config/ConfigDiffTest.php b/core/tests/Drupal/KernelTests/Core/Config/ConfigDiffTest.php index 120cf77de8a..bc465ea31ec 100644 --- a/core/tests/Drupal/KernelTests/Core/Config/ConfigDiffTest.php +++ b/core/tests/Drupal/KernelTests/Core/Config/ConfigDiffTest.php @@ -137,7 +137,7 @@ class ConfigDiffTest extends KernelTestBase { } /** - * Helper method to test that an edit is found in a diff'd YAML file. + * Helper method to test that an edit is found in the diff of two storages. * * @param array $edits * A list of edits. diff --git a/core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php b/core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php index 651ca284822..f0f3cbf93c1 100644 --- a/core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php @@ -144,7 +144,7 @@ class AssetResolverTest extends UnitTestCase { 1, ], 'different libraries, same timestamps' => [ - (new AttachedAssets())->setAlreadyLoadedLibraries([])->setLibraries(['core/drupal'])->setSettings(['currenttime' => $time]), + (new AttachedAssets())->setAlreadyLoadedLibraries([])->setLibraries(['core/drupal'])->setSettings(['currentTime' => $time]), (new AttachedAssets())->setAlreadyLoadedLibraries([])->setLibraries(['core/drupal', 'core/jquery'])->setSettings(['currentTime' => $time]), 2, ], diff --git a/core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php b/core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php index fb93779a916..ac30f40b6ff 100644 --- a/core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php +++ b/core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php @@ -93,7 +93,7 @@ class DrupalKernelTest extends UnitTestCase { // Tests mismatch. $data[] = [ - 'www.blackhat.com', + 'www.black_hat.com', 'www.example.com', 'unspecified host is untrusted', FALSE, diff --git a/core/tests/Drupal/Tests/Core/Theme/RegistryTest.php b/core/tests/Drupal/Tests/Core/Theme/RegistryTest.php index 3a9f82ac092..9555799a4fa 100644 --- a/core/tests/Drupal/Tests/Core/Theme/RegistryTest.php +++ b/core/tests/Drupal/Tests/Core/Theme/RegistryTest.php @@ -222,7 +222,7 @@ class RegistryTest extends UnitTestCase { // Test the discovery of suggestions via the presence of preprocess // functions that follow the "__" naming pattern. - $data['base_hook_with_autodiscovered_suggestions'] = [ + $data['base_hook_with_auto-discovered_suggestions'] = [ 'defined_functions' => [ 'test_preprocess_test_hook__suggestion', 'test_preprocess_test_hook__suggestion__another',