| Conditions | 3 |
| Paths | 3 |
| Total Lines | 18 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | public function login() |
||
| 21 | { |
||
| 22 | try { |
||
| 23 | if ($this->loadSessionSnapshot('login-client')) { |
||
| 24 | return $this; |
||
| 25 | } |
||
| 26 | } catch (\Facebook\WebDriver\Exception\UnknownServerException $exception) { |
||
|
|
|||
| 27 | // User is already logged in, but trying to open a session on a page that is not loaded |
||
| 28 | return $this; |
||
| 29 | } |
||
| 30 | |||
| 31 | $hiam = new Login($this); |
||
| 32 | $hiam->login($this->username, $this->password); |
||
| 33 | |||
| 34 | $this->saveSessionSnapshot('login-client'); |
||
| 35 | |||
| 36 | return $this; |
||
| 37 | } |
||
| 38 | |||
| 44 |
Scrutinizer analyzes your
composer.json/composer.lockfile if available to determine the classes, and functions that are defined by your dependencies.It seems like the listed class was neither found in your dependencies, nor was it found in the analyzed files in your repository. If you are using some other form of dependency management, you might want to disable this analysis.