Passed
Pull Request — master (#86)
by
unknown
02:39
created
Classes/Plugin/Tools/FulltextTool.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -84,14 +84,14 @@
 block discarded – undo
84 84
         }
85 85
         if (!empty($fullTextFile)) {
86 86
             $markerArray['###FULLTEXT_SELECT###'] = '<a class="select switchoff" id="tx-dlf-tools-fulltext" title="" data-dic="'
87
-            . 'fulltext:' . htmlspecialchars($this->pi_getLL('fulltext', ''))
88
-            . ';fulltext-on:' . htmlspecialchars($this->pi_getLL('fulltext-on', ''))
89
-            . ';fulltext-off:' . htmlspecialchars($this->pi_getLL('fulltext-off', ''))
90
-            . ';activate-full-text-initially:' . MathUtility::forceIntegerInRange($this->conf['activateFullTextInitially'], 0, 1, 0)
91
-            . ';full-text-scroll-element:' . $this->conf['fullTextScrollElement']
87
+            . 'fulltext:'.htmlspecialchars($this->pi_getLL('fulltext', ''))
88
+            . ';fulltext-on:'.htmlspecialchars($this->pi_getLL('fulltext-on', ''))
89
+            . ';fulltext-off:'.htmlspecialchars($this->pi_getLL('fulltext-off', ''))
90
+            . ';activate-full-text-initially:'.MathUtility::forceIntegerInRange($this->conf['activateFullTextInitially'], 0, 1, 0)
91
+            . ';full-text-scroll-element:'.$this->conf['fullTextScrollElement']
92 92
             . '">&nbsp;</a>';
93 93
         } else {
94
-            $markerArray['###FULLTEXT_SELECT###'] = '<span class="no-fulltext">' . htmlspecialchars($this->pi_getLL('fulltext-not-available', '')) . '</span>';
94
+            $markerArray['###FULLTEXT_SELECT###'] = '<span class="no-fulltext">'.htmlspecialchars($this->pi_getLL('fulltext-not-available', '')).'</span>';
95 95
         }
96 96
         $content .= $this->templateService->substituteMarkerArray($this->template, $markerArray);
97 97
         return $this->pi_wrapInBaseClass($content);
Please login to merge, or discard this patch.
Classes/Plugin/Eid/SearchInDocument.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
      */
121 121
     private function getQuery($fields, $parameters)
122 122
     {
123
-        return $fields['fulltext'] . ':(' . Solr::escapeQuery((string) $parameters['q']) . ') AND ' . $fields['uid'] . ':' . $this->getUid($parameters['uid']);
123
+        return $fields['fulltext'].':('.Solr::escapeQuery((string) $parameters['q']).') AND '.$fields['uid'].':'.$this->getUid($parameters['uid']);
124 124
     }
125 125
 
126 126
     /**
Please login to merge, or discard this patch.
Classes/Common/Document.php 1 patch
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -681,14 +681,14 @@  discard block
 block discarded – undo
681 681
                     if ($fileContent !== false) {
682 682
                         $textFormat = $this->getTextFormat($fileContent);
683 683
                     } else {
684
-                        $this->logger->warning('Couldn\'t load full text file for structure node @ID "' . $id . '"');
684
+                        $this->logger->warning('Couldn\'t load full text file for structure node @ID "'.$id.'"');
685 685
                         return $fullText;
686 686
                     }
687 687
                     break;
688 688
                 }
689 689
             }
690 690
         } else {
691
-            $this->logger->warning('Invalid structure node @ID "' . $id . '"');
691
+            $this->logger->warning('Invalid structure node @ID "'.$id.'"');
692 692
             return $fullText;
693 693
         }
694 694
         // Is this text format supported?
@@ -707,12 +707,12 @@  discard block
 block discarded – undo
707 707
                     $textMiniOcr = $obj->getTextAsMiniOcr($ocrTextXml);
708 708
                     $this->rawTextArray[$id] = $textMiniOcr;
709 709
                 } else {
710
-                    $this->logger->warning('Invalid class/method "' . $class . '->getRawText()" for text format "' . $textFormat . '"');
710
+                    $this->logger->warning('Invalid class/method "'.$class.'->getRawText()" for text format "'.$textFormat.'"');
711 711
                 }
712 712
             }
713 713
             $fullText = $textMiniOcr;
714 714
         } else {
715
-            $this->logger->warning('Unsupported text format "' . $textFormat . '" in physical node with @ID "' . $id . '"');
715
+            $this->logger->warning('Unsupported text format "'.$textFormat.'" in physical node with @ID "'.$id.'"');
716 716
         }
717 717
         return $fullText;
718 718
     }
@@ -807,10 +807,10 @@  discard block
 block discarded – undo
807 807
                     $title = self::getTitle($partof, true);
808 808
                 }
809 809
             } else {
810
-                $logger->warning('No document with UID ' . $uid . ' found or document not accessible');
810
+                $logger->warning('No document with UID '.$uid.' found or document not accessible');
811 811
             }
812 812
         } else {
813
-            $logger->error('Invalid UID ' . $uid . ' for document');
813
+            $logger->error('Invalid UID '.$uid.' for document');
814 814
         }
815 815
         return $title;
816 816
     }
@@ -945,7 +945,7 @@  discard block
 block discarded – undo
945 945
             // the actual loading is format specific
946 946
             return $this->loadLocation($location);
947 947
         } else {
948
-            $this->logger->error('Invalid file location "' . $location . '" for document loading');
948
+            $this->logger->error('Invalid file location "'.$location.'" for document loading');
949 949
         }
950 950
         return false;
951 951
     }
@@ -1055,7 +1055,7 @@  discard block
 block discarded – undo
1055 1055
             // Retain current PID.
1056 1056
             $pid = $this->pid;
1057 1057
         } elseif (!$pid) {
1058
-            $this->logger->error('Invalid PID ' . $pid . ' for document saving');
1058
+            $this->logger->error('Invalid PID '.$pid.' for document saving');
1059 1059
             return false;
1060 1060
         }
1061 1061
         // Set PID for metadata definitions.
@@ -1092,7 +1092,7 @@  discard block
 block discarded – undo
1092 1092
         if ($resArray = $result->fetch()) {
1093 1093
             $structure = $resArray['uid'];
1094 1094
         } else {
1095
-            $this->logger->error('Could not identify document/structure type "' . $queryBuilder->expr()->literal($metadata['type'][0]) . '"');
1095
+            $this->logger->error('Could not identify document/structure type "'.$queryBuilder->expr()->literal($metadata['type'][0]).'"');
1096 1096
             return false;
1097 1097
         }
1098 1098
         $metadata['type'][0] = $structure;
@@ -1341,7 +1341,7 @@  discard block
 block discarded – undo
1341 1341
         if ($core) {
1342 1342
             return Indexer::add($this, $core);
1343 1343
         } else {
1344
-            $this->logger->notice('Invalid UID "' . $core . '" for Solr core');
1344
+            $this->logger->notice('Invalid UID "'.$core.'" for Solr core');
1345 1345
             return false;
1346 1346
         }
1347 1347
     }
@@ -1419,7 +1419,7 @@  discard block
 block discarded – undo
1419 1419
         // Set metadata definitions' PID.
1420 1420
         $cPid = ($this->cPid ? $this->cPid : $this->pid);
1421 1421
         if (!$cPid) {
1422
-            $this->logger->error('Invalid PID ' . $cPid . ' for metadata definitions');
1422
+            $this->logger->error('Invalid PID '.$cPid.' for metadata definitions');
1423 1423
             return [];
1424 1424
         }
1425 1425
         if (
@@ -1747,7 +1747,7 @@  discard block
 block discarded – undo
1747 1747
             // Document ready!
1748 1748
             $this->ready = true;
1749 1749
         } else {
1750
-            $this->logger->error('No document with UID ' . $uid . ' found or document not accessible');
1750
+            $this->logger->error('No document with UID '.$uid.' found or document not accessible');
1751 1751
         }
1752 1752
     }
1753 1753
 
@@ -1762,12 +1762,12 @@  discard block
 block discarded – undo
1762 1762
      */
1763 1763
     public function __get($var)
1764 1764
     {
1765
-        $method = '_get' . ucfirst($var);
1765
+        $method = '_get'.ucfirst($var);
1766 1766
         if (
1767 1767
             !property_exists($this, $var)
1768 1768
             || !method_exists($this, $method)
1769 1769
         ) {
1770
-            $this->logger->warning('There is no getter function for property "' . $var . '"');
1770
+            $this->logger->warning('There is no getter function for property "'.$var.'"');
1771 1771
             return;
1772 1772
         } else {
1773 1773
             return $this->$method();
@@ -1800,12 +1800,12 @@  discard block
 block discarded – undo
1800 1800
      */
1801 1801
     public function __set($var, $value)
1802 1802
     {
1803
-        $method = '_set' . ucfirst($var);
1803
+        $method = '_set'.ucfirst($var);
1804 1804
         if (
1805 1805
             !property_exists($this, $var)
1806 1806
             || !method_exists($this, $method)
1807 1807
         ) {
1808
-            $this->logger->warning('There is no setter function for property "' . $var . '"');
1808
+            $this->logger->warning('There is no setter function for property "'.$var.'"');
1809 1809
         } else {
1810 1810
             $this->$method($value);
1811 1811
         }
Please login to merge, or discard this patch.
Classes/Common/DocumentList.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
         if ($this->valid()) {
140 140
             return $this->getRecord($this->elements[$this->position]);
141 141
         } else {
142
-            $this->logger->notice('Invalid position "' . $this->position . '" for list element');
142
+            $this->logger->notice('Invalid position "'.$this->position.'" for list element');
143 143
             return;
144 144
         }
145 145
     }
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
 
268 268
         $query = $this->solr->service->createSelect();
269 269
         // Restrict the fields to the required ones
270
-        $query->setFields($fields['uid'] . ',' . $fields['id'] . ',' . $fields['toplevel'] . ',' . $fields['thumbnail'] . ',' . $fields['page']);
270
+        $query->setFields($fields['uid'].','.$fields['id'].','.$fields['toplevel'].','.$fields['thumbnail'].','.$fields['page']);
271 271
         foreach ($this->solrConfig as $solr_name) {
272 272
             $query->addField($solr_name);
273 273
         }
@@ -280,16 +280,16 @@  discard block
 block discarded – undo
280 280
         // Extend filter query to get all documents with the same UID.
281 281
         foreach ($filterQueries as $key => $value) {
282 282
             if (isset($value['query'])) {
283
-                $filterQuery[$key] = $value['query'] . ' OR ' . $fields['toplevel'] . ':true';
283
+                $filterQuery[$key] = $value['query'].' OR '.$fields['toplevel'].':true';
284 284
                 $filterQuery = [
285 285
                     'key' => $key,
286
-                    'query' => $value['query'] . ' OR ' . $fields['toplevel'] . ':true'
286
+                    'query' => $value['query'].' OR '.$fields['toplevel'].':true'
287 287
                 ];
288 288
                 $query->addFilterQuery($filterQuery);
289 289
             }
290 290
         }
291 291
         // Add filter query to get all documents with the required uid.
292
-        $query->createFilterQuery('uid')->setQuery($fields['uid'] . ':' . Solr::escapeQuery($record['uid']));
292
+        $query->createFilterQuery('uid')->setQuery($fields['uid'].':'.Solr::escapeQuery($record['uid']));
293 293
         // Add sorting.
294 294
         if (is_array($this->metadata['options']['params']['sort'])) {
295 295
             foreach ($this->metadata['options']['params']['sort'] as $key => $direction) {
@@ -297,7 +297,7 @@  discard block
 block discarded – undo
297 297
             }
298 298
         }
299 299
         // Set query.
300
-        $query->setQuery($this->metadata['options']['select'] . ' OR ' . $fields['toplevel'] . ':true');
300
+        $query->setQuery($this->metadata['options']['select'].' OR '.$fields['toplevel'].':true');
301 301
 
302 302
         // If it is a fulltext search, enable highlighting.
303 303
         if ($this->metadata['fulltextSearch']) {
@@ -405,7 +405,7 @@  discard block
 block discarded – undo
405 405
             $position < 0
406 406
             || $position >= $this->count
407 407
         ) {
408
-            $this->logger->warning('Invalid position "' . $position . '" for element moving');
408
+            $this->logger->warning('Invalid position "'.$position.'" for element moving');
409 409
             return;
410 410
         }
411 411
         $steps = intval($steps);
@@ -413,7 +413,7 @@  discard block
 block discarded – undo
413 413
         if (($position + $steps) < 0
414 414
             || ($position + $steps) >= $this->count
415 415
         ) {
416
-            $this->logger->warning('Invalid steps "' . $steps . '" for moving element at position "' . $position . '"');
416
+            $this->logger->warning('Invalid steps "'.$steps.'" for moving element at position "'.$position.'"');
417 417
             return;
418 418
         }
419 419
         $element = $this->remove($position);
@@ -491,7 +491,7 @@  discard block
 block discarded – undo
491 491
         if ($this->offsetExists($offset)) {
492 492
             return $this->getRecord($this->elements[$offset]);
493 493
         } else {
494
-            $this->logger->notice('Invalid offset "' . $offset . '" for list element');
494
+            $this->logger->notice('Invalid offset "'.$offset.'" for list element');
495 495
             return;
496 496
         }
497 497
     }
@@ -535,7 +535,7 @@  discard block
 block discarded – undo
535 535
             $position < 0
536 536
             || $position >= $this->count
537 537
         ) {
538
-            $this->logger->warning('Invalid position "' . $position . '" for element removing');
538
+            $this->logger->warning('Invalid position "'.$position.'" for element removing');
539 539
             return;
540 540
         }
541 541
         $removed = array_splice($this->elements, $position, 1);
@@ -560,7 +560,7 @@  discard block
 block discarded – undo
560 560
             $position < 0
561 561
             || $position >= $this->count
562 562
         ) {
563
-            $this->logger->warning('Invalid position "' . $position . '" for element removing');
563
+            $this->logger->warning('Invalid position "'.$position.'" for element removing');
564 564
             return;
565 565
         }
566 566
         $removed = array_splice($this->elements, $position, $length);
@@ -653,7 +653,7 @@  discard block
 block discarded – undo
653 653
                     ->execute();
654 654
 
655 655
                 while ($resArray = $result->fetch()) {
656
-                    $this->solrConfig[$resArray['index_name']] = $resArray['index_name'] . '_' . ($resArray['index_tokenized'] ? 't' : 'u') . 's' . ($resArray['index_indexed'] ? 'i' : 'u');
656
+                    $this->solrConfig[$resArray['index_name']] = $resArray['index_name'].'_'.($resArray['index_tokenized'] ? 't' : 'u').'s'.($resArray['index_indexed'] ? 'i' : 'u');
657 657
                 }
658 658
                 // Add static fields.
659 659
                 $this->solrConfig['type'] = 'type';
@@ -681,7 +681,7 @@  discard block
 block discarded – undo
681 681
         foreach ($this->elements as $num => $element) {
682 682
             // Is this element sortable?
683 683
             if (!empty($element['s'][$by])) {
684
-                $newOrder[$element['s'][$by] . str_pad($num, 6, '0', STR_PAD_LEFT)] = $element;
684
+                $newOrder[$element['s'][$by].str_pad($num, 6, '0', STR_PAD_LEFT)] = $element;
685 685
             } else {
686 686
                 $nonSortable[] = $element;
687 687
             }
@@ -819,12 +819,12 @@  discard block
 block discarded – undo
819 819
      */
820 820
     public function __get($var)
821 821
     {
822
-        $method = '_get' . ucfirst($var);
822
+        $method = '_get'.ucfirst($var);
823 823
         if (
824 824
             !property_exists($this, $var)
825 825
             || !method_exists($this, $method)
826 826
         ) {
827
-            $this->logger->warning('There is no getter function for property "' . $var . '"');
827
+            $this->logger->warning('There is no getter function for property "'.$var.'"');
828 828
             return;
829 829
         } else {
830 830
             return $this->$method();
@@ -857,12 +857,12 @@  discard block
 block discarded – undo
857 857
      */
858 858
     public function __set($var, $value)
859 859
     {
860
-        $method = '_set' . ucfirst($var);
860
+        $method = '_set'.ucfirst($var);
861 861
         if (
862 862
             !property_exists($this, $var)
863 863
             || !method_exists($this, $method)
864 864
         ) {
865
-            $this->logger->warning('There is no setter function for property "' . $var . '"');
865
+            $this->logger->warning('There is no setter function for property "'.$var.'"');
866 866
         } else {
867 867
             $this->$method($value);
868 868
         }
Please login to merge, or discard this patch.
Classes/Common/SolrSearchResult/Highlight.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
         $this->xEndPosition = $highlight['lrx'];
88 88
         $this->yBeginPosition = $highlight['uly'];
89 89
         $this->yEndPosition = $highlight['lry'];
90
-        $this->id = $this->xBeginPosition . '_' . $this->yBeginPosition;
90
+        $this->id = $this->xBeginPosition.'_'.$this->yBeginPosition;
91 91
     }
92 92
 
93 93
     /**
Please login to merge, or discard this patch.
Classes/Common/Indexer.php 1 patch
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
                 if ($parent->ready) {
106 106
                     $success = self::add($parent, $core);
107 107
                 } else {
108
-                    $logger->error('Could not load parent document with UID ' . $doc->parentId);
108
+                    $logger->error('Could not load parent document with UID '.$doc->parentId);
109 109
                     return false;
110 110
                 }
111 111
             }
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
                 self::$processedDocs[] = $doc->uid;
115 115
                 // Delete old Solr documents.
116 116
                 $updateQuery = self::$solr->service->createUpdate();
117
-                $updateQuery->addDeleteQuery('uid:' . $doc->uid);
117
+                $updateQuery->addDeleteQuery('uid:'.$doc->uid);
118 118
                 self::$solr->service->update($updateQuery);
119 119
 
120 120
                 // Index every logical unit as separate Solr document.
@@ -179,14 +179,14 @@  discard block
 block discarded – undo
179 179
             } catch (\Exception $e) {
180 180
                 if (!(\TYPO3_REQUESTTYPE & \TYPO3_REQUESTTYPE_CLI)) {
181 181
                     Helper::addMessage(
182
-                        Helper::getMessage('flash.solrException', true) . '<br />' . htmlspecialchars($e->getMessage()),
182
+                        Helper::getMessage('flash.solrException', true).'<br />'.htmlspecialchars($e->getMessage()),
183 183
                         Helper::getMessage('flash.error', true),
184 184
                         FlashMessage::ERROR,
185 185
                         true,
186 186
                         'core.template.flashMessages'
187 187
                     );
188 188
                 }
189
-                $logger->error('Apache Solr threw exception: "' . $e->getMessage() . '"');
189
+                $logger->error('Apache Solr threw exception: "'.$e->getMessage().'"');
190 190
                 return false;
191 191
             }
192 192
         } else {
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
         // Sanitize input.
222 222
         $pid = max(intval($pid), 0);
223 223
         if (!$pid) {
224
-            $logger->error('Invalid PID ' . $pid . ' for metadata configuration');
224
+            $logger->error('Invalid PID '.$pid.' for metadata configuration');
225 225
             return '';
226 226
         }
227 227
         // Load metadata configuration.
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
         $suffix = (in_array($index_name, self::$fields['tokenized']) ? 't' : 'u');
231 231
         $suffix .= (in_array($index_name, self::$fields['stored']) ? 's' : 'u');
232 232
         $suffix .= (in_array($index_name, self::$fields['indexed']) ? 'i' : 'u');
233
-        $index_name .= '_' . $suffix;
233
+        $index_name .= '_'.$suffix;
234 234
         return $index_name;
235 235
     }
236 236
 
@@ -340,7 +340,7 @@  discard block
 block discarded – undo
340 340
             $updateQuery = self::$solr->service->createUpdate();
341 341
             $solrDoc = $updateQuery->createDocument();
342 342
             // Create unique identifier from document's UID and unit's XML ID.
343
-            $solrDoc->setField('id', $doc->uid . $logicalUnit['id']);
343
+            $solrDoc->setField('id', $doc->uid.$logicalUnit['id']);
344 344
             $solrDoc->setField('uid', $doc->uid);
345 345
             $solrDoc->setField('pid', $doc->pid);
346 346
             if (MathUtility::canBeInterpretedAsInteger($logicalUnit['points'])) {
@@ -381,11 +381,11 @@  discard block
 block discarded – undo
381 381
                     $solrDoc->setField(self::getIndexFieldName($index_name, $doc->pid), $data, self::$fields['fieldboost'][$index_name]);
382 382
                     if (in_array($index_name, self::$fields['sortables'])) {
383 383
                         // Add sortable fields to index.
384
-                        $solrDoc->setField($index_name . '_sorting', $metadata[$index_name . '_sorting'][0]);
384
+                        $solrDoc->setField($index_name.'_sorting', $metadata[$index_name.'_sorting'][0]);
385 385
                     }
386 386
                     if (in_array($index_name, self::$fields['facets'])) {
387 387
                         // Add facets to index.
388
-                        $solrDoc->setField($index_name . '_faceting', $data);
388
+                        $solrDoc->setField($index_name.'_faceting', $data);
389 389
                     }
390 390
                     if (in_array($index_name, self::$fields['autocomplete'])) {
391 391
                         $autocomplete = array_merge($autocomplete, $data);
@@ -410,14 +410,14 @@  discard block
 block discarded – undo
410 410
             } catch (\Exception $e) {
411 411
                 if (!(\TYPO3_REQUESTTYPE & \TYPO3_REQUESTTYPE_CLI)) {
412 412
                     Helper::addMessage(
413
-                        Helper::getMessage('flash.solrException', true) . '<br />' . htmlspecialchars($e->getMessage()),
413
+                        Helper::getMessage('flash.solrException', true).'<br />'.htmlspecialchars($e->getMessage()),
414 414
                         Helper::getMessage('flash.error', true),
415 415
                         FlashMessage::ERROR,
416 416
                         true,
417 417
                         'core.template.flashMessages'
418 418
                     );
419 419
                 }
420
-                $logger->error('Apache Solr threw exception: "' . $e->getMessage() . '"');
420
+                $logger->error('Apache Solr threw exception: "'.$e->getMessage().'"');
421 421
                 return false;
422 422
             }
423 423
         }
@@ -457,7 +457,7 @@  discard block
 block discarded – undo
457 457
             $updateQuery = self::$solr->service->createUpdate();
458 458
             $solrDoc = $updateQuery->createDocument();
459 459
             // Create unique identifier from document's UID and unit's XML ID.
460
-            $solrDoc->setField('id', $doc->uid . $physicalUnit['id']);
460
+            $solrDoc->setField('id', $doc->uid.$physicalUnit['id']);
461 461
             $solrDoc->setField('uid', $doc->uid);
462 462
             $solrDoc->setField('pid', $doc->pid);
463 463
             $solrDoc->setField('page', $page);
@@ -492,7 +492,7 @@  discard block
 block discarded – undo
492 492
                             }
493 493
                         }
494 494
                         // Add facets to index.
495
-                        $solrDoc->setField($index_name . '_faceting', $data);
495
+                        $solrDoc->setField($index_name.'_faceting', $data);
496 496
                     }
497 497
                 }
498 498
             }
@@ -509,14 +509,14 @@  discard block
 block discarded – undo
509 509
             } catch (\Exception $e) {
510 510
                 if (!(\TYPO3_REQUESTTYPE & \TYPO3_REQUESTTYPE_CLI)) {
511 511
                     Helper::addMessage(
512
-                        Helper::getMessage('flash.solrException', true) . '<br />' . htmlspecialchars($e->getMessage()),
512
+                        Helper::getMessage('flash.solrException', true).'<br />'.htmlspecialchars($e->getMessage()),
513 513
                         Helper::getMessage('flash.error', true),
514 514
                         FlashMessage::ERROR,
515 515
                         true,
516 516
                         'core.template.flashMessages'
517 517
                     );
518 518
                 }
519
-                $logger->error('Apache Solr threw exception: "' . $e->getMessage() . '"');
519
+                $logger->error('Apache Solr threw exception: "'.$e->getMessage().'"');
520 520
                 return false;
521 521
             }
522 522
         }
Please login to merge, or discard this patch.
Classes/Format/Alto.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
      */
102 102
     private function getWord($attributes)
103 103
     {
104
-        return htmlspecialchars((string) $attributes['CONTENT']) . ' ';
104
+        return htmlspecialchars((string) $attributes['CONTENT']).' ';
105 105
     }
106 106
 
107 107
     /**
@@ -115,6 +115,6 @@  discard block
 block discarded – undo
115 115
      */
116 116
     private function getCoordinates($attributes)
117 117
     {
118
-        return (string) $attributes['HPOS'] . ' ' . (string) $attributes['VPOS'] . ' ' . (string) $attributes['WIDTH'] . ' ' . (string) $attributes['HEIGHT'];
118
+        return (string) $attributes['HPOS'].' '.(string) $attributes['VPOS'].' '.(string) $attributes['WIDTH'].' '.(string) $attributes['HEIGHT'];
119 119
     }
120 120
 }
Please login to merge, or discard this patch.