Passed
Push — develop ( f9dd82...8b70f0 )
by Žilvinas
45s
created
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.
src/Sign/ScPrepareResult.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -27,11 +27,11 @@
 block discarded – undo
27 27
     public function getFields()
28 28
     {
29 29
         return [
30
-           'status',
31
-           'algorithm',
32
-           'token',
33
-           'dtbs_hash',
34
-           'dtbs',
30
+            'status',
31
+            'algorithm',
32
+            'token',
33
+            'dtbs_hash',
34
+            'dtbs',
35 35
         ];
36 36
     }
37 37
 
Please login to merge, or discard this patch.
tests/DocumentTypeGuesserTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
     public function testPdfGuess()
9 9
     {
10 10
         $obj = new DocumentTypeGuesser();
11
-        $type = $obj->guess(__DIR__ . '/data/document.pdf');
11
+        $type = $obj->guess(__DIR__.'/data/document.pdf');
12 12
 
13 13
         $this->assertSame('pdf', $type);
14 14
     }
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     {
21 21
         $obj = new DocumentTypeGuesser();
22 22
         $obj->setGuessers([]);
23
-        $type = $obj->guess(__DIR__ . '/data/document.pdf');
23
+        $type = $obj->guess(__DIR__.'/data/document.pdf');
24 24
 
25 25
         $this->assertSame(null, $type);
26 26
     }
Please login to merge, or discard this patch.
tests/Validator/Constraints/PhoneValidatorTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
 
84 84
         $this->buildViolation('myMessage')
85 85
             ->setParameter('{{ value }}', '"'.$phone.'"')
86
-            ->setCode(defined('Isign\Validator\Constraints\Phone::REGEX_FAILED_ERROR')?Phone::REGEX_FAILED_ERROR:null)
86
+            ->setCode(defined('Isign\Validator\Constraints\Phone::REGEX_FAILED_ERROR') ?Phone::REGEX_FAILED_ERROR : null)
87 87
             ->assertRaised();
88 88
     }
89 89
 
Please login to merge, or discard this patch.
tests/Validator/Constraints/CodeValidatorTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
 
83 83
         $this->buildViolation('myMessage')
84 84
             ->setParameter('{{ value }}', '"'.$code.'"')
85
-            ->setCode(defined('Isign\Validator\Constraints\Code::REGEX_FAILED_ERROR')?Code::REGEX_FAILED_ERROR:null)
85
+            ->setCode(defined('Isign\Validator\Constraints\Code::REGEX_FAILED_ERROR') ?Code::REGEX_FAILED_ERROR : null)
86 86
             ->assertRaised();
87 87
     }
88 88
 
Please login to merge, or discard this patch.
tests/Document/TimestampTest.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
         $this->query = new Timestamp(
21 21
             self::TYPE,
22
-            __DIR__ . '/../data/signed.pdf'
22
+            __DIR__.'/../data/signed.pdf'
23 23
         );
24 24
     }
25 25
 
Please login to merge, or discard this patch.
tests/Integration/TimestampTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         /** @var TimestampResult $result */
33 33
         $result = $this->client->get(new Timestamp(
34 34
             'adoc',
35
-            __DIR__ . '/../data/signed.adoc'
35
+            __DIR__.'/../data/signed.adoc'
36 36
         ));
37 37
 
38 38
         $this->assertSame(ResultInterface::STATUS_OK, $result->getStatus());
Please login to merge, or discard this patch.