Passed
Push — master ( b20e6c...54d027 )
by
unknown
15:37 queued 07:35
created
src/MakesHttpRequests.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
             empty($payload) ? [] : ['form_params' => $payload]
39 39
         );
40 40
 
41
-        if (! $this->isSuccessful($response)) {
41
+        if (!$this->isSuccessful($response)) {
42 42
             return $this->handleRequestError($response);
43 43
         }
44 44
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
 
50 50
     public function isSuccessful($response): bool
51 51
     {
52
-        if (! $response) {
52
+        if (!$response) {
53 53
             return false;
54 54
         }
55 55
 
Please login to merge, or discard this patch.
src/OhDear.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
     protected function transformCollection(array $collection, string $class): array
65 65
     {
66
-        return array_map(function ($attributes) use ($class) {
66
+        return array_map(function($attributes) use ($class) {
67 67
             return new $class($attributes, $this);
68 68
         }, $collection);
69 69
     }
Please login to merge, or discard this patch.
src/Resources/ApiResource.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
     {
48 48
         $publicProperties = (new ReflectionObject($this))->getProperties(ReflectionProperty::IS_PUBLIC);
49 49
 
50
-        $publicPropertyNames = array_map(function (ReflectionProperty $property) {
50
+        $publicPropertyNames = array_map(function(ReflectionProperty $property) {
51 51
             return $property->getName();
52 52
         }, $publicProperties);
53 53
 
Please login to merge, or discard this patch.
src/Resources/Site.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     {
22 22
         parent::__construct($attributes, $ohDear);
23 23
 
24
-        $this->checks = array_map(function (array $checkAttributes) use ($ohDear) {
24
+        $this->checks = array_map(function(array $checkAttributes) use ($ohDear) {
25 25
             return new Check($checkAttributes, $ohDear);
26 26
         }, $this->checks);
27 27
     }
Please login to merge, or discard this patch.
src/Resources/User.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     {
20 20
         parent::__construct($attributes, $ohDear);
21 21
 
22
-        $this->teams = array_map(function (array $teamAttributes) {
22
+        $this->teams = array_map(function(array $teamAttributes) {
23 23
             return new Team($teamAttributes);
24 24
         }, $this->teams);
25 25
     }
Please login to merge, or discard this patch.
src/Exceptions/ValidationException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,6 +12,6 @@
 block discarded – undo
12 12
     {
13 13
         $this->errors = $errors;
14 14
 
15
-        parent::__construct('The given data failed to pass validation. ' . print_r($this->errors, true));
15
+        parent::__construct('The given data failed to pass validation. '.print_r($this->errors, true));
16 16
     }
17 17
 }
Please login to merge, or discard this patch.