Passed
Pull Request — master (#156)
by Stephan
03:29
created
Configuration/TCA/Overrides/tt_content.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-if ( !defined( 'TYPO3_MODE' ) ) {
3
+if( !defined( 'TYPO3_MODE' ) ) {
4 4
 	die( 'Access denied.' );
5 5
 }
6 6
 
@@ -47,8 +47,8 @@  discard block
 block discarded – undo
47 47
 	]
48 48
 ];
49 49
 
50
-foreach ( $aimeosPlugins as $groupName => $pluginGroup ) {
51
-	foreach ( $pluginGroup as $pluginName ) {
50
+foreach( $aimeosPlugins as $groupName => $pluginGroup ) {
51
+	foreach( $pluginGroup as $pluginName ) {
52 52
 		$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['aimeos_' . $pluginName] = 'pi_flexform';
53 53
 		\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
54 54
 			'aimeos_' . $pluginName,
@@ -58,8 +58,8 @@  discard block
 block discarded – undo
58 58
 			'Aimeos.aimeos',
59 59
 			$pluginName,
60 60
 			'LLL:EXT:aimeos/Resources/Private/Language/admin.xlf:aimeos_' . $pluginName . '.title',
61
-			'aimeos_'  .$pluginName,
62
-			'Aimeos Shop: ' .$groupName
61
+			'aimeos_' . $pluginName,
62
+			'Aimeos Shop: ' . $groupName
63 63
 		);
64 64
 	}
65 65
 }
Please login to merge, or discard this patch.