Completed
Push — develop ( 60c2a6...7c4b2f )
by Carsten
61:42 queued 47:32
created
module/Auth/src/Auth/Factory/Form/UserInfoFieldsetFactory.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     public function createService(ServiceLocatorInterface $serviceLocator)
22 22
     {
23
-        $services= $serviceLocator->getServiceLocator();
23
+        $services = $serviceLocator->getServiceLocator();
24 24
         $user = $services->get('AuthenticationService')->getUser();
25 25
         $fieldset     = new UserInfoFieldset();
26 26
         $imageEntity  = new UserImage();
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
- * @license       MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
+     * @license       MIT
8
+     */
9 9
 
10 10
 namespace Organizations\Factory\Controller;
11 11
 
Please login to merge, or discard this patch.
module/Auth/src/Auth/Form/GroupFieldset.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 /** GroupFieldset.php */
11 11
 namespace Auth\Form;
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
     public function init()
29 29
     {
30 30
         $this->setName('data')
31
-             ->setLabel('Group data')
32
-             ->setUseAsBaseFieldset(true)
33
-             ->setHydrator(new EntityHydrator());
31
+                ->setLabel('Group data')
32
+                ->setUseAsBaseFieldset(true)
33
+                ->setHydrator(new EntityHydrator());
34 34
         
35 35
         $this->add(
36 36
             array(
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
                 'required' => true,
71 71
                 'validators' => array(
72 72
                     array('name'    => 'Auth/Form/UniqueGroupName',
73
-                          'options' => array(
73
+                            'options' => array(
74 74
                             'allowName' => 'edit' == $this->getOption('mode')
75 75
                                           ? $this->getObject()->getName()
76 76
                                           : null
Please login to merge, or discard this patch.
module/Auth/src/Auth/Form/UserBaseFieldset.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@
 block discarded – undo
20 20
     public function init()
21 21
     {
22 22
         $this->setName('base');
23
-             //->setLabel( /* @translate */ 'General');
24
-             //->setHydrator(new \Core\Model\Hydrator\ModelHydrator());
23
+                //->setLabel( /* @translate */ 'General');
24
+                //->setHydrator(new \Core\Model\Hydrator\ModelHydrator());
25 25
 
26 26
         
27 27
         $this->add(
Please login to merge, or discard this patch.
module/Auth/src/Auth/Form/UserImageFactory.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 /**  */
11 11
 namespace Auth\Form;
@@ -58,9 +58,9 @@  discard block
 block discarded – undo
58 58
         /** @var ModuleOptions $options */
59 59
 
60 60
         $form->get($this->fileName)->setViewHelper('FormImageUpload')
61
-                                   ->setMaxSize($options->getContactImageMaxSize())
62
-                                   ->setAllowedTypes($options->getContactImageMimeType())
63
-                                   ->setForm($form);
61
+                                    ->setMaxSize($options->getContactImageMaxSize())
62
+                                    ->setAllowedTypes($options->getContactImageMimeType())
63
+                                    ->setForm($form);
64 64
                                    
65 65
     }
66 66
 }
Please login to merge, or discard this patch.
module/Auth/src/Auth/Form/UserInfoFieldset.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
         $this->add(
63 63
             array(
64 64
             'name' => 'email',
65
-            'options' => array( 'label' => /* @translate */ 'Email' ),
65
+            'options' => array('label' => /* @translate */ 'Email'),
66 66
             )
67 67
         );
68 68
                
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
- * @license       MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
+     * @license       MIT
8
+     */
9 9
 
10 10
 namespace Organizations\Factory\Controller;
11 11
 
Please login to merge, or discard this patch.
module/Auth/src/Auth/Listener/SocialProfilesUnconfiguredErrorListener.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 {
28 28
     public function attach(EventManagerInterface $events)
29 29
     {
30
-        $this->listeners[] = $events->attach(MvcEvent::EVENT_DISPATCH_ERROR, [ $this, 'onDispatchError']);
30
+        $this->listeners[] = $events->attach(MvcEvent::EVENT_DISPATCH_ERROR, [$this, 'onDispatchError']);
31 31
 
32 32
         return $this;
33 33
     }
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @license MIT
7
- * @copyright  2013 - 2015 Cross Solution <http://cross-solution.de>
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @license MIT
7
+     * @copyright  2013 - 2015 Cross Solution <http://cross-solution.de>
8
+     */
9 9
   
10 10
 /** */
11 11
 namespace Organizations\Repository\Event;
Please login to merge, or discard this patch.
module/Auth/src/Auth/Listener/UnauthorizedAccessListener.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -57,9 +57,9 @@  discard block
 block discarded – undo
57 57
         if ($exception instanceof UnauthorizedImageAccessException) {
58 58
             $image = __DIR__ . '/../../../../../public/images/unauthorized-access.png';
59 59
             $response->setStatusCode(403)
60
-                     ->setContent(file_get_contents($image))
61
-                     ->getHeaders()
62
-                     ->addHeaderLine('Content-Type', 'image/png');
60
+                        ->setContent(file_get_contents($image))
61
+                        ->getHeaders()
62
+                        ->addHeaderLine('Content-Type', 'image/png');
63 63
             $e->stopPropagation();
64 64
             $response->sendHeaders();
65 65
             //echo file_get_contents($image);
@@ -99,10 +99,10 @@  discard block
 block discarded – undo
99 99
         $model->setTemplate($this->getExceptionTemplate());
100 100
         $e->setResult($model);
101 101
 
102
-       // $statusCode = $response->getStatusCode();
103
-       // if ($statusCode === 200) {
102
+        // $statusCode = $response->getStatusCode();
103
+        // if ($statusCode === 200) {
104 104
             $response->setStatusCode(403);
105
-       // }
105
+        // }
106 106
     
107 107
 
108 108
     }
Please login to merge, or discard this patch.
module/Auth/src/Auth/View/Helper/LoginInfo.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 /** Auth view helper */
11 11
 namespace Auth\View\Helper;
@@ -24,6 +24,6 @@  discard block
 block discarded – undo
24 24
      */
25 25
     public function __invoke($values = array())
26 26
     {
27
-         return $this->getView()->render('auth/index/login-info', $values);
27
+            return $this->getView()->render('auth/index/login-info', $values);
28 28
     }
29 29
 }
Please login to merge, or discard this patch.
module/Core/Module.php 2 patches
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- * Core Module Bootstrap
5
- *
6
- * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     * Core Module Bootstrap
5
+     *
6
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 /** Core */
11 11
 namespace Core;
@@ -72,8 +72,8 @@  discard block
 block discarded – undo
72 72
         $eventManager        = $e->getApplication()->getEventManager();
73 73
         $sharedManager       = $eventManager->getSharedManager();
74 74
         
75
- #       $LogListener = new LogListener();
76
- #       $LogListener->attach($eventManager);
75
+    #       $LogListener = new LogListener();
76
+    #       $LogListener->attach($eventManager);
77 77
         
78 78
         if (!\Zend\Console\Console::isConsole()) {
79 79
             $redirectCallback = function () use ($e) {
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -76,10 +76,10 @@  discard block
 block discarded – undo
76 76
  #       $LogListener->attach($eventManager);
77 77
         
78 78
         if (!\Zend\Console\Console::isConsole()) {
79
-            $redirectCallback = function () use ($e) {
79
+            $redirectCallback = function() use ($e) {
80 80
                 $routeMatch = $e->getRouteMatch();
81 81
                 $lang = $routeMatch ? $routeMatch->getParam('lang', 'en') : 'en';
82
-                $uri    = $e->getRouter()->getBaseUrl() . '/' . $lang . '/error';
82
+                $uri = $e->getRouter()->getBaseUrl() . '/' . $lang . '/error';
83 83
                 
84 84
                 header('Location: ' . $uri);
85 85
             };
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
         
117 117
         $eventManager->attach(
118 118
             MvcEvent::EVENT_DISPATCH_ERROR,
119
-            function ($event) {
119
+            function($event) {
120 120
                 $application = $event->getApplication();
121 121
                 if ($application::ERROR_EXCEPTION == $event->getError()) {
122 122
                     $ex = $event->getParam('exception');
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
         );
131 131
         $eventManager->attach(
132 132
             MvcEvent::EVENT_DISPATCH,
133
-            function ($event) use ($eventManager) {
133
+            function($event) use ($eventManager) {
134 134
                 $eventManager->trigger('postDispatch', $event);
135 135
             },
136 136
             -150
Please login to merge, or discard this patch.