Completed
Push — master ( 114870...d35a30 )
by Žilvinas
03:56
created
src/Document/Archive.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
 
59 59
     /**
60 60
      * Validation constraints for fields
61
-     * @return array
61
+     * @return Assert\Collection
62 62
      */
63 63
     public function getValidationConstraints()
64 64
     {
Please login to merge, or discard this patch.
src/ResponseMapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         if (!isset($response[$field])) {
35 35
             return;
36 36
         }
37
-        $method = 'set' . $this->toMethodName($field);
37
+        $method = 'set'.$this->toMethodName($field);
38 38
         $result->$method($response[$field]);
39 39
     }
40 40
 
Please login to merge, or discard this patch.
src/Exception/QueryValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     public function __construct($message, ConstraintViolationList $violations)
20 20
     {
21
-        parent::__construct($message . ': ' . (string)$violations);
21
+        parent::__construct($message.': '.(string) $violations);
22 22
 
23 23
         $this->violations = $violations;
24 24
     }
Please login to merge, or discard this patch.
src/Exception/Request.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         \Exception $previousException = null,
23 23
         $responseData = null
24 24
     ) {
25
-        $message .= ' Response: ' . var_export($responseData, true);
25
+        $message .= ' Response: '.var_export($responseData, true);
26 26
         parent::__construct($message, $code, $previousException);
27 27
         $this->responseData = $responseData;
28 28
     }
Please login to merge, or discard this patch.
tests/Document/ArchiveTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     {
21 21
         $this->query = new Archive(
22 22
             self::TYPE,
23
-            __DIR__ . '/../data/document.pdf',
23
+            __DIR__.'/../data/document.pdf',
24 24
             [
25 25
                 ['id' => 'signature_0'],
26 26
                 ['id' => 'signature_1']
Please login to merge, or discard this patch.
tests/Exception/RequestTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 
15 15
         $object = new InvalidData($message, $code, $previous, $data);
16 16
 
17
-        $message .= ' Response: ' . var_export($data, true);
17
+        $message .= ' Response: '.var_export($data, true);
18 18
         $this->assertEquals($data, $object->getResponseData());
19 19
         $this->assertEquals($message, $object->getMessage());
20 20
         $this->assertEquals($code, $object->getCode());
Please login to merge, or discard this patch.
tests/Exception/QueryValidatorTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,6 +19,6 @@
 block discarded – undo
19 19
         $object = new QueryValidator($message, $violations);
20 20
 
21 21
         $this->assertEquals($violations, $object->getViolations());
22
-        $this->assertEquals($message . ': list of violations', $object->getMessage());
22
+        $this->assertEquals($message.': list of violations', $object->getMessage());
23 23
     }
24 24
 }
Please login to merge, or discard this patch.
tests/TestCase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
      */
15 15
     protected function assertSetterExists($property, $object)
16 16
     {
17
-        $setter = 'set' . $this->toMethodName($property);
17
+        $setter = 'set'.$this->toMethodName($property);
18 18
         $this->assertTrue(
19 19
             method_exists($object, $setter),
20 20
             sprintf('Method is %s missing', $setter)
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      */
31 31
     protected function assertGetterExists($property, $object)
32 32
     {
33
-        $getter = 'get' . $this->toMethodName($property);
33
+        $getter = 'get'.$this->toMethodName($property);
34 34
         $this->assertTrue(
35 35
             method_exists($object, $getter),
36 36
             sprintf('Method is %s missing', $getter)
Please login to merge, or discard this patch.
tests/Integration/ArchiveTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
         /** @var StatusResultInterface $statusResult */
16 16
         $statusResult = $this->client->get(new Archive(
17 17
             'pdf',
18
-            __DIR__ . '/../data/signed.pdf',
18
+            __DIR__.'/../data/signed.pdf',
19 19
             []
20 20
         ));
21 21
     }
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
         /** @var StatusResultInterface $statusResult */
49 49
         $statusResult = $this->client->get(new Archive(
50 50
             'pdf',
51
-            __DIR__ . '/../data/signed.pdf',
51
+            __DIR__.'/../data/signed.pdf',
52 52
             [
53 53
                 ['id' => 'Signature1']
54 54
             ]
Please login to merge, or discard this patch.