Authenticated   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
A login() 0 4 1
1
<?php
2
/**
3
 * HiPanel core package
4
 *
5
 * @link      https://hipanel.com/
6
 * @package   hipanel-core
7
 * @license   BSD-3-Clause
8
 * @copyright Copyright (c) 2014-2019, HiQDev (http://hiqdev.com/)
9
 */
10
11
namespace hipanel\tests\_support\Page;
12
13
use hipanel\tests\_support\AcceptanceTester;
14
15
class Authenticated
16
{
17
    /**
18
     * @var AcceptanceTester
19
     */
20
    protected $tester;
21
22
    public function __construct(AcceptanceTester $I)
23
    {
24
        $this->tester = $I;
25
        $this->login();
26
    }
27
28
    protected function login()
29
    {
30
        $this->tester->login();
31
    }
32
}
33