Passed
Pull Request — master (#1552)
by Timo
04:27
created
Classes/System/Service/ConfigurationService.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -14,11 +14,9 @@
 block discarded – undo
14 14
  * The TYPO3 project - inspiring people to share!
15 15
  */
16 16
 
17
-use ApacheSolrForTypo3\Solr\System\Configuration\ConfigurationManager;
18 17
 use ApacheSolrForTypo3\Solr\System\Configuration\TypoScriptConfiguration;
19 18
 use TYPO3\CMS\Core\TypoScript\TypoScriptService;
20 19
 use TYPO3\CMS\Core\Utility\GeneralUtility;
21
-use TYPO3\CMS\Extbase\Configuration\ConfigurationManager as ExtbaseConfigurationManager;
22 20
 use TYPO3\CMS\Extbase\Reflection\ObjectAccess;
23 21
 use TYPO3\CMS\Extbase\Service\FlexFormService;
24 22
 
Please login to merge, or discard this patch.
Classes/Controller/Backend/AjaxController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace ApacheSolrForTypo3\Solr\Controller\Backend;
4 4
 
5 5
 /***************************************************************
Please login to merge, or discard this patch.
Classes/System/UserFunctions/FlexFormUserFunctions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
     }
149 149
 
150 150
     /**
151
-     * @param $pid
151
+     * @param integer $pid
152 152
      * @return \ApacheSolrForTypo3\Solr\System\Configuration\TypoScriptConfiguration|array
153 153
      */
154 154
     protected function getConfigurationFromPageId($pid)
Please login to merge, or discard this patch.
Classes/Controller/SearchController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,13 +63,13 @@
 block discarded – undo
63 63
      */
64 64
     public function initializeView(ViewInterface $view)
65 65
     {
66
-        if($view instanceof TemplateView) {
66
+        if ($view instanceof TemplateView) {
67 67
             $customTemplate = $this->getCustomTemplateFromConfiguration();
68
-            if($customTemplate === '') {
68
+            if ($customTemplate === '') {
69 69
                 return;
70 70
             }
71 71
 
72
-            if(strpos($customTemplate, 'EXT:') !== false) {
72
+            if (strpos($customTemplate, 'EXT:') !== false) {
73 73
                 $view->setTemplatePathAndFilename($customTemplate);
74 74
             } else {
75 75
                 $view->setTemplate($customTemplate);
Please login to merge, or discard this patch.
Classes/Domain/Search/ResultSet/SearchResultSetService.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -30,10 +30,8 @@
 block discarded – undo
30 30
 use ApacheSolrForTypo3\Solr\Domain\Search\SearchRequestAware;
31 31
 use ApacheSolrForTypo3\Solr\Query;
32 32
 use ApacheSolrForTypo3\Solr\Query\Modifier\Modifier;
33
-use ApacheSolrForTypo3\Solr\Response\Processor\ResponseProcessor;
34 33
 use ApacheSolrForTypo3\Solr\Search;
35 34
 use ApacheSolrForTypo3\Solr\Search\QueryAware;
36
-use ApacheSolrForTypo3\Solr\Search\ResponseModifier;
37 35
 use ApacheSolrForTypo3\Solr\Search\SearchAware;
38 36
 use ApacheSolrForTypo3\Solr\Search\SearchComponentManager;
39 37
 use ApacheSolrForTypo3\Solr\System\Configuration\TypoScriptConfiguration;
Please login to merge, or discard this patch.
Classes/Query.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -690,7 +690,7 @@
 block discarded – undo
690 690
      *
691 691
      * This query supports the complete Lucene Query Language.
692 692
      *
693
-     * @param mixed $alternativeQuery String alternative query or boolean FALSE to disable / reset the q.alt parameter.
693
+     * @param string $alternativeQuery String alternative query or boolean FALSE to disable / reset the q.alt parameter.
694 694
      * @see http://wiki.apache.org/solr/DisMaxQParserPlugin#q.alt
695 695
      */
696 696
     public function setAlternativeQuery($alternativeQuery)
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -478,7 +478,7 @@  discard block
 block discarded – undo
478 478
      */
479 479
     public function setGrouping(Grouping $grouping)
480 480
     {
481
-       $this->grouping = $grouping;
481
+        $this->grouping = $grouping;
482 482
     }
483 483
 
484 484
     /**
@@ -851,7 +851,7 @@  discard block
 block discarded – undo
851 851
      */
852 852
     public function setHighlighting(Highlighting $highlighting)
853 853
     {
854
-       $this->highlighting = $highlighting;
854
+        $this->highlighting = $highlighting;
855 855
     }
856 856
 
857 857
     /**
Please login to merge, or discard this patch.