Passed
Push — main ( 6c9a60...f17c77 )
by Sebastian
13:38
created

Command::execute()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 0
c 1
b 0
f 0
nc 1
nop 4
dl 0
loc 2
ccs 0
cts 1
cp 0
crap 2
rs 10
1
<?php
2
3
/**
4
 * This file is part of CaptainHook
5
 *
6
 * (c) Sebastian Feldmann <[email protected]>
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
namespace CaptainHook\App\Hook\Cli;
13
14
use CaptainHook\App\Config;
15
use CaptainHook\App\Console\IO;
16
use CaptainHook\App\Hook\Action;
17
use SebastianFeldmann\Git\Repository;
18
19
/**
20
 * Class Notify
21
 *
22
 * @package CaptainHook
23
 * @author  Sebastian Feldmann <[email protected]>
24
 * @link    https://github.com/captainhookphp/captainhook
25
 * @since   Class available since Release 5.23.1
26
 */
27
class Command implements Action
28
{
29
    /**
30
     * Executes the action
31
     *
32
     * @param  \CaptainHook\App\Config           $config
33
     * @param  \CaptainHook\App\Console\IO       $io
34
     * @param  \SebastianFeldmann\Git\Repository $repository
35
     * @param  \CaptainHook\App\Config\Action    $action
36
     * @return void
37
     * @throws \Exception
38
     */
39
    public function execute(Config $config, IO $io, Repository $repository, Config\Action $action): void
40
    {
41
    }
42
}
43