Passed
Pull Request — master (#1385)
by Timo
05:13 queued 01:38
created
Classes/Query.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -614,7 +614,7 @@  discard block
 block discarded – undo
614 614
      */
615 615
     public function getResultsPerPage()
616 616
     {
617
-        if($this->getGrouping()->getIsEnabled()) {
617
+        if ($this->getGrouping()->getIsEnabled()) {
618 618
             return $this->getGrouping()->getNumberOfGroups();
619 619
         }
620 620
 
@@ -1237,7 +1237,7 @@  discard block
 block discarded – undo
1237 1237
      */
1238 1238
     public function setHighlighting($highlighting = true, $fragmentSize = 200)
1239 1239
     {
1240
-        if($highlighting instanceof Highlighting) {
1240
+        if ($highlighting instanceof Highlighting) {
1241 1241
             $this->highlighting = $highlighting;
1242 1242
             return;
1243 1243
         }
Please login to merge, or discard this patch.
Classes/Query/Modifier/Faceting.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
         $this->addFacetQueryFilters();
94 94
 
95 95
         foreach ($this->facetParameters as $facetParameter => $value) {
96
-            if(strtolower($facetParameter) === 'facet.field') {
96
+            if (strtolower($facetParameter) === 'facet.field') {
97 97
                 $query->getFaceting()->setFields($value);
98 98
             } else {
99 99
                 $query->getFaceting()->addAdditionalParameter($facetParameter, $value);
Please login to merge, or discard this patch.
Classes/System/Configuration/TypoScriptConfiguration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2157,7 +2157,7 @@
 block discarded – undo
2157 2157
         }
2158 2158
 
2159 2159
         $configuredGroups = $groupingConfiguration['groups.'];
2160
-        if(!is_array($configuredGroups)) {
2160
+        if (!is_array($configuredGroups)) {
2161 2161
             return $highestLimit;
2162 2162
         }
2163 2163
 
Please login to merge, or discard this patch.
Classes/Domain/Search/Query/ParameterBuilder/Faceting.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
         $facetParameters['facet.limit'] = $this->limit;
213 213
         $facetParameters['facet.field'] = $this->fields;
214 214
 
215
-        foreach($this->additionalParameters as $additionalParameterKey => $additionalParameterValue) {
215
+        foreach ($this->additionalParameters as $additionalParameterKey => $additionalParameterValue) {
216 216
             $facetParameters[$additionalParameterKey] = $additionalParameterValue;
217 217
         }
218 218
 
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
 
238 238
         // alpha and lex alias for index
239 239
         if ($this->sorting == 'alpha' || $this->sorting == 'lex') {
240
-            $solrSorting= 'index';
240
+            $solrSorting = 'index';
241 241
         }
242 242
 
243 243
         $facetParameters['facet.sort'] = $solrSorting;
Please login to merge, or discard this patch.
Classes/Domain/Search/Query/ParameterBuilder/Filters.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     public function removeByPrefix($filterFieldName)
59 59
     {
60 60
         foreach ($this->filters as $key => $filterString) {
61
-            if (GeneralUtility::isFirstPartOfStr($filterString, $filterFieldName )) {
61
+            if (GeneralUtility::isFirstPartOfStr($filterString, $filterFieldName)) {
62 62
                 unset($this->filters[$key]);
63 63
             }
64 64
         }
Please login to merge, or discard this patch.