Completed
Push — master ( ca53a0...88b32b )
by Nils
04:29
created

ChromeClient   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 8
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A init() 0 5 1
1
<?php
2
3
namespace whm\Smoke\Http;
4
5
use phm\HttpWebdriverClient\Http\Client\Chrome\ChromeClient as phmChromeClient;
6
7
class ChromeClient extends phmChromeClient
8
{
9
    public function init($host = 'localhost', $port = 4444)
10
    {
11
        $this->setWebdriverHost($host);
0 ignored issues
show
Bug introduced by
The method setWebdriverHost() does not seem to exist on object<whm\Smoke\Http\ChromeClient>.

This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.

This is most likely a typographical error or the method has been renamed.

Loading history...
12
        $this->setWebdriverPort($port);
0 ignored issues
show
Bug introduced by
The method setWebdriverPort() does not seem to exist on object<whm\Smoke\Http\ChromeClient>.

This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.

This is most likely a typographical error or the method has been renamed.

Loading history...
13
    }
14
}