@@ -11,7 +11,7 @@ |
||
| 11 | 11 | /** |
| 12 | 12 | * {@inheritdoc} |
| 13 | 13 | */ |
| 14 | - public function registerBundles() : \Traversable|array |
|
| 14 | + public function registerBundles() : \Traversable | array |
|
| 15 | 15 | { |
| 16 | 16 | return array( |
| 17 | 17 | new \Symfony\Bundle\FrameworkBundle\FrameworkBundle(), |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | * @package symfony |
| 24 | 24 | * @subpackage Command |
| 25 | 25 | */ |
| 26 | -#[AsCommand(name: 'aimeos:jobs', description: 'Executes the job controllers')] |
|
| 26 | +#[AsCommand( name: 'aimeos:jobs', description: 'Executes the job controllers' )] |
|
| 27 | 27 | class JobsCommand extends Command |
| 28 | 28 | { |
| 29 | 29 | private $container; |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | * @package symfony |
| 24 | 24 | * @subpackage Command |
| 25 | 25 | */ |
| 26 | -#[AsCommand(name: 'aimeos:clear', description: 'Clears the content cache')] |
|
| 26 | +#[AsCommand( name: 'aimeos:clear', description: 'Clears the content cache' )] |
|
| 27 | 27 | class ClearCommand extends Command |
| 28 | 28 | { |
| 29 | 29 | private $container; |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | * @package symfony |
| 25 | 25 | * @subpackage Command |
| 26 | 26 | */ |
| 27 | -#[AsCommand(name: 'aimeos:setup', description: 'Initialize or update the Aimeos database tables')] |
|
| 27 | +#[AsCommand( name: 'aimeos:setup', description: 'Initialize or update the Aimeos database tables' )] |
|
| 28 | 28 | class SetupCommand extends Command |
| 29 | 29 | { |
| 30 | 30 | private $container; |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | * @package symfony |
| 25 | 25 | * @subpackage Command |
| 26 | 26 | */ |
| 27 | -#[AsCommand(name: 'aimeos:account', description: 'Creates new (admin) accounts')] |
|
| 27 | +#[AsCommand( name: 'aimeos:account', description: 'Creates new (admin) accounts' )] |
|
| 28 | 28 | class AccountCommand extends Command |
| 29 | 29 | { |
| 30 | 30 | private $container; |
@@ -94,7 +94,7 @@ |
||
| 94 | 94 | */ |
| 95 | 95 | protected function addCache( \Aimeos\MShop\ContextIface $context ) : \Aimeos\MShop\ContextIface |
| 96 | 96 | { |
| 97 | - $cache = (new \Aimeos\MAdmin\Cache\Manager\Standard( $context ))->getCache(); |
|
| 97 | + $cache = ( new \Aimeos\MAdmin\Cache\Manager\Standard( $context ) )->getCache(); |
|
| 98 | 98 | |
| 99 | 99 | return $context->setCache( $cache ); |
| 100 | 100 | } |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | \Aimeos\MShop::cache( false ); |
| 13 | 13 | \Aimeos\Controller\Frontend::cache( false ); |
| 14 | 14 | |
| 15 | - (new \Symfony\Component\Filesystem\Filesystem())->remove( __DIR__ . '/../Fixtures/var/cache/sessions' ); |
|
| 15 | + ( new \Symfony\Component\Filesystem\Filesystem() )->remove( __DIR__ . '/../Fixtures/var/cache/sessions' ); |
|
| 16 | 16 | } |
| 17 | 17 | |
| 18 | 18 | |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | return [ |
| 4 | - Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true], |
|
| 5 | - Symfony\Bundle\WebServerBundle\WebServerBundle::class => ['dev' => true], |
|
| 6 | - Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true], |
|
| 7 | - Aimeos\ShopBundle\AimeosShopBundle::class => ['all' => true], |
|
| 4 | + Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true], |
|
| 5 | + Symfony\Bundle\WebServerBundle\WebServerBundle::class => ['dev' => true], |
|
| 6 | + Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true], |
|
| 7 | + Aimeos\ShopBundle\AimeosShopBundle::class => ['all' => true], |
|
| 8 | 8 | ]; |
| 9 | 9 | \ No newline at end of file |