@@ -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; |
@@ -38,11 +38,11 @@ discard block |
||
| 38 | 38 | { |
| 39 | 39 | |
| 40 | 40 | // If file is not found, resolve the path |
| 41 | - if (!is_file(PATH_site . $resource)) { |
|
| 41 | + if (!is_file(PATH_site.$resource)) { |
|
| 42 | 42 | $resource = substr(self::resolvePath($resource), strlen(PATH_site)); |
| 43 | 43 | } |
| 44 | 44 | |
| 45 | - return PathUtility::getRelativePathTo(PathUtility::dirname(PATH_site . $resource)) . PathUtility::basename($resource); |
|
| 45 | + return PathUtility::getRelativePathTo(PathUtility::dirname(PATH_site.$resource)).PathUtility::basename($resource); |
|
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
@@ -54,8 +54,8 @@ discard block |
||
| 54 | 54 | static public function resolvePath($resource) |
| 55 | 55 | { |
| 56 | 56 | $resource = self::canonicalPath($resource); |
| 57 | - if (!is_file(PATH_site . $resource)) { |
|
| 58 | - $resource = 'EXT:' . GeneralUtility::camelCaseToLowerCaseUnderscored(self::$extensionName) . '/Resources/Public/' . $resource; |
|
| 57 | + if (!is_file(PATH_site.$resource)) { |
|
| 58 | + $resource = 'EXT:'.GeneralUtility::camelCaseToLowerCaseUnderscored(self::$extensionName).'/Resources/Public/'.$resource; |
|
| 59 | 59 | } |
| 60 | 60 | return GeneralUtility::getFileAbsFileName($resource); |
| 61 | 61 | } |
@@ -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 | /** |
@@ -79,7 +79,7 @@ |
||
| 79 | 79 | */ |
| 80 | 80 | protected function getWarmUpSemaphorFile() |
| 81 | 81 | { |
| 82 | - return PATH_site . 'typo3temp/.media_cache_warmed_up'; |
|
| 82 | + return PATH_site.'typo3temp/.media_cache_warmed_up'; |
|
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | /** |
@@ -85,7 +85,7 @@ |
||
| 85 | 85 | $formattedResultSet[] = sprintf('* File "%s": %s %s', |
| 86 | 86 | $result['fileUid'], |
| 87 | 87 | $result['fileIdentifier'], |
| 88 | - empty($result['thumbnailUri']) ? '' : ' -> ' . $result['thumbnailUri'] |
|
| 88 | + empty($result['thumbnailUri']) ? '' : ' -> '.$result['thumbnailUri'] |
|
| 89 | 89 | ); |
| 90 | 90 | } |
| 91 | 91 | |
@@ -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, |