diff --git a/phpcs.xml b/phpcs.xml index aa4917c..8e7b0b8 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -68,6 +68,11 @@ + + + + + @@ -76,6 +81,7 @@ + diff --git a/src/Plugin/search_api/data_type/value/TextTokenInterface.php b/src/Plugin/search_api/data_type/value/TextTokenInterface.php index 258cf12..7b6b2da 100644 --- a/src/Plugin/search_api/data_type/value/TextTokenInterface.php +++ b/src/Plugin/search_api/data_type/value/TextTokenInterface.php @@ -42,4 +42,5 @@ interface TextTokenInterface { * @return $this */ public function setBoost($boost); + } diff --git a/src/Plugin/search_api/parse_mode/Direct.php b/src/Plugin/search_api/parse_mode/Direct.php index d76489b..2367525 100644 --- a/src/Plugin/search_api/parse_mode/Direct.php +++ b/src/Plugin/search_api/parse_mode/Direct.php @@ -21,4 +21,5 @@ class Direct extends ParseModePluginBase { public function parseInput($keys) { return $keys; } + } diff --git a/src/Plugin/search_api/parse_mode/Phrase.php b/src/Plugin/search_api/parse_mode/Phrase.php index 2cdddb9..d493302 100644 --- a/src/Plugin/search_api/parse_mode/Phrase.php +++ b/src/Plugin/search_api/parse_mode/Phrase.php @@ -24,4 +24,5 @@ class Phrase extends ParseModePluginBase { $keys, ); } + } diff --git a/src/Plugin/search_api/parse_mode/Terms.php b/src/Plugin/search_api/parse_mode/Terms.php index c434a82..e5ea66e 100644 --- a/src/Plugin/search_api/parse_mode/Terms.php +++ b/src/Plugin/search_api/parse_mode/Terms.php @@ -56,4 +56,5 @@ class Terms extends ParseModePluginBase { $ret['#conjunction'] = $this->getConjunction(); return array_filter($ret); } + } diff --git a/tests/src/Kernel/Processor/RenderedItemTest.php b/tests/src/Kernel/Processor/RenderedItemTest.php index df6dde5..f456cb1 100644 --- a/tests/src/Kernel/Processor/RenderedItemTest.php +++ b/tests/src/Kernel/Processor/RenderedItemTest.php @@ -10,7 +10,6 @@ use Drupal\search_api\Entity\Index; use Drupal\search_api\Utility; use Drupal\user\Entity\Role; use Drupal\user\Entity\User; -use Drupal\search_api\Plugin\search_api\data_type\value\TextValueInterface; /** * Tests the "Rendered item" processor.