From 718b7c5a1d167ad7f0d100c1f41dbb7fd3ea7b18 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Tue, 13 Aug 2024 17:00:33 +1200 Subject: [PATCH] MNT Ignore lint failure we can't fix (#131) --- src/Extensions/CWPSiteConfigExtension.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Extensions/CWPSiteConfigExtension.php b/src/Extensions/CWPSiteConfigExtension.php index 71f5f48..64159a1 100644 --- a/src/Extensions/CWPSiteConfigExtension.php +++ b/src/Extensions/CWPSiteConfigExtension.php @@ -373,6 +373,7 @@ protected function addSearchOptions(FieldList $fields) 'Root.SearchOptions', TextField::create( 'EmptySearch', + /** @phpstan-ignore translation.key (legacy string for EOL module) */ _t( 'CWP.SITECONFIG.EmptySearch', 'Text to display when there is no search query' @@ -383,6 +384,7 @@ protected function addSearchOptions(FieldList $fields) 'Root.SearchOptions', TextField::create( 'NoSearchResults', + /** @phpstan-ignore translation.key (legacy string for EOL module) */ _t( 'CWP.SITECONFIG.NoResult', 'Text to display when there are no results'