Completed
Push — master ( 22cf49...26096c )
by Tim
17s queued 13s
created
Classes/RealUrlImage.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
             $this->new_fileName = '';
241 241
         }
242 242
 
243
-        $enableByConfiguration = (bool)$this->fl_conf['enable'];
243
+        $enableByConfiguration = (bool) $this->fl_conf['enable'];
244 244
         if (!$enableByConfiguration) {
245 245
             $this->enable = $enableByConfiguration;
246 246
         }
@@ -446,7 +446,7 @@  discard block
 block discarded – undo
446 446
             $hashBase = PathUtility::pathinfo($this->org_fileName, PATHINFO_BASENAME);
447 447
         }
448 448
         $hashLength = isset($this->fl_conf['hashLength']) ? MathUtility::forceIntegerInRange(
449
-            (int)$this->fl_conf['hashLength'],
449
+            (int) $this->fl_conf['hashLength'],
450 450
             0,
451 451
             strlen($hashBase)
452 452
         ) : 0;
@@ -523,8 +523,8 @@  discard block
 block discarded – undo
523 523
         if ($cache->has($cacheIdent)) {
524 524
             $data = unserialize($cache->get($new_fileName));
525 525
             $pids = GeneralUtility::intExplode(',', $data['page_id'], true);
526
-            if (!in_array((int)$GLOBALS['TSFE']->id, $pids)) {
527
-                $pids[] = (int)$GLOBALS['TSFE']->id;
526
+            if (!in_array((int) $GLOBALS['TSFE']->id, $pids)) {
527
+                $pids[] = (int) $GLOBALS['TSFE']->id;
528 528
             }
529 529
             $data['tstamp'] = time();
530 530
             $data['page_id'] = implode(',', $pids);
Please login to merge, or discard this patch.
Classes/Xclass/Fluid/ViewHelpers/Uri/ImageViewHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
 				$cropString = $image->getProperty('crop');
60 60
 			}
61 61
 
62
-			$cropVariantCollection = CropVariantCollection::create((string)$cropString);
62
+			$cropVariantCollection = CropVariantCollection::create((string) $cropString);
63 63
 			$cropVariant = $arguments['cropVariant'] ?: 'default';
64 64
 			$cropArea = $cropVariantCollection->getCropArea($cropVariant);
65 65
 			$processingInstructions = [
Please login to merge, or discard this patch.
Classes/Xclass/Frontend/ContentObject/ContentObjectRenderer.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -92,11 +92,11 @@  discard block
 block discarded – undo
92 92
         }
93 93
 
94 94
         $imageTagValues = [
95
-            'width'               => (int)$info[0],
96
-            'height'              => (int)$info[1],
95
+            'width'               => (int) $info[0],
96
+            'height'              => (int) $info[1],
97 97
             'params'              => $params,
98 98
             'altParams'           => $altParam,
99
-            'border'              => $this->getBorderAttr(' border="' . (int)$conf['border'] . '"'),
99
+            'border'              => $this->getBorderAttr(' border="' . (int) $conf['border'] . '"'),
100 100
             'sourceCollection'    => $sourceCollection,
101 101
             'selfClosingTagSlash' => !empty($tsfe->xhtmlDoctype) ? ' /' : '',
102 102
         ];
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
             $theValue = $this->imageLinkWrap($theValue, $originalFile, $conf['imageLinkWrap.']);
125 125
         }
126 126
         $wrap = isset($conf['wrap.']) ? $this->stdWrap($conf['wrap'], $conf['wrap.']) : $conf['wrap'];
127
-        if ((string)$wrap !== '') {
127
+        if ((string) $wrap !== '') {
128 128
             $theValue = $this->wrap($theValue, $conf['wrap']);
129 129
         }
130 130
         return $theValue;
Please login to merge, or discard this patch.