@@ -40,7 +40,7 @@ |
||
| 40 | 40 | public function render() |
| 41 | 41 | { |
| 42 | 42 | $this->initializeCache(); |
| 43 | - $key = $this->getModuleLoader()->getDataType() . '_' . $this->getBackendUserIdentifier() . '_' . $this->arguments['key']; |
|
| 43 | + $key = $this->getModuleLoader()->getDataType().'_'.$this->getBackendUserIdentifier().'_'.$this->arguments['key']; |
|
| 44 | 44 | |
| 45 | 45 | $value = $this->cacheInstance->get($key); |
| 46 | 46 | if ($value) { |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | */ |
| 34 | 34 | public function render() |
| 35 | 35 | { |
| 36 | - $getter = 'get' . ucfirst($this->arguments['key']); |
|
| 36 | + $getter = 'get'.ucfirst($this->arguments['key']); |
|
| 37 | 37 | |
| 38 | 38 | /** @var ModulePreferences $modulePreferences */ |
| 39 | 39 | $modulePreferences = GeneralUtility::makeInstance(ModulePreferences::class); |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | */ |
| 34 | 34 | public function render() |
| 35 | 35 | { |
| 36 | - $getter = 'get' . ucfirst($this->arguments['key']); |
|
| 36 | + $getter = 'get'.ucfirst($this->arguments['key']); |
|
| 37 | 37 | |
| 38 | 38 | /** @var ModuleLoader $moduleLoader */ |
| 39 | 39 | $moduleLoader = GeneralUtility::makeInstance(ModuleLoader::class); |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | */ |
| 41 | 41 | public static function stripPathSitePrefix($path) |
| 42 | 42 | { |
| 43 | - return substr($path, strlen(Environment::getPublicPath() . '/')); |
|
| 43 | + return substr($path, strlen(Environment::getPublicPath().'/')); |
|
| 44 | 44 | } |
| 45 | 45 | |
| 46 | 46 | } |
@@ -317,7 +317,7 @@ |
||
| 317 | 317 | public function like($fieldNameAndPath, $operand, $addWildCard = true): self |
| 318 | 318 | { |
| 319 | 319 | $wildCardSymbol = $addWildCard ? '%' : ''; |
| 320 | - $this->like[] = ['fieldNameAndPath' => $fieldNameAndPath, 'operand' => $wildCardSymbol . $operand . $wildCardSymbol]; |
|
| 320 | + $this->like[] = ['fieldNameAndPath' => $fieldNameAndPath, 'operand' => $wildCardSymbol.$operand.$wildCardSymbol]; |
|
| 321 | 321 | return $this; |
| 322 | 322 | } |
| 323 | 323 | |
@@ -67,7 +67,7 @@ |
||
| 67 | 67 | ] |
| 68 | 68 | ); |
| 69 | 69 | if (!empty($record)) { |
| 70 | - $moduleName = 'Vidi' . GeneralUtility::underscoredToUpperCamelCase($dataType) . 'M1'; |
|
| 70 | + $moduleName = 'Vidi'.GeneralUtility::underscoredToUpperCamelCase($dataType).'M1'; |
|
| 71 | 71 | $title = Tca::table($dataType)->getTitle(); |
| 72 | 72 | $modules[$moduleName] = $title; |
| 73 | 73 | } |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | $content = str_replace('{module_name}', $label, $this->template); |
| 54 | 54 | GeneralUtility::writeFileToTypo3tempDir($languageFile, $content); |
| 55 | 55 | |
| 56 | - return 'LLL:' . $languageFile; |
|
| 56 | + return 'LLL:'.$languageFile; |
|
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | /** |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | */ |
| 63 | 63 | protected function getLanguageFile($dataType) |
| 64 | 64 | { |
| 65 | - return $this->getLanguageDirectory() . '/' . $dataType . '.xlf'; |
|
| 65 | + return $this->getLanguageDirectory().'/'.$dataType.'.xlf'; |
|
| 66 | 66 | } |
| 67 | 67 | |
| 68 | 68 | /** |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | protected function getLanguageDirectory() |
| 72 | 72 | { |
| 73 | 73 | // Create language file dynamically |
| 74 | - $languageDirectory = Environment::getPublicPath() . '/typo3temp/vidi'; |
|
| 74 | + $languageDirectory = Environment::getPublicPath().'/typo3temp/vidi'; |
|
| 75 | 75 | if (!is_dir($languageDirectory)) { |
| 76 | 76 | GeneralUtility::mkdir($languageDirectory); |
| 77 | 77 | } |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | { |
| 45 | 45 | $templateNameAndPath = 'EXT:vidi/Resources/Private/Standalone/Tool/ModulePreferences/Launcher.html'; |
| 46 | 46 | $view = $this->initializeStandaloneView($templateNameAndPath); |
| 47 | - $view->assign('sitePath', Environment::getPublicPath() . '/'); |
|
| 47 | + $view->assign('sitePath', Environment::getPublicPath().'/'); |
|
| 48 | 48 | return $view->render(); |
| 49 | 49 | } |
| 50 | 50 | |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | { |
| 41 | 41 | $templateNameAndPath = 'EXT:vidi/Resources/Private/Standalone/Tool/RelationAnalyser/Launcher.html'; |
| 42 | 42 | $view = $this->initializeStandaloneView($templateNameAndPath); |
| 43 | - $view->assign('sitePath', Environment::getPublicPath() . '/'); |
|
| 43 | + $view->assign('sitePath', Environment::getPublicPath().'/'); |
|
| 44 | 44 | $view->assign('dataType', $this->getModuleLoader()->getDataType()); |
| 45 | 45 | return $view->render(); |
| 46 | 46 | } |