Completed
Push — master ( 02a2d0...8117b3 )
by Fabien
54:58
created
Classes/Utility/ImagePresetUtility.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
     {
55 55
         $size = ConfigurationUtility::getInstance()->get($preset);
56 56
         if (is_null($size)) {
57
-            throw new \Fab\Media\Exception\EmptyValueException('No value for preset: ' . $preset, 1362501066);
57
+            throw new \Fab\Media\Exception\EmptyValueException('No value for preset: '.$preset, 1362501066);
58 58
         }
59 59
 
60 60
         $this->currentPreset = $preset;
Please login to merge, or discard this patch.
Classes/Thumbnail/AbstractThumbnailProcessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
     public function prefixUri($uri)
132 132
     {
133 133
         if ($this->isFrontendMode() && $this->getFrontendObject()->absRefPrefix) {
134
-            $uri = $this->getFrontendObject()->absRefPrefix . $uri;
134
+            $uri = $this->getFrontendObject()->absRefPrefix.$uri;
135 135
         }
136 136
         return $uri;
137 137
     }
Please login to merge, or discard this patch.
Classes/Thumbnail/ImageThumbnailProcessor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
 
92 92
         return sprintf('<img src="%s%s" title="%s" alt="%s" %s/>',
93 93
             $result,
94
-            $this->thumbnailService->getAppendTimeStamp() ? $parameterSeparator . $this->processedFile->getProperty('tstamp') : '',
94
+            $this->thumbnailService->getAppendTimeStamp() ? $parameterSeparator.$this->processedFile->getProperty('tstamp') : '',
95 95
             $this->getTitle(),
96 96
             $this->getTitle(),
97 97
             $this->renderAttributes()
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
 
147 147
         return sprintf('<a href="%s%s" target="%s" data-uid="%s">%s</a>',
148 148
             $url,
149
-            $this->thumbnailService->getAppendTimeStamp() && !$this->thumbnailService->getAnchorUri() ? $parameterSeparator . $file->getProperty('tstamp') : '',
149
+            $this->thumbnailService->getAppendTimeStamp() && !$this->thumbnailService->getAnchorUri() ? $parameterSeparator.$file->getProperty('tstamp') : '',
150 150
             $this->thumbnailService->getTarget(),
151 151
             $file->getUid(),
152 152
             $result
Please login to merge, or discard this patch.
Classes/ViewHelpers/Uri/MoveViewHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
         // Work around a bug in BackendUtility::getModuleUrl if matches is empty getModuleUrl() will not return the parameter.
50 50
         $matches = $this->templateVariableContainer->get('matches');
51 51
         if (empty($matches)) {
52
-            $moduleUrl .= '&' . urlencode(VidiModule::getParameterPrefix() . '[matches]=');
52
+            $moduleUrl .= '&'.urlencode(VidiModule::getParameterPrefix().'[matches]=');
53 53
         }
54 54
 
55 55
         return $moduleUrl;
Please login to merge, or discard this patch.
Classes/Grid/ActionPermissionColumn.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
             $permission .= 'W';
43 43
         }
44 44
 
45
-        return '<strong>' . $permission . '</strong>';
45
+        return '<strong>'.$permission.'</strong>';
46 46
     }
47 47
 
48 48
     /**
Please login to merge, or discard this patch.
Classes/Form/FileUploadTceForms.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
 
42 42
         // Get the base prefix.
43 43
         $basePrefix = $this->getBasePrefix($this->getPrefix());
44
-        $filePath = ExtensionManagementUtility::extPath('media') . 'Resources/Private/Standalone/FileUploadTceForms.js';
44
+        $filePath = ExtensionManagementUtility::extPath('media').'Resources/Private/Standalone/FileUploadTceForms.js';
45 45
 
46 46
         return sprintf(file_get_contents($filePath),
47 47
             $basePrefix,
Please login to merge, or discard this patch.
Classes/Form/FileUpload.php 1 patch
Spacing   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     public function __construct()
52 52
     {
53 53
         $this->addLanguage();
54
-        $this->elementId = 'jquery-wrapped-fine-uploader-' . uniqid();
54
+        $this->elementId = 'jquery-wrapped-fine-uploader-'.uniqid();
55 55
 
56 56
         $this->template = <<<EOF
57 57
 <div class="control-group control-group-upload" style="%s">
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     {
75 75
         /** @var PageRenderer $pageRenderer */
76 76
         $pageRenderer = GeneralUtility::makeInstance(PageRenderer::class);
77
-        $pageRenderer->addInlineLanguageLabelFile(ExtensionManagementUtility::extPath('media') . 'Resources/Private/Language/locallang.xlf', 'media_file_upload');
77
+        $pageRenderer->addInlineLanguageLabelFile(ExtensionManagementUtility::extPath('media').'Resources/Private/Language/locallang.xlf', 'media_file_upload');
78 78
     }
79 79
 
80 80
     /**
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
         /** @var \TYPO3\CMS\Fluid\View\StandaloneView $view */
162 162
         $view = $objectManager->get('TYPO3\CMS\Fluid\View\StandaloneView');
163 163
 
164
-        $templatePathAndFilename = ExtensionManagementUtility::extPath('media') . $this->templateFile;
164
+        $templatePathAndFilename = ExtensionManagementUtility::extPath('media').$this->templateFile;
165 165
         $view->setTemplatePathAndFilename($templatePathAndFilename);
166 166
 
167 167
         return $view;
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
         // Get the base prefix
179 179
         $basePrefix = $this->getBasePrefix($this->getPrefix());
180 180
 
181
-        $filePath = ExtensionManagementUtility::extPath('media') . 'Resources/Private/Standalone/FileUpload.js';
181
+        $filePath = ExtensionManagementUtility::extPath('media').'Resources/Private/Standalone/FileUpload.js';
182 182
 
183 183
         return sprintf(
184 184
             file_get_contents($filePath),
@@ -188,8 +188,7 @@  discard block
 block discarded – undo
188 188
             $this->getAllowedExtensions(),
189 189
             GeneralUtility::getMaxUploadFileSize() * 1024,
190 190
             $this->isDrivenByFolder() ?
191
-                $this->getMediaModule()->getCurrentFolder()->getCombinedIdentifier() :
192
-                $this->getMediaModule()->getCurrentStorage()->getUid() . ':/'
191
+                $this->getMediaModule()->getCurrentFolder()->getCombinedIdentifier() : $this->getMediaModule()->getCurrentStorage()->getUid().':/'
193 192
 
194 193
         );
195 194
     }
Please login to merge, or discard this patch.
Classes/Form/AbstractFormField.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
             reset($attribute);
132 132
             $key = key($attribute);
133 133
             if (!is_string($key)) {
134
-                throw new InvalidStringException('Not an associative array. Is not a key: ' . $key, 1356478742);
134
+                throw new InvalidStringException('Not an associative array. Is not a key: '.$key, 1356478742);
135 135
             }
136 136
 
137 137
             $this->attributes[$key] = $attribute[$key];
Please login to merge, or discard this patch.
Classes/View/Button/NewFolder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
                 ->setIcon($this->getIconFactory()->getIcon('actions-document-new', Icon::SIZE_SMALL))
45 45
                 ->render();
46 46
 
47
-            $output = '<div style="float: left;">' . $button . '</div>';
47
+            $output = '<div style="float: left;">'.$button.'</div>';
48 48
         }
49 49
         return $output;
50 50
     }
Please login to merge, or discard this patch.