EmptyPluginInterfaceImplementationTrait   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A boot() 0 2 1
A configure() 0 2 1
1
<?php
2
3
4
namespace UnitTestPlugins;
5
6
7
use Deployee\Components\Container\ContainerInterface;
8
9
trait EmptyPluginInterfaceImplementationTrait
10
{
11
    public function boot(ContainerInterface $container)
0 ignored issues
show
Unused Code introduced by
The parameter $container 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

11
    public function boot(/** @scrutinizer ignore-unused */ ContainerInterface $container)

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...
12
    {
13
14
    }
15
16
    public function configure(ContainerInterface $container)
0 ignored issues
show
Unused Code introduced by
The parameter $container 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

16
    public function configure(/** @scrutinizer ignore-unused */ ContainerInterface $container)

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...
17
    {
18
19
    }
20
}