Completed
Branch master (3f69b2)
by Andreas
06:30
created
Module.php 2 patches
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,9 +32,9 @@
 block discarded – undo
32 32
 
33 33
 namespace OrgHeiglMailproxy;
34 34
 
35
-use Zend\ModuleManager\ModuleManager,
36
-    Zend\EventManager\StaticEventManager,
37
-    Zend\Mvc\ModuleRouteListener;
35
+use Zend\ModuleManager\ModuleManager;
36
+use Zend\EventManager\StaticEventManager;
37
+use Zend\Mvc\ModuleRouteListener;
38 38
     
39 39
 
40 40
 /**
Please login to merge, or discard this patch.
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -69,25 +69,25 @@
 block discarded – undo
69 69
 
70 70
     public function onBootstrap($e)
71 71
     {
72
-    	$e->getApplication()->getServiceManager()->get('translator');
73
-    	$eventManager        = $e->getApplication()->getEventManager();
74
-    	$moduleRouteListener = new ModuleRouteListener();
75
-    	$moduleRouteListener->attach($eventManager);
72
+        $e->getApplication()->getServiceManager()->get('translator');
73
+        $eventManager        = $e->getApplication()->getEventManager();
74
+        $moduleRouteListener = new ModuleRouteListener();
75
+        $moduleRouteListener->attach($eventManager);
76 76
     }
77 77
     
78 78
     public function getConfig()
79 79
     {
80
-    	return include __DIR__ . '/config/module.config.php';
80
+        return include __DIR__ . '/config/module.config.php';
81 81
     }
82 82
     
83 83
     public function getAutoloaderConfig()
84 84
     {
85
-    	return array(
86
-    			'Zend\Loader\StandardAutoloader' => array(
87
-    					'namespaces' => array(
88
-    							__NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,
89
-    					),
90
-    			),
91
-    	);
85
+        return array(
86
+                'Zend\Loader\StandardAutoloader' => array(
87
+                        'namespaces' => array(
88
+                                __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,
89
+                        ),
90
+                ),
91
+        );
92 92
     }
93 93
 }
Please login to merge, or discard this patch.
src/OrgHeiglMailproxy/View/Helper/Mailto.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,14 +77,14 @@
 block discarded – undo
77 77
 }');
78 78
 
79 79
         $params = array_merge(array('href'  => $url . '/' . strrev($address)), $params);
80
-        if ( null === $linktext ) {
80
+        if (null === $linktext) {
81 81
             $linktext = strrev($address);
82 82
             $classes = array();
83 83
             if (isset($params['class'])) {
84 84
                 $classes = $params['class'];
85 85
                 $classes = explode(' ', $classes);
86 86
             }
87
-            if ( ! in_array($this->mailtoclass, $classes) ) {
87
+            if ( ! in_array($this->mailtoclass, $classes)) {
88 88
                 $classes[] = $this->mailtoclass;
89 89
             }
90 90
             $params['class'] = implode(' ', $classes);
Please login to merge, or discard this patch.
config/module.config.php 1 patch
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -33,21 +33,21 @@  discard block
 block discarded – undo
33 33
     'view_helpers' => array(
34 34
         'invokables' => array(
35 35
             'mailto' => 'OrgHeiglMailproxy\View\Helper\Mailto',
36
-		),
37
-	),
38
-	'controllers' => array(
39
-		'invokables' => array(
40
-			'OrgHeiglMailproxy\Controller\ProxyController' => 'OrgHeiglMailproxy\Controller\ProxyController'
41
-		),
42
-	),
43
-	'router' => array(
44
-		'routes' => array(
45
-        	'mailproxy' => array(
46
-            	'type' => 'Segment',
36
+        ),
37
+    ),
38
+    'controllers' => array(
39
+        'invokables' => array(
40
+            'OrgHeiglMailproxy\Controller\ProxyController' => 'OrgHeiglMailproxy\Controller\ProxyController'
41
+        ),
42
+    ),
43
+    'router' => array(
44
+        'routes' => array(
45
+            'mailproxy' => array(
46
+                'type' => 'Segment',
47 47
                 'options' => array(
48
-                	'route' => '/mailproxy[/:id]',
48
+                    'route' => '/mailproxy[/:id]',
49 49
                     'defaults' => array(
50
-                    	'controller' => 'OrgHeiglMailproxy\Controller\ProxyController',
50
+                        'controller' => 'OrgHeiglMailproxy\Controller\ProxyController',
51 51
                         'action'     => 'index',
52 52
                         'id'         => 'gu.php@ofni',
53 53
                     ),
@@ -62,14 +62,14 @@  discard block
 block discarded – undo
62 62
         ),
63 63
     ),
64 64
     'view_manager' => array(
65
-    	'display_not_found_reason' => true,
66
-    	'display_exceptions'       => true,
67
-    	'doctype'                  => 'HTML5',
68
-    	'not_found_template'       => 'error/404',
69
-    	'exception_template'       => 'error/index',
70
-    	'template_map' => array(),
71
-    	'template_path_stack' => array(
72
-    		__DIR__ . '/../view',
73
-    	),
65
+        'display_not_found_reason' => true,
66
+        'display_exceptions'       => true,
67
+        'doctype'                  => 'HTML5',
68
+        'not_found_template'       => 'error/404',
69
+        'exception_template'       => 'error/index',
70
+        'template_map' => array(),
71
+        'template_path_stack' => array(
72
+            __DIR__ . '/../view',
73
+        ),
74 74
     ),
75 75
 );
Please login to merge, or discard this patch.