GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Module::getConfig()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/**
3
 * StrokerForm module
4
 *
5
 * @category  StrokerForm
6
 * @package   StrokerForm
7
 * @copyright 2012 Bram Gerritsen
8
 * @version   SVN: $Id$
9
 */
10
namespace StrokerForm;
11
12
use StrokerForm\Controller\AjaxController;
13
use StrokerForm\Factory\AjaxControllerFactory;
14
use StrokerForm\Factory\FormElementFactory;
15
use StrokerForm\Factory\FormManagerFactory;
16
use StrokerForm\Factory\FormPrepareFactory;
17
use StrokerForm\Factory\ModuleOptionsFactory;
18
use StrokerForm\Factory\Renderer\JqueryValidate\RendererFactory as jQueryRendererFactory;
19
use StrokerForm\Factory\RendererFactory;
20
use StrokerForm\Options\ModuleOptions;
21
use Zend\ModuleManager\Feature\AutoloaderProviderInterface;
22
use Zend\ModuleManager\Feature\ConfigProviderInterface;
23
use Zend\ModuleManager\Feature\ControllerProviderInterface;
24
use Zend\ModuleManager\Feature\ServiceProviderInterface;
25
use Zend\ModuleManager\Feature\ViewHelperProviderInterface;
26
27
class Module implements
28
    AutoloaderProviderInterface,
29
    ServiceProviderInterface,
30
    ConfigProviderInterface,
31
    ControllerProviderInterface,
32
    ViewHelperProviderInterface
33
{
34
    /**
35
     * {@inheritDoc}
36
     */
37
    public function getAutoloaderConfig()
38
    {
39
        return array(
40
            'Zend\Loader\StandardAutoloader' => array(
41
                'namespaces' => array(
42
                    __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__
43
                ),
44
            ),
45
        );
46
    }
47
48
    /**
49
     * {@inheritDoc}
50
     */
51
    public function getServiceConfig()
52
    {
53
        return array(
54
            'factories' => array(
55
                ModuleOptions::class                   => ModuleOptionsFactory::class,
56
                FormManager::class                     => FormManagerFactory::class,
57
                'stroker_form.renderer'                => RendererFactory::class,
58
                'stroker_form.renderer.jqueryvalidate' => jQueryRendererFactory::class,
59
            ),
60
        );
61
    }
62
63
    /**
64
     * {@inheritDoc}
65
     */
66
    public function getConfig()
67
    {
68
        return include __DIR__ . '/config/module.config.php';
69
    }
70
71
    /**
72
     * {@inheritDoc}
73
     */
74
    public function getControllerConfig()
75
    {
76
        return array(
77
            'factories' => array(
78
                AjaxController::class => AjaxControllerFactory::class
79
            ),
80
        );
81
    }
82
83
    /**
84
     * {@inheritDoc}
85
     */
86
    public function getViewHelperConfig()
87
    {
88
        return array(
89
            'factories' => array(
90
                'form_element'       => FormElementFactory::class,
91
                'strokerFormPrepare' => FormPrepareFactory::class
92
            )
93
        );
94
    }
95
}
96