Completed
Push — develop ( 60c2a6...7c4b2f )
by Carsten
61:42 queued 47:32
created
module/Auth/src/Auth/Form/GroupUsersCollection.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
 /** UsersCollection.php */
11 11
 namespace Auth\Form;
@@ -98,9 +98,9 @@  discard block
 block discarded – undo
98 98
         );
99 99
         
100 100
         $this->setCount(0)
101
-             ->setAllowRemove(true)
102
-             ->setAllowAdd(true)
103
-             ->setShouldCreateTemplate(true);
101
+                ->setAllowRemove(true)
102
+                ->setAllowAdd(true)
103
+                ->setShouldCreateTemplate(true);
104 104
         
105 105
         
106 106
     }
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/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 1 patch
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.
module/Core/config/doctrine.config.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Configuration for the DoctrineMongoODMModule
4
- *
5
- * Will be merged in the 'doctrine' Key from module.config.php
6
- */
3
+     * Configuration for the DoctrineMongoODMModule
4
+     *
5
+     * Will be merged in the 'doctrine' Key from module.config.php
6
+     */
7 7
  
8 8
 return array(
9 9
 
@@ -26,11 +26,11 @@  discard block
 block discarded – undo
26 26
 //                'driver'             => 'odm_default',
27 27
 //
28 28
 //                'generate_proxies'   => true,
29
-                  'proxy_dir'          => 'cache/DoctrineMongoODMModule/Proxy',
29
+                    'proxy_dir'          => 'cache/DoctrineMongoODMModule/Proxy',
30 30
 //                'proxy_namespace'    => 'DoctrineMongoODMModule\Proxy',
31 31
 //
32 32
 //                'generate_hydrators' => true,
33
-                  'hydrator_dir'       => 'cache/DoctrineMongoODMModule/Hydrator',
33
+                    'hydrator_dir'       => 'cache/DoctrineMongoODMModule/Hydrator',
34 34
 //                'hydrator_namespace' => 'DoctrineMongoODMModule\Hydrator',
35 35
 //
36 36
 //                'default_db'         => '',
Please login to merge, or discard this patch.
module/Core/config/module.config.php 1 patch
Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- * Configuration file of the Core module
5
- *
6
- * This file intents to provide the configuration for all other modules
7
- * as well (convention over configuration).
8
- * Having said that, you may always overwrite or extend the configuration
9
- * in your own modules configuration file(s) (or via the config autoloading).
10
- *
11
- * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
12
- * @license   MIT
13
- */
3
+         * YAWIK
4
+         * Configuration file of the Core module
5
+         *
6
+         * This file intents to provide the configuration for all other modules
7
+         * as well (convention over configuration).
8
+         * Having said that, you may always overwrite or extend the configuration
9
+         * in your own modules configuration file(s) (or via the config autoloading).
10
+         *
11
+         * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
12
+         * @license   MIT
13
+         */
14 14
 
15 15
 $doctrineConfig = include __DIR__ . '/doctrine.config.php';
16 16
 
@@ -32,24 +32,24 @@  discard block
 block discarded – undo
32 32
     'log' => array(
33 33
         'Core/Log' => array(
34 34
             'writers' => array(
35
-                 array(
36
-                     'name' => 'stream',
35
+                    array(
36
+                        'name' => 'stream',
37 37
                     'priority' => 1000,
38 38
                     'options' => array(
39
-                         'stream' => __DIR__ .'/../../../log/yawik.log',
39
+                            'stream' => __DIR__ .'/../../../log/yawik.log',
40
+                    ),
40 41
                     ),
41
-                 ),
42 42
             ),
43 43
         ),
44 44
         'Log/Core/Mail' => array(
45 45
             'writers' => array(
46
-                 array(
47
-                     'name' => 'stream',
46
+                    array(
47
+                        'name' => 'stream',
48 48
                     'priority' => 1000,
49 49
                     'options' => array(
50
-                         'stream' => __DIR__ .'/../../../log/mails.log',
50
+                            'stream' => __DIR__ .'/../../../log/mails.log',
51
+                    ),
51 52
                     ),
52
-                 ),
53 53
             ),
54 54
         ),
55 55
         'ErrorLogger' => array(
@@ -197,11 +197,11 @@  discard block
 block discarded – undo
197 197
     // Defines the Core/Navigation.
198 198
     'navigation' => array(
199 199
         'default' => array(
200
-             'home' => array(
201
-                 'label' => /*@translate*/ 'Home',
202
-                 'route' => 'lang',
203
-                 'visible' => false
204
-             ),
200
+                'home' => array(
201
+                    'label' => /*@translate*/ 'Home',
202
+                    'route' => 'lang',
203
+                    'visible' => false
204
+                ),
205 205
         ),
206 206
     ),
207 207
     // Configuration of the controller service manager (Which loads controllers)
Please login to merge, or discard this patch.
module/Core/src/Core/Controller/FileController.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
 /** FileController.php */
11 11
 namespace Core\Controller;
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
         $this->acl($file);
76 76
         
77 77
         $response->getHeaders()->addHeaderline('Content-Type', $file->type)
78
-                               ->addHeaderline('Content-Length', $file->length);
78
+                                ->addHeaderline('Content-Length', $file->length);
79 79
         $response->sendHeaders();
80 80
         
81 81
         $resource = $file->getResource();
Please login to merge, or discard this patch.