GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Pull Request — master (#46)
by
unknown
02:33
created

classE   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 1 Features 1
Metric Value
dl 0
loc 6
rs 10
c 1
b 1
f 1
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A method() 0 3 1
1
<?php
2
3
namespace namespaceA;
4
5
class classA {
6
7
}
8
9
namespace namespaceC\namespaceD;
10
11
class classD {
12
13
}
14
15
interface interfaceA {
16
17
}
18
19
namespace namespaceB;
20
21
use namespaceA\classA as classC;
22
use namespaceC\namespaceD as namespaceDAlias;
23
24
class classB {
25
26
    private $_objectA;
27
28
    private $_objectB;
29
30
    public function __construct() {
31
        $this->_objectA = new classC();
32
        $this->_objectB = new namespaceDAlias\classD();
33
    }
34
}
35
36
class classE extends namespaceDAlias\classD implements namespaceDAlias\interfaceA {
37
38
    public function method(namespaceDAlias\classD $objectD) {
0 ignored issues
show
Unused Code introduced by
The parameter $objectD is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
39
40
    }
41
}