@@ -3,7 +3,7 @@ |
||
| 3 | 3 | /** |
| 4 | 4 | * Map int. |
| 5 | 5 | */ |
| 6 | -declare(strict_types=1); |
|
| 6 | +declare(strict_types = 1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Autoloader\Mapper; |
| 9 | 9 | |
@@ -4,7 +4,7 @@ |
||
| 4 | 4 | * Exclude the IdentityMap in the regular data map for backend selection |
| 5 | 5 | * We need on object in different languages and the IdentityMap do not respect that! |
| 6 | 6 | */ |
| 7 | -declare(strict_types=1); |
|
| 7 | +declare(strict_types = 1); |
|
| 8 | 8 | |
| 9 | 9 | namespace HDNET\Autoloader\Persistence; |
| 10 | 10 | |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | /** |
| 4 | 4 | * Handling of the language files. |
| 5 | 5 | */ |
| 6 | -declare(strict_types=1); |
|
| 6 | +declare(strict_types = 1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Autoloader\Localization; |
| 9 | 9 | |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | /** |
| 4 | 4 | * Interface for L10N file writers. |
| 5 | 5 | */ |
| 6 | -declare(strict_types=1); |
|
| 6 | +declare(strict_types = 1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Autoloader\Localization\Writer; |
| 9 | 9 | |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | /** |
| 4 | 4 | * Xliff writer. |
| 5 | 5 | */ |
| 6 | -declare(strict_types=1); |
|
| 6 | +declare(strict_types = 1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Autoloader\Localization\Writer; |
| 9 | 9 | |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | /** |
| 4 | 4 | * Abstraction of the Writer. |
| 5 | 5 | */ |
| 6 | -declare(strict_types=1); |
|
| 6 | +declare(strict_types = 1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Autoloader\Localization\Writer; |
| 9 | 9 | |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | /** |
| 4 | 4 | * XML writer. |
| 5 | 5 | */ |
| 6 | -declare(strict_types=1); |
|
| 6 | +declare(strict_types = 1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Autoloader\Localization\Writer; |
| 9 | 9 | |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | /** |
| 4 | 4 | * Loading Slots. |
| 5 | 5 | */ |
| 6 | -declare(strict_types=1); |
|
| 6 | +declare(strict_types = 1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Autoloader\Loader; |
| 9 | 9 | |
@@ -3,7 +3,7 @@ discard block |
||
| 3 | 3 | /** |
| 4 | 4 | * SmartObjectInformationService.php. |
| 5 | 5 | */ |
| 6 | -declare(strict_types=1); |
|
| 6 | +declare(strict_types = 1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Autoloader\Service; |
| 9 | 9 | |
@@ -203,9 +203,9 @@ discard block |
||
| 203 | 203 | */ |
| 204 | 204 | protected function useTableNameFileBase() |
| 205 | 205 | { |
| 206 | - $configuration = \unserialize((string) $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['autoloader']); |
|
| 206 | + $configuration = \unserialize((string)$GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['autoloader']); |
|
| 207 | 207 | |
| 208 | - return isset($configuration['enableLanguageFileOnTableBase']) ? (bool) $configuration['enableLanguageFileOnTableBase'] : false; |
|
| 208 | + return isset($configuration['enableLanguageFileOnTableBase']) ? (bool)$configuration['enableLanguageFileOnTableBase'] : false; |
|
| 209 | 209 | } |
| 210 | 210 | |
| 211 | 211 | /** |
@@ -276,7 +276,7 @@ discard block |
||
| 276 | 276 | 'name' => GeneralUtility::camelCaseToLowerCaseUnderscored($property->getName()), |
| 277 | 277 | 'db' => \trim($dbInformation[0]), |
| 278 | 278 | 'var' => \trim($var), |
| 279 | - 'rte' => (bool) $property->isTaggedWith('enableRichText'), |
|
| 279 | + 'rte' => (bool)$property->isTaggedWith('enableRichText'), |
|
| 280 | 280 | ]; |
| 281 | 281 | } |
| 282 | 282 | |
@@ -339,7 +339,7 @@ discard block |
||
| 339 | 339 | $classReflection = ReflectionUtility::createReflectionClass($modelClassName); |
| 340 | 340 | if ($classReflection->isTaggedWith('key')) { |
| 341 | 341 | $additionalKeys = $classReflection->getTagValues('key'); |
| 342 | - \array_walk($additionalKeys, function (&$item) { |
|
| 342 | + \array_walk($additionalKeys, function(&$item) { |
|
| 343 | 343 | $item = 'KEY ' . $item; |
| 344 | 344 | }); |
| 345 | 345 | $fields = \array_merge($fields, $additionalKeys); |