Completed
Push — master ( 453e3c...2f13e8 )
by Mahmoud
18:11 queued 11:11
created
app/Containers/Item/UI/API/Tests/Functional/UpdateItemTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
             'description'             => 'no desc!',
37 37
             'packaging_cost'          => 100,
38 38
             'length'                  => 2.1, // inches
39
-            'width'                   => 2.2,  // inches
39
+            'width'                   => 2.2, // inches
40 40
             'height'                  => 2.3, // inches
41 41
             'weight'                  => 2.4, // ounces
42 42
             'quantity'                => 4000,
Please login to merge, or discard this patch.
app/Containers/Item/UI/API/Transformers/ItemImageTransformer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
         return [
29 29
             'object'      => 'ItemImage',
30 30
             'id'          => $itemImage->getHashedKey(),
31
-            'source'      => Config::get('app.url') . '/uploads/' .  $itemImage->source,
31
+            'source'      => Config::get('app.url') . '/uploads/' . $itemImage->source,
32 32
             'name'        => $itemImage->name,
33 33
             'description' => $itemImage->description,
34 34
             'default'     => (boolean)$itemImage->default,
Please login to merge, or discard this patch.
app/Containers/Store/Data/Factories/StoreFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 use App\Containers\Store\Models\Store;
4 4
 use App\Containers\User\Models\User;
5 5
 
6
-$factory->define(Store::class, function (Faker\Generator $faker) {
6
+$factory->define(Store::class, function(Faker\Generator $faker) {
7 7
     return [
8 8
         'title'          => $faker->text(10),
9 9
         'warehouse_name' => $faker->userName,
Please login to merge, or discard this patch.
Containers/Store/Data/Migrations/2016_01_10_110999_create_stores_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     public function up()
20 20
     {
21
-        Schema::create('stores', function (Blueprint $table) {
21
+        Schema::create('stores', function(Blueprint $table) {
22 22
             $table->increments('id');
23 23
 
24 24
             $table->string('warehouse_name');
Please login to merge, or discard this patch.
app/Containers/Order/Tasks/CreateOrderTask.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,9 +53,9 @@
 block discarded – undo
53 53
 
54 54
         $order->store()->associate($storeId);
55 55
 
56
-        try{
56
+        try {
57 57
             $order = $this->orderRepository->create($order->toArray());
58
-        }catch (Exception $e){
58
+        } catch (Exception $e) {
59 59
             throw new CouldNotCreateOrderException('Could not create Order! make sure the external_id is unique and all information sent correctly.');
60 60
         }
61 61
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
 
56 56
         try{
57 57
             $order = $this->orderRepository->create($order->toArray());
58
-        }catch (Exception $e){
58
+        } catch (Exception $e){
59 59
             throw new CouldNotCreateOrderException('Could not create Order! make sure the external_id is unique and all information sent correctly.');
60 60
         }
61 61
 
Please login to merge, or discard this patch.
app/Containers/Order/Actions/UpdateOrderAction.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      */
37 37
     public function run($data, $orderId)
38 38
     {
39
-       return $this->updateOrderTask->run($data, $orderId);
39
+        return $this->updateOrderTask->run($data, $orderId);
40 40
     }
41 41
 
42 42
 }
Please login to merge, or discard this patch.
app/Containers/Order/Data/Factories/OrderFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 use App\Containers\Order\Models\Order;
4 4
 use App\Containers\Store\Models\Store;
5 5
 
6
-$factory->define(Order::class, function (Faker\Generator $faker) {
6
+$factory->define(Order::class, function(Faker\Generator $faker) {
7 7
     return [
8 8
         'status'      => 'draft',
9 9
         'external_id' => $faker->uuid,
Please login to merge, or discard this patch.
Containers/Order/Data/Migrations/2016_08_29_110947_create_orders_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     public function up()
20 20
     {
21
-        Schema::create('orders', function (Blueprint $table) {
21
+        Schema::create('orders', function(Blueprint $table) {
22 22
             $table->increments('id');
23 23
 
24 24
             $table->string('retail_price')->nullable();
Please login to merge, or discard this patch.
Order/Data/Migrations/2016_11_21_110999_create_orders_recipients_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     public function up()
20 20
     {
21
-        Schema::create('order_recipient', function (Blueprint $table) {
21
+        Schema::create('order_recipient', function(Blueprint $table) {
22 22
             $table->integer('recipient_id')->unsigned()->index();
23 23
             $table->foreign('recipient_id')->references('id')->on('recipients')->onDelete('cascade');
24 24
 
Please login to merge, or discard this patch.