Completed
Push — master ( 9517e4...034cdd )
by Timo
16s
created
Classes/Template.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@
 block discarded – undo
218 218
             $ucHelperKey = Util::underscoredToUpperCamelCase($helperKey);
219 219
             $vendorNameSpace = 'ApacheSolrForTypo3\\Solr\\';
220 220
             $possibleFilename = $ucHelperKey . '.php';
221
-            $possibleClassName =  $vendorNameSpace . str_replace('/', '\\',
221
+            $possibleClassName = $vendorNameSpace . str_replace('/', '\\',
222 222
                     $viewHelperRealPath) . '\\' . $ucHelperKey;
223 223
 
224 224
             $viewHelperIncludePath = ExtensionManagementUtility::extPath($extensionKey)
Please login to merge, or discard this patch.
Classes/SuggestQuery.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
      */
53 53
     public function __construct($keywords, $solrConfiguration = null)
54 54
     {
55
-        $keywords = (string) $keywords;
55
+        $keywords = (string)$keywords;
56 56
         if ($solrConfiguration == null) {
57 57
             $solrConfiguration = Util::getSolrConfiguration();
58 58
         }
Please login to merge, or discard this patch.
Classes/Search.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -526,7 +526,7 @@
 block discarded – undo
526 526
             $spellcheckingSuggestions = $suggestions;
527 527
 
528 528
             if (isset($this->response->spellcheck->collations)) {
529
-                $collections = (array) $this->response->spellcheck->collations;
529
+                $collections = (array)$this->response->spellcheck->collations;
530 530
                 $spellcheckingSuggestions['collation'] = $collections['collation'];
531 531
             }
532 532
         }
Please login to merge, or discard this patch.
Classes/Domain/Search/SearchRequest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
         $activeFacets = $this->getActiveFacets();
155 155
         $facetNames = [];
156 156
 
157
-        array_map(function ($activeFacet) use (&$facetNames) {
157
+        array_map(function($activeFacet) use (&$facetNames) {
158 158
             $facetNames[] = substr($activeFacet, 0, strpos($activeFacet, ':'));
159 159
         }, $activeFacets);
160 160
 
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
         $values = [];
172 172
         $activeFacets = $this->getActiveFacets();
173 173
 
174
-        array_map(function ($activeFacet) use (&$values, $facetName) {
174
+        array_map(function($activeFacet) use (&$values, $facetName) {
175 175
             $parts = explode(':', $activeFacet, 2);
176 176
             if ($parts[0] === $facetName) {
177 177
                 $values[] = $parts[1];
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
     public function removeAllFacetValuesByName($facetName)
274 274
     {
275 275
         $facetValues = $this->getActiveFacets();
276
-        $facetValues = array_filter($facetValues, function ($facetValue) use ($facetName) {
276
+        $facetValues = array_filter($facetValues, function($facetValue) use ($facetName) {
277 277
             $parts = explode(':', $facetValue, 2);
278 278
             return $parts[0] !== $facetName;
279 279
         });
Please login to merge, or discard this patch.
Classes/ContentObject/Relation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -370,7 +370,7 @@
 block discarded – undo
370 370
             ));
371 371
 
372 372
             // restore
373
-            $this->configuration= $backupConfiguration;
373
+            $this->configuration = $backupConfiguration;
374 374
             $parentContentObject->data = $backupRecord;
375 375
         }
376 376
 
Please login to merge, or discard this patch.
Classes/IndexQueue/Initializer/Page.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -287,8 +287,8 @@
 block discarded – undo
287 287
 
288 288
         $mountedPagesIdsWithQueueItems = [];
289 289
         foreach ($queueItemsOfExistingMountPoints as $id => $queueItemsOfExistingMountPoint) {
290
-            if (((int) $queueItemsOfExistingMountPoint['queueItemCount']) > 0) {
291
-                $mountedPagesIdsWithQueueItems[] = (int) $id;
290
+            if (((int)$queueItemsOfExistingMountPoint['queueItemCount']) > 0) {
291
+                $mountedPagesIdsWithQueueItems[] = (int)$id;
292 292
             }
293 293
         }
294 294
 
Please login to merge, or discard this patch.
Classes/System/DateTime/FormatService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
         }
54 54
 
55 55
         // try to create DateTime object
56
-        $timezone = is_null($timezone) ?  new DateTimeZone(date_default_timezone_get()) : $timezone;
56
+        $timezone = is_null($timezone) ? new DateTimeZone(date_default_timezone_get()) : $timezone;
57 57
         return $this->getFormattedDate($input, $inputFormat, $outputFormat, $timezone);
58 58
     }
59 59
 
Please login to merge, or discard this patch.
Classes/Domain/Index/IndexService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         $this->configuration = $site->getSolrConfiguration();
79 79
         $this->site = $site;
80 80
         $this->indexQueue = is_null($queue) ? GeneralUtility::makeInstance(Queue::class) : $queue;
81
-        $this->signalSlotDispatcher = is_null($dispatcher)  ? GeneralUtility::makeInstance(Dispatcher::class) : $dispatcher;
81
+        $this->signalSlotDispatcher = is_null($dispatcher) ? GeneralUtility::makeInstance(Dispatcher::class) : $dispatcher;
82 82
     }
83 83
 
84 84
     /**
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
     protected function generateIndexingErrorLog(Item $itemToIndex, \Exception $e)
141 141
     {
142 142
         $message = 'Failed indexing Index Queue item ' . $itemToIndex->getIndexQueueUid();
143
-        $data = [   'code' => $e->getCode(),
143
+        $data = ['code' => $e->getCode(),
144 144
                     'message' => $e->getMessage(),
145 145
                     'trace' => $e->getTrace(),
146 146
                     'item' => (array)$itemToIndex];
Please login to merge, or discard this patch.
Classes/Backend/SolrModule/IndexMaintenanceModuleController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
 
124 124
         if ($coresReloaded) {
125 125
             $this->addFlashMessage(
126
-                'Core configuration reloaded ('.implode(', ', $reloadedCores).').',
126
+                'Core configuration reloaded (' . implode(', ', $reloadedCores) . ').',
127 127
                 '',
128 128
                 FlashMessage::OK
129 129
             );
Please login to merge, or discard this patch.