Passed
Push — master ( 3da6f7...bee773 )
by Aimeos
05:25
created
src/helpers.php 1 patch
Indentation   +41 added lines, -41 removed lines patch added patch discarded remove patch
@@ -9,57 +9,57 @@
 block discarded – undo
9 9
 
10 10
 if( !function_exists( 'aiconfig' ) )
11 11
 {
12
-    /**
13
-     * Returns the configuration setting for the given key
14
-     *
15
-     * @param string $key Configuration key
16
-     * @param mixed $default Default value if the configuration key isn't found
17
-     * @return mixed Configuration value
18
-     */
19
-    function aiconfig( $key, $default = null )
20
-    {
21
-        return app( '\Aimeos\Shop\Base\Config' )->get()->get( $key, $default );
22
-    }
12
+	/**
13
+	 * Returns the configuration setting for the given key
14
+	 *
15
+	 * @param string $key Configuration key
16
+	 * @param mixed $default Default value if the configuration key isn't found
17
+	 * @return mixed Configuration value
18
+	 */
19
+	function aiconfig( $key, $default = null )
20
+	{
21
+		return app( '\Aimeos\Shop\Base\Config' )->get()->get( $key, $default );
22
+	}
23 23
 }
24 24
 
25 25
 
26 26
 if( !function_exists( 'aitrans' ) )
27 27
 {
28
-    /**
29
-     * Translates the given message
30
-     *
31
-     * @param string $singular Message to translate
32
-     * @param array $params List of paramters for replacing the placeholders in that order
33
-     * @param string $domain Translation domain
34
-     * @param string $locale ISO language code, maybe combine with ISO currency code, e.g. "en_US"
35
-     * @return string Translated string
36
-     */
37
-    function aitrans( $singular, array $params = array(), $domain = 'client', $locale = null )
38
-    {
39
-        $i18n = app( '\Aimeos\Shop\Base\Context' )->get()->getI18n( $locale );
28
+	/**
29
+	 * Translates the given message
30
+	 *
31
+	 * @param string $singular Message to translate
32
+	 * @param array $params List of paramters for replacing the placeholders in that order
33
+	 * @param string $domain Translation domain
34
+	 * @param string $locale ISO language code, maybe combine with ISO currency code, e.g. "en_US"
35
+	 * @return string Translated string
36
+	 */
37
+	function aitrans( $singular, array $params = array(), $domain = 'client', $locale = null )
38
+	{
39
+		$i18n = app( '\Aimeos\Shop\Base\Context' )->get()->getI18n( $locale );
40 40
 
41
-        return vsprintf( $i18n->dt( $domain, $singular ), $params );
42
-    }
41
+		return vsprintf( $i18n->dt( $domain, $singular ), $params );
42
+	}
43 43
 }
44 44
 
45 45
 
46 46
 if( !function_exists( 'aitransplural' ) )
47 47
 {
48
-    /**
49
-     * Translates the given messages based on the number
50
-     *
51
-     * @param string $singular Message to translate
52
-     * @param string $plural Message for plural translations
53
-     * @param integer $number Count of items to chose the correct plural translation
54
-     * @param array $params List of paramters for replacing the placeholders in that order
55
-     * @param string $domain Translation domain
56
-     * @param string $locale ISO language code, maybe combine with ISO currency code, e.g. "en_US"
57
-     * @return string Translated string
58
-     */
59
-    function aitransplural( $singular, $plural, $number, array $params = array(), $domain = 'client', $locale = null )
60
-    {
61
-        $i18n = app( '\Aimeos\Shop\Base\Context' )->get()->getI18n( $locale );
48
+	/**
49
+	 * Translates the given messages based on the number
50
+	 *
51
+	 * @param string $singular Message to translate
52
+	 * @param string $plural Message for plural translations
53
+	 * @param integer $number Count of items to chose the correct plural translation
54
+	 * @param array $params List of paramters for replacing the placeholders in that order
55
+	 * @param string $domain Translation domain
56
+	 * @param string $locale ISO language code, maybe combine with ISO currency code, e.g. "en_US"
57
+	 * @return string Translated string
58
+	 */
59
+	function aitransplural( $singular, $plural, $number, array $params = array(), $domain = 'client', $locale = null )
60
+	{
61
+		$i18n = app( '\Aimeos\Shop\Base\Context' )->get()->getI18n( $locale );
62 62
 
63
-        return vsprintf( $i18n->dn( $domain, $singular, $plural, $number ), $params );
64
-    }
63
+		return vsprintf( $i18n->dn( $domain, $singular, $plural, $number ), $params );
64
+	}
65 65
 }
Please login to merge, or discard this patch.
src/Aimeos/Shop/Base/View.php 2 patches
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -100,8 +100,7 @@  discard block
 block discarded – undo
100 100
 			|| ( ( $user = \Illuminate\Support\Facades\Auth::user() ) !== null && $user->superuser )
101 101
 		) {
102 102
 			$helper = new \Aimeos\MW\View\Helper\Access\All( $view );
103
-		}
104
-		else
103
+		} else
105 104
 		{
106 105
 			$support = $this->support;
107 106
 
@@ -245,8 +244,7 @@  discard block
 block discarded – undo
245 244
 		{
246 245
 			$i18n = $this->i18n->get( array( $locale ) );
247 246
 			$translation = $i18n[$locale];
248
-		}
249
-		else
247
+		} else
250 248
 		{
251 249
 			$translation = new \Aimeos\MW\Translation\None( 'en' );
252 250
 		}
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -283,7 +283,7 @@
 block discarded – undo
283 283
 			}
284 284
 		}
285 285
 
286
-		$helper = new \Aimeos\MW\View\Helper\Url\Laravel5( $view, app('url'), $fixed );
286
+		$helper = new \Aimeos\MW\View\Helper\Url\Laravel5( $view, app( 'url' ), $fixed );
287 287
 		$view->addHelper( 'url', $helper );
288 288
 
289 289
 		return $view;
Please login to merge, or discard this patch.
src/Aimeos/Shop/Facades/Shop.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -18,13 +18,13 @@
 block discarded – undo
18 18
  */
19 19
 class Shop extends \Illuminate\Support\Facades\Facade
20 20
 {
21
-    /**
22
-     * Get the registered name of the component.
23
-     *
24
-     * @return string
25
-     */
26
-    protected static function getFacadeAccessor()
27
-    {
28
-        return 'aimeos.shop';
29
-    }
21
+	/**
22
+	 * Get the registered name of the component.
23
+	 *
24
+	 * @return string
25
+	 */
26
+	protected static function getFacadeAccessor()
27
+	{
28
+		return 'aimeos.shop';
29
+	}
30 30
 }
Please login to merge, or discard this patch.
tests/Controller/CheckoutControllerTest.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -5,33 +5,33 @@
 block discarded – undo
5 5
 	public function setUp()
6 6
 	{
7 7
 		parent::setUp();
8
-		View::addLocation(dirname(__DIR__).'/fixtures/views');
8
+		View::addLocation( dirname( __DIR__ ) . '/fixtures/views' );
9 9
 	}
10 10
 
11 11
 
12 12
 	public function testConfirmAction()
13 13
 	{
14
-		$response = $this->action('GET', '\Aimeos\Shop\Controller\CheckoutController@confirmAction', ['site' => 'unittest']);
14
+		$response = $this->action( 'GET', '\Aimeos\Shop\Controller\CheckoutController@confirmAction', ['site' => 'unittest'] );
15 15
 
16 16
 		$this->assertResponseOk();
17
-		$this->assertContains('<section class="aimeos checkout-confirm"', $response->getContent());
17
+		$this->assertContains( '<section class="aimeos checkout-confirm"', $response->getContent() );
18 18
 	}
19 19
 
20 20
 
21 21
 	public function testIndexAction()
22 22
 	{
23
-		$response = $this->action('GET', '\Aimeos\Shop\Controller\CheckoutController@indexAction', ['site' => 'unittest']);
23
+		$response = $this->action( 'GET', '\Aimeos\Shop\Controller\CheckoutController@indexAction', ['site' => 'unittest'] );
24 24
 
25 25
 		$this->assertResponseOk();
26
-		$this->assertContains('<section class="checkout-standard-address"', $response->getContent());
26
+		$this->assertContains( '<section class="checkout-standard-address"', $response->getContent() );
27 27
 	}
28 28
 
29 29
 
30 30
 	public function testUpdateAction()
31 31
 	{
32
-		$response = $this->action('GET', '\Aimeos\Shop\Controller\CheckoutController@updateAction', ['site' => 'unittest'], ['code' => 'paypalexpress']);
32
+		$response = $this->action( 'GET', '\Aimeos\Shop\Controller\CheckoutController@updateAction', ['site' => 'unittest'], ['code' => 'paypalexpress'] );
33 33
 
34 34
 		$this->assertResponseOk();
35
-		$this->assertEquals('', $response->getContent());
35
+		$this->assertEquals( '', $response->getContent() );
36 36
 	}
37 37
 }
38 38
\ No newline at end of file
Please login to merge, or discard this patch.
tests/Controller/JqadmControllerTest.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -5,32 +5,32 @@  discard block
 block discarded – undo
5 5
 	public function setUp()
6 6
 	{
7 7
 		parent::setUp();
8
-		View::addLocation(dirname(__DIR__).'/fixtures/views');
8
+		View::addLocation( dirname( __DIR__ ) . '/fixtures/views' );
9 9
 	}
10 10
 
11 11
 
12 12
 	public function testFileActionCss()
13 13
 	{
14
-		$response = $this->action('GET', '\Aimeos\Shop\Controller\JqadmController@fileAction', ['site' => 'unittest', 'type' => 'css']);
14
+		$response = $this->action( 'GET', '\Aimeos\Shop\Controller\JqadmController@fileAction', ['site' => 'unittest', 'type' => 'css'] );
15 15
 
16 16
 		$this->assertResponseOk();
17
-		$this->assertContains('.aimeos', $response->getContent());
17
+		$this->assertContains( '.aimeos', $response->getContent() );
18 18
 	}
19 19
 
20 20
 
21 21
 	public function testFileActionJs()
22 22
 	{
23
-		$response = $this->action('GET', '\Aimeos\Shop\Controller\JqadmController@fileAction', ['site' => 'unittest', 'type' => 'js']);
23
+		$response = $this->action( 'GET', '\Aimeos\Shop\Controller\JqadmController@fileAction', ['site' => 'unittest', 'type' => 'js'] );
24 24
 
25 25
 		$this->assertResponseOk();
26
-		$this->assertContains('Aimeos = {', $response->getContent());
26
+		$this->assertContains( 'Aimeos = {', $response->getContent() );
27 27
 	}
28 28
 
29 29
 
30 30
 	public function testCopyAction()
31 31
 	{
32 32
 		$params = ['site' => 'unittest', 'resource' => 'product', 'id' => '0'];
33
-		$response = $this->action('GET', '\Aimeos\Shop\Controller\JqadmController@copyAction', $params);
33
+		$response = $this->action( 'GET', '\Aimeos\Shop\Controller\JqadmController@copyAction', $params );
34 34
 
35 35
 		$this->assertEquals( 200, $response->getStatusCode() );
36 36
 		$this->assertContains( 'item-product', $response->getContent() );
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 	public function testCreateAction()
41 41
 	{
42 42
 		$params = ['site' => 'unittest', 'resource' => 'product'];
43
-		$response = $this->action('GET', '\Aimeos\Shop\Controller\JqadmController@createAction', $params);
43
+		$response = $this->action( 'GET', '\Aimeos\Shop\Controller\JqadmController@createAction', $params );
44 44
 
45 45
 		$this->assertEquals( 200, $response->getStatusCode() );
46 46
 		$this->assertContains( 'item-product', $response->getContent() );
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 	public function testDeleteAction()
51 51
 	{
52 52
 		$params = ['site' => 'unittest', 'resource' => 'product', 'id' => '0'];
53
-		$response = $this->action('GET', '\Aimeos\Shop\Controller\JqadmController@deleteAction', $params);
53
+		$response = $this->action( 'GET', '\Aimeos\Shop\Controller\JqadmController@deleteAction', $params );
54 54
 
55 55
 		$this->assertEquals( 200, $response->getStatusCode() );
56 56
 		$this->assertContains( 'list-items', $response->getContent() );
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 	public function testExportAction()
61 61
 	{
62 62
 		$params = ['site' => 'unittest', 'resource' => 'order'];
63
-		$response = $this->action('GET', '\Aimeos\Shop\Controller\JqadmController@exportAction', $params);
63
+		$response = $this->action( 'GET', '\Aimeos\Shop\Controller\JqadmController@exportAction', $params );
64 64
 
65 65
 		$this->assertEquals( 200, $response->getStatusCode() );
66 66
 		$this->assertContains( 'list-items', $response->getContent() );
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
 	public function testGetAction()
71 71
 	{
72 72
 		$params = ['site' => 'unittest', 'resource' => 'product', 'id' => '0'];
73
-		$response = $this->action('GET', '\Aimeos\Shop\Controller\JqadmController@getAction', $params);
73
+		$response = $this->action( 'GET', '\Aimeos\Shop\Controller\JqadmController@getAction', $params );
74 74
 
75 75
 		$this->assertEquals( 200, $response->getStatusCode() );
76 76
 		$this->assertContains( 'item-product', $response->getContent() );
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
 	public function testSaveAction()
81 81
 	{
82 82
 		$params = ['site' => 'unittest', 'resource' => 'product', 'id' => '0'];
83
-		$response = $this->action('POST', '\Aimeos\Shop\Controller\JqadmController@saveAction', $params);
83
+		$response = $this->action( 'POST', '\Aimeos\Shop\Controller\JqadmController@saveAction', $params );
84 84
 
85 85
 		$this->assertEquals( 200, $response->getStatusCode() );
86 86
 		$this->assertContains( 'item-product', $response->getContent() );
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 	public function testSearchAction()
91 91
 	{
92 92
 		$params = ['site' => 'unittest', 'resource' => 'product'];
93
-		$response = $this->action('GET', '\Aimeos\Shop\Controller\JqadmController@searchAction', $params);
93
+		$response = $this->action( 'GET', '\Aimeos\Shop\Controller\JqadmController@searchAction', $params );
94 94
 
95 95
 		$this->assertEquals( 200, $response->getStatusCode() );
96 96
 		$this->assertContains( 'list-items', $response->getContent() );
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 	public function testSearchActionSite()
101 101
 	{
102 102
 		$params = ['site' => 'invalid', 'resource' => 'product'];
103
-		$response = $this->action('GET', '\Aimeos\Shop\Controller\JqadmController@searchAction', $params);
103
+		$response = $this->action( 'GET', '\Aimeos\Shop\Controller\JqadmController@searchAction', $params );
104 104
 
105 105
 		$this->assertEquals( 500, $response->getStatusCode() );
106 106
 	}
Please login to merge, or discard this patch.
tests/Controller/AccountControllerTest.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -5,25 +5,25 @@
 block discarded – undo
5 5
 	public function setUp()
6 6
 	{
7 7
 		parent::setUp();
8
-		View::addLocation(dirname(__DIR__).'/fixtures/views');
8
+		View::addLocation( dirname( __DIR__ ) . '/fixtures/views' );
9 9
 	}
10 10
 
11 11
 
12 12
 	public function testActions()
13 13
 	{
14
-		$response = $this->action('GET', '\Aimeos\Shop\Controller\AccountController@indexAction', ['site' => 'unittest']);
14
+		$response = $this->action( 'GET', '\Aimeos\Shop\Controller\AccountController@indexAction', ['site' => 'unittest'] );
15 15
 
16 16
 		$this->assertResponseOk();
17
-		$this->assertContains('<section class="aimeos account-profile"', $response->getContent());
18
-		$this->assertContains('<section class="aimeos account-history"', $response->getContent());
19
-		$this->assertContains('<section class="aimeos account-favorite"', $response->getContent());
20
-		$this->assertContains('<section class="aimeos account-watch"', $response->getContent());
17
+		$this->assertContains( '<section class="aimeos account-profile"', $response->getContent() );
18
+		$this->assertContains( '<section class="aimeos account-history"', $response->getContent() );
19
+		$this->assertContains( '<section class="aimeos account-favorite"', $response->getContent() );
20
+		$this->assertContains( '<section class="aimeos account-watch"', $response->getContent() );
21 21
 	}
22 22
 
23 23
 
24 24
 	public function testDownload()
25 25
 	{
26
-		$response = $this->action('GET', '\Aimeos\Shop\Controller\AccountController@downloadAction', ['site' => 'unittest', 'dl_id' => 0]);
26
+		$response = $this->action( 'GET', '\Aimeos\Shop\Controller\AccountController@downloadAction', ['site' => 'unittest', 'dl_id' => 0] );
27 27
 
28 28
 		$this->assertEquals( 401, $response->getStatusCode() );
29 29
 	}
Please login to merge, or discard this patch.
tests/Controller/AdminControllerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 {
5 5
 	public function testIndexAction()
6 6
 	{
7
-		$response = $this->action('GET', '\Aimeos\Shop\Controller\AdminController@indexAction');
7
+		$response = $this->action( 'GET', '\Aimeos\Shop\Controller\AdminController@indexAction' );
8 8
 
9 9
 		$this->assertEquals( '302', $response->getStatusCode() );
10 10
 	}
Please login to merge, or discard this patch.
tests/Controller/JsonapiControllerTest.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -5,14 +5,14 @@  discard block
 block discarded – undo
5 5
 	public function setUp()
6 6
 	{
7 7
 		parent::setUp();
8
-		View::addLocation(dirname(__DIR__).'/fixtures/views');
8
+		View::addLocation( dirname( __DIR__ ) . '/fixtures/views' );
9 9
 	}
10 10
 
11 11
 
12 12
 	public function testOptionsAction()
13 13
 	{
14 14
 		$params = ['site' => 'unittest'];
15
-		$response = $this->action('OPTIONS', '\Aimeos\Shop\Controller\JsonapiController@optionsAction', $params);
15
+		$response = $this->action( 'OPTIONS', '\Aimeos\Shop\Controller\JsonapiController@optionsAction', $params );
16 16
 
17 17
 		$json = json_decode( $response->getContent(), true );
18 18
 
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 	{
28 28
 		$params = ['site' => 'unittest', 'resource' => 'product'];
29 29
 		$getParams = ['filter' => ['f_search' => 'Cafe Noire Cap']];
30
-		$response = $this->action('GET', '\Aimeos\Shop\Controller\JsonapiController@getAction', $params, $getParams);
30
+		$response = $this->action( 'GET', '\Aimeos\Shop\Controller\JsonapiController@getAction', $params, $getParams );
31 31
 
32 32
 		$json = json_decode( $response->getContent(), true );
33 33
 
@@ -41,8 +41,8 @@  discard block
 block discarded – undo
41 41
 		$id = $json['data'][0]['id'];
42 42
 
43 43
 
44
-		$params = ['site' => 'unittest', 'resource' => 'product', 'id' => $id ];
45
-		$response = $this->action('GET', '\Aimeos\Shop\Controller\JsonapiController@getAction', $params);
44
+		$params = ['site' => 'unittest', 'resource' => 'product', 'id' => $id];
45
+		$response = $this->action( 'GET', '\Aimeos\Shop\Controller\JsonapiController@getAction', $params );
46 46
 
47 47
 		$json = json_decode( $response->getContent(), true );
48 48
 
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 		// get CNC product
60 60
 		$params = ['site' => 'unittest', 'resource' => 'product'];
61 61
 		$getParams = ['filter' => ['f_search' => 'Cafe Noire Cap', 'f_listtype' => 'unittype19']];
62
-		$response = $this->action('GET', '\Aimeos\Shop\Controller\JsonapiController@getAction', $params, $getParams);
62
+		$response = $this->action( 'GET', '\Aimeos\Shop\Controller\JsonapiController@getAction', $params, $getParams );
63 63
 
64 64
 		$json = json_decode( $response->getContent(), true );
65 65
 		$this->assertEquals( 'CNC', $json['data'][0]['attributes']['product.code'] );
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 		// add CNC product to basket
68 68
 		$params = ['site' => 'unittest', 'resource' => 'basket', 'id' => 'default', 'related' => 'product'];
69 69
 		$content = json_encode( ['data' => ['attributes' => ['product.id' => $json['data'][0]['id']]]] );
70
-		$response = $this->action('POST', '\Aimeos\Shop\Controller\JsonapiController@postAction', $params, [], [], [], [], $content);
70
+		$response = $this->action( 'POST', '\Aimeos\Shop\Controller\JsonapiController@postAction', $params, [], [], [], [], $content );
71 71
 
72 72
 		$json = json_decode( $response->getContent(), true );
73 73
 		$this->assertEquals( 'CNC', $json['included'][0]['attributes']['order.base.product.prodcode'] );
@@ -75,14 +75,14 @@  discard block
 block discarded – undo
75 75
 		// change product quantity in basket
76 76
 		$params = ['site' => 'unittest', 'resource' => 'basket', 'id' => 'default', 'related' => 'product', 'relatedid' => 0];
77 77
 		$content = json_encode( ['data' => ['attributes' => ['quantity' => 2]]] );
78
-		$response = $this->action('PATCH', '\Aimeos\Shop\Controller\JsonapiController@patchAction', $params, [], [], [], [], $content);
78
+		$response = $this->action( 'PATCH', '\Aimeos\Shop\Controller\JsonapiController@patchAction', $params, [], [], [], [], $content );
79 79
 
80 80
 		$json = json_decode( $response->getContent(), true );
81 81
 		$this->assertEquals( 2, $json['included'][0]['attributes']['order.base.product.quantity'] );
82 82
 
83 83
 		// delete product from basket
84 84
 		$params = ['site' => 'unittest', 'resource' => 'basket', 'id' => 'default', 'related' => 'product', 'relatedid' => 0];
85
-		$response = $this->action('DELETE', '\Aimeos\Shop\Controller\JsonapiController@deleteAction', $params);
85
+		$response = $this->action( 'DELETE', '\Aimeos\Shop\Controller\JsonapiController@deleteAction', $params );
86 86
 
87 87
 		$json = json_decode( $response->getContent(), true );
88 88
 		$this->assertEquals( 0, count( $json['included'] ) );
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
 	public function testPutAction()
93 93
 	{
94 94
 		$params = ['site' => 'unittest', 'resource' => 'basket'];
95
-		$response = $this->action('PUT', '\Aimeos\Shop\Controller\JsonapiController@putAction', $params);
95
+		$response = $this->action( 'PUT', '\Aimeos\Shop\Controller\JsonapiController@putAction', $params );
96 96
 
97 97
 		$json = json_decode( $response->getContent(), true );
98 98
 		$this->assertArrayHasKey( 'errors', $json );
Please login to merge, or discard this patch.
tests/Controller/PageControllerTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,20 +5,20 @@
 block discarded – undo
5 5
 	public function setUp()
6 6
 	{
7 7
 		parent::setUp();
8
-		View::addLocation(dirname(__DIR__).'/fixtures/views');
8
+		View::addLocation( dirname( __DIR__ ) . '/fixtures/views' );
9 9
 	}
10 10
 
11 11
 
12 12
 	public function testPrivacyAction()
13 13
 	{
14
-		$this->action('GET', '\Aimeos\Shop\Controller\PageController@privacyAction', ['site' => 'unittest']);
14
+		$this->action( 'GET', '\Aimeos\Shop\Controller\PageController@privacyAction', ['site' => 'unittest'] );
15 15
 		$this->assertResponseOk();
16 16
 	}
17 17
 
18 18
 
19 19
 	public function testTermsAction()
20 20
 	{
21
-		$this->action('GET', '\Aimeos\Shop\Controller\PageController@termsAction', ['site' => 'unittest']);
21
+		$this->action( 'GET', '\Aimeos\Shop\Controller\PageController@termsAction', ['site' => 'unittest'] );
22 22
 		$this->assertResponseOk();
23 23
 	}
24 24
 }
25 25
\ No newline at end of file
Please login to merge, or discard this patch.