Completed
Push — master ( 39a6a8...039ed0 )
by Vadim
02:01
created
src/Folour/Oxide/Exceptions/Exception.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 /**
4 4
  * @author  Vadim Bova <[email protected]>
Please login to merge, or discard this patch.
src/Folour/Oxide/Components/Configurator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 /**
4 4
  * @author  Vadim Bova <[email protected]>
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      */
75 75
     public function setProxy(string $proxy): self
76 76
     {
77
-        if(strstr($proxy, '@')) {
77
+        if (strstr($proxy, '@')) {
78 78
             [$auth, $proxy] = explode('@', $proxy);
79 79
         }
80 80
 
Please login to merge, or discard this patch.
src/Folour/Oxide/Components/Request/Request.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 /**
4 4
  * @author  Vadim Bova <[email protected]>
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      */
43 43
     public final function send(string $url, array $data = null): ResponseInterface
44 44
     {
45
-        if($data !== null) {
45
+        if ($data !== null) {
46 46
             $data = $data ? http_build_query($data, '', '&') : null;
47 47
         }
48 48
         $options = $this->prepare($url, $data);
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 
57 57
         curl_close($handle);
58 58
 
59
-        if($error !== '') {
59
+        if ($error !== '') {
60 60
             throw new Exception('Request failed with error: "'.$error.'"');
61 61
         }
62 62
 
Please login to merge, or discard this patch.
src/Folour/Oxide/Oxide.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 /**
4 4
  * @author  Vadim Bova <[email protected]>
Please login to merge, or discard this patch.
src/Folour/Oxide/Components/Request/DeleteRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 /**
4 4
  * @author  Vadim Bova <[email protected]>
Please login to merge, or discard this patch.
src/Folour/Oxide/Components/Request/PostRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 /**
4 4
  * @author  Vadim Bova <[email protected]>
Please login to merge, or discard this patch.
src/Folour/Oxide/Components/Request/PutRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 /**
4 4
  * @author  Vadim Bova <[email protected]>
Please login to merge, or discard this patch.
src/Folour/Oxide/Components/Request/HeadRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 /**
4 4
  * @author  Vadim Bova <[email protected]>
Please login to merge, or discard this patch.
src/Folour/Oxide/Components/Request/GetRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 /**
4 4
  * @author  Vadim Bova <[email protected]>
Please login to merge, or discard this patch.