diff --git a/core/lib/Drupal/Core/Field/FieldItemInterface.php b/core/lib/Drupal/Core/Field/FieldItemInterface.php index 8e3e52b9f4..ce171100e7 100644 --- a/core/lib/Drupal/Core/Field/FieldItemInterface.php +++ b/core/lib/Drupal/Core/Field/FieldItemInterface.php @@ -121,7 +121,7 @@ public function getFieldDefinition(); * The property value. * * @throws \InvalidArgumentException - * If a not existing property is accessed. + * If a non-existent property is accessed. */ public function __get($property_name); @@ -136,7 +136,7 @@ public function __get($property_name); * passed instead of a plain value. * * @throws \InvalidArgumentException - * If a not existing property is set. + * If a non-existent property is set. */ public function __set($property_name, $value); diff --git a/core/modules/book/tests/src/Functional/BookTest.php b/core/modules/book/tests/src/Functional/BookTest.php index 09938dd47e..06d1ec97b4 100644 --- a/core/modules/book/tests/src/Functional/BookTest.php +++ b/core/modules/book/tests/src/Functional/BookTest.php @@ -238,7 +238,7 @@ public function testBookExport() { $this->drupalGet('book/export/foobar/' . $this->book->id()); $this->assertSession()->statusCodeEquals(404); - // Make sure we get a 404 on a not existing book node. + // Make sure we get a 404 on a non-existent book node. $this->drupalGet('book/export/html/123'); $this->assertSession()->statusCodeEquals(404); diff --git a/core/modules/dblog/tests/src/Functional/DbLogTest.php b/core/modules/dblog/tests/src/Functional/DbLogTest.php index b60065338d..a1faf5c1b1 100644 --- a/core/modules/dblog/tests/src/Functional/DbLogTest.php +++ b/core/modules/dblog/tests/src/Functional/DbLogTest.php @@ -185,7 +185,7 @@ public function testLogEventNotFoundPage() { // Login the admin user. $this->drupalLogin($this->adminUser); - // Try to read details of not existing event. + // Try to read details of non-existent event. $this->drupalGet('admin/reports/dblog/event/999999'); // Verify 404 response. $this->assertSession()->statusCodeEquals(404); diff --git a/core/modules/locale/tests/src/Functional/LocaleUpdateBase.php b/core/modules/locale/tests/src/Functional/LocaleUpdateBase.php index e913bcf688..fcc8a66b8c 100644 --- a/core/modules/locale/tests/src/Functional/LocaleUpdateBase.php +++ b/core/modules/locale/tests/src/Functional/LocaleUpdateBase.php @@ -293,7 +293,7 @@ protected function setCurrentTranslations() { * @param string $source * Translation source string. * @param string $translation - * Translation to check. Use empty string to check for a not existing + * Translation to check. Use empty string to check for a non-existent * translation. * @param string $langcode * Language code of the language to translate to. diff --git a/core/modules/views/tests/src/Kernel/QueryGroupByTest.php b/core/modules/views/tests/src/Kernel/QueryGroupByTest.php index 61b795d6aa..8d62ceccdf 100644 --- a/core/modules/views/tests/src/Kernel/QueryGroupByTest.php +++ b/core/modules/views/tests/src/Kernel/QueryGroupByTest.php @@ -294,7 +294,7 @@ public function testGroupByFieldWithCardinality() { } /** - * Tests groupby with a field not existing on some bundle. + * Tests groupby with a field non-existent on some bundle. */ public function testGroupByWithFieldsNotExistingOnBundle() { $field_storage = FieldStorageConfig::create([ diff --git a/core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php b/core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php index e02a168343..a3e11463c5 100644 --- a/core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php +++ b/core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php @@ -126,7 +126,7 @@ public function testMissingViewName() { } /** - * Tests with view_name and view_display_id but not existing view. + * Tests with view_name and view_display_id but non-existent view. */ public function testMissingView() { $request = new Request(); diff --git a/core/modules/views/tests/src/Unit/ViewsDataTest.php b/core/modules/views/tests/src/Unit/ViewsDataTest.php index 18b7e2f96c..37b9fb1068 100644 --- a/core/modules/views/tests/src/Unit/ViewsDataTest.php +++ b/core/modules/views/tests/src/Unit/ViewsDataTest.php @@ -480,7 +480,7 @@ public function testCacheCallsWithWarmCacheAndDifferentTable() { } /** - * Tests the cache calls for an not existing table: + * Tests the cache calls for an non-existent table: * * Warm cache: * - all tables @@ -518,7 +518,7 @@ public function testCacheCallsWithWarmCacheAndInvalidTable() { } /** - * Tests the cache calls for an not existing table: + * Tests the cache calls for an non-existent table: * * Warm cache: * - all tables diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php index 1d95a657f8..d791cbbf82 100644 --- a/core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php +++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php @@ -375,7 +375,7 @@ public function testBundleFieldCreateUpdateDeleteWithoutData() { /** * Tests creating and deleting a base field if entities exist. * - * This tests deletion when there are existing entities, but not existing data + * This tests deletion when there are existing entities, but non-existent data * for the field being deleted. * * @see testBaseFieldDeleteWithExistingData() @@ -432,7 +432,7 @@ public function testBaseFieldCreateDeleteWithExistingEntities() { /** * Tests creating and deleting a bundle field if entities exist. * - * This tests deletion when there are existing entities, but not existing data + * This tests deletion when there are existing entities, but non-existent data * for the field being deleted. * * @see testBundleFieldDeleteWithExistingData() diff --git a/core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php b/core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php index 11f6c04abf..4d1e5a3d34 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php @@ -69,7 +69,7 @@ public function testGetPluginClassWithMissingClassWithObjectPluginDefinition() { } /** - * Tests getPluginClass() with a not existing class definition. + * Tests getPluginClass() with a non-existent class definition. * * @covers ::getPluginClass */ @@ -80,7 +80,7 @@ public function testGetPluginClassWithNotExistingClassWithArrayPluginDefinition( } /** - * Tests getPluginClass() with a not existing class definition. + * Tests getPluginClass() with a non-existent class definition. * * @covers ::getPluginClass */ diff --git a/core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php b/core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php index ae94ab15e2..3202b0a1f1 100644 --- a/core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php +++ b/core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php @@ -297,7 +297,7 @@ public function testIsValidWithFailingParameterConverting() { } /** - * Tests the isValid() method with a not existing path. + * Tests the isValid() method with a non-existent path. * * @covers ::isValid */