Passed
Push — master ( 918c09...6b84e6 )
by Timo
04:16
created

AdministrationModuleManager   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 17
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A registerModule() 0 4 1
1
<?php
2
namespace ApacheSolrForTypo3\Solr\Backend\SolrModule;
3
4
/***************************************************************
5
 *  Copyright notice
6
 *
7
 *  (c) 2013-2015 Ingo Renner <[email protected]>
8
 *  All rights reserved
9
 *
10
 *  This script is part of the TYPO3 project. The TYPO3 project is
11
 *  free software; you can redistribute it and/or modify
12
 *  it under the terms of the GNU General Public License as published by
13
 *  the Free Software Foundation; either version 2 of the License, or
14
 *  (at your option) any later version.
15
 *
16
 *  The GNU General Public License can be found at
17
 *  http://www.gnu.org/copyleft/gpl.html.
18
 *
19
 *  This script is distributed in the hope that it will be useful,
20
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
21
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
 *  GNU General Public License for more details.
23
 *
24
 *  This copyright notice MUST APPEAR in all copies of the script!
25
 ***************************************************************/
26
use TYPO3\CMS\Core\Utility\GeneralUtility;
27
28
/**
29
 * Administration Module Manager
30
 *
31
 * @deprecated Not supported with fluid templating, will be removed in 8.0
32
 * @author Ingo Renner <[email protected]>
33
 */
34
class AdministrationModuleManager
35
{
36
37
    /**
38
     * Registers a Solr administration module
39
     *
40
     * @deprecated Not supported with fluid templating, please register your module as solr submodule, will be removed in 8.0
41
     * @param string $extensionIdentifier Identifier for the extension, that is the vendor followed by a dot followed by the extension key
42
     * @param string $controllerName Controller name
43
     * @param array $controllerActions Array of valid controller actions
44
     * @return void
45
     */
46
    public static function registerModule($extensionIdentifier, $controllerName, array $controllerActions)
0 ignored issues
show
Unused Code introduced by
The parameter $extensionIdentifier 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 $controllerName 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 $controllerActions 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...
47
    {
48
        GeneralUtility::logDeprecatedFunction();
49
    }
50
}