Passed
Branch master (59abc7)
by Aimeos
01:56
created
class.ext_update.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
 
69 69
 
70 70
 		return '<pre>' . $output . '</pre>' . PHP_EOL .
71
-			sprintf( "Setup process lasted %1\$f sec</br>\n", (microtime( true ) - $exectimeStart) );
71
+			sprintf( "Setup process lasted %1\$f sec</br>\n", ( microtime( true ) - $exectimeStart ) );
72 72
 	}
73 73
 
74 74
 
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
 		}
96 96
 
97 97
 		// MariaDB might get identified as a 'MySQL 5.5.5' for some reason
98
-		$result = $connection->prepare('SELECT version()');
98
+		$result = $connection->prepare( 'SELECT version()' );
99 99
 		$result->execute();
100 100
 		$rows = $result->fetchAll();
101 101
 
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
 		}
119 119
 
120 120
 		// Retrieve the name of the connection (which is not part of the connection class)
121
-		foreach ( $connectionPool->getConnectionNames() as $name )
121
+		foreach( $connectionPool->getConnectionNames() as $name )
122 122
 		{
123 123
 			if( $connectionPool->getConnectionByName( $name ) === $connection ) {
124 124
 				break;
Please login to merge, or discard this patch.
Resources/Private/Config/resource.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 		'database' => ( isset( $GLOBALS['TYPO3_CONF_VARS']['DB']['Connections']['Default']['dbname'] ) ? $GLOBALS['TYPO3_CONF_VARS']['DB']['Connections']['Default']['dbname'] : $GLOBALS['TYPO3_CONF_VARS']['DB']['database'] ),
10 10
 		'username' => ( isset( $GLOBALS['TYPO3_CONF_VARS']['DB']['Connections']['Default']['user'] ) ? $GLOBALS['TYPO3_CONF_VARS']['DB']['Connections']['Default']['user'] : $GLOBALS['TYPO3_CONF_VARS']['DB']['username'] ),
11 11
 		'password' => ( isset( $GLOBALS['TYPO3_CONF_VARS']['DB']['Connections']['Default']['password'] ) ? $GLOBALS['TYPO3_CONF_VARS']['DB']['Connections']['Default']['password'] : $GLOBALS['TYPO3_CONF_VARS']['DB']['password'] ),
12
-		'stmt' => array("SET SESSION sort_buffer_size=2097144; SET NAMES 'utf8'; SET SESSION sql_mode='ANSI'"),
12
+		'stmt' => array( "SET SESSION sort_buffer_size=2097144; SET NAMES 'utf8'; SET SESSION sql_mode='ANSI'" ),
13 13
 		'defaultTableOptions' => array(
14 14
 			'charset' => ( isset( $GLOBALS['TYPO3_CONF_VARS']['DB']['Connections']['Default']['tableoptions']['charset'] ) ? $GLOBALS['TYPO3_CONF_VARS']['DB']['Connections']['Default']['tableoptions']['charset'] : 'utf8' ),
15 15
 			'collate' => ( isset( $GLOBALS['TYPO3_CONF_VARS']['DB']['Connections']['Default']['tableoptions']['collate'] ) ? $GLOBALS['TYPO3_CONF_VARS']['DB']['Connections']['Default']['tableoptions']['collate'] : 'utf8_bin' ),
Please login to merge, or discard this patch.
ext_tables.php 1 patch
Spacing   +3 added lines, -3 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
 
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
 	 * Register Aimeos icon
17 17
 	 */
18 18
 
19
-	$iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
19
+	$iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance( \TYPO3\CMS\Core\Imaging\IconRegistry::class );
20 20
 	$iconRegistry->registerIcon(
21 21
 		'aimeos-shop',
22 22
 		\TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class,
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
 	/**
63 63
 	 * Execute the setup tasks automatically to create the required tables
64 64
 	 */
65
-	$signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher');
65
+	$signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance( 'TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher' );
66 66
 	$signalSlotDispatcher->connect(
67 67
 		'TYPO3\\CMS\\Extensionmanager\\Service\\ExtensionManagementService',
68 68
 		'hasInstalledExtensions', // @deprecated, use "afterExtensionInstall" in TYPO3 10
Please login to merge, or discard this patch.