Test Setup Failed
Push — test ( 68133a...6f6dc7 )
by Jonathan
03:00
created

Php56TestClass   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A typeHints() 0 5 1
1
<?php
2
3
namespace Kint\Test\Fixtures;
4
5
class Php56TestClass
6
{
7
    const DUMP_FILE = __FILE__;
8
    const DUMP_LINE = 12;
9
10
    public function typeHints(string $p1, int $p2, bool $p3 = false): self
0 ignored issues
show
Unused Code introduced by
The parameter $p1 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...
Unused Code introduced by
The parameter $p2 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...
Unused Code introduced by
The parameter $p3 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...
11
    {
12
        \Kint::dump($x, $y, ...$z);
0 ignored issues
show
Bug introduced by
The variable $x does not exist. Did you forget to declare it?

This check marks access to variables or properties that have not been declared yet. While PHP has no explicit notion of declaring a variable, accessing it before a value is assigned to it is most likely a bug.

Loading history...
Bug introduced by
The variable $y does not exist. Did you forget to declare it?

This check marks access to variables or properties that have not been declared yet. While PHP has no explicit notion of declaring a variable, accessing it before a value is assigned to it is most likely a bug.

Loading history...
Bug introduced by
The variable $z does not exist. Did you forget to declare it?

This check marks access to variables or properties that have not been declared yet. While PHP has no explicit notion of declaring a variable, accessing it before a value is assigned to it is most likely a bug.

Loading history...
13
        \Kint::dump(...$x, ...$z);
14
    }
15
}
16