Passed
Push — master ( 859d6d...626e5a )
by Aimeos
03:35
created
tests/Controller/BasketControllerTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,12 +4,12 @@
 block discarded – undo
4 4
 {
5 5
 	public function testActions()
6 6
 	{
7
-		View::addLocation(dirname(__DIR__).'/fixtures/views');
7
+		View::addLocation( dirname( __DIR__ ) . '/fixtures/views' );
8 8
 
9
-		$response = $this->action('GET', '\Aimeos\Shop\Controller\BasketController@indexAction', ['site' => 'unittest']);
9
+		$response = $this->action( 'GET', '\Aimeos\Shop\Controller\BasketController@indexAction', ['site' => 'unittest'] );
10 10
 
11 11
 		$this->assertResponseOk();
12
-		$this->assertContains('<section class="aimeos basket-standard"', $response->getContent());
13
-		$this->assertContains('<section class="aimeos basket-related"', $response->getContent());
12
+		$this->assertContains( '<section class="aimeos basket-standard"', $response->getContent() );
13
+		$this->assertContains( '<section class="aimeos basket-related"', $response->getContent() );
14 14
 	}
15 15
 }
16 16
\ No newline at end of file
Please login to merge, or discard this patch.
src/Aimeos/Shop/Facades/Order.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@
 block discarded – undo
16 16
  */
17 17
 class Order extends \Illuminate\Support\Facades\Facade
18 18
 {
19
-    /**
20
-     * Returns a new order frontend controller object
21
-     *
22
-     * @return \Aimeos\Controller\Frontend\Order\Iface
23
-     */
24
-    protected static function getFacadeAccessor()
25
-    {
26
-        return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'order' );
27
-    }
19
+	/**
20
+	 * Returns a new order frontend controller object
21
+	 *
22
+	 * @return \Aimeos\Controller\Frontend\Order\Iface
23
+	 */
24
+	protected static function getFacadeAccessor()
25
+	{
26
+		return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'order' );
27
+	}
28 28
 }
Please login to merge, or discard this patch.
src/Aimeos/Shop/Facades/Stock.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@
 block discarded – undo
16 16
  */
17 17
 class Stock extends \Illuminate\Support\Facades\Facade
18 18
 {
19
-    /**
20
-     * Returns a new stock frontend controller object
21
-     *
22
-     * @return \Aimeos\Controller\Frontend\Stock\Iface
23
-     */
24
-    protected static function getFacadeAccessor()
25
-    {
26
-        return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'stock' );
27
-    }
19
+	/**
20
+	 * Returns a new stock frontend controller object
21
+	 *
22
+	 * @return \Aimeos\Controller\Frontend\Stock\Iface
23
+	 */
24
+	protected static function getFacadeAccessor()
25
+	{
26
+		return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'stock' );
27
+	}
28 28
 }
Please login to merge, or discard this patch.
src/Aimeos/Shop/Facades/Supplier.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@
 block discarded – undo
16 16
  */
17 17
 class Supplier extends \Illuminate\Support\Facades\Facade
18 18
 {
19
-    /**
20
-     * Returns a new supplier frontend controller object
21
-     *
22
-     * @return \Aimeos\Controller\Frontend\Supplier\Iface
23
-     */
24
-    protected static function getFacadeAccessor()
25
-    {
26
-        return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'supplier' );
27
-    }
19
+	/**
20
+	 * Returns a new supplier frontend controller object
21
+	 *
22
+	 * @return \Aimeos\Controller\Frontend\Supplier\Iface
23
+	 */
24
+	protected static function getFacadeAccessor()
25
+	{
26
+		return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'supplier' );
27
+	}
28 28
 }
Please login to merge, or discard this patch.
src/Aimeos/Shop/Facades/Locale.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@
 block discarded – undo
16 16
  */
17 17
 class Locale extends \Illuminate\Support\Facades\Facade
18 18
 {
19
-    /**
20
-     * Returns a new locale frontend controller object
21
-     *
22
-     * @return \Aimeos\Controller\Frontend\Locale\Iface
23
-     */
24
-    protected static function getFacadeAccessor()
25
-    {
26
-        return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'locale' );
27
-    }
19
+	/**
20
+	 * Returns a new locale frontend controller object
21
+	 *
22
+	 * @return \Aimeos\Controller\Frontend\Locale\Iface
23
+	 */
24
+	protected static function getFacadeAccessor()
25
+	{
26
+		return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'locale' );
27
+	}
28 28
 }
Please login to merge, or discard this patch.
src/Aimeos/Shop/Facades/Subscription.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@
 block discarded – undo
16 16
  */
17 17
 class Subscription extends \Illuminate\Support\Facades\Facade
18 18
 {
19
-    /**
20
-     * Returns a new subscription frontend controller object
21
-     *
22
-     * @return \Aimeos\Controller\Frontend\Subscription\Iface
23
-     */
24
-    protected static function getFacadeAccessor()
25
-    {
26
-        return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'subscription' );
27
-    }
19
+	/**
20
+	 * Returns a new subscription frontend controller object
21
+	 *
22
+	 * @return \Aimeos\Controller\Frontend\Subscription\Iface
23
+	 */
24
+	protected static function getFacadeAccessor()
25
+	{
26
+		return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'subscription' );
27
+	}
28 28
 }
Please login to merge, or discard this patch.
src/Aimeos/Shop/Facades/Catalog.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@
 block discarded – undo
16 16
  */
17 17
 class Catalog extends \Illuminate\Support\Facades\Facade
18 18
 {
19
-    /**
20
-     * Returns a new catalog frontend controller object
21
-     *
22
-     * @return \Aimeos\Controller\Frontend\Catalog\Iface
23
-     */
24
-    protected static function getFacadeAccessor()
25
-    {
26
-        return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'catalog' );
27
-    }
19
+	/**
20
+	 * Returns a new catalog frontend controller object
21
+	 *
22
+	 * @return \Aimeos\Controller\Frontend\Catalog\Iface
23
+	 */
24
+	protected static function getFacadeAccessor()
25
+	{
26
+		return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'catalog' );
27
+	}
28 28
 }
Please login to merge, or discard this patch.
src/Aimeos/Shop/Facades/Customer.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@
 block discarded – undo
16 16
  */
17 17
 class Customer extends \Illuminate\Support\Facades\Facade
18 18
 {
19
-    /**
20
-     * Returns a new customer frontend controller object
21
-     *
22
-     * @return \Aimeos\Controller\Frontend\Customer\Iface
23
-     */
24
-    protected static function getFacadeAccessor()
25
-    {
26
-        return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'customer' );
27
-    }
19
+	/**
20
+	 * Returns a new customer frontend controller object
21
+	 *
22
+	 * @return \Aimeos\Controller\Frontend\Customer\Iface
23
+	 */
24
+	protected static function getFacadeAccessor()
25
+	{
26
+		return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'customer' );
27
+	}
28 28
 }
Please login to merge, or discard this patch.
src/Aimeos/Shop/Facades/Basket.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@
 block discarded – undo
16 16
  */
17 17
 class Basket extends \Illuminate\Support\Facades\Facade
18 18
 {
19
-    /**
20
-     * Returns a new basket frontend controller object
21
-     *
22
-     * @return \Aimeos\Controller\Frontend\Basket\Iface
23
-     */
24
-    protected static function getFacadeAccessor()
25
-    {
26
-        return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'basket' );
27
-    }
19
+	/**
20
+	 * Returns a new basket frontend controller object
21
+	 *
22
+	 * @return \Aimeos\Controller\Frontend\Basket\Iface
23
+	 */
24
+	protected static function getFacadeAccessor()
25
+	{
26
+		return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'basket' );
27
+	}
28 28
 }
Please login to merge, or discard this patch.