Completed
Branch develop (7585df)
by Carsten
11:01
created
src/Organizations/Factory/Controller/IndexControllerFactory.php 1 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-2014 Cross Solution (http://cross-solution.de)
7
- * @license       MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2014 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.
Organizations/Factory/Controller/Plugin/AcceptInvitationHandlerFactory.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
- *
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\Factory\Controller\Plugin;
@@ -40,8 +40,8 @@  discard block
 block discarded – undo
40 40
 
41 41
         $plugin = new AcceptInvitationHandler();
42 42
         $plugin->setUserRepository($userRepository)
43
-               ->setOrganizationRepository($organizationRepository)
44
-               ->setAuthenticationService($authenticationService);
43
+                ->setOrganizationRepository($organizationRepository)
44
+                ->setAuthenticationService($authenticationService);
45 45
 
46 46
         return $plugin;
47 47
     }
Please login to merge, or discard this patch.
src/Organizations/Factory/Controller/Plugin/InvitationHandlerFactory.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
- * @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\Factory\Controller\Plugin;
@@ -41,10 +41,10 @@  discard block
 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.
src/Organizations/Factory/Controller/TypeAHeadControllerFactory.php 1 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.
Organizations/src/Organizations/Factory/Form/EmployeeFieldsetFactory.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
- *
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\Factory\Form;
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
         $repositories = $services->get('repositories');
45 45
         $users        = $repositories->get('Auth/User'); /* @var $users \Auth\Repository\User */
46 46
 
47
-         /* todo: WRITE own Hydrator strategy class */
47
+            /* todo: WRITE own Hydrator strategy class */
48 48
         $strategy = new ClosureStrategy(
49 49
             function ($object) use ($users) {
50 50
             
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
                 foreach (array(
72 72
                     Perms::JOBS_VIEW, Perms::JOBS_CHANGE, PERMS::JOBS_CREATE,
73 73
                     Perms::APPLICATIONS_VIEW, Perms::APPLICATIONS_CHANGE)
74
- as $perm) {
74
+    as $perm) {
75 75
                     if ($object->isAllowed($perm)) {
76 76
                         $values[] = $perm;
77 77
                     }
Please login to merge, or discard this patch.
module/Organizations/src/Organizations/Form/Element/InviteEmployeeBar.php 1 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\Form\Element;
Please login to merge, or discard this patch.
module/Organizations/src/Organizations/Form/OrganizationsFieldset.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 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
- * @author    Mathias Weitz <[email protected]>
9
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     * @author    Mathias Weitz <[email protected]>
9
+     */
10 10
 
11 11
 namespace Organizations\Form;
12 12
 
Please login to merge, or discard this patch.
module/Organizations/src/Organizations/Mail/EmployeeInvitationFactory.php 1 patch
Indentation   +20 added lines, -20 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
- * @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\Mail;
@@ -81,12 +81,12 @@  discard block
 block discarded – undo
81 81
         $url = $router->assemble(
82 82
             array('action' => 'accept'),
83 83
             array(
84
-                                     'name'  => 'lang/organizations/invite',
85
-                                     'query' => array(
86
-                                         'token'        => $this->options['token'],
87
-                                         'organization' => $org->getId()
88
-                                     )
89
-                                 )
84
+                                        'name'  => 'lang/organizations/invite',
85
+                                        'query' => array(
86
+                                            'token'        => $this->options['token'],
87
+                                            'organization' => $org->getId()
88
+                                        )
89
+                                    )
90 90
         );
91 91
 
92 92
         $variables = array(
@@ -107,14 +107,14 @@  discard block
 block discarded – undo
107 107
 
108 108
         $mail = $serviceLocator->get('htmltemplate');
109 109
         $mail->setTemplate($this->options['template'])
110
-             ->setVariables($variables)
111
-             ->setSubject(
112
-                 sprintf(
113
-                     /* @translate */ 'Invitation to join the team of %s',
114
-                     $orgName
115
-                 )
116
-             )
117
-             ->addTo($user->getEmail());
110
+                ->setVariables($variables)
111
+                ->setSubject(
112
+                    sprintf(
113
+                        /* @translate */ 'Invitation to join the team of %s',
114
+                        $orgName
115
+                    )
116
+                )
117
+                ->addTo($user->getEmail());
118 118
 
119 119
         return $mail;
120 120
     }
Please login to merge, or discard this patch.
src/Organizations/Repository/Event/InjectOrganizationReferenceListener.php 1 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.