UtilityCest   A
last analyzed

Complexity

Total Complexity 8

Size/Duplication

Total Lines 56
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
dl 0
loc 56
rs 10
c 1
b 0
f 0
wmc 8

8 Methods

Rating   Name   Duplication   Size   Complexity  
A testGetModuleOption() 0 2 1
A testNeedsAsterisk() 0 2 1
A testFormMarkRequiredFields() 0 2 1
A testGetInstance() 0 2 1
A testGetModuleName() 0 2 1
A testGetWysiwygForm() 0 2 1
A testRedirect() 0 2 1
A testJavascriptLinkConfirm() 0 2 1
1
<?php declare(strict_types=1);
2
3
/**
4
 * Created by PhpStorm.
5
 * User: mamba
6
 * Date: 2017-12-04
7
 * Time: 06:17
8
 */
9
class UtilityCest
10
{
11
    /**
12
     * @param \FunctionalTester $I
13
     */
14
    public function testGetInstance(FunctionalTester $I): void
0 ignored issues
show
Unused Code introduced by
The parameter $I is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

14
    public function testGetInstance(/** @scrutinizer ignore-unused */ FunctionalTester $I): void

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

Loading history...
Bug introduced by
The type FunctionalTester was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
15
    {
16
    }
17
18
    /**
19
     * @param \FunctionalTester $I
20
     */
21
    public function testGetModuleOption(FunctionalTester $I): void
0 ignored issues
show
Unused Code introduced by
The parameter $I is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

21
    public function testGetModuleOption(/** @scrutinizer ignore-unused */ FunctionalTester $I): void

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

Loading history...
22
    {
23
    }
24
25
    /**
26
     * @param \FunctionalTester $I
27
     */
28
    public function testGetWysiwygForm(FunctionalTester $I): void
0 ignored issues
show
Unused Code introduced by
The parameter $I is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

28
    public function testGetWysiwygForm(/** @scrutinizer ignore-unused */ FunctionalTester $I): void

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

Loading history...
29
    {
30
    }
31
32
    /**
33
     * @param \FunctionalTester $I
34
     */
35
    public function testJavascriptLinkConfirm(FunctionalTester $I): void
0 ignored issues
show
Unused Code introduced by
The parameter $I is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

35
    public function testJavascriptLinkConfirm(/** @scrutinizer ignore-unused */ FunctionalTester $I): void

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

Loading history...
36
    {
37
    }
38
39
    /**
40
     * @param \FunctionalTester $I
41
     */
42
    public function testRedirect(FunctionalTester $I): void
0 ignored issues
show
Unused Code introduced by
The parameter $I is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

42
    public function testRedirect(/** @scrutinizer ignore-unused */ FunctionalTester $I): void

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

Loading history...
43
    {
44
    }
45
46
    /**
47
     * @param \FunctionalTester $I
48
     */
49
    public function testGetModuleName(FunctionalTester $I): void
0 ignored issues
show
Unused Code introduced by
The parameter $I is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

49
    public function testGetModuleName(/** @scrutinizer ignore-unused */ FunctionalTester $I): void

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

Loading history...
50
    {
51
    }
52
53
    /**
54
     * @param \FunctionalTester $I
55
     */
56
    public function testNeedsAsterisk(FunctionalTester $I): void
0 ignored issues
show
Unused Code introduced by
The parameter $I is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

56
    public function testNeedsAsterisk(/** @scrutinizer ignore-unused */ FunctionalTester $I): void

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

Loading history...
57
    {
58
    }
59
60
    /**
61
     * @param \FunctionalTester $I
62
     */
63
    public function testFormMarkRequiredFields(FunctionalTester $I): void
0 ignored issues
show
Unused Code introduced by
The parameter $I is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

63
    public function testFormMarkRequiredFields(/** @scrutinizer ignore-unused */ FunctionalTester $I): void

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

Loading history...
64
    {
65
    }
66
}
67