Tasks   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 11
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A register() 0 4 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: harry
5
 * Date: 2/12/18
6
 * Time: 4:10 PM
7
 */
8
9
namespace PhpBootstrap;
10
11
use League\Container\Container;
12
use PhpBootstrap\Console\HelloWorld;
13
use Symfony\Component\Console\Application;
14
15
class Tasks
16
{
17
    /**
18
     * @param Application $application
19
     * https://symfony.com/doc/current/console.html
20
     */
21
    final public static function register(Application $application, Container $container)
0 ignored issues
show
Unused Code introduced by
The parameter $container 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...
22
    {
23
        $application->add(new HelloWorld());
24
    }
25
}