From b6b87fad6846795d966db32d29daa466986862cd Mon Sep 17 00:00:00 2001 From: Lee Mills <8024370+millnut@users.noreply.github.com> Date: Mon, 29 Jan 2024 13:35:30 +0000 Subject: [PATCH] chore: ignore deprecation until 10.1 is end of life --- .../EntityReferenceServicesAutocompleteTest.php | 3 +++ .../tests/src/Kernel/ChildReferencesTest.php | 3 +++ .../tests/src/Kernel/ParentFieldPathautoTest.php | 3 +++ 3 files changed, 9 insertions(+) diff --git a/modules/localgov_services_navigation/tests/src/FunctionalJavascript/EntityReferenceServicesAutocompleteTest.php b/modules/localgov_services_navigation/tests/src/FunctionalJavascript/EntityReferenceServicesAutocompleteTest.php index a522fbe..34d8445 100644 --- a/modules/localgov_services_navigation/tests/src/FunctionalJavascript/EntityReferenceServicesAutocompleteTest.php +++ b/modules/localgov_services_navigation/tests/src/FunctionalJavascript/EntityReferenceServicesAutocompleteTest.php @@ -16,6 +16,9 @@ class EntityReferenceServicesAutocompleteTest extends WebDriverTestBase { use ContentTypeCreationTrait; + // FIXME: Replace with EntityReferenceFieldCreationTrait when Drupal 10.1 is + // end of life. + // @phpstan-ignore-next-line. use EntityReferenceTestTrait; use NodeCreationTrait; diff --git a/modules/localgov_services_navigation/tests/src/Kernel/ChildReferencesTest.php b/modules/localgov_services_navigation/tests/src/Kernel/ChildReferencesTest.php index 726b08b..4a456dc 100644 --- a/modules/localgov_services_navigation/tests/src/Kernel/ChildReferencesTest.php +++ b/modules/localgov_services_navigation/tests/src/Kernel/ChildReferencesTest.php @@ -24,6 +24,9 @@ class ChildReferencesTest extends KernelTestBase { use ContentTypeCreationTrait; + // FIXME: Replace with EntityReferenceFieldCreationTrait when Drupal 10.1 is + // end of life. + // @phpstan-ignore-next-line. use EntityReferenceTestTrait; use NodeCreationTrait; use PathautoTestHelperTrait; diff --git a/modules/localgov_services_navigation/tests/src/Kernel/ParentFieldPathautoTest.php b/modules/localgov_services_navigation/tests/src/Kernel/ParentFieldPathautoTest.php index c49a934..5191078 100644 --- a/modules/localgov_services_navigation/tests/src/Kernel/ParentFieldPathautoTest.php +++ b/modules/localgov_services_navigation/tests/src/Kernel/ParentFieldPathautoTest.php @@ -18,6 +18,9 @@ class ParentFieldPathautoTest extends KernelTestBase { use ContentTypeCreationTrait; + // FIXME: Replace with EntityReferenceFieldCreationTrait when Drupal 10.1 is + // end of life. + // @phpstan-ignore-next-line. use EntityReferenceTestTrait; use NodeCreationTrait; use PathautoTestHelperTrait;