Test Failed
Push — master ( 6bff04...e0da10 )
by Lyal
02:14
created
src/Exceptions/UnhandledRequestError.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 {
7 7
     public function __construct($code, $response)
8 8
     {
9
-        $message = 'The request failed with the error: ' . $code . '.  Response: ' . $response;
9
+        $message = 'The request failed with the error: '.$code.'.  Response: '.$response;
10 10
         parent::__construct($message);
11 11
     }
12 12
 }
13 13
\ No newline at end of file
Please login to merge, or discard this patch.
src/Exceptions/UnknownResourceException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 {
6 6
     public function __construct($name)
7 7
     {
8
-        $message = 'Unknown checkr resource: ' . $name;
8
+        $message = 'Unknown checkr resource: '.$name;
9 9
         parent::__construct($message);
10 10
     }
11 11
 
Please login to merge, or discard this patch.
src/Exceptions/IdMissing.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 {
7 7
     public function __construct($object)
8 8
     {
9
-        $message = 'Id must be set to save an entity. Entity values: ' . json_encode($object->getAttributes());
9
+        $message = 'Id must be set to save an entity. Entity values: '.json_encode($object->getAttributes());
10 10
         parent::__construct($message);
11 11
     }
12 12
 }
13 13
\ No newline at end of file
Please login to merge, or discard this patch.
src/Exceptions/Server/InternalServerError.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 {
7 7
     public function __construct($response)
8 8
     {
9
-        $message = 'Something went wrong with the Checkr API. Response: ' . $response;
9
+        $message = 'Something went wrong with the Checkr API. Response: '.$response;
10 10
         parent::__construct($message);
11 11
     }
12 12
 }
13 13
\ No newline at end of file
Please login to merge, or discard this patch.
src/Exceptions/InvalidAttributeException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 {
7 7
     public function __construct($class, $key)
8 8
     {
9
-        $message = 'Unknown attribute on resource ' . $class . ': ' . $key;
9
+        $message = 'Unknown attribute on resource '.$class.': '.$key;
10 10
         parent::__construct($message);
11 11
     }
12 12
 }
13 13
\ No newline at end of file
Please login to merge, or discard this patch.
src/Exceptions/Client/NotFound.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 {
7 7
     public function __construct($response)
8 8
     {
9
-        $message = 'The requested resource could not be found. Response: ' . $response;
9
+        $message = 'The requested resource could not be found. Response: '.$response;
10 10
         parent::__construct($message);
11 11
     }
12 12
 }
13 13
\ No newline at end of file
Please login to merge, or discard this patch.
src/Exceptions/Client/Forbidden.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 {
7 7
     public function __construct($response)
8 8
     {
9
-        $message = 'You do not have permission to access the requested resource.  Response: ' . $response;
9
+        $message = 'You do not have permission to access the requested resource.  Response: '.$response;
10 10
         parent::__construct($message);
11 11
     }
12 12
 }
13 13
\ No newline at end of file
Please login to merge, or discard this patch.
src/Exceptions/Client/Conflict.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 {
7 7
     public function __construct($response)
8 8
     {
9
-        $message = 'The request failed due to a resource conflict. This can occur if you attempt to to create a duplicate of an existing resource as well as when you attempt to delete a resource that is needed for the functioning of other resources.  Response: ' . $response;
9
+        $message = 'The request failed due to a resource conflict. This can occur if you attempt to to create a duplicate of an existing resource as well as when you attempt to delete a resource that is needed for the functioning of other resources.  Response: '.$response;
10 10
         parent::__construct($message);
11 11
     }
12 12
 }
13 13
\ No newline at end of file
Please login to merge, or discard this patch.
src/Exceptions/Client/Unauthorized.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 {
7 7
     public function __construct($response)
8 8
     {
9
-        $message = 'Authentication with the API key failed.  Make sure you are using the correct API key. Response: ' . $response;
9
+        $message = 'Authentication with the API key failed.  Make sure you are using the correct API key. Response: '.$response;
10 10
         parent::__construct($message);
11 11
     }
12 12
 }
13 13
\ No newline at end of file
Please login to merge, or discard this patch.