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.
Passed
Push — master ( d44444...6b72d9 )
by Michael
03:20
created

ConditionalExpression::apply()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 8
Code Lines 4

Duplication

Lines 8
Ratio 100 %

Code Coverage

Tests 6
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 8
loc 8
ccs 6
cts 6
cp 1
rs 9.4285
cc 2
eloc 4
nc 2
nop 1
crap 2
1
<?php
2
3
namespace MS\PHPMD\Rule\CleanCode;
4
5
/**
6
 * Try to avoid using inline ifs. They conceal the complexity of your code.
7
 * Furthermore they obstruct the expandability. Refactor your code and increase the readability.
8
 */
9
class ConditionalExpression extends AbstractForbiddenNode
10
{
11
    /**
12
     * @return string
13
     */
14 14
    protected function getTypeName()
15
    {
16 14
        return 'ConditionalExpression';
17
    }
18
}
19