Issue #3413984 by quietone: Simple fixes for words with prefix of 'de' or 're'

merge-requests/6144/head
Dave Long 2024-01-12 10:37:42 +00:00
parent 16552b02a3
commit 9089e7a939
No known key found for this signature in database
GPG Key ID: ED52AE211E142771
15 changed files with 19 additions and 25 deletions

View File

@ -152,7 +152,7 @@ class AnnotatedClassDiscovery implements DiscoveryInterface {
$this->fileCache->set($fileinfo->getPathName(), ['id' => $id, 'content' => serialize($content)]);
}
else {
// Store a NULL object, so the file is not reparsed again.
// Store a NULL object, so the file is not parsed again.
$this->fileCache->set($fileinfo->getPathName(), [NULL]);
}
}

View File

@ -89,7 +89,7 @@ class AttributeClassDiscovery implements DiscoveryInterface {
$this->fileCache->set($fileinfo->getPathName(), ['id' => $id, 'content' => serialize($content)]);
}
else {
// Store a NULL object, so the file is not reparsed again.
// Store a NULL object, so the file is not parsed again.
$this->fileCache->set($fileinfo->getPathName(), [NULL]);
}
}

View File

@ -873,8 +873,8 @@ class ConfigImporter {
->setSourceStorage($this->storageComparer->getSourceStorage());
if ($type == 'module') {
$this->moduleInstaller->$op([$name], FALSE);
// Installing a module can cause a kernel boot therefore reinject all the
// services.
// Installing a module can cause a kernel boot therefore inject all the
// services again.
$this->reInjectMe();
// During a module install or uninstall the container is rebuilt and the
// module handler is called. This causes the container's instance of the

View File

@ -969,7 +969,7 @@ class DrupalKernel implements DrupalKernelInterface, TerminableInterface {
$this->container->get('session')->start();
}
// The request stack is preserved across container rebuilds. Reinject the
// The request stack is preserved across container rebuilds. Re-inject the
// new session into the main request if one was present before.
if (($request_stack = $this->container->get('request_stack', ContainerInterface::NULL_ON_INVALID_REFERENCE))) {
if ($request = $request_stack->getMainRequest()) {

View File

@ -518,8 +518,8 @@ interface EntityTypeInterface extends PluginDefinitionInterface {
*
* The implications of this method are left to the discretion of the caller.
* For example, a module providing an HTTP API may not expose entities of
* this type or a custom entity reference field settings form may deprioritize
* entities of this type in a select list.
* this type or a custom entity reference field settings form may reduce the
* priority for entities of this type in a select list.
*
* @return bool
* TRUE if the entity data is internal, FALSE otherwise.

View File

@ -110,6 +110,7 @@ class FormErrorHandler implements FormErrorHandlerInterface {
// modify the original form. When processing grouped elements a reference to
// the complete form is needed.
if (empty($elements)) {
// cspell:disable-next-line
// phpcs:ignore DrupalPractice.CodeAnalysis.VariableAnalysis.VariableRedeclaration
$elements = &$form;
}

View File

@ -15,7 +15,7 @@ class ObjectSerialization {
}
/**
* ObjectSerialization deconstructor.
* ObjectSerialization destructor.
*/
public function __destruct() {
throw new \Exception('This object should never be destructed');

View File

@ -229,8 +229,8 @@ interface DataDefinitionInterface {
*
* The implications of this method are left to the discretion of the caller.
* For example, a module providing an HTTP API may not expose entities of
* this type, or a custom entity reference field settings form may
* deprioritize entities of this type in a select list.
* this type or a custom entity reference field settings form may reduce the
* priority for entities of this type in a select list.
*
* @return bool
* Whether the data value is internal.

View File

@ -195,7 +195,6 @@ daycount
dbtng
dburl
dealerdirect
deconstructor
defaultable
defgroup
delayable
@ -207,7 +206,6 @@ denormalizers
dependee
dependee's
dependees
deprioritize
derivedfrom
desaturate
desaturated
@ -663,23 +661,18 @@ readmore
realpaths
realword
rebuilder
reclosed
recolorable
redeclaration
refback
referenceables
referencers
referer
refinable
reindexing
reinject
relname
relpersistence
renderable
renderables
renderered
reparenting
reparsed
replyto
resave
resaved

View File

@ -119,7 +119,7 @@ class AnnotatedClassDiscoveryAutomatedProviders extends AnnotatedClassDiscovery
$this->fileCache->set($fileinfo->getPathName(), ['id' => $id, 'content' => serialize($content)]);
}
else {
// Store a NULL object, so the file is not reparsed again.
// Store a NULL object, so the file is not parsed again.
$this->fileCache->set($fileinfo->getPathName(), [NULL]);
}
}

View File

@ -62,7 +62,7 @@
// Note that we first open all <details> to be able to use ':visible'.
// Mark the <details> elements that were closed before filtering, so
// they can be reclosed when filtering is removed.
// they can be closed again when filtering is removed.
$details
.not('[open]')
.attr('data-drupal-system-state', 'forced-open');

View File

@ -346,7 +346,7 @@ class ViewExecutableTest extends ViewsKernelTestBase {
}
/**
* Tests the deconstructor to be sure that necessary objects are removed.
* Tests the destructor to be sure that necessary objects are removed.
*/
public function testDestroy() {
$view = Views::getView('test_destroy');

View File

@ -8,7 +8,7 @@ use Drupal\Core\Queue\Memory;
use Drupal\KernelTests\KernelTestBase;
/**
* Queues and dequeues a set of items to check the basic queue functionality.
* Queues and unqueues a set of items to check the basic queue functionality.
*
* @group Queue
*/
@ -41,7 +41,7 @@ class QueueTest extends KernelTestBase {
}
/**
* Queues and dequeues a set of items to check the basic queue functionality.
* Queues and unqueues a set of items to check the basic queue functionality.
*
* @param \Drupal\Core\Queue\QueueInterface $queue1
* An instantiated queue object.

View File

@ -44,7 +44,7 @@ abstract class YamlTestBase extends TestCase {
}
/**
* Some data that should be able to be de-serialized.
* Some data that should be able to be deserialized.
*/
public function providerDecodeTests() {
$data = [
@ -83,7 +83,7 @@ jquery.ui.accordion:
}
/**
* Tests different boolean serialization and de-serialization.
* Tests different boolean serialization and deserialization.
*/
public function providerBoolTest() {
return [

View File

@ -1,6 +1,6 @@
# About Olivero
Olivero is the default theme for Drupal 10. It is a flexible, recolorable theme
Olivero is the default theme for Drupal 10. It is a flexible, colorable theme
with a responsive and mobile-first layout, supporting 13 regions.
The Olivero theme is named after Rachel Olivero, a member of our community who