Passed
Push — master ( fbe189...de0f24 )
by Laurent
02:19
created
src/ClientBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
      */
64 64
     public function setDebug($debug)
65 65
     {
66
-        $this->debug = (bool)$debug;
66
+        $this->debug = (bool) $debug;
67 67
 
68 68
         return $this;
69 69
     }
Please login to merge, or discard this patch.
src/HttpClient/Middleware/AuthenticationMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      */
32 32
     public function __invoke(callable $handler)
33 33
     {
34
-        return function (RequestInterface $request, array $options) use ($handler) {
34
+        return function(RequestInterface $request, array $options) use ($handler) {
35 35
             foreach ($this->authentication->getHeaders() as $header) {
36 36
                 $request = $request->withHeader(
37 37
                     $header->getHeaderKey(),
Please login to merge, or discard this patch.
src/Domain/Thirdparty/Thirdparty.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
158 158
     {
159 159
         $this->tva_assuj = false;
160 160
         $this->codeClient = -1; //automatically assigned by Dolibarr
161
-        $this->codeFournisseur = -1;  //automatically assigned by Dolibarr
161
+        $this->codeFournisseur = -1; //automatically assigned by Dolibarr
162 162
         $this->activity = true; //in activity
163 163
     }
164 164
 
Please login to merge, or discard this patch.
tests/bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,5 +2,5 @@
 block discarded – undo
2 2
 
3 3
 use Doctrine\Common\Annotations\AnnotationRegistry;
4 4
 
5
-$loader = @include __DIR__ . '/../vendor/autoload.php';
5
+$loader = @include __DIR__.'/../vendor/autoload.php';
6 6
 AnnotationRegistry::registerLoader('class_exists');
Please login to merge, or discard this patch.
tests/Service/ServiceTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      */
65 65
     private function getExpectedResponse($name)
66 66
     {
67
-        return file_get_contents(__DIR__ . "/Data/Response/" . $name . ".json");
67
+        return file_get_contents(__DIR__."/Data/Response/".$name.".json");
68 68
     }
69 69
 
70 70
     /**
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      */
75 75
     protected function getExpectedPayload($name)
76 76
     {
77
-        return file_get_contents(__DIR__ . "/Data/Request/" . $name . ".json");
77
+        return file_get_contents(__DIR__."/Data/Request/".$name.".json");
78 78
     }
79 79
 
80 80
     /**
Please login to merge, or discard this patch.
src/Service/ContactService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,6 +32,6 @@
 block discarded – undo
32 32
      */
33 33
     public function create(Contact $contact)
34 34
     {
35
-        return new ContactId((int)$this->post($this->serialize($contact)));
35
+        return new ContactId((int) $this->post($this->serialize($contact)));
36 36
     }
37 37
 }
Please login to merge, or discard this patch.