Completed
Push — develop ( d65f66...535cf4 )
by
unknown
28:52 queued 13:57
created
module/Auth/src/Auth/Factory/Listener/MailForgotPasswordFactory.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      * Creates an instance of MailForgotPassword
23 23
      *
24 24
      * @param ServiceLocatorInterface $serviceLocator
25
-     * @return \Auth\View\Helper\Auth
25
+     * @return MailForgotPassword
26 26
      * @see \Zend\ServiceManager\FactoryInterface::createService()
27 27
      */
28 28
     public function createService(ServiceLocatorInterface $serviceLocator)
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         $options = $serviceLocator->get('Auth\Options');
31 31
         $coreOptions = $serviceLocator->get('Core\Options');
32 32
         $mailService = $serviceLocator->get('Core\MailService');
33
-        $listener = new MailForgotPassword($options,$mailService, $coreOptions);
33
+        $listener = new MailForgotPassword($options, $mailService, $coreOptions);
34 34
         return $listener;
35 35
     }
36 36
 }
Please login to merge, or discard this patch.
src/Organizations/Controller/Plugin/GetOrganizationHandler.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
      * @param Params $params
56 56
      * @param bool   $allowDraft
57 57
      *
58
-     * @return object|\Organizations\Entity\Organization
58
+     * @return \Organizations\Entity\OrganizationInterface
59 59
      * @throws UnauthorizedAccessException
60 60
      * @throws \Doctrine\ODM\MongoDB\LockException
61 61
      */
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-2016 Cross Solution (http://cross-solution.de)
7
- * @author cbleek
8
- * @license   MIT
9
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2016 Cross Solution (http://cross-solution.de)
7
+     * @author cbleek
8
+     * @license   MIT
9
+     */
10 10
 
11 11
 namespace Core\Form\View\Helper;
12 12
 
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -40,10 +40,10 @@  discard block
 block discarded – undo
40 40
      */
41 41
     protected $acl;
42 42
 
43
-    public function __construct(RepositoryService $repositoryService,AuthenticationService $auth, Acl $acl) {
44
-        $this->repositoryService=$repositoryService;
45
-        $this->auth=$auth;
46
-        $this->acl=$acl;
43
+    public function __construct(RepositoryService $repositoryService, AuthenticationService $auth, Acl $acl) {
44
+        $this->repositoryService = $repositoryService;
45
+        $this->auth = $auth;
46
+        $this->acl = $acl;
47 47
     }
48 48
 
49 49
     public function __invoke()
@@ -59,9 +59,9 @@  discard block
 block discarded – undo
59 59
      * @throws UnauthorizedAccessException
60 60
      * @throws \Doctrine\ODM\MongoDB\LockException
61 61
      */
62
-    public function process(Params $params,$allowDraft = true)
62
+    public function process(Params $params, $allowDraft = true)
63 63
     {
64
-        $repositories   = $this->repositoryService;
64
+        $repositories = $this->repositoryService;
65 65
         $organizationRepository = $this->repositoryService->get('Organizations/Organization');
66 66
 
67 67
         $idFromRoute = $params('id', 0);
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
         $user = $this->auth->getUser(); /* @var $user \Auth\Entity\UserInterface */
70 70
 
71 71
         /* @var $organizationId string */
72
-        $organizationId = empty($idFromRoute)?$idFromSubForm:$idFromRoute;
72
+        $organizationId = empty($idFromRoute) ? $idFromSubForm : $idFromRoute;
73 73
 
74 74
         $editOwnOrganization = '__my__' === $organizationId;
75 75
 
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
             return $organization;
105 105
         }
106 106
 
107
-        $organization      = $organizationRepository->find($organizationId);
107
+        $organization = $organizationRepository->find($organizationId);
108 108
         if (!$organization) {
109 109
             throw new \RuntimeException('No Organization found with id "' . $organizationId . '"');
110 110
         }
Please login to merge, or discard this patch.
Organizations/Factory/Controller/Plugin/GetOrganizationHandlerFactory.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-2016 Cross Solution (http://cross-solution.de)
7
- * @author cbleek
8
- * @license   MIT
9
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2016 Cross Solution (http://cross-solution.de)
7
+     * @author cbleek
8
+     * @license   MIT
9
+     */
10 10
 
11 11
 namespace Core\Form\View\Helper;
12 12
 
Please login to merge, or discard this patch.
module/Organizations/src/Organizations/Controller/IndexController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -127,12 +127,12 @@
 block discarded – undo
127 127
         try {
128 128
             /* @var $handler \Organizations\Controller\Plugin\GetOrganizationHandler */
129 129
             $handler = $this->plugin('Organizations/GetOrganizationHandler');
130
-            $org  = $handler->process($this->params(), true);
130
+            $org = $handler->process($this->params(), true);
131 131
         } catch (\RuntimeException $e) {
132 132
             return $this->getErrorViewModel('no-parent');
133 133
         }
134 134
 
135
-        $container       = $this->getFormular($org);
135
+        $container = $this->getFormular($org);
136 136
 
137 137
         if (isset($formIdentifier) && $request->isPost()) {
138 138
             /* @var $form \Zend\Form\FormInterface */
Please login to merge, or discard this patch.
module/Auth/src/Auth/Listener/MailForgotPassword.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -37,9 +37,9 @@  discard block
 block discarded – undo
37 37
      */
38 38
     protected $mailService;
39 39
 
40
-    public function __construct($options, $mailService, $coreOptions){
41
-        $this->options=$options;
42
-        $this->mailService=$mailService;
40
+    public function __construct($options, $mailService, $coreOptions) {
41
+        $this->options = $options;
42
+        $this->mailService = $mailService;
43 43
         $this->coreOptions = $coreOptions;
44 44
     }
45 45
 
@@ -50,15 +50,15 @@  discard block
 block discarded – undo
50 50
      */
51 51
     public function __invoke(AuthEvent $e)
52 52
     {
53
-        $siteName=$this->coreOptions->getSiteName();
53
+        $siteName = $this->coreOptions->getSiteName();
54 54
 
55 55
         $user                    = $e->getUser();
56 56
         $userEmail               = $user->info->email;
57 57
         $userName                = $user->info->displayName;
58 58
         $resetLink               = $e->getResetLink();
59 59
 
60
-        $fromEmail               =  $this->options->getFromEmail();
61
-        $fromName                =  $this->options->getFromName();
60
+        $fromEmail               = $this->options->getFromEmail();
61
+        $fromName                = $this->options->getFromName();
62 62
 
63 63
         $mail                    = $this->mailService->get('htmltemplate');
64 64
         $mail->user              = $user;
Please login to merge, or discard this patch.