Completed
Push — develop ( 60c2a6...7c4b2f )
by Carsten
61:42 queued 47:32
created
module/Organizations/src/Organizations/Entity/Organization.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
6
- * @license   MIT
7
- */
3
+     * YAWIK
4
+     *
5
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
6
+     * @license   MIT
7
+     */
8 8
 
9 9
 namespace Organizations\Entity;
10 10
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -499,7 +499,7 @@
 block discarded – undo
499 499
      */
500 500
     public function getTemplate()
501 501
     {
502
-        if (null === $this->template){
502
+        if (null === $this->template) {
503 503
             $this->template = new Template();
504 504
         }
505 505
         return $this->template;
Please login to merge, or discard this patch.
module/Organizations/src/Organizations/Entity/OrganizationInterface.php 1 patch
Indentation   +19 added lines, -19 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
- * Organization configuration
5
- *
6
- * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
- * @license   GPLv3
8
- */
3
+     * YAWIK
4
+     * Organization configuration
5
+     *
6
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
+     * @license   GPLv3
8
+     */
9 9
 
10 10
 namespace Organizations\Entity;
11 11
 
@@ -92,23 +92,23 @@  discard block
 block discarded – undo
92 92
     public function getHiringOrganizations();
93 93
 
94 94
     /**
95
-    * Sets the name of the organization
96
-    *
97
-    * @param OrganizationName organizationName
98
-    * @return OrganizationInterface
99
-    */
95
+     * Sets the name of the organization
96
+     *
97
+     * @param OrganizationName organizationName
98
+     * @return OrganizationInterface
99
+     */
100 100
     public function setOrganizationName(OrganizationName $organizationNames);
101 101
 
102
-   /**
103
-    * Gets the name of the organization
104
-    *
105
-    * @return OrganizationName
106
-    */
102
+    /**
103
+     * Gets the name of the organization
104
+     *
105
+     * @return OrganizationName
106
+     */
107 107
     public function getOrganizationName();
108 108
    
109
-      /**
110
-     * @return string
111
-     */
109
+        /**
110
+         * @return string
111
+         */
112 112
     public function getDescription();
113 113
 
114 114
     /**
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 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
- *
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.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -46,14 +46,14 @@  discard block
 block discarded – undo
46 46
 
47 47
          /* todo: WRITE own Hydrator strategy class */
48 48
         $strategy = new ClosureStrategy(
49
-            function ($object) use ($users) {
49
+            function($object) use ($users) {
50 50
             
51 51
                 if (is_string($object)) {
52 52
                     return $users->find($object);
53 53
                 }
54 54
                 return $object;
55 55
             },
56
-            function ($data) use ($users) {
56
+            function($data) use ($users) {
57 57
             
58 58
                 if (is_string($data)) {
59 59
                     $data = $users->find($data);
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
         /* todo: write own strategy class */
66 66
         $permStrategy = new ClosureStrategy(
67 67
             // extract
68
-            function ($object) {
68
+            function($object) {
69 69
                 /* @var $object \Organizations\Entity\EmployeePermissionsInterface */
70 70
                 $values = array();
71 71
                 foreach (array(
@@ -80,10 +80,10 @@  discard block
 block discarded – undo
80 80
 
81 81
                 return $values;
82 82
             },
83
-            function ($data) {
83
+            function($data) {
84 84
                 $permissions = array_reduce(
85 85
                     $data,
86
-                    function ($c, $i) {
86
+                    function($c, $i) {
87 87
                         return $c | $i;
88 88
                     },
89 89
                     0
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/LogoImageFactory.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      *
24 24
      * @var string
25 25
      */
26
-    protected $options="Jobs/Options";
26
+    protected $options = "Jobs/Options";
27 27
 
28 28
     protected function configureForm($form, AbstractOptions $options)
29 29
     {
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
 /** SettingsEntityResolverFactory.php */
11 11
 namespace Settings\Repository;
Please login to merge, or discard this patch.
Organizations/src/Organizations/Form/OrganizationsContactFieldset.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     public function getHydrator()
25 25
     {
26 26
         if (!$this->hydrator) {
27
-            $hydrator           = new EntityHydrator();
27
+            $hydrator = new EntityHydrator();
28 28
             $this->setHydrator($hydrator);
29 29
         }
30 30
         return $this->hydrator;
Please login to merge, or discard this 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.