Passed
Push — master ( f1a71e...b32f1c )
by Phillip
01:29
created

EmptyPluginInterfaceImplementationTrait   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

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

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