Completed
Push — master ( 7f3ed3...4200af )
by Gilmar
22:41
created
src/Console/Command/ScreenplayCommand.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,8 @@
 block discarded – undo
45 45
                 $s = 'screenplay:'.$key;
46 46
                 $command = $app->find($s);
47 47
                 $t = new ArrayInput([
48
-                   'command' => $s,
49
-                   'path'    => $path,
48
+                    'command' => $s,
49
+                    'path'    => $path,
50 50
                 ]);
51 51
 
52 52
                 $command->run($t, $output);
Please login to merge, or discard this patch.
src/Entity/Order/map/translate.native.map.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -13,21 +13,21 @@
 block discarded – undo
13 13
  */
14 14
 
15 15
 return [
16
-     'merchant' => [
17
-         'name'         => $native->getOriginSite(),
18
-         'marketplace'  => 'NETSHOES',
19
-         'originNumber' => $native->getOriginNumber(),
20
-     ],
21
-     'orderNumber'    => $native->getId(),
22
-     'acceptedOffer'  => $native->getItems()->toSchema(),
23
-     'orderStatus'    => $native->getOrderStatus(),
24
-     'orderDate'      => $native->getOrderDate(),
25
-     'customer'       => $native->getShipping()->getCustomer()->toSchema(),
26
-     'billingAddress' => $native->getShipping()->getCustomer()->getAddress()->toSchema(),
27
-     'currency'       => 'BRL',
28
-     'price'          => $native->getTotalNet(),
29
-     'discount'       => $native->getTotalDiscount(),
30
-     'quantity'       => $native->getTotalQuantity(),
31
-     'freight'        => $native->getTotalFreight(),
32
-     'total'          => $native->getTotalGross(),
33
- ];
16
+        'merchant' => [
17
+            'name'         => $native->getOriginSite(),
18
+            'marketplace'  => 'NETSHOES',
19
+            'originNumber' => $native->getOriginNumber(),
20
+        ],
21
+        'orderNumber'    => $native->getId(),
22
+        'acceptedOffer'  => $native->getItems()->toSchema(),
23
+        'orderStatus'    => $native->getOrderStatus(),
24
+        'orderDate'      => $native->getOrderDate(),
25
+        'customer'       => $native->getShipping()->getCustomer()->toSchema(),
26
+        'billingAddress' => $native->getShipping()->getCustomer()->getAddress()->toSchema(),
27
+        'currency'       => 'BRL',
28
+        'price'          => $native->getTotalNet(),
29
+        'discount'       => $native->getTotalDiscount(),
30
+        'quantity'       => $native->getTotalQuantity(),
31
+        'freight'        => $native->getTotalFreight(),
32
+        'total'          => $native->getTotalGross(),
33
+    ];
Please login to merge, or discard this patch.
src/Entity/Order/Shippings/Sender.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -27,10 +27,10 @@
 block discarded – undo
27 27
     public function getSchema()
28 28
     {
29 29
         return [
30
-              'sellerCode'   => 'integer',
31
-              'sellerName'   => 'string',
32
-              'supplierCnpj' => 'string',
33
-              'supplierName' => 'string',
30
+                'sellerCode'   => 'integer',
31
+                'sellerName'   => 'string',
32
+                'supplierCnpj' => 'string',
33
+                'supplierName' => 'string',
34 34
         ];
35 35
     }
36 36
 }
Please login to merge, or discard this patch.
src/Entity/Order/Shippings/Customer/Customer.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -45,14 +45,14 @@
 block discarded – undo
45 45
     public function getSchema()
46 46
     {
47 47
         return [
48
-              'address'          => 'object',
49
-              'cellPhone'        => 'string',
50
-              'customerName'     => 'string',
51
-              'document'         => 'string',
52
-              'landLine'         => 'string',
53
-              'recipientName'    => 'string',
54
-              'stateInscription' => 'string',
55
-              'tradeName'        => 'string',
48
+                'address'          => 'object',
49
+                'cellPhone'        => 'string',
50
+                'customerName'     => 'string',
51
+                'document'         => 'string',
52
+                'landLine'         => 'string',
53
+                'recipientName'    => 'string',
54
+                'stateInscription' => 'string',
55
+                'tradeName'        => 'string',
56 56
         ];
57 57
     }
58 58
 
Please login to merge, or discard this patch.
src/Entity/Order/Shippings/Customer/Address.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -43,14 +43,14 @@
 block discarded – undo
43 43
     public function getSchema()
44 44
     {
45 45
         return [
46
-              'city'         => 'string',
47
-              'complement'   => 'string',
48
-              'neighborhood' => 'string',
49
-              'number'       => 'string',
50
-              'postalCode'   => 'string',
51
-              'reference'    => 'string',
52
-              'state'        => 'string',
53
-              'street'       => 'string',
46
+                'city'         => 'string',
47
+                'complement'   => 'string',
48
+                'neighborhood' => 'string',
49
+                'number'       => 'string',
50
+                'postalCode'   => 'string',
51
+                'reference'    => 'string',
52
+                'state'        => 'string',
53
+                'street'       => 'string',
54 54
         ];
55 55
     }
56 56
 
Please login to merge, or discard this patch.
src/Entity/Order/Shippings/Shipping.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -51,17 +51,17 @@
 block discarded – undo
51 51
     public function getSchema()
52 52
     {
53 53
         return [
54
-          'shippingCode'       => 'integer',
55
-          'customer'           => 'object',
56
-          'freightAmount'      => 'number',
57
-          'invoice'            => 'object',
58
-          'items'              => 'object',
59
-          'sender'             => 'object',
60
-          'status'             => 'string',
61
-          'transport'          => 'object',
62
-          'country'            => 'string',
63
-          'cancellationReason' => 'string',
64
-          'devolutionItems'    => 'object',
54
+            'shippingCode'       => 'integer',
55
+            'customer'           => 'object',
56
+            'freightAmount'      => 'number',
57
+            'invoice'            => 'object',
58
+            'items'              => 'object',
59
+            'sender'             => 'object',
60
+            'status'             => 'string',
61
+            'transport'          => 'object',
62
+            'country'            => 'string',
63
+            'cancellationReason' => 'string',
64
+            'devolutionItems'    => 'object',
65 65
         ];
66 66
     }
67 67
 
Please login to merge, or discard this patch.
src/Entity/Product/map/translate.foreign.map.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -46,11 +46,11 @@
 block discarded – undo
46 46
 }
47 47
 
48 48
 $array = [
49
-     'productId'   => $foreign->get('productId'),
50
-     'department'  => $foreign->get('department'),
51
-     'productType' => $foreign->get('productType'),
52
-     'brand'       => $foreign->get('brand'),
53
-     'skus'        => $skusList,
49
+        'productId'   => $foreign->get('productId'),
50
+        'department'  => $foreign->get('department'),
51
+        'productType' => $foreign->get('productType'),
52
+        'brand'       => $foreign->get('brand'),
53
+        'skus'        => $skusList,
54 54
 ];
55 55
 
56 56
 return $array;
Please login to merge, or discard this patch.
src/Entity/Product/map/translate.native.map.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -41,10 +41,10 @@
 block discarded – undo
41 41
 }
42 42
 
43 43
 return [
44
-     'productId'   => $native->getId(),
45
-     'productType' => $native->getProductType(),
46
-     'department'  => $native->getDepartment(),
47
-     'category'    => '',
48
-     'brand'       => $native->getBrand(),
49
-     'skus'        => $skusList,
44
+        'productId'   => $native->getId(),
45
+        'productType' => $native->getProductType(),
46
+        'department'  => $native->getDepartment(),
47
+        'category'    => '',
48
+        'brand'       => $native->getBrand(),
49
+        'skus'        => $skusList,
50 50
 ];
Please login to merge, or discard this patch.