Completed
Push — develop ( a5396a...45a0ea )
by Mathias
05:23
created
module/Core/src/Core/Form/Service/InjectHeadscriptInitializer.php 2 patches
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -24,31 +24,31 @@
 block discarded – undo
24 24
  */
25 25
 class InjectHeadscriptInitializer implements InitializerInterface
26 26
 {
27
-	public function __invoke( ContainerInterface $container, $instance ) {
28
-		/* @var $serviceLocator \Zend\Form\FormElementManager\FormElementManagerV3Polyfill */
27
+    public function __invoke( ContainerInterface $container, $instance ) {
28
+        /* @var $serviceLocator \Zend\Form\FormElementManager\FormElementManagerV3Polyfill */
29 29
 		
30
-		if (!$instance instanceof HeadscriptProviderInterface) {
31
-			return;
32
-		}
30
+        if (!$instance instanceof HeadscriptProviderInterface) {
31
+            return;
32
+        }
33 33
 		
34
-		$scripts = $instance->getHeadscripts();
34
+        $scripts = $instance->getHeadscripts();
35 35
 		
36
-		if (!is_array($scripts) || empty($scripts)) {
37
-			return;
38
-		}
36
+        if (!is_array($scripts) || empty($scripts)) {
37
+            return;
38
+        }
39 39
 		
40
-		/* @var $basepath \Zend\View\Helper\BasePath
40
+        /* @var $basepath \Zend\View\Helper\BasePath
41 41
 		 * @var $headscript \Zend\View\Helper\HeadScript */
42
-		$helpers  = $container->get('ViewHelperManager');
43
-		$basepath = $helpers->get('basepath');
44
-		$headscript = $helpers->get('headscript');
42
+        $helpers  = $container->get('ViewHelperManager');
43
+        $basepath = $helpers->get('basepath');
44
+        $headscript = $helpers->get('headscript');
45 45
 		
46
-		foreach ($scripts as $script) {
47
-			$headscript->appendFile($basepath($script));
48
-		}
49
-	}
46
+        foreach ($scripts as $script) {
47
+            $headscript->appendFile($basepath($script));
48
+        }
49
+    }
50 50
 	
51
-	/**
51
+    /**
52 52
      * Injects scripts to the headscript view helper.
53 53
      *
54 54
      * If the created instance implements {@link HeadscriptProviderInterface},
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
  */
25 25
 class InjectHeadscriptInitializer implements InitializerInterface
26 26
 {
27
-	public function __invoke( ContainerInterface $container, $instance ) {
27
+	public function __invoke(ContainerInterface $container, $instance) {
28 28
 		/* @var $serviceLocator \Zend\Form\FormElementManager\FormElementManagerV3Polyfill */
29 29
 		
30 30
 		if (!$instance instanceof HeadscriptProviderInterface) {
Please login to merge, or discard this patch.
module/Core/src/Core/Form/Service/Initializer.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -21,15 +21,15 @@
 block discarded – undo
21 21
  */
22 22
 class Initializer implements InitializerInterface
23 23
 {
24
-	public function __invoke( ContainerInterface $container, $instance )
25
-	{
26
-		if ($instance instanceof FormContainer) {
27
-			$instance->setFormElementManager($container->get('FormElementManager'));
28
-		}
29
-	}
24
+    public function __invoke( ContainerInterface $container, $instance )
25
+    {
26
+        if ($instance instanceof FormContainer) {
27
+            $instance->setFormElementManager($container->get('FormElementManager'));
28
+        }
29
+    }
30 30
 	
31 31
 	
32
-	/**
32
+    /**
33 33
      * @see \Zend\ServiceManager\InitializerInterface::initialize()
34 34
      */
35 35
     public function initialize($instance, ServiceLocatorInterface $serviceLocator)
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
  */
22 22
 class Initializer implements InitializerInterface
23 23
 {
24
-	public function __invoke( ContainerInterface $container, $instance )
24
+	public function __invoke(ContainerInterface $container, $instance)
25 25
 	{
26 26
 		if ($instance instanceof FormContainer) {
27 27
 			$instance->setFormElementManager($container->get('FormElementManager'));
Please login to merge, or discard this patch.
module/Core/src/Core/Mail/MailService.php 3 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -98,9 +98,9 @@  discard block
 block discarded – undo
98 98
                     }
99 99
                     $instance->setTranslatorEnabled(true);
100 100
                 }
101
-	            if($instance instanceof ContainerAwareInterface){
102
-		            $instance->setContainer($context);
103
-	            }
101
+                if($instance instanceof ContainerAwareInterface){
102
+                    $instance->setContainer($context);
103
+                }
104 104
             }
105 105
         );
106 106
         
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
         //        if (method_exists($instance, 'setServiceLocator')) {
111 111
         //            //$instance->setServiceLocator($this);
112 112
         //        }
113
-         //   }
113
+            //   }
114 114
         //);
115 115
         
116 116
         $this->addInitializer(
@@ -159,13 +159,13 @@  discard block
 block discarded – undo
159 159
      */
160 160
     public function setFrom($email, $name = null)
161 161
     {
162
-    	if(is_array($email)){
163
-    		$this->from = [$email['email'] => $email['name']];
164
-	    }else{
165
-		    $this->from = is_object($email) || null === $name
166
-			    ? $email
167
-			    : array($email => $name);
168
-	    }
162
+        if(is_array($email)){
163
+            $this->from = [$email['email'] => $email['name']];
164
+        }else{
165
+            $this->from = is_object($email) || null === $name
166
+                ? $email
167
+                : array($email => $name);
168
+        }
169 169
 
170 170
         return $this;
171 171
     }
Please login to merge, or discard this patch.
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     );
72 72
 
73 73
     protected $factories = array(
74
-        'htmltemplate'   => [HTMLTemplateMessage::class,'factory'],
74
+        'htmltemplate'   => [HTMLTemplateMessage::class, 'factory'],
75 75
     );
76 76
 
77 77
     /**
@@ -86,10 +86,10 @@  discard block
 block discarded – undo
86 86
      */
87 87
     public function __construct($container, $configuration = [])
88 88
     {
89
-        parent::__construct($container,$configuration);
89
+        parent::__construct($container, $configuration);
90 90
         
91 91
         $this->addInitializer(
92
-            function ($context,$instance){
92
+            function($context, $instance) {
93 93
                 if ($instance instanceof TranslatorAwareInterface) {
94 94
                     $translator = $context->get('translator');
95 95
                     $instance->setTranslator($translator);
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
                     }
99 99
                     $instance->setTranslatorEnabled(true);
100 100
                 }
101
-	            if($instance instanceof ContainerAwareInterface){
101
+	            if ($instance instanceof ContainerAwareInterface) {
102 102
 		            $instance->setContainer($context);
103 103
 	            }
104 104
             }
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
         //);
115 115
         
116 116
         $this->addInitializer(
117
-            function ($context,$instance){
117
+            function($context, $instance) {
118 118
                 if (method_exists($instance, 'init')) {
119 119
                     $instance->init();
120 120
                 }
@@ -159,9 +159,9 @@  discard block
 block discarded – undo
159 159
      */
160 160
     public function setFrom($email, $name = null)
161 161
     {
162
-    	if(is_array($email)){
162
+    	if (is_array($email)) {
163 163
     		$this->from = [$email['email'] => $email['name']];
164
-	    }else{
164
+	    } else {
165 165
 		    $this->from = is_object($email) || null === $name
166 166
 			    ? $email
167 167
 			    : array($email => $name);
@@ -208,11 +208,11 @@  discard block
 block discarded – undo
208 208
         if ($this->overrideRecipient instanceof AddressList) {
209 209
             $originalRecipient = $headers->get('to')->toString();
210 210
             if ($headers->has('cc')) {
211
-                $originalRecipient .= '; ' . $headers->get('cc')->toString();
211
+                $originalRecipient .= '; '.$headers->get('cc')->toString();
212 212
                 $headers->removeHeader('cc');
213 213
             }
214 214
             if ($headers->has('bcc')) {
215
-                $originalRecipient .= '; ' . $headers->get('bcc')->toString();
215
+                $originalRecipient .= '; '.$headers->get('bcc')->toString();
216 216
                 $headers->removeHeader('bcc');
217 217
             }
218 218
             $headers->addHeaderLine('X-Original-Recipients', $originalRecipient);
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@
 block discarded – undo
161 161
     {
162 162
     	if(is_array($email)){
163 163
     		$this->from = [$email['email'] => $email['name']];
164
-	    }else{
164
+	    } else{
165 165
 		    $this->from = is_object($email) || null === $name
166 166
 			    ? $email
167 167
 			    : array($email => $name);
Please login to merge, or discard this patch.
module/Cv/config/module.config.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -219,10 +219,10 @@
 block discarded – undo
219 219
     ],
220 220
     
221 221
     'input_filters' => [
222
-	    'aliases' => [
223
-	    	'Cv/Employment' => Employment::class,
224
-		    'Cv/Education' => Education::class
225
-	    ],
222
+        'aliases' => [
223
+            'Cv/Employment' => Employment::class,
224
+            'Cv/Education' => Education::class
225
+        ],
226 226
         'invokables' => [
227 227
             'Cv/Employment' => Employment::class,
228 228
             'Cv/Education' => Education::class
Please login to merge, or discard this patch.
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
                  * for multiple paths.
24 24
                  * example https://github.com/doctrine/DoctrineORMModule
25 25
                  */
26
-                'paths' => [ __DIR__ . '/../src/Cv/Entity'],
26
+                'paths' => [__DIR__.'/../src/Cv/Entity'],
27 27
             ],
28 28
         ],
29 29
         'eventmanager' => [
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
         'translation_file_patterns' => [
45 45
             [
46 46
                 'type'     => 'gettext',
47
-                'base_dir' => __DIR__ . '/../language',
47
+                'base_dir' => __DIR__.'/../language',
48 48
                 'pattern'  => '%s.mo',
49 49
             ],
50 50
         ],
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
         'factories' => [
155 155
             \Cv\Controller\IndexController::class => \Zend\ServiceManager\Factory\InvokableFactory::class,
156 156
             'Cv/View'  => 'Cv\Factory\Controller\ViewControllerFactory',
157
-            'Cv\Controller\Manage' => [ManageController::class,'factory'],
157
+            'Cv\Controller\Manage' => [ManageController::class, 'factory'],
158 158
         ],
159 159
         'aliases' => [
160 160
             'Cv/Index' => \Cv\Controller\IndexController::class,
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
             'resume-recruiter' => [
170 170
                 'label' =>  /*@translate*/ 'Talent-Pool',
171 171
                 'route' => 'lang/cvs',
172
-                'active_on' => [ 'lang/cvs/edit', 'lang/cvs/view' ],
172
+                'active_on' => ['lang/cvs/edit', 'lang/cvs/view'],
173 173
                 'resource' => 'navigation/resume-recruiter',
174 174
                 'order' => 10,
175 175
                 'query' => [
@@ -200,15 +200,15 @@  discard block
 block discarded – undo
200 200
     
201 201
         // Map template to files. Speeds up the lookup through the template stack.
202 202
         'template_map' => [
203
-            'cv/form/employment.view' => __DIR__ . '/../view/cv/form/employment.view.phtml',
204
-            'cv/form/employment.form' => __DIR__ . '/../view/cv/form/employment.form.phtml',
205
-            'cv/form/education.view' => __DIR__ . '/../view/cv/form/education.view.phtml',
206
-            'cv/form/education.form' => __DIR__ . '/../view/cv/form/education.form.phtml'
203
+            'cv/form/employment.view' => __DIR__.'/../view/cv/form/employment.view.phtml',
204
+            'cv/form/employment.form' => __DIR__.'/../view/cv/form/employment.form.phtml',
205
+            'cv/form/education.view' => __DIR__.'/../view/cv/form/education.view.phtml',
206
+            'cv/form/education.form' => __DIR__.'/../view/cv/form/education.form.phtml'
207 207
         ],
208 208
     
209 209
         // Where to look for view templates not mapped above
210 210
         'template_path_stack' => [
211
-            __DIR__ . '/../view',
211
+            __DIR__.'/../view',
212 212
         ],
213 213
     ],
214 214
 
Please login to merge, or discard this patch.
module/Cv/src/Cv/Repository/Filter/PaginationQueryFactory.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -24,12 +24,12 @@
 block discarded – undo
24 24
  */
25 25
 class PaginationQueryFactory implements FactoryInterface
26 26
 {
27
-	public function __invoke( ContainerInterface $container, $requestedName, array $options = null )
28
-	{
29
-		$auth     = $container->get('AuthenticationService');
30
-		$user     = $auth->hasIdentity() ? $auth->getUser() : null;
31
-		$filter   = new PaginationQuery($user);
27
+    public function __invoke( ContainerInterface $container, $requestedName, array $options = null )
28
+    {
29
+        $auth     = $container->get('AuthenticationService');
30
+        $user     = $auth->hasIdentity() ? $auth->getUser() : null;
31
+        $filter   = new PaginationQuery($user);
32 32
 		
33
-		return $filter;
34
-	}
33
+        return $filter;
34
+    }
35 35
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
  */
25 25
 class PaginationQueryFactory implements FactoryInterface
26 26
 {
27
-	public function __invoke( ContainerInterface $container, $requestedName, array $options = null )
27
+	public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
28 28
 	{
29 29
 		$auth     = $container->get('AuthenticationService');
30 30
 		$user     = $auth->hasIdentity() ? $auth->getUser() : null;
Please login to merge, or discard this patch.
module/Cv/src/Cv/Factory/Controller/ViewControllerFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 
13 13
 use Cv\Controller\ViewController;
14 14
 use Interop\Container\ContainerInterface;
15
-use Zend\ServiceManager\Factory\FactoryInterface;;
15
+use Zend\ServiceManager\Factory\FactoryInterface; ;
16 16
 
17 17
 /**
18 18
  * ${CARET}
Please login to merge, or discard this patch.
module/Cv/src/Cv/Form/EmploymentFieldset.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@  discard block
 block discarded – undo
25 25
     public function init()
26 26
     {
27 27
         $this->setName('employment')
28
-             ->setHydrator(new EntityHydrator())
29
-             ->setObject(new EmploymentEntity());
28
+                ->setHydrator(new EntityHydrator())
29
+                ->setObject(new EmploymentEntity());
30 30
         
31 31
         $this->add(
32 32
             array(
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
     {
89 89
         return [
90 90
             //'type' => 'Cv/Employment'
91
-	        'type' => Employment::class
91
+            'type' => Employment::class
92 92
         ];
93 93
     }
94 94
     
Please login to merge, or discard this patch.
module/Settings/config/module.config.php 2 patches
Indentation   +116 added lines, -116 removed lines patch added patch discarded remove patch
@@ -14,133 +14,133 @@
 block discarded – undo
14 14
 
15 15
 return [
16 16
 	
17
-	'doctrine' => [
18
-		'driver' => [
19
-			'odm_default' => [
20
-				'drivers' => [
21
-					'Settings\Entity' => 'annotation',
22
-				],
23
-			],
24
-		],
25
-		'eventmanager' => [
26
-			'odm_default' => [
27
-				'subscribers' => [
28
-					'Settings/InjectEntityResolverListener',
29
-				],
30
-			],
31
-		],
32
-	],
17
+    'doctrine' => [
18
+        'driver' => [
19
+            'odm_default' => [
20
+                'drivers' => [
21
+                    'Settings\Entity' => 'annotation',
22
+                ],
23
+            ],
24
+        ],
25
+        'eventmanager' => [
26
+            'odm_default' => [
27
+                'subscribers' => [
28
+                    'Settings/InjectEntityResolverListener',
29
+                ],
30
+            ],
31
+        ],
32
+    ],
33 33
 	
34 34
 	
35
-	// Translations
36
-	'translator' => [
37
-		'translation_file_patterns' => [
38
-			[
39
-				'type' => 'gettext',
40
-				'base_dir' => __DIR__ . '/../language',
41
-				'pattern' => '%s.mo',
42
-			],
43
-		],
44
-	],
45
-	// Routes
46
-	'router' => [
47
-		'routes' => [
48
-			'lang' => [
49
-				'child_routes' => [
50
-					'settings' => [
51
-						'type' => 'Segment',
52
-						'options' => [
53
-							'route' => '/settings[/:module]',
54
-							'defaults' => [
55
-								'controller' => 'Settings\Controller\Index',
56
-								'action' => 'index',
57
-								'module' => 'Core',
58
-							],
59
-						],
60
-						'may_terminate' => true,
61
-					],
62
-				],
63
-			],
64
-		],
65
-	],
35
+    // Translations
36
+    'translator' => [
37
+        'translation_file_patterns' => [
38
+            [
39
+                'type' => 'gettext',
40
+                'base_dir' => __DIR__ . '/../language',
41
+                'pattern' => '%s.mo',
42
+            ],
43
+        ],
44
+    ],
45
+    // Routes
46
+    'router' => [
47
+        'routes' => [
48
+            'lang' => [
49
+                'child_routes' => [
50
+                    'settings' => [
51
+                        'type' => 'Segment',
52
+                        'options' => [
53
+                            'route' => '/settings[/:module]',
54
+                            'defaults' => [
55
+                                'controller' => 'Settings\Controller\Index',
56
+                                'action' => 'index',
57
+                                'module' => 'Core',
58
+                            ],
59
+                        ],
60
+                        'may_terminate' => true,
61
+                    ],
62
+                ],
63
+            ],
64
+        ],
65
+    ],
66 66
 	
67
-	'acl' => ['rules' => [
68
-		'user' => [
69
-			'allow' => [
70
-				'route/lang/settings',
71
-				'Settings\Controller\Index',
72
-			],
73
-		],
74
-	]],
75
-	'navigation' => [
76
-		'default' => [
77
-			'settings' => [
78
-				'label'    => /*@translate*/ 'Settings',
79
-				'route'    => 'lang/settings',
80
-				'resource' => 'route/lang/settings',
81
-				'order'    => 100,
82
-				'params'   => ['module' => null],
83
-			],
84
-		],
85
-	],
67
+    'acl' => ['rules' => [
68
+        'user' => [
69
+            'allow' => [
70
+                'route/lang/settings',
71
+                'Settings\Controller\Index',
72
+            ],
73
+        ],
74
+    ]],
75
+    'navigation' => [
76
+        'default' => [
77
+            'settings' => [
78
+                'label'    => /*@translate*/ 'Settings',
79
+                'route'    => 'lang/settings',
80
+                'resource' => 'route/lang/settings',
81
+                'order'    => 100,
82
+                'params'   => ['module' => null],
83
+            ],
84
+        ],
85
+    ],
86 86
 	
87
-	// Configuration of the controller service manager (Which loads controllers)
88
-	'controllers' => [
89
-		'factories' => [
90
-			'Settings\Controller\Index' => [\Settings\Controller\IndexController::class,'factory']
91
-		],
92
-	],
87
+    // Configuration of the controller service manager (Which loads controllers)
88
+    'controllers' => [
89
+        'factories' => [
90
+            'Settings\Controller\Index' => [\Settings\Controller\IndexController::class,'factory']
91
+        ],
92
+    ],
93 93
 	
94
-	// Configure the view service manager
95
-	'view_manager' => [
96
-		// Map template to files. Speeds up the lookup through the template stack.
97
-		'template_map' => [
98
-		],
94
+    // Configure the view service manager
95
+    'view_manager' => [
96
+        // Map template to files. Speeds up the lookup through the template stack.
97
+        'template_map' => [
98
+        ],
99 99
 		
100
-		// Where to look for view templates not mapped above
101
-		'template_path_stack' => [
102
-			__DIR__ . '/../view',
103
-		],
104
-	],
100
+        // Where to look for view templates not mapped above
101
+        'template_path_stack' => [
102
+            __DIR__ . '/../view',
103
+        ],
104
+    ],
105 105
 	
106
-	'view_helpers' => [
107
-		'invokables' => [
108
-			'Settings/FormDisableElementsCapableFormSettings' => 'Settings\Form\View\Helper\FormDisableElementsCapableFormSettings',
109
-		],
110
-		'factories' => [
111
-		],
112
-	],
106
+    'view_helpers' => [
107
+        'invokables' => [
108
+            'Settings/FormDisableElementsCapableFormSettings' => 'Settings\Form\View\Helper\FormDisableElementsCapableFormSettings',
109
+        ],
110
+        'factories' => [
111
+        ],
112
+    ],
113 113
 	
114
-	'service_manager' => [
115
-		'factories' => [
116
-			'Settings' => '\Settings\Settings\SettingsFactory',
117
-			'Settings/EntityResolver' => '\Settings\Repository\SettingsEntityResolverFactory',
118
-			'Settings/InjectEntityResolverListener' => [\Settings\Repository\Event\InjectSettingsEntityResolverListener::class,'factory'],
119
-		],
120
-		'initializers' => [],
121
-		'shared' => [],
122
-		'aliases' => [],
123
-	],
114
+    'service_manager' => [
115
+        'factories' => [
116
+            'Settings' => '\Settings\Settings\SettingsFactory',
117
+            'Settings/EntityResolver' => '\Settings\Repository\SettingsEntityResolverFactory',
118
+            'Settings/InjectEntityResolverListener' => [\Settings\Repository\Event\InjectSettingsEntityResolverListener::class,'factory'],
119
+        ],
120
+        'initializers' => [],
121
+        'shared' => [],
122
+        'aliases' => [],
123
+    ],
124 124
 	
125
-	'controller_plugins' => [
126
-		'factories' => ['settings' => '\Settings\Controller\Plugin\SettingsFactory'],
127
-	],
125
+    'controller_plugins' => [
126
+        'factories' => ['settings' => '\Settings\Controller\Plugin\SettingsFactory'],
127
+    ],
128 128
 	
129
-	'form_elements' => [
130
-		'factories' => [
131
-			'Settings/Form' => [\Settings\Form\AbstractSettingsForm::class,'factory'],
132
-			'Settings/DisableElementsCapableFormSettingsFieldset' => [\Settings\Form\DisableElementsCapableFormSettingsFieldset::class,'factory'],
133
-			'Settings/Fieldset' => \Settings\Form\Factory\SettingsFieldsetFactory::class,
134
-		],
135
-		'aliases' => [
136
-		],
137
-	],
129
+    'form_elements' => [
130
+        'factories' => [
131
+            'Settings/Form' => [\Settings\Form\AbstractSettingsForm::class,'factory'],
132
+            'Settings/DisableElementsCapableFormSettingsFieldset' => [\Settings\Form\DisableElementsCapableFormSettingsFieldset::class,'factory'],
133
+            'Settings/Fieldset' => \Settings\Form\Factory\SettingsFieldsetFactory::class,
134
+        ],
135
+        'aliases' => [
136
+        ],
137
+    ],
138 138
 	
139
-	'filters' => [
140
-		'invokables' => [
141
-			'Settings/Filter/DisableElementsCapableFormSettings' => \Settings\Form\Filter\DisableElementsCapableFormSettings::class,
142
-		]
143
-	]
139
+    'filters' => [
140
+        'invokables' => [
141
+            'Settings/Filter/DisableElementsCapableFormSettings' => \Settings\Form\Filter\DisableElementsCapableFormSettings::class,
142
+        ]
143
+    ]
144 144
 
145 145
 
146 146
 ];
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 		'translation_file_patterns' => [
38 38
 			[
39 39
 				'type' => 'gettext',
40
-				'base_dir' => __DIR__ . '/../language',
40
+				'base_dir' => __DIR__.'/../language',
41 41
 				'pattern' => '%s.mo',
42 42
 			],
43 43
 		],
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
 	// Configuration of the controller service manager (Which loads controllers)
88 88
 	'controllers' => [
89 89
 		'factories' => [
90
-			'Settings\Controller\Index' => [\Settings\Controller\IndexController::class,'factory']
90
+			'Settings\Controller\Index' => [\Settings\Controller\IndexController::class, 'factory']
91 91
 		],
92 92
 	],
93 93
 	
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 		
100 100
 		// Where to look for view templates not mapped above
101 101
 		'template_path_stack' => [
102
-			__DIR__ . '/../view',
102
+			__DIR__.'/../view',
103 103
 		],
104 104
 	],
105 105
 	
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
 		'factories' => [
116 116
 			'Settings' => '\Settings\Settings\SettingsFactory',
117 117
 			'Settings/EntityResolver' => '\Settings\Repository\SettingsEntityResolverFactory',
118
-			'Settings/InjectEntityResolverListener' => [\Settings\Repository\Event\InjectSettingsEntityResolverListener::class,'factory'],
118
+			'Settings/InjectEntityResolverListener' => [\Settings\Repository\Event\InjectSettingsEntityResolverListener::class, 'factory'],
119 119
 		],
120 120
 		'initializers' => [],
121 121
 		'shared' => [],
@@ -128,8 +128,8 @@  discard block
 block discarded – undo
128 128
 	
129 129
 	'form_elements' => [
130 130
 		'factories' => [
131
-			'Settings/Form' => [\Settings\Form\AbstractSettingsForm::class,'factory'],
132
-			'Settings/DisableElementsCapableFormSettingsFieldset' => [\Settings\Form\DisableElementsCapableFormSettingsFieldset::class,'factory'],
131
+			'Settings/Form' => [\Settings\Form\AbstractSettingsForm::class, 'factory'],
132
+			'Settings/DisableElementsCapableFormSettingsFieldset' => [\Settings\Form\DisableElementsCapableFormSettingsFieldset::class, 'factory'],
133 133
 			'Settings/Fieldset' => \Settings\Form\Factory\SettingsFieldsetFactory::class,
134 134
 		],
135 135
 		'aliases' => [
Please login to merge, or discard this patch.
module/Settings/src/Settings/Repository/SettingsEntityResolverFactory.php 2 patches
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -19,23 +19,23 @@
 block discarded – undo
19 19
 
20 20
 class SettingsEntityResolverFactory implements FactoryInterface
21 21
 {
22
-	public function __invoke( ContainerInterface $container, $requestedName, array $options = null )
23
-	{
24
-		$moduleManager = $container->get('ModuleManager');
25
-		$config        = $container->get('Config');
22
+    public function __invoke( ContainerInterface $container, $requestedName, array $options = null )
23
+    {
24
+        $moduleManager = $container->get('ModuleManager');
25
+        $config        = $container->get('Config');
26 26
 		
27
-		$map = array();
28
-		foreach (array_keys($moduleManager->getLoadedModules()) as $module) {
29
-			$map[$module] = isset($config[$module]['settings']['entity'])
30
-				? $config[$module]['settings']['entity']
31
-				: '\Settings\Entity\ModuleSettingsContainer';
32
-		}
27
+        $map = array();
28
+        foreach (array_keys($moduleManager->getLoadedModules()) as $module) {
29
+            $map[$module] = isset($config[$module]['settings']['entity'])
30
+                ? $config[$module]['settings']['entity']
31
+                : '\Settings\Entity\ModuleSettingsContainer';
32
+        }
33 33
 		
34
-		$resolver = new SettingsEntityResolver($map);
35
-		return $resolver;
36
-	}
34
+        $resolver = new SettingsEntityResolver($map);
35
+        return $resolver;
36
+    }
37 37
 	
38
-	public function createService(ServiceLocatorInterface $serviceLocator)
38
+    public function createService(ServiceLocatorInterface $serviceLocator)
39 39
     {
40 40
     
41 41
     }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 
20 20
 class SettingsEntityResolverFactory implements FactoryInterface
21 21
 {
22
-	public function __invoke( ContainerInterface $container, $requestedName, array $options = null )
22
+	public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
23 23
 	{
24 24
 		$moduleManager = $container->get('ModuleManager');
25 25
 		$config        = $container->get('Config');
Please login to merge, or discard this patch.