Unverified Commit 3310654e authored by alexpott's avatar alexpott
Browse files

Issue #3210129 by quietone, murilohp, xjm: Fix spelling for words used once,...

Issue #3210129 by quietone, murilohp, xjm: Fix spelling for words used once, beginning with 'a' -> 'd', inclusive
parent 4e4f76c9
......@@ -74,7 +74,7 @@ public function orIf(AccessResultInterface $other);
/**
* 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()
......
......@@ -2540,7 +2540,7 @@ protected function addUniqueKey($table, $name, array $specifier) {
}
/**
* 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
......
......@@ -232,7 +232,7 @@ final protected function checkPath($path) {
*/
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) {
......
......@@ -167,9 +167,9 @@ protected function crypt($algo, $password, $setting) {
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;
}
......
......@@ -14,6 +14,8 @@
use Drupal\Core\Routing\RouteObjectInterface;
use Symfony\Component\HttpFoundation\Request;
// cspell:ignore abempty
/**
* Defines an object that holds information about a URL.
*
......
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
......
......@@ -203,7 +203,7 @@ public function testUnauthorizedErrorMessage() {
}
/**
* 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()
*/
......
......@@ -282,7 +282,7 @@ public function testMachineNameSuggestion() {
$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);
......
......@@ -225,7 +225,7 @@ public function testCRUD() {
/**
* Tests CRUD operations through the UI.
*/
public function testCRUDUI() {
public function testCrudUi() {
$this->drupalLogin($this->drupalCreateUser([
'administer site configuration',
]));
......
......@@ -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]);
}
......
......@@ -35,6 +35,8 @@
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.
*
......
......@@ -72,7 +72,7 @@ public static function preRenderText($element) {
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);
......
......@@ -85,7 +85,7 @@ public function helpMain() {
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;
}
......
......@@ -80,7 +80,7 @@ public function query() {
}
// 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();
......
......@@ -6,7 +6,7 @@
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 {
......
......@@ -67,7 +67,7 @@ public function linkComparisonProvider() {
],
'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' => [
......
......@@ -6,6 +6,8 @@
use Drupal\field\Entity\FieldStorageConfig;
use Drupal\FunctionalJavascriptTests\WebDriverTestBase;
// cspell:ignore datefield
/**
* @coversDefaultClass \Drupal\layout_builder\Plugin\Block\FieldBlock
*
......
......@@ -367,7 +367,7 @@ public function testConfigPoFile() {
/**
* Tests .po file import with user.settings configuration.
*/
public function testConfigtranslationImportingPoFile() {
public function testConfigTranslationImportingPoFile() {
// Set the language code.
$langcode = 'de';
......
......@@ -20,6 +20,7 @@
use Drupal\media\Plugin\media\Source\OEmbedInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
// cspell:ignore allowtransparency
/**
* Plugin implementation of the 'oembed' formatter.
*
......
......@@ -39,7 +39,7 @@ public function testUrlAlter() {
// 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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment