Failed Conditions
Push — sf/last-boss ( 98c677...e157b8 )
by Kiyotaka
05:51
created

AbstractPluginManager::enable()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 2
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
/*
4
 * This file is part of EC-CUBE
5
 *
6
 * Copyright(c) LOCKON CO.,LTD. All Rights Reserved.
7
 *
8
 * http://www.lockon.co.jp/
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
namespace Eccube\Plugin;
15
16
use Doctrine\DBAL\Migrations\Configuration\Configuration;
17
use Doctrine\DBAL\Migrations\Migration;
18
use Symfony\Component\DependencyInjection\ContainerInterface;
19
20
abstract class AbstractPluginManager
21
{
22
    const MIGRATION_TABLE_PREFIX = 'migration_';
23
24
    /**
25
     * Install the plugin.
26
     *
27
     * @param array $meta
28
     * @param ContainerInterface $container
29
     */
30
    public function install(array $meta, ContainerInterface $container)
0 ignored issues
show
Unused Code introduced by
The parameter $meta 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...
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...
31
    {
32
        // quiet.
33
    }
34
35
    /**
36
     * Update the plugin.
37
     *
38
     * @param array $meta
39
     * @param ContainerInterface $container
40
     */
41
    public function update(array $meta, ContainerInterface $container)
0 ignored issues
show
Unused Code introduced by
The parameter $meta 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...
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...
42
    {
43
        // quiet.
44
    }
45
46
    /**
47
     * Enable the plugin.
48
     *
49
     * @param array $meta
50
     * @param ContainerInterface $container
51
     */
52
    public function enable(array $meta, ContainerInterface $container)
0 ignored issues
show
Unused Code introduced by
The parameter $meta 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...
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...
53
    {
54
        // quiet.
55
    }
56
57
    /**
58
     * Disable the plugin.
59
     *
60
     * @param array $meta
61
     * @param ContainerInterface $container
62
     */
63
    public function disable(array $meta, ContainerInterface $container)
0 ignored issues
show
Unused Code introduced by
The parameter $meta 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...
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...
64
    {
65
        // quiet.
66
    }
67
68
    /**
69
     * Uninstall the plugin.
70
     *
71
     * @param array $meta
72
     * @param ContainerInterface $container
73
     */
74
    public function uninstall(array $meta, ContainerInterface $container)
0 ignored issues
show
Unused Code introduced by
The parameter $meta 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...
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...
75
    {
76
        // quiet.
77
    }
78
}
79