Test Failed
Branch master (4153a4)
by Divine Niiquaye
13:02
created

AbstractController::routeAction()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
cc 1
eloc 0
c 2
b 0
f 0
nc 1
nop 3
dl 0
loc 2
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of Flight Routing.
7
 *
8
 * PHP version 7.4 and above required
9
 *
10
 * @author    Divine Niiquaye Ibok <[email protected]>
11
 * @copyright 2019 Biurad Group (https://biurad.com/)
12
 * @license   https://opensource.org/licenses/BSD-3-Clause License
13
 *
14
 * For the full copyright and license information, please view the LICENSE
15
 * file that was distributed with this source code.
16
 */
17
18
namespace Flight\Routing\Tests\Fixtures\Annotation\Route\Abstracts;
19
20
abstract class AbstractController
21
{
22
    abstract public function abstractRouteAction();
23
24
    public function routeAction($arg1, $arg2 = 'defaultValue2', $arg3 = 'defaultValue3'): void
0 ignored issues
show
Unused Code introduced by
The parameter $arg2 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

24
    public function routeAction($arg1, /** @scrutinizer ignore-unused */ $arg2 = 'defaultValue2', $arg3 = 'defaultValue3'): 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...
Unused Code introduced by
The parameter $arg3 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

24
    public function routeAction($arg1, $arg2 = 'defaultValue2', /** @scrutinizer ignore-unused */ $arg3 = 'defaultValue3'): 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...
Unused Code introduced by
The parameter $arg1 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

24
    public function routeAction(/** @scrutinizer ignore-unused */ $arg1, $arg2 = 'defaultValue2', $arg3 = 'defaultValue3'): 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...
25
    {
26
    }
27
}
28