Completed
Pull Request — develop (#223)
by ANTHONIUS
08:52
created
src/Organizations/Factory/Controller/Plugin/InvitationHandlerFactory.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -41,10 +41,10 @@
 block discarded – undo
41 41
 
42 42
         $plugin = new InvitationHandler();
43 43
         $plugin->setEmailValidator($validator)
44
-               ->setMailerPlugin($mailer)
45
-               ->setTranslator($translator)
46
-               ->setUserRepository($repository)
47
-               ->setUserTokenGenerator($generator);
44
+                ->setMailerPlugin($mailer)
45
+                ->setTranslator($translator)
46
+                ->setUserRepository($repository)
47
+                ->setUserTokenGenerator($generator);
48 48
 
49 49
         return $plugin;
50 50
     }
Please login to merge, or discard this patch.
module/Organizations/src/Organizations/Repository/Organization.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -128,10 +128,10 @@  discard block
 block discarded – undo
128 128
 //           )
129 129
 //        );
130 130
         $qb->addAnd($qb->expr()->field('user')->equals($userId))
131
-           ->addAnd(
132
-               $qb->expr()->addOr($qb->expr()->field('parent')->exists(false))
133
-                               ->addOr($qb->expr()->field('parent')->equals(null))
134
-           );
131
+            ->addAnd(
132
+                $qb->expr()->addOr($qb->expr()->field('parent')->exists(false))
133
+                                ->addOr($qb->expr()->field('parent')->equals(null))
134
+            );
135 135
 
136 136
         $q      = $qb->getQuery();
137 137
         $entity = $q->getSingleResult();
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
         if ($userOrg->hasAssociation()) {
253 253
             $qb->addAnd(
254 254
                 $qb->expr()->addOr($qb->expr()->field('parent')->equals($userOrg->getId()))
255
-                           ->addOr($qb->expr()->field('_id')->equals($userOrg->getId()))
255
+                            ->addOr($qb->expr()->field('_id')->equals($userOrg->getId()))
256 256
             );
257 257
         }
258 258
 
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Entity/Job.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -380,10 +380,10 @@
 block discarded – undo
380 380
         return $this;
381 381
     }
382 382
     
383
-     /**
384
-     * (non-PHPdoc)
385
-     * @see \Jobs\Entity\JobInterface::getOrganization()
386
-     */
383
+        /**
384
+         * (non-PHPdoc)
385
+         * @see \Jobs\Entity\JobInterface::getOrganization()
386
+         */
387 387
     public function getOrganization()
388 388
     {
389 389
         return $this->organization;
Please login to merge, or discard this patch.
Organizations/src/Organizations/Controller/InviteEmployeeController.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -99,8 +99,8 @@  discard block
 block discarded – undo
99 99
         $result       = $this->forward()->dispatch('Auth\Controller\Password', array('action' => 'index'));
100 100
         $model        = new ViewModel(
101 101
             array(
102
-                                          'organization' => $organization->getOrganizationName()->getName()
103
-                                      )
102
+                                            'organization' => $organization->getOrganizationName()->getName()
103
+                                        )
104 104
         );
105 105
 
106 106
         if (!$result->getVariable('valid', false)) {
@@ -141,8 +141,8 @@  discard block
 block discarded – undo
141 141
 
142 142
         return new ViewModel(
143 143
             array(
144
-                                 'organization' => $organization->getOrganizationName()->getName()
145
-                             )
144
+                                    'organization' => $organization->getOrganizationName()->getName()
145
+                                )
146 146
         );
147 147
     }
148 148
 
Please login to merge, or discard this patch.
module/Install/src/Form/Installation.php 1 patch
Indentation   +31 added lines, -31 removed lines patch added patch discarded remove patch
@@ -27,53 +27,53 @@  discard block
 block discarded – undo
27 27
         $this->setName('installation');
28 28
         $this->setAttributes(
29 29
             array(
30
-                                 'method' => 'post',
31
-                                 'action' => '?p=install'
32
-                             )
30
+                                    'method' => 'post',
31
+                                    'action' => '?p=install'
32
+                                )
33 33
         );
34 34
 
35 35
         $this->add(
36 36
             array(
37
-                       'type'       => 'Text',
38
-                       'name'       => 'db_conn',
39
-                       'options'    => array(
40
-                           'label' => /* @translate */ 'Database connection string',
41
-                       ),
42
-                       'attributes' => array(
43
-                           'placeholder' => 'mongodb://localhost:27017/YAWIK',
44
-                       ),
37
+                        'type'       => 'Text',
38
+                        'name'       => 'db_conn',
39
+                        'options'    => array(
40
+                            'label' => /* @translate */ 'Database connection string',
41
+                        ),
42
+                        'attributes' => array(
43
+                            'placeholder' => 'mongodb://localhost:27017/YAWIK',
44
+                        ),
45 45
 
46
-                   )
46
+                    )
47 47
         );
48 48
 
49 49
         $this->add(
50 50
             array(
51
-                       'type'    => 'Text',
52
-                       'name'    => 'username',
53
-                       'options' => array(
54
-                           'label' => /* @translate */ 'Initial user name',
55
-                       ),
56
-                   )
51
+                        'type'    => 'Text',
52
+                        'name'    => 'username',
53
+                        'options' => array(
54
+                            'label' => /* @translate */ 'Initial user name',
55
+                        ),
56
+                    )
57 57
         );
58 58
 
59 59
         $this->add(
60 60
             array(
61
-                       'type'    => 'Password',
62
-                       'name'    => 'password',
63
-                       'options' => array(
64
-                           'label' => /* @translate */ 'Password',
65
-                       ),
66
-                   )
61
+                        'type'    => 'Password',
62
+                        'name'    => 'password',
63
+                        'options' => array(
64
+                            'label' => /* @translate */ 'Password',
65
+                        ),
66
+                    )
67 67
         );
68 68
 
69 69
         $this->add(
70 70
             array(
71
-                       'type' => 'Text',
72
-                       'name' => 'email',
73
-                       'options' => array(
74
-                           'label' => /* @translate */ 'Email address for system messages',
75
-                       ),
76
-                   )
71
+                        'type' => 'Text',
72
+                        'name' => 'email',
73
+                        'options' => array(
74
+                            'label' => /* @translate */ 'Email address for system messages',
75
+                        ),
76
+                    )
77 77
         );
78 78
     }
79 79
 
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
                 ),
89 89
                 'validators'        => array(
90 90
                     array('name' => 'Install/ConnectionString',
91
-                          'break_chain_on_failure' => true),
91
+                            'break_chain_on_failure' => true),
92 92
                     array('name' => 'Install/Connection'),
93 93
                 ),
94 94
             ),
Please login to merge, or discard this patch.
module/Settings/config/module.config.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
                 'odm_default' => array(
27 27
                 'subscribers' => array(
28 28
                     'Settings/InjectEntityResolverListener',
29
-                 ),
29
+                    ),
30 30
                 ),
31 31
                 ),
32 32
         ),
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Form/Multipost.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -60,9 +60,9 @@
 block discarded – undo
60 60
     protected function addButtonsFieldset()
61 61
     {
62 62
         $this->add(
63
-             array(
64
-                 'type' => 'Jobs/MultipostButtonFieldset'
65
-             )
63
+                array(
64
+                    'type' => 'Jobs/MultipostButtonFieldset'
65
+                )
66 66
         );
67 67
     }
68 68
 }
Please login to merge, or discard this patch.
module/Core/src/Core/Entity/Hydrator/Strategy/FileUploadStrategy.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,8 +61,8 @@
 block discarded – undo
61 61
         $file = $this->getFileEntity();
62 62
         
63 63
         $file->setName($value['name'])
64
-             ->setType($value['type'])
65
-             ->setFile($value['tmp_name']);
64
+                ->setType($value['type'])
65
+                ->setFile($value['tmp_name']);
66 66
         
67 67
         return $file;
68 68
     }
Please login to merge, or discard this patch.
module/Organizations/Module.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     public function getConfig()
27 27
     {
28
-         return ModuleConfigLoader::load(__DIR__ . '/config');
28
+            return ModuleConfigLoader::load(__DIR__ . '/config');
29 29
     }
30 30
     
31 31
     /**
Please login to merge, or discard this patch.