Issue #3389282 by quietone, smustgrave, alexpott: Fix spelling for words that are only misspelled in comments
parent
ea3f7b53d4
commit
6118e0dc37
|
@ -78,8 +78,8 @@
|
|||
* @code
|
||||
* $databases['default']['default'] = [
|
||||
* 'database' => 'databasename',
|
||||
* 'username' => 'sqlusername',
|
||||
* 'password' => 'sqlpassword',
|
||||
* 'username' => 'sql_username',
|
||||
* 'password' => 'sql_password',
|
||||
* 'host' => 'localhost',
|
||||
* 'port' => '3306',
|
||||
* 'driver' => 'mysql',
|
||||
|
@ -194,8 +194,8 @@ $databases = [];
|
|||
* $databases['default']['default'] = [
|
||||
* 'driver' => 'pgsql',
|
||||
* 'database' => 'databasename',
|
||||
* 'username' => 'sqlusername',
|
||||
* 'password' => 'sqlpassword',
|
||||
* 'username' => 'sql_username',
|
||||
* 'password' => 'sql_password',
|
||||
* 'host' => 'localhost',
|
||||
* 'prefix' => '',
|
||||
* ];
|
||||
|
@ -205,7 +205,7 @@ $databases = [];
|
|||
* @code
|
||||
* $databases['default']['default'] = [
|
||||
* 'driver' => 'sqlite',
|
||||
* 'database' => '/path/to/databasefilename',
|
||||
* 'database' => '/path/to/database_filename',
|
||||
* ];
|
||||
* @endcode
|
||||
*
|
||||
|
@ -216,8 +216,8 @@ $databases = [];
|
|||
* 'namespace' => 'Drupal\my_module\Driver\Database\my_driver',
|
||||
* 'autoload' => 'modules/my_module/src/Driver/Database/my_driver/',
|
||||
* 'database' => 'databasename',
|
||||
* 'username' => 'sqlusername',
|
||||
* 'password' => 'sqlpassword',
|
||||
* 'username' => 'sql_username',
|
||||
* 'password' => 'sql_password',
|
||||
* 'host' => 'localhost',
|
||||
* 'prefix' => '',
|
||||
* ];
|
||||
|
@ -231,8 +231,8 @@ $databases = [];
|
|||
* 'namespace' => 'Drupal\my_module\Driver\Database\my_driver',
|
||||
* 'autoload' => 'modules/my_module/src/Driver/Database/my_driver/',
|
||||
* 'database' => 'databasename',
|
||||
* 'username' => 'sqlusername',
|
||||
* 'password' => 'sqlpassword',
|
||||
* 'username' => 'sql_username',
|
||||
* 'password' => 'sql_password',
|
||||
* 'host' => 'localhost',
|
||||
* 'prefix' => '',
|
||||
* 'dependencies' => [
|
||||
|
@ -588,7 +588,7 @@ $settings['update_free_access'] = FALSE;
|
|||
* the output of phpinfo(). The full output can contain sensitive information
|
||||
* so by default Drupal removes some sections.
|
||||
*
|
||||
* This behaviour can be configured by setting this variable to a different
|
||||
* This behavior can be configured by setting this variable to a different
|
||||
* value corresponding to the flags parameter of phpinfo().
|
||||
*
|
||||
* If you need to expose more information in the report - for example to debug a
|
||||
|
|
|
@ -294,7 +294,7 @@ EOD;
|
|||
* string "See MyVeryLongURLExample.com for more information" to a word-safe
|
||||
* return length of 20, the only available word boundary within 20 characters
|
||||
* is after the word "See", which wouldn't leave a very informative string. If
|
||||
* you had set $min_wordsafe_length to 10, though, the function would realise
|
||||
* you had set $min_wordsafe_length to 10, though, the function would realize
|
||||
* that "See" alone is too short, and would then just truncate ignoring word
|
||||
* boundaries, giving you "See MyVeryLongURL..." (assuming you had set
|
||||
* $add_ellipsis to TRUE).
|
||||
|
|
|
@ -259,14 +259,14 @@ interface QueryInterface extends AlterableInterface {
|
|||
*
|
||||
* For example, consider a map entity with an 'attributes' field
|
||||
* containing 'building_type' and 'color' columns. To find all green and
|
||||
* red bikesheds:
|
||||
* red sheds:
|
||||
* @code
|
||||
* $query = \Drupal::entityQuery('map')->accessCheck(FALSE);
|
||||
* $group = $query->orConditionGroup()
|
||||
* ->condition('attributes.color', 'red')
|
||||
* ->condition('attributes.color', 'green');
|
||||
* $entity_ids = $query
|
||||
* ->condition('attributes.building_type', 'bikeshed')
|
||||
* ->condition('attributes.building_type', 'shed')
|
||||
* ->condition($group)
|
||||
* ->execute();
|
||||
* @endcode
|
||||
|
@ -274,7 +274,7 @@ interface QueryInterface extends AlterableInterface {
|
|||
* @code
|
||||
* $entity_ids = $query
|
||||
* ->condition('attributes.color', ['red', 'green'])
|
||||
* ->condition('attributes.building_type', 'bikeshed')
|
||||
* ->condition('attributes.building_type', 'shed')
|
||||
* ->execute();
|
||||
* @endcode
|
||||
*
|
||||
|
|
|
@ -60,7 +60,7 @@ class PasswordItem extends StringItem {
|
|||
}
|
||||
}
|
||||
|
||||
// Ensure that the existing password is unset to minimise risks of it
|
||||
// Ensure that the existing password is unset to minimize risks of it
|
||||
// getting serialized and stored somewhere.
|
||||
$this->existing = NULL;
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ namespace Drupal\Core\PathProcessor;
|
|||
use Symfony\Component\HttpFoundation\Request;
|
||||
|
||||
/**
|
||||
* Processes the inbound path by urldecoding it.
|
||||
* Processes the inbound path by decoding the URL.
|
||||
*
|
||||
* Parameters in the URL sometimes represent code-meaningful strings. It is
|
||||
* therefore useful to always urldecode() those values so that individual
|
||||
|
|
|
@ -22,8 +22,6 @@ alternatif
|
|||
amet
|
||||
amphibius
|
||||
ampm
|
||||
analyse
|
||||
analysed
|
||||
andif
|
||||
annot
|
||||
anonyme
|
||||
|
@ -107,8 +105,6 @@ bgblue
|
|||
bgred
|
||||
bidi
|
||||
bigpipe
|
||||
bikeshed
|
||||
bikesheds
|
||||
bitmask
|
||||
bkmgtpezy
|
||||
bkslshv
|
||||
|
@ -254,10 +250,8 @@ customly
|
|||
customrequest
|
||||
cweagans
|
||||
cádiz
|
||||
databasefilename
|
||||
databasename
|
||||
datas
|
||||
dateformatter
|
||||
datelist
|
||||
dateonly
|
||||
daterange
|
||||
|
@ -286,7 +280,6 @@ denormalizer
|
|||
denormalizers
|
||||
denormalizes
|
||||
denormalizing
|
||||
denyall
|
||||
depcn
|
||||
dependee
|
||||
dependee's
|
||||
|
@ -464,7 +457,6 @@ gnumeric
|
|||
goldfinger
|
||||
googleapis
|
||||
gotit
|
||||
grandgrandchild
|
||||
grayskull
|
||||
greeking
|
||||
gripsmall
|
||||
|
@ -644,7 +636,6 @@ mikey
|
|||
milli
|
||||
mimetypes
|
||||
minifyzombies
|
||||
minimise
|
||||
minipager
|
||||
minusthick
|
||||
missingkey
|
||||
|
@ -885,7 +876,6 @@ rasterizes
|
|||
rawurlencoded
|
||||
readmore
|
||||
readonlydir
|
||||
realise
|
||||
realpaths
|
||||
realword
|
||||
rebuilder
|
||||
|
@ -922,7 +912,6 @@ restriped
|
|||
restui
|
||||
rethrown
|
||||
returntransfer
|
||||
revisionability
|
||||
revisionable
|
||||
revisioned
|
||||
revisionid
|
||||
|
@ -953,7 +942,6 @@ schemaapi
|
|||
schemeless
|
||||
schipulcon
|
||||
scorewords
|
||||
screenreaders
|
||||
scriptable
|
||||
scrollbars
|
||||
searchdirs
|
||||
|
@ -996,8 +984,6 @@ spiffiness
|
|||
splitbutton
|
||||
splitbuttons
|
||||
spreadsheetml
|
||||
sqlpassword
|
||||
sqlusername
|
||||
squaresmall
|
||||
squiz
|
||||
squizlabs
|
||||
|
@ -1050,7 +1036,6 @@ subrequest's
|
|||
subrequests
|
||||
subresults
|
||||
subselect
|
||||
subsequentially
|
||||
subshell
|
||||
substrategies
|
||||
subsubtheme
|
||||
|
@ -1255,7 +1240,6 @@ unshortened
|
|||
unsimplified
|
||||
unsticky
|
||||
unstripped
|
||||
unsynchronized
|
||||
untabbable
|
||||
untarring
|
||||
untrustable
|
||||
|
@ -1272,7 +1256,6 @@ uppercased
|
|||
upscaling
|
||||
urandom
|
||||
urlalias
|
||||
urldecoding
|
||||
usecase
|
||||
userid
|
||||
userinfo
|
||||
|
|
|
@ -251,7 +251,7 @@
|
|||
* To ensure they have higher specificity and are not reset too aggressively.
|
||||
*
|
||||
* @param {CSSRule} rule
|
||||
* A single CSS rule to be analysed and changed if necessary.
|
||||
* A single CSS rule to be analyzed and changed if necessary.
|
||||
*/
|
||||
function ckeditor5SelectorProcessing(rule) {
|
||||
// Handle nested rules in @media, @support, etc.
|
||||
|
|
|
@ -252,7 +252,7 @@ class ContentTranslationSyncUnitTest extends KernelTestBase {
|
|||
for ($delta = 0; $delta < $this->cardinality; $delta++) {
|
||||
foreach ($this->columns as $column) {
|
||||
// If the column is synchronized, the value should have been synced,
|
||||
// for unsynchronized columns, the value must not change.
|
||||
// for columns that are not synchronized, the value must not change.
|
||||
$expected_value = in_array($column, $this->synchronized) ? $changed_items[$delta][$column] : $this->unchangedFieldValues[$langcode][$delta][$column];
|
||||
$this->assertEquals($expected_value, $field_values[$langcode][$delta][$column], "Differing Item {$delta} column {$column} for langcode {$langcode} synced correctly");
|
||||
}
|
||||
|
|
|
@ -38,7 +38,7 @@ class FieldOptionTranslation extends Field {
|
|||
$query->leftJoin('content_node_field', 'cnf', '[cnf].[field_name] = [i18n].[objectid]');
|
||||
$query->addField('cnf', 'field_name');
|
||||
$query->addField('cnf', 'global_settings');
|
||||
// Minimise changes to the d6_field_option_translation.yml, which is copied
|
||||
// Minimize changes to the d6_field_option_translation.yml, which is copied
|
||||
// from d6_field.yml, by ensuring the 'type' property is from
|
||||
// content_node_field table.
|
||||
$query->addField('cnf', 'type');
|
||||
|
|
|
@ -159,7 +159,7 @@ class ImageItemTest extends FieldKernelTestBase {
|
|||
*/
|
||||
public function testImageItemSampleValueGeneration() {
|
||||
|
||||
// Default behaviour. No resolution configuration.
|
||||
// Default behavior. No resolution configuration.
|
||||
$entity = EntityTest::create();
|
||||
$entity->image_test->generateSampleItems();
|
||||
$this->entityValidateAndSave($entity);
|
||||
|
|
|
@ -84,14 +84,14 @@ class LanguageSwitchingTest extends BrowserTestBase {
|
|||
$this->doTestLanguageBlockAnonymous($block->label());
|
||||
$this->doTestLanguageBlock404($block->label(), 'system/404');
|
||||
|
||||
// Test 404s with big_pipe where the behaviour is different for logged-in
|
||||
// Test 404s with big_pipe where the behavior is different for logged-in
|
||||
// users.
|
||||
\Drupal::service('module_installer')->install(['big_pipe']);
|
||||
$this->rebuildAll();
|
||||
$this->doTestLanguageBlock404($block->label(), 'system/404');
|
||||
$this->drupalLogin($this->drupalCreateUser());
|
||||
// @todo This is testing the current behaviour with the big_pipe module
|
||||
// enabled. This behaviour is a bug will be fixed in
|
||||
// @todo This is testing the current behavior with the big_pipe module
|
||||
// enabled. This behavior is a bug will be fixed in
|
||||
// https://www.drupal.org/project/drupal/issues/3349201.
|
||||
$this->doTestLanguageBlock404($block->label(), '<front>');
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ use Drupal\user\Entity\Role;
|
|||
use Drupal\user\RoleInterface;
|
||||
|
||||
/**
|
||||
* Tests the revisionability of media entities.
|
||||
* Tests the revisions of media entities.
|
||||
*
|
||||
* @group media
|
||||
*/
|
||||
|
|
|
@ -57,7 +57,7 @@ abstract class AssetControllerBase extends FileDownloadController {
|
|||
* for the file will be served from disk and be cached. This is done to
|
||||
* avoid situations such as where one CDN endpoint is serving a version
|
||||
* cached from PHP, while another is serving a version cached from disk.
|
||||
* Should there be any discrepancy in behaviour between those files, this
|
||||
* Should there be any discrepancy in behavior between those files, this
|
||||
* can make debugging very difficult.
|
||||
*/
|
||||
protected const CACHE_CONTROL = 'private, no-store';
|
||||
|
|
|
@ -102,7 +102,7 @@ class SecurityFileUploadEventSubscriber implements EventSubscriberInterface {
|
|||
|
||||
// Munge the filename to protect against possible malicious extension hiding
|
||||
// within an unknown file type (i.e. filename.html.foo). This was introduced
|
||||
// as part of SA-2006-006 to fix Apache's risky fallback behaviour.
|
||||
// as part of SA-2006-006 to fix Apache's risky fallback behavior.
|
||||
|
||||
// Loop through the middle parts of the name and add an underscore to the
|
||||
// end of each section that could be a file extension but isn't in the
|
||||
|
|
|
@ -197,7 +197,7 @@ final class LinksetControllerMultiLingualTest extends LinksetControllerTestBase
|
|||
}
|
||||
|
||||
/**
|
||||
* Test core functions of the linkset for multilingual behaviour.
|
||||
* Test core functions of the linkset for multilingual behavior.
|
||||
*
|
||||
* @throws \Exception
|
||||
*/
|
||||
|
@ -210,7 +210,7 @@ final class LinksetControllerMultiLingualTest extends LinksetControllerTestBase
|
|||
}
|
||||
|
||||
/**
|
||||
* Test core functions of the linkset for multilingual behaviour.
|
||||
* Test core functions of the linkset for multilingual behavior.
|
||||
*
|
||||
* @throws \Exception
|
||||
*/
|
||||
|
|
|
@ -32,7 +32,7 @@ use Symfony\Component\Routing\Route;
|
|||
* plugin should have an annotation that includes the plugin's metadata, for
|
||||
* example:
|
||||
* @Plugin(
|
||||
* id = "denyall",
|
||||
* id = "deny_all",
|
||||
* title = @Translation("No Access"),
|
||||
* help = @Translation("Will not be accessible.")
|
||||
* )
|
||||
|
|
|
@ -42,7 +42,7 @@ class AnalyzeTest extends UITestBase {
|
|||
$this->assertSession()->titleEquals('View analysis | Drupal');
|
||||
|
||||
foreach (['ok', 'warning', 'error'] as $type) {
|
||||
// Check that analyse messages with the expected type found.
|
||||
// Check that analyze messages with the expected type found.
|
||||
$this->assertSession()->elementExists('css', 'div.' . $type);
|
||||
}
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
<!-- Deprecation testing is managed through Symfony's PHPUnit Bridge.
|
||||
The environment variable SYMFONY_DEPRECATIONS_HELPER is used to configure
|
||||
the behaviour of the deprecation tests.
|
||||
the behavior of the deprecation tests.
|
||||
See https://symfony.com/doc/current/components/phpunit_bridge.html#configuration
|
||||
Drupal core's testing framework is setting this variable to its defaults.
|
||||
Projects with their own requirements need to manage this variable
|
||||
|
|
|
@ -13,7 +13,7 @@ use PHPUnit\Framework\TestCase;
|
|||
*
|
||||
* Upgrading a Composer plugin can be a dangerous operation. If the plugin
|
||||
* instantiates any classes during the activate method, and the plugin code
|
||||
* is subsequentially modified by a `composer update` operation, then any
|
||||
* is subsequently modified by a `composer update` operation, then any
|
||||
* post-update hook (& etc.) may run with inconsistent code, leading to
|
||||
* runtime errors. This test ensures that it is possible to upgrade from the
|
||||
* last available stable 8.8.x tag to the current Scaffold plugin code (e.g. in
|
||||
|
|
|
@ -192,7 +192,7 @@ class DateTest extends UnitTestCase {
|
|||
$timestamp = $this->createTimestamp('2013-12-11 10:09:09');
|
||||
$options = [];
|
||||
|
||||
// Mocks the formatDiff function of the dateformatter object.
|
||||
// Mocks the formatDiff function of the DateFormatter object.
|
||||
$this->dateFormatterStub
|
||||
->expects($this->exactly(2))
|
||||
->method('formatDiff')
|
||||
|
@ -225,7 +225,7 @@ class DateTest extends UnitTestCase {
|
|||
$request_time = $this->createTimestamp('2013-12-11 10:09:08');
|
||||
$options = [];
|
||||
|
||||
// Mocks the formatDiff function of the dateformatter object.
|
||||
// Mocks the formatDiff function of the DateFormatter object.
|
||||
$this->dateFormatterStub
|
||||
->expects($this->exactly(2))
|
||||
->method('formatDiff')
|
||||
|
|
|
@ -342,7 +342,7 @@ class RendererBubblingTest extends RendererTestBase {
|
|||
// A lower max-age; the redirecting cache item should be updated.
|
||||
'max-age' => 1800,
|
||||
],
|
||||
'grandgrandchild' => [
|
||||
'great grandchild' => [
|
||||
'#access_callback' => function () use (&$current_user_role) {
|
||||
// Only role C can access this subtree.
|
||||
return $current_user_role === 'C';
|
||||
|
@ -400,7 +400,7 @@ class RendererBubblingTest extends RendererTestBase {
|
|||
'#markup' => 'parent',
|
||||
]);
|
||||
|
||||
// Request 3: role C, both the grandchild and the grandgrandchild are
|
||||
// Request 3: role C, both the grandchild and the great grandchild are
|
||||
// accessible => bubbled cache contexts: foo, bar, user.roles + merged
|
||||
// max-age: 300.
|
||||
$element = $test_element;
|
||||
|
|
|
@ -458,7 +458,7 @@ function claro_form_alter(array &$form, FormStateInterface $form_state, $form_id
|
|||
|
||||
// Group the bulk actions select and submit elements, and add a label
|
||||
// that makes the purpose of these elements more clear to
|
||||
// screenreaders.
|
||||
// screen readers.
|
||||
$form['bulk_actions_container']['#attributes']['role'] = 'group';
|
||||
$form['bulk_actions_container']['#attributes']['aria-labelledby'] = $label_id;
|
||||
$form['bulk_actions_container']['group_label'] = [
|
||||
|
@ -835,7 +835,7 @@ function claro_form_views_exposed_form_alter(&$form, FormStateInterface $form_st
|
|||
$view = $form_state->getStorage()['view'];
|
||||
$view_title = $view->getTitle();
|
||||
|
||||
// Add a label so screenreaders can identify the purpose of the exposed form
|
||||
// Add a label so screen readers can identify the purpose of the exposed form
|
||||
// without having to scan content that appears further down the page.
|
||||
$form['#attributes']['aria-label'] = t('Filter the contents of the %view_title view', ['%view_title' => $view_title]);
|
||||
}
|
||||
|
|
|
@ -78,8 +78,8 @@
|
|||
* @code
|
||||
* $databases['default']['default'] = [
|
||||
* 'database' => 'databasename',
|
||||
* 'username' => 'sqlusername',
|
||||
* 'password' => 'sqlpassword',
|
||||
* 'username' => 'sql_username',
|
||||
* 'password' => 'sql_password',
|
||||
* 'host' => 'localhost',
|
||||
* 'port' => '3306',
|
||||
* 'driver' => 'mysql',
|
||||
|
@ -194,8 +194,8 @@ $databases = [];
|
|||
* $databases['default']['default'] = [
|
||||
* 'driver' => 'pgsql',
|
||||
* 'database' => 'databasename',
|
||||
* 'username' => 'sqlusername',
|
||||
* 'password' => 'sqlpassword',
|
||||
* 'username' => 'sql_username',
|
||||
* 'password' => 'sql_password',
|
||||
* 'host' => 'localhost',
|
||||
* 'prefix' => '',
|
||||
* ];
|
||||
|
@ -205,7 +205,7 @@ $databases = [];
|
|||
* @code
|
||||
* $databases['default']['default'] = [
|
||||
* 'driver' => 'sqlite',
|
||||
* 'database' => '/path/to/databasefilename',
|
||||
* 'database' => '/path/to/database_filename',
|
||||
* ];
|
||||
* @endcode
|
||||
*
|
||||
|
@ -216,8 +216,8 @@ $databases = [];
|
|||
* 'namespace' => 'Drupal\my_module\Driver\Database\my_driver',
|
||||
* 'autoload' => 'modules/my_module/src/Driver/Database/my_driver/',
|
||||
* 'database' => 'databasename',
|
||||
* 'username' => 'sqlusername',
|
||||
* 'password' => 'sqlpassword',
|
||||
* 'username' => 'sql_username',
|
||||
* 'password' => 'sql_password',
|
||||
* 'host' => 'localhost',
|
||||
* 'prefix' => '',
|
||||
* ];
|
||||
|
@ -231,8 +231,8 @@ $databases = [];
|
|||
* 'namespace' => 'Drupal\my_module\Driver\Database\my_driver',
|
||||
* 'autoload' => 'modules/my_module/src/Driver/Database/my_driver/',
|
||||
* 'database' => 'databasename',
|
||||
* 'username' => 'sqlusername',
|
||||
* 'password' => 'sqlpassword',
|
||||
* 'username' => 'sql_username',
|
||||
* 'password' => 'sql_password',
|
||||
* 'host' => 'localhost',
|
||||
* 'prefix' => '',
|
||||
* 'dependencies' => [
|
||||
|
@ -588,7 +588,7 @@ $settings['update_free_access'] = FALSE;
|
|||
* the output of phpinfo(). The full output can contain sensitive information
|
||||
* so by default Drupal removes some sections.
|
||||
*
|
||||
* This behaviour can be configured by setting this variable to a different
|
||||
* This behavior can be configured by setting this variable to a different
|
||||
* value corresponding to the flags parameter of phpinfo().
|
||||
*
|
||||
* If you need to expose more information in the report - for example to debug a
|
||||
|
|
Loading…
Reference in New Issue