@@ -35,8 +35,8 @@ |
||
| 35 | 35 | 'realurl' => '1.12.8-2.99.99', |
| 36 | 36 | ), |
| 37 | 37 | ), |
| 38 | - 'autoload' => array ( |
|
| 39 | - 'psr-4' => array ( |
|
| 38 | + 'autoload' => array( |
|
| 39 | + 'psr-4' => array( |
|
| 40 | 40 | 'Aimeos\\Aimeos\\' => 'Classes', |
| 41 | 41 | ), |
| 42 | 42 | ), |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -if( ! defined( 'TYPO3_MODE' ) ) { |
|
| 3 | +if( !defined( 'TYPO3_MODE' ) ) { |
|
| 4 | 4 | die ( 'Access denied.' ); |
| 5 | 5 | } |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -if ( ! defined( 'TYPO3_MODE' ) ) { |
|
| 3 | +if( !defined( 'TYPO3_MODE' ) ) { |
|
| 4 | 4 | die ( 'Access denied.' ); |
| 5 | 5 | } |
| 6 | 6 | |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | ->setMethods( array( 'getFields' ) )->getMock(); |
| 61 | 61 | |
| 62 | 62 | $mock->expects( $this->once() )->method( 'getFields' ) |
| 63 | - ->will( $this->throwException( new \RuntimeException() ) ); |
|
| 63 | + ->will( $this->throwException( new \RuntimeException() ) ); |
|
| 64 | 64 | |
| 65 | 65 | $result = $mock->getAdditionalFields( $taskInfo, $mock, $module ); |
| 66 | 66 | |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | ->setMethods( array( 'getFields' ) )->getMock(); |
| 57 | 57 | |
| 58 | 58 | $mock->expects( $this->once() )->method( 'getFields' ) |
| 59 | - ->will( $this->throwException( new \RuntimeException() ) ); |
|
| 59 | + ->will( $this->throwException( new \RuntimeException() ) ); |
|
| 60 | 60 | |
| 61 | 61 | $result = $mock->getAdditionalFields( $taskInfo, $mock, $module ); |
| 62 | 62 | |
@@ -208,7 +208,7 @@ |
||
| 208 | 208 | $string = '<option value="%1$s" %2$s %3$s>%4$s</option>'; |
| 209 | 209 | $html .= sprintf( $string, $item->getCode(), $active, $disabled, $prefix . $item->getLabel() ); |
| 210 | 210 | |
| 211 | - $html .= $this->getSiteOptions( $item->getChildren(), $selected, $level+1 ); |
|
| 211 | + $html .= $this->getSiteOptions( $item->getChildren(), $selected, $level + 1 ); |
|
| 212 | 212 | } |
| 213 | 213 | |
| 214 | 214 | return $html; |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | */ |
| 142 | 142 | public static function getSiteItems( \Aimeos\MShop\Context\Item\Iface $context, $sites ) |
| 143 | 143 | { |
| 144 | - if( !is_array( $sites ) ) { |
|
| 144 | + if( !is_array( $sites ) ) { |
|
| 145 | 145 | $sites = explode( ' ', $sites ); |
| 146 | 146 | } |
| 147 | 147 | |
@@ -173,7 +173,7 @@ discard block |
||
| 173 | 173 | $page->init( true ); |
| 174 | 174 | |
| 175 | 175 | $name = 'TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController'; |
| 176 | - $GLOBALS['TSFE'] = GeneralUtility::makeInstance( $name, $GLOBALS['TYPO3_CONF_VARS'], $pageid, 0 ); |
|
| 176 | + $GLOBALS['TSFE'] = GeneralUtility::makeInstance( $name, $GLOBALS['TYPO3_CONF_VARS'], $pageid, 0 ); |
|
| 177 | 177 | $GLOBALS['TSFE']->connectToDB(); |
| 178 | 178 | $GLOBALS['TSFE']->initFEuser(); |
| 179 | 179 | $GLOBALS['TSFE']->no_cache = true; |
@@ -148,7 +148,7 @@ discard block |
||
| 148 | 148 | } |
| 149 | 149 | |
| 150 | 150 | |
| 151 | - return ['sqlString' => $sql ]; |
|
| 151 | + return ['sqlString' => $sql]; |
|
| 152 | 152 | } |
| 153 | 153 | |
| 154 | 154 | |
@@ -192,7 +192,7 @@ discard block |
||
| 192 | 192 | $ctx->setCache( new \Aimeos\MW\Cache\None() ); |
| 193 | 193 | |
| 194 | 194 | // Reset before child processes are spawned to avoid lost DB connections afterwards (TYPO3 9.4 and above) |
| 195 | - if ( php_sapi_name() === 'cli' && class_exists( '\TYPO3\CMS\Core\Database\ConnectionPool' ) |
|
| 195 | + if( php_sapi_name() === 'cli' && class_exists( '\TYPO3\CMS\Core\Database\ConnectionPool' ) |
|
| 196 | 196 | && method_exists( '\TYPO3\CMS\Core\Database\ConnectionPool', 'resetConnections' ) ) |
| 197 | 197 | { |
| 198 | 198 | $ctx->setProcess( new \Aimeos\MW\Process\Pcntl( \Aimeos\Aimeos\Base::getExtConfig( 'pcntlMax', 4 ) ) ); |
@@ -41,12 +41,12 @@ |
||
| 41 | 41 | self::addMessageQueueManager( $context ); |
| 42 | 42 | self::addLogger( $context ); |
| 43 | 43 | self::addCache( $context ); |
| 44 | - self::addMailer( $context); |
|
| 44 | + self::addMailer( $context ); |
|
| 45 | 45 | self::addProcess( $context ); |
| 46 | 46 | self::addSession( $context ); |
| 47 | - self::addHasher( $context); |
|
| 48 | - self::addUser( $context); |
|
| 49 | - self::addGroups( $context); |
|
| 47 | + self::addHasher( $context ); |
|
| 48 | + self::addUser( $context ); |
|
| 49 | + self::addGroups( $context ); |
|
| 50 | 50 | |
| 51 | 51 | self::$context = $context; |
| 52 | 52 | } |