@@ -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 | } |
@@ -45,8 +45,8 @@ discard block |
||
| 45 | 45 | $expressionBuilder = GeneralUtility::makeInstance(ConnectionPool::class) |
| 46 | 46 | ->getQueryBuilderForTable($table) |
| 47 | 47 | ->expr(); |
| 48 | - return $withLogicalSeparator . ' ' . $expressionBuilder->eq( |
|
| 49 | - $table . '.' . $GLOBALS['TCA'][$table]['ctrl']['delete'], |
|
| 48 | + return $withLogicalSeparator.' '.$expressionBuilder->eq( |
|
| 49 | + $table.'.'.$GLOBALS['TCA'][$table]['ctrl']['delete'], |
|
| 50 | 50 | 0 |
| 51 | 51 | ); |
| 52 | 52 | } |
@@ -72,12 +72,12 @@ discard block |
||
| 72 | 72 | if (is_array($ctrl)) { |
| 73 | 73 | if (is_array($ctrl['enablecolumns'])) { |
| 74 | 74 | if ($ctrl['enablecolumns']['disabled'] ?? false) { |
| 75 | - $field = $table . '.' . $ctrl['enablecolumns']['disabled']; |
|
| 75 | + $field = $table.'.'.$ctrl['enablecolumns']['disabled']; |
|
| 76 | 76 | $query->add($expressionBuilder->eq($field, 0)); |
| 77 | 77 | $invQuery->add($expressionBuilder->neq($field, 0)); |
| 78 | 78 | } |
| 79 | 79 | if ($ctrl['enablecolumns']['starttime'] ?? false) { |
| 80 | - $field = $table . '.' . $ctrl['enablecolumns']['starttime']; |
|
| 80 | + $field = $table.'.'.$ctrl['enablecolumns']['starttime']; |
|
| 81 | 81 | $query->add($expressionBuilder->lte($field, (int)$GLOBALS['SIM_ACCESS_TIME'])); |
| 82 | 82 | $invQuery->add( |
| 83 | 83 | $expressionBuilder->andX( |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | ); |
| 88 | 88 | } |
| 89 | 89 | if ($ctrl['enablecolumns']['endtime'] ?? false) { |
| 90 | - $field = $table . '.' . $ctrl['enablecolumns']['endtime']; |
|
| 90 | + $field = $table.'.'.$ctrl['enablecolumns']['endtime']; |
|
| 91 | 91 | $query->add( |
| 92 | 92 | $expressionBuilder->orX( |
| 93 | 93 | $expressionBuilder->eq($field, 0), |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | return ''; |
| 109 | 109 | } |
| 110 | 110 | |
| 111 | - return ' AND ' . ($inv ? $invQuery : $query); |
|
| 111 | + return ' AND '.($inv ? $invQuery : $query); |
|
| 112 | 112 | } |
| 113 | 113 | |
| 114 | 114 | /** |
@@ -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 | |
@@ -208,7 +208,7 @@ |
||
| 208 | 208 | $page = $query->select('doktype') |
| 209 | 209 | ->from('pages') |
| 210 | 210 | ->where('deleted = 0', |
| 211 | - 'uid = ' . $configuredPid) |
|
| 211 | + 'uid = '.$configuredPid) |
|
| 212 | 212 | ->execute() |
| 213 | 213 | ->fetch(); |
| 214 | 214 | |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | $this->tableName = $tableName; |
| 69 | 69 | |
| 70 | 70 | if (empty($GLOBALS['TCA'][$this->tableName])) { |
| 71 | - throw new InvalidKeyInArrayException('No TCA existence for table name: ' . $this->tableName, 1356945108); |
|
| 71 | + throw new InvalidKeyInArrayException('No TCA existence for table name: '.$this->tableName, 1356945108); |
|
| 72 | 72 | } |
| 73 | 73 | |
| 74 | 74 | $this->tca = $GLOBALS['TCA'][$this->tableName]['grid']; |
@@ -170,7 +170,7 @@ discard block |
||
| 170 | 170 | { |
| 171 | 171 | $fields = array_keys($this->getFields()); |
| 172 | 172 | if (empty($fields[$position])) { |
| 173 | - throw new InvalidKeyInArrayException('No field exist for position: ' . $position, 1356945119); |
|
| 173 | + throw new InvalidKeyInArrayException('No field exist for position: '.$position, 1356945119); |
|
| 174 | 174 | } |
| 175 | 175 | |
| 176 | 176 | return (string)$fields[$position]; |
@@ -686,7 +686,7 @@ discard block |
||
| 686 | 686 | $facet = GeneralUtility::makeInstance(StandardFacet::class, $facetName, $label); |
| 687 | 687 | |
| 688 | 688 | if (!$facet instanceof StandardFacet) { |
| 689 | - throw new \RuntimeException('I could not instantiate a facet for facet name "' . $facetName . '""', 1445856345); |
|
| 689 | + throw new \RuntimeException('I could not instantiate a facet for facet name "'.$facetName.'""', 1445856345); |
|
| 690 | 690 | } |
| 691 | 691 | return $facet; |
| 692 | 692 | } |
@@ -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 | } |