@@ -54,7 +54,7 @@ |
||
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; |
@@ -131,7 +131,7 @@ |
||
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 | } |
@@ -91,7 +91,7 @@ discard block |
||
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 |
||
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 |
@@ -49,7 +49,7 @@ |
||
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; |
@@ -42,7 +42,7 @@ |
||
42 | 42 | $permission .= 'W'; |
43 | 43 | } |
44 | 44 | |
45 | - return '<strong>' . $permission . '</strong>'; |
|
45 | + return '<strong>'.$permission.'</strong>'; |
|
46 | 46 | } |
47 | 47 | |
48 | 48 | /** |
@@ -41,7 +41,7 @@ |
||
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, |
@@ -51,7 +51,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 | } |
@@ -131,7 +131,7 @@ |
||
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]; |
@@ -44,7 +44,7 @@ |
||
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 | } |