Passed
Branch main (5355ce)
by Wagner
06:54
created
exemplo/exemplosRestaurantes/get-restaurants.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
  
16 16
 $response = curl_exec($curl);
17 17
 $err     = curl_errno($curl);
18
-$errmsg  = curl_error($curl) ;
18
+$errmsg  = curl_error($curl);
19 19
 
20 20
 curl_close($curl);
21 21
 
Please login to merge, or discard this patch.
exemplo/exemplosRestaurantes/post-restaurant.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,12 +11,12 @@
 block discarded – undo
11 11
   CURLOPT_FOLLOWLOCATION => true,
12 12
   CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
13 13
   CURLOPT_CUSTOMREQUEST => 'POST',
14
-  CURLOPT_POSTFIELDS => array('name' => 'Goomer','image' => 'image/img.jpg','address' => 'Rua Sorocaba, 000, Sorocaba-SP','is_active' => '1','is_accepted' => '1','is_schedulable' => '1','schedule_data' => '{"wednesday":[{"open" :"21:20","close" :"23:48"}]}'),
14
+  CURLOPT_POSTFIELDS => array('name' => 'Goomer', 'image' => 'image/img.jpg', 'address' => 'Rua Sorocaba, 000, Sorocaba-SP', 'is_active' => '1', 'is_accepted' => '1', 'is_schedulable' => '1', 'schedule_data' => '{"wednesday":[{"open" :"21:20","close" :"23:48"}]}'),
15 15
 ));
16 16
 
17 17
 $response = curl_exec($curl);
18 18
 $err     = curl_errno($curl);
19
-$errmsg  = curl_error($curl) ;
19
+$errmsg  = curl_error($curl);
20 20
 
21 21
 curl_close($curl);
22 22
 
Please login to merge, or discard this patch.
exemplo/exemplosRestaurantes/put-restaurant.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 
17 17
 $response = curl_exec($curl);
18 18
 $err     = curl_errno($curl);
19
-$errmsg  = curl_error($curl) ;
19
+$errmsg  = curl_error($curl);
20 20
 
21 21
 curl_close($curl);
22 22
 
Please login to merge, or discard this patch.
exemplo/exemplosRestaurantes/get-restaurant.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 
16 16
 $response = curl_exec($curl);
17 17
 $err     = curl_errno($curl);
18
-$errmsg  = curl_error($curl) ;
18
+$errmsg  = curl_error($curl);
19 19
 
20 20
 curl_close($curl);
21 21
 
Please login to merge, or discard this patch.
exemplo/exemplosRestaurantes/delete-restaurant.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 
16 16
 $response = curl_exec($curl);
17 17
 $err     = curl_errno($curl);
18
-$errmsg  = curl_error($curl) ;
18
+$errmsg  = curl_error($curl);
19 19
 
20 20
 curl_close($curl);
21 21
 
Please login to merge, or discard this patch.
exemplo/exemplosProdutos/post-product.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,12 +11,12 @@
 block discarded – undo
11 11
   CURLOPT_FOLLOWLOCATION => true,
12 12
   CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
13 13
   CURLOPT_CUSTOMREQUEST => 'POST',
14
-  CURLOPT_POSTFIELDS => array('name' => 'Produto Goomer','price' => '20.5','image' => 'image/img.jpg','description' => 'Teste de criação de produtos','old_price' => '0.00'),
14
+  CURLOPT_POSTFIELDS => array('name' => 'Produto Goomer', 'price' => '20.5', 'image' => 'image/img.jpg', 'description' => 'Teste de criação de produtos', 'old_price' => '0.00'),
15 15
 ));
16 16
 
17 17
 $response = curl_exec($curl);
18 18
 $err     = curl_errno($curl);
19
-$errmsg  = curl_error($curl) ;
19
+$errmsg  = curl_error($curl);
20 20
 
21 21
 curl_close($curl);
22 22
 
Please login to merge, or discard this patch.
exemplo/exemplosProdutos/put-product.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 
17 17
 $response = curl_exec($curl);
18 18
 $err     = curl_errno($curl);
19
-$errmsg  = curl_error($curl) ;
19
+$errmsg  = curl_error($curl);
20 20
 
21 21
 curl_close($curl);
22 22
 
Please login to merge, or discard this patch.
exemplo/exemplosProdutos/get-products.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 
16 16
 $response = curl_exec($curl);
17 17
 $err     = curl_errno($curl);
18
-$errmsg  = curl_error($curl) ;
18
+$errmsg  = curl_error($curl);
19 19
 
20 20
 curl_close($curl);
21 21
 
Please login to merge, or discard this patch.
exemplo/exemplosProdutos/get-product.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 
16 16
 $response = curl_exec($curl);
17 17
 $err     = curl_errno($curl);
18
-$errmsg  = curl_error($curl) ;
18
+$errmsg  = curl_error($curl);
19 19
 
20 20
 curl_close($curl);
21 21
 
Please login to merge, or discard this patch.