Issue #3210129 by quietone, murilohp, xjm: Fix spelling for words used once, beginning with 'a' -> 'd', inclusive
parent
4e4f76c944
commit
3310654e79
|
@ -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()
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
*/
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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',
|
||||
]));
|
||||
|
|
|
@ -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\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.
|
||||
*
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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 {
|
||||
|
||||
|
|
|
@ -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' => [
|
||||
|
|
|
@ -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
|
||||
*
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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'],
|
||||
|
|
|
@ -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]'] = "<script>alert('insidekeyword');</script>";
|
||||
$edit_comment3['comment_body[0][format]'] = $full_html_format_id;
|
||||
$this->drupalGet('comment/reply/node/' . $node->id() . '/comment');
|
||||
|
|
|
@ -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
|
||||
* @{
|
||||
|
|
|
@ -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.');
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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])) {
|
||||
|
|
|
@ -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)) {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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,
|
||||
],
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue