Skip to content

Commit edd980a

Browse files
committed
some phpcs cleanup
1 parent 31da8b2 commit edd980a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+113
-11
lines changed

lib/WebDriver/AbstractWebDriver.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Copyright 2004-2021 Facebook. All Rights Reserved.
45
*
@@ -191,7 +192,12 @@ protected function curl($requestMethod, $command, $parameters = null, $extraOpti
191192
$url .= '/' . $parameters;
192193
}
193194

194-
list($rawResult, $info) = $this->curlService->execute($requestMethod, $url, $parameters, array_replace($extraOptions, $this->transientOptions));
195+
list($rawResult, $info) = $this->curlService->execute(
196+
$requestMethod,
197+
$url,
198+
$parameters,
199+
array_replace($extraOptions, $this->transientOptions)
200+
);
195201

196202
$this->transientOptions = array();
197203

lib/WebDriver/Alert.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Copyright 2017-2021 Anthon Pang. All Rights Reserved.
45
*

lib/WebDriver/AppCacheStatus.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Copyright 2012-2021 Anthon Pang. All Rights Reserved.
45
*

lib/WebDriver/ApplicationCache.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Copyright 2012-2021 Anthon Pang. All Rights Reserved.
45
*

lib/WebDriver/Browser.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Copyright 2011-2021 Fabrizio Branca. All Rights Reserved.
45
*

lib/WebDriver/Capability.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Copyright 2011-2021 Fabrizio Branca. All Rights Reserved.
45
*

lib/WebDriver/ClassLoader.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Copyright 2012-2021 Anthon Pang. All Rights Reserved.
45
*

lib/WebDriver/Container.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Copyright 2004-2021 Facebook. All Rights Reserved.
45
*

lib/WebDriver/Element.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Copyright 2004-2021 Facebook. All Rights Reserved.
45
*

lib/WebDriver/Exception.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Copyright 2004-2021 Facebook. All Rights Reserved.
45
*
@@ -132,8 +133,8 @@ abstract class Exception extends \Exception
132133
'invalid element state' => array('InvalidElementState', 'A command could not be completed because the element is in an invalid state, e.g. attempting to clear an element that isn\'t both editable and resettable.'),
133134
'invalid selector' => array('InvalidSelector', 'Argument was an invalid selector.'),
134135
'invalid session id' => array('InvalidSessionID', 'Occurs if the given session id is not in the list of active sessions, meaning the session either does not exist or that it\'s not active.'),
135-
'javascript error' => array('JavaScriptError', 'An error occurred while executing JavaScript supplied by the user.'),
136-
'move target out of bounds' => array('MoveTargetOutOfBounds', 'The target for mouse interaction is not in the browser\'s viewport and cannot be brought into that viewport.'),
136+
'javascript error' => array('JavaScriptError', 'An error occurred while executing JavaScript supplied by the user.'),
137+
'move target out of bounds' => array('MoveTargetOutOfBounds', 'The target for mouse interaction is not in the browser\'s viewport and cannot be brought into that viewport.'),
137138
'no such alert' => array('NoSuchAlert', 'An attempt was made to operate on a modal dialog when one was not open.'),
138139
'no such cookie' => array('NoSuchCookie', 'No cookie matching the given path name was found amongst the associated cookies of the current browsing context\'s active document.'),
139140
'no such element' => array('NoSuchElement', 'An element could not be located on the page using the given search parameters.'),

0 commit comments

Comments
 (0)