Completed
Pull Request — develop (#14)
by Rimas
03:51
created
src/Login/AbstractSmartIdQuery.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use Isign\QueryInterface;
5 5
 use Isign\Validator\Constraints\Code;
6
-use Isign\Validator\Constraints\Phone;
7 6
 use Symfony\Component\Validator\Constraints as Assert;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.
src/Sign/MobileHash.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Isign\Sign;
3 3
 
4
-use Isign\DocumentTypeProvider;
5
-use Isign\FileFieldsTrait;
6 4
 use Isign\QueryInterface;
7 5
 use Isign\Validator\Constraints\Code;
8 6
 use Isign\Validator\Constraints\Phone;
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.
src/Document/Timestamp.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
 
76 76
     /**
77 77
      * Validation constraints for fields
78
-     * @return array
78
+     * @return Assert\Collection
79 79
      */
80 80
     public function getValidationConstraints()
81 81
     {
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.
tests/Integration/SealTest.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
             'reason' => 'Elektroninis spaudas',
30 30
             'location' => 'Vilnius',
31 31
             'files' => [
32
-               __DIR__ . '/../data/document.pdf',
32
+                __DIR__ . '/../data/document.pdf',
33 33
             ]
34 34
         ];
35 35
     }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
             'reason' => 'Elektroninis spaudas',
30 30
             'location' => 'Vilnius',
31 31
             'files' => [
32
-               __DIR__ . '/../data/document.pdf',
32
+               __DIR__.'/../data/document.pdf',
33 33
             ]
34 34
         ];
35 35
     }
Please login to merge, or discard this patch.