diff --git a/core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php b/core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php index 2c5f0b4985d044ffbc0b8d1b63f77a21e052719c..fa5fa8c35e88949241532c3351e802debaafb0bf 100644 --- a/core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php +++ b/core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php @@ -152,7 +152,7 @@ public function getDefinitions() { $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]); } } diff --git a/core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php b/core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php index 9accdefd55e1c02da794521dd0a1b3bbfb94177f..6409c7e1531384fd41cbc17f872445a0e5c1824f 100644 --- a/core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php +++ b/core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php @@ -89,7 +89,7 @@ public function getDefinitions() { $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]); } } diff --git a/core/lib/Drupal/Core/Config/ConfigImporter.php b/core/lib/Drupal/Core/Config/ConfigImporter.php index 0fd7e8a1460da9160d910e883b416db51de032c4..8331c1bc7c0400b523286b1fe30b40e3edfb0ab2 100644 --- a/core/lib/Drupal/Core/Config/ConfigImporter.php +++ b/core/lib/Drupal/Core/Config/ConfigImporter.php @@ -873,8 +873,8 @@ protected function processExtension($type, $op, $name) { ->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 diff --git a/core/lib/Drupal/Core/DrupalKernel.php b/core/lib/Drupal/Core/DrupalKernel.php index 9eb5eec531fd8b7ff9fa4a9ab2885367521cfcf0..8d3a51468e9abd28552ef81869f937832a1e0aa3 100644 --- a/core/lib/Drupal/Core/DrupalKernel.php +++ b/core/lib/Drupal/Core/DrupalKernel.php @@ -969,7 +969,7 @@ protected function initializeContainer() { $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()) { diff --git a/core/lib/Drupal/Core/Entity/EntityTypeInterface.php b/core/lib/Drupal/Core/Entity/EntityTypeInterface.php index 7e82f70ae1cc8c30a792176c722afeb698e5facd..abe043273d3f7282988e0488d683099c47f021d0 100644 --- a/core/lib/Drupal/Core/Entity/EntityTypeInterface.php +++ b/core/lib/Drupal/Core/Entity/EntityTypeInterface.php @@ -518,8 +518,8 @@ public function getBaseTable(); * * 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. diff --git a/core/lib/Drupal/Core/Form/FormErrorHandler.php b/core/lib/Drupal/Core/Form/FormErrorHandler.php index dfb52c072ee0d17727abfc2fa962b1c2efe96e94..a414439f8fde460eb7bc30c7745b2292998d58c0 100644 --- a/core/lib/Drupal/Core/Form/FormErrorHandler.php +++ b/core/lib/Drupal/Core/Form/FormErrorHandler.php @@ -110,6 +110,7 @@ protected function setElementErrorsFromFormState(array &$form, FormStateInterfac // 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; } diff --git a/core/lib/Drupal/Core/Test/ObjectSerialization.php b/core/lib/Drupal/Core/Test/ObjectSerialization.php index 99d44a55c2f0f399b6a8e5e8669074f706c93e97..948f5997522d643d57486c2bb653b9c6acacd7d8 100644 --- a/core/lib/Drupal/Core/Test/ObjectSerialization.php +++ b/core/lib/Drupal/Core/Test/ObjectSerialization.php @@ -15,7 +15,7 @@ public function __construct() { } /** - * ObjectSerialization deconstructor. + * ObjectSerialization destructor. */ public function __destruct() { throw new \Exception('This object should never be destructed'); diff --git a/core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php b/core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php index 3b9c64f4337aa5c0460e31b20f761fb0a60aaa79..1236c8d955b5ba87708b4edd860b71aea8c53a2f 100644 --- a/core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php +++ b/core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php @@ -229,8 +229,8 @@ public function addConstraint($constraint_name, $options = NULL); * * 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. diff --git a/core/misc/cspell/dictionary.txt b/core/misc/cspell/dictionary.txt index ce1acb0e80c547ab56dd8eab6563434c893a521c..c2db9e7b4c9553349647eac392387cc098d15614 100644 --- a/core/misc/cspell/dictionary.txt +++ b/core/misc/cspell/dictionary.txt @@ -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 diff --git a/core/modules/migrate/src/Plugin/Discovery/AnnotatedClassDiscoveryAutomatedProviders.php b/core/modules/migrate/src/Plugin/Discovery/AnnotatedClassDiscoveryAutomatedProviders.php index 49c9a268ab842ee59f2b489cccc675908116fbda..dfa32bc7ea365b866beb536de81b792d7da510cf 100644 --- a/core/modules/migrate/src/Plugin/Discovery/AnnotatedClassDiscoveryAutomatedProviders.php +++ b/core/modules/migrate/src/Plugin/Discovery/AnnotatedClassDiscoveryAutomatedProviders.php @@ -119,7 +119,7 @@ public function getDefinitions() { $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]); } } diff --git a/core/modules/system/js/system.modules.js b/core/modules/system/js/system.modules.js index 9c3d52696f35e67da24020c2bf4d11b8f26ad7dc..5a166d84f1f6ed0a5fcada7a6d2b185abbcf2499 100644 --- a/core/modules/system/js/system.modules.js +++ b/core/modules/system/js/system.modules.js @@ -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'); diff --git a/core/modules/views/tests/src/Kernel/ViewExecutableTest.php b/core/modules/views/tests/src/Kernel/ViewExecutableTest.php index 963b300d845e9fd913042b9842c937679d85137a..5123208aa5e79c1564ad0d86883f6f60f13467a6 100644 --- a/core/modules/views/tests/src/Kernel/ViewExecutableTest.php +++ b/core/modules/views/tests/src/Kernel/ViewExecutableTest.php @@ -346,7 +346,7 @@ public function testPropertyMethods() { } /** - * 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'); diff --git a/core/tests/Drupal/KernelTests/Core/Queue/QueueTest.php b/core/tests/Drupal/KernelTests/Core/Queue/QueueTest.php index 89ccc4bc3db47e83076778a0fbecece64784e851..a27a283782747b9f4cd9f897c191fd9c03995fbb 100644 --- a/core/tests/Drupal/KernelTests/Core/Queue/QueueTest.php +++ b/core/tests/Drupal/KernelTests/Core/Queue/QueueTest.php @@ -8,7 +8,7 @@ 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 @@ public function testMemoryQueue() { } /** - * 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. diff --git a/core/tests/Drupal/Tests/Component/Serialization/YamlTestBase.php b/core/tests/Drupal/Tests/Component/Serialization/YamlTestBase.php index eebd0a22d68ca59d2df80409a3c426a80c5fa896..6a8a5ba90bba03280a2f3b5fa9cfe8c4719b2ccc 100644 --- a/core/tests/Drupal/Tests/Component/Serialization/YamlTestBase.php +++ b/core/tests/Drupal/Tests/Component/Serialization/YamlTestBase.php @@ -44,7 +44,7 @@ public function providerEncodeDecodeTests() { } /** - * 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 @@ public function providerDecodeTests() { } /** - * Tests different boolean serialization and de-serialization. + * Tests different boolean serialization and deserialization. */ public function providerBoolTest() { return [ diff --git a/core/themes/olivero/README.md b/core/themes/olivero/README.md index f766bb8526b339355d2f7ce1c16170da81a042b0..27c72d84091740e3da4eb7c24ecdb180af0e2d6d 100644 --- a/core/themes/olivero/README.md +++ b/core/themes/olivero/README.md @@ -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