@@ -31,7 +31,7 @@ |
||
31 | 31 | } |
32 | 32 | try { |
33 | 33 | $assertion->assert(); |
34 | - $this->logger->logAssertionSuccess( $assertion, $extra ); |
|
34 | + $this->logger->logAssertionSuccess($assertion, $extra); |
|
35 | 35 | } catch (\Exception $e) { |
36 | 36 | $this->logger->logAssertionFailure($assertion, $extra); |
37 | 37 | throw $e; |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | public static function elementExists($selector, $by = 'byId') |
12 | 12 | { |
13 | 13 | return new WebDriverExpectedCondition( |
14 | - function ($driver) use ($selector, $by) { |
|
14 | + function($driver) use ($selector, $by) { |
|
15 | 15 | try { |
16 | 16 | $element = $driver->$by($selector); |
17 | 17 | return $element instanceof WebDriverElement; |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | public static function elementRemoved(WebDriverElement $element) |
27 | 27 | { |
28 | 28 | return new WebDriverExpectedCondition( |
29 | - function () use ($element) { |
|
29 | + function() use ($element) { |
|
30 | 30 | try { |
31 | 31 | $element->isDisplayed(); |
32 | 32 | return false; |
@@ -98,7 +98,7 @@ |
||
98 | 98 | |
99 | 99 | sort($paths); |
100 | 100 | $filter = $input->getArgument('filter'); |
101 | - if (count($paths) > 0 ) { |
|
101 | + if (count($paths) > 0) { |
|
102 | 102 | $output->writeln('Classes found: '); |
103 | 103 | $escape = $input->getOption('escape'); |
104 | 104 |
@@ -66,7 +66,7 @@ |
||
66 | 66 | $this->webdriver->getMouse()->mouseMove($element->getCoordinates()); |
67 | 67 | break; |
68 | 68 | default: |
69 | - throw new InvalidConfigurationException('Unknown login instruction: ' .$instruction ); |
|
69 | + throw new InvalidConfigurationException('Unknown login instruction: ' . $instruction); |
|
70 | 70 | break; |
71 | 71 | } |
72 | 72 | } |