Test Failed
Branch master (fdda4e)
by ANTHONIUS
03:39
created

UserModule::getName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
/*
4
 * This file is part of the EOffice project.
5
 *
6
 * (c) Anthonius Munthi <https://itstoni.com>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
declare(strict_types=1);
13
14
namespace EOffice\User;
15
16
use EOffice\Contracts\Support\ModuleInterface;
17
use Symfony\Component\DependencyInjection\ContainerBuilder;
18
19
class UserModule implements ModuleInterface
20
{
21
    public function build(ContainerBuilder $builder): void
0 ignored issues
show
Unused Code introduced by
The parameter $builder 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 build(/** @scrutinizer ignore-unused */ ContainerBuilder $builder): 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
    public function getName(): string
26
    {
27
        return 'user';
28
    }
29
30
    public function getBaseDir(): string
31
    {
32
        return realpath(__DIR__);
33
    }
34
}
35