Skip to content

Commit

Permalink
Merge pull request #80 from aik099/cs-fixes
Browse files Browse the repository at this point in the history
CS fixes
  • Loading branch information
Alexander Obuhovich committed Feb 26, 2016
2 parents 95decfa + 3ddd706 commit 33fdbbc
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion library/aik099/PHPUnit/APIClient/BrowserStackAPIClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ protected function execute($request_method, $url, $parameters = null)

$url = 'https://www.browserstack.com/automate/' . $url;

list($raw_results, ) = $this->_curlService->execute($request_method, $url, $parameters, $extra_options);
list($raw_results,) = $this->_curlService->execute($request_method, $url, $parameters, $extra_options);

return json_decode($raw_results, true);
}
Expand Down
2 changes: 0 additions & 2 deletions library/aik099/PHPUnit/BrowserTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,6 @@ public function getSession()
* @param \PHPUnit_Framework_TestResult $result Test result.
*
* @return \PHPUnit_Framework_TestResult
* @throws \PHPUnit_Framework_Exception When exception was thrown during a test.
*/
public function run(\PHPUnit_Framework_TestResult $result = null)
{
Expand Down Expand Up @@ -356,7 +355,6 @@ public function getCollectCodeCoverageInformation()
* Override to tell remote website, that code coverage information needs to be collected.
*
* @return mixed
* @throws \Exception When exception was thrown inside the test.
*/
protected function runTest()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class DriverFactoryRegistry
* @param IMinkDriverFactory $driver_factory Driver factory.
*
* @return void
* @throws \LogicException When driver factory is already registered.
*/
public function add(IMinkDriverFactory $driver_factory)
{
Expand Down
1 change: 1 addition & 0 deletions library/aik099/PHPUnit/MinkDriver/GoutteDriverFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public function getDriverDefaults()
* @param BrowserConfiguration $browser The browser configuration.
*
* @return DriverInterface
* @throws \RuntimeException When driver isn't installed.
*/
public function createDriver(BrowserConfiguration $browser)
{
Expand Down
1 change: 1 addition & 0 deletions library/aik099/PHPUnit/MinkDriver/SahiDriverFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public function getDriverDefaults()
* @param BrowserConfiguration $browser The browser configuration.
*
* @return DriverInterface
* @throws \RuntimeException When driver isn't installed.
*/
public function createDriver(BrowserConfiguration $browser)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public function getDriverDefaults()
* @param BrowserConfiguration $browser The browser configuration.
*
* @return DriverInterface
* @throws \RuntimeException When driver isn't installed.
*/
public function createDriver(BrowserConfiguration $browser)
{
Expand Down
1 change: 1 addition & 0 deletions library/aik099/PHPUnit/MinkDriver/ZombieDriverFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public function getDriverDefaults()
* @param BrowserConfiguration $browser The browser configuration.
*
* @return DriverInterface
* @throws \RuntimeException When driver isn't installed.
*/
public function createDriver(BrowserConfiguration $browser)
{
Expand Down

0 comments on commit 33fdbbc

Please sign in to comment.