Passed
Push — master ( 6d0dd9...288053 )
by
unknown
59s queued 11s
created
src/Method/Payment/Create.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,11 +44,11 @@  discard block
 block discarded – undo
44 44
     {
45 45
         return new Assert\Collection([
46 46
             'amount' => $this->buildElement('float', 1),
47
-            'currency' => $this->buildElement('string', 1, ['min' => 3,'max' => 3]),
47
+            'currency' => $this->buildElement('string', 1, ['min' => 3, 'max' => 3]),
48 48
             'settle' => $this->buildElement('bool'),
49
-            'order_id' => $this->buildElement('string', 0, ['min' => 2,'max' => 50]),
49
+            'order_id' => $this->buildElement('string', 0, ['min' => 2, 'max' => 50]),
50 50
             'description' => $this->buildElement('string', 0, ['max' => 255]),
51
-            'country' => $this->buildElement('string', 1, ['min' => 2,'max' => 2]),
51
+            'country' => $this->buildElement('string', 1, ['min' => 2, 'max' => 2]),
52 52
             'payment_method' => new Assert\Required([
53 53
                 new Assert\Type([
54 54
                     'type' => 'string',
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
                     ]),
82 82
                     'exp_year' => $this->buildElement(
83 83
                         'integer', 1, 
84
-                        ['min' => 4,'max' => 4],
84
+                        ['min' => 4, 'max' => 4],
85 85
                         new Assert\Range(['min' => date('Y')])
86 86
                     ),
87 87
                     'exp_month' => $this->buildElement('integer', 1),
Please login to merge, or discard this patch.
src/Method/Validators/CallbackUrlConstraint.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,6 +12,6 @@
 block discarded – undo
12 12
     const RESTRICTED_DOMAIN = 'localhost';
13 13
     const RESTRICTED_IP = '127.0.0.1';
14 14
 
15
-    public $message = 'The url "{{ param }}" contains restricted values. Do not use "' .
16
-        self::RESTRICTED_DOMAIN . '" or "' . self::RESTRICTED_IP . '".';
15
+    public $message = 'The url "{{ param }}" contains restricted values. Do not use "'.
16
+        self::RESTRICTED_DOMAIN.'" or "'.self::RESTRICTED_IP.'".';
17 17
 }
Please login to merge, or discard this patch.