Passed
Branch master (1f2dd0)
by Cesar
02:50
created
Category
src/Step/Application.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
             $this->moveToParent();
60 60
             $this->moveToIFrame('hosted-field-expirationDate');
61 61
             $expiration = $this->webDriver->findElement(WebDriverBy::name('expiration'));
62
-            $expiration->clear()->sendKeys('12'. date('y'));
62
+            $expiration->clear()->sendKeys('12'.date('y'));
63 63
             $this->moveToParent();
64 64
             $acceptedTerms = $this->webDriver->findElement(WebDriverBy::className('Form-checkboxSkin'));
65 65
             $acceptedTerms->click();
Please login to merge, or discard this patch.
src/Step/AbstractStep.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
         }
80 80
 
81 81
         if ($step !== $tempStep) {
82
-            throw new \Exception('Wrong step: ' . $tempStep);
82
+            throw new \Exception('Wrong step: '.$tempStep);
83 83
         }
84 84
     }
85 85
 
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
      */
101 101
     public function moveToParent()
102 102
     {
103
-        $handles=$this->webDriver->getWindowHandles();
103
+        $handles = $this->webDriver->getWindowHandles();
104 104
         $parent = end($handles);
105 105
         $this->webDriver->switchTo()->window($parent);
106 106
     }
Please login to merge, or discard this patch.
src/Step/Returning.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
         $this->validateStep(self::STEP);
27 27
         //Click on confirm:
28 28
         $expiration = $this->webDriver->findElement(WebDriverBy::id('expireDate'));
29
-        $expiration->clear()->sendKeys('12'. date('y'));
29
+        $expiration->clear()->sendKeys('12'.date('y'));
30 30
         $this->moveToParent();
31 31
         $formContinue = $this->webDriver->findElement(WebDriverBy::name('one_click_expiration_date_confirm'));
32 32
         $formContinue->click();
Please login to merge, or discard this patch.
src/SeleniumHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
         } while ($formStep !== Approved::STEP && $maxSteps > 0);
55 55
 
56 56
         if ($maxSteps <= 0) {
57
-            throw new \Exception('Error while finishing form, step: ' . $formStep);
57
+            throw new \Exception('Error while finishing form, step: '.$formStep);
58 58
         }
59 59
     }
60 60
 
Please login to merge, or discard this patch.