Completed
Push — develop ( 31c340...db8caa )
by Mathias
08:35
created
module/Jobs/src/Jobs/Factory/Controller/ManageControllerFactory.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,9 +30,9 @@
 block discarded – undo
30 30
         $serviceLocator = $serviceLocator->getServiceLocator();
31 31
         $auth = $serviceLocator->get('AuthenticationService');
32 32
         /* @var RepositoryService     $repositoryService */
33
-        $repositoryService =    $serviceLocator->get('repositories');
33
+        $repositoryService = $serviceLocator->get('repositories');
34 34
 
35
-        $translator =    $serviceLocator->get('translator');
35
+        $translator = $serviceLocator->get('translator');
36 36
         return new ManageController($auth, $repositoryService, $translator);
37 37
     }
38 38
 }
39 39
\ No newline at end of file
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 - 2016 Cross Solution (http://cross-solution.de)
7
- * @license       MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 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.
module/Auth/src/Acl/Controller/Plugin/Acl.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -155,8 +155,8 @@
 block discarded – undo
155 155
     }
156 156
 
157 157
     /**
158
-     * @param null $resource
159
-     * @param null $privilege
158
+     * @param null|string $resource
159
+     * @param null|string $privilege
160 160
      * @param string $mode
161 161
      * @return $this|bool
162 162
      */
Please login to merge, or discard this patch.
Indentation   +13 added lines, -13 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 - 2016 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 /** Acl.php */
11 11
 namespace Acl\Controller\Plugin;
@@ -138,14 +138,14 @@  discard block
 block discarded – undo
138 138
         if (!$this->test($resource, $privilege)) {
139 139
             $msg = null === $privilege
140 140
                  ? sprintf(
141
-                     'You are not allowed to access resource "%s"',
142
-                     is_object($resource) ? $resource->getResourceId() : $resource
143
-                 )
141
+                        'You are not allowed to access resource "%s"',
142
+                        is_object($resource) ? $resource->getResourceId() : $resource
143
+                    )
144 144
                  : sprintf(
145
-                     'You are not allowed to execute operation "%s" on resource "%s"',
146
-                     $privilege,
147
-                     is_object($resource) ? $resource->getResourceId() : $resource
148
-                 );
145
+                        'You are not allowed to execute operation "%s" on resource "%s"',
146
+                        $privilege,
147
+                        is_object($resource) ? $resource->getResourceId() : $resource
148
+                    );
149 149
             
150 150
             if ($resource instanceof FileInterface && 0 == strpos($resource->type, 'image/')) {
151 151
                 throw new UnauthorizedImageAccessException(str_replace('resource', 'image', $msg));
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Factory/Controller/Plugin/InitializeJobFactory.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/Jobs/src/Jobs/Controller/Plugin/InitializeJob.php 2 patches
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   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -38,10 +38,10 @@  discard block
 block discarded – undo
38 38
      */
39 39
     protected $acl;
40 40
 
41
-    public function __construct(RepositoryService $repositoryService,AuthenticationService $auth, Acl $acl) {
42
-        $this->repositoryService=$repositoryService;
43
-        $this->auth=$auth;
44
-        $this->acl=$acl;
41
+    public function __construct(RepositoryService $repositoryService, AuthenticationService $auth, Acl $acl) {
42
+        $this->repositoryService = $repositoryService;
43
+        $this->auth = $auth;
44
+        $this->acl = $acl;
45 45
     }
46 46
 
47 47
     public function __invoke()
@@ -56,15 +56,15 @@  discard block
 block discarded – undo
56 56
      * @return \Jobs\Entity\Job|object
57 57
      * @throws \Doctrine\ODM\MongoDB\LockException
58 58
      */
59
-    public function get(Params $params,$allowDraft = false)
59
+    public function get(Params $params, $allowDraft = false)
60 60
     {
61 61
         /* @var \Jobs\Repository\Job $jobRepository */
62
-        $jobRepository  = $this->repositoryService->get('Jobs/Job');
62
+        $jobRepository = $this->repositoryService->get('Jobs/Job');
63 63
         $idFromRoute   = $params('id', 0);
64 64
         $idFromQuery   = $params->fromQuery('id', 0);
65 65
         $idFromSubForm = $params->fromPost('job', 0);
66 66
 
67
-        $id = empty($idFromRoute)? (empty($idFromQuery)?$idFromSubForm:$idFromQuery) : $idFromRoute;
67
+        $id = empty($idFromRoute) ? (empty($idFromQuery) ? $idFromSubForm : $idFromQuery) : $idFromRoute;
68 68
 
69 69
         if (empty($id) && $allowDraft) {
70 70
             $this->acl->__invoke('Jobs/Manage', 'new');
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Controller/TemplateController.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
     protected function editTemplateAction()
81 81
     {
82 82
         $id = $this->params('id');
83
-        $formIdentifier=$this->params()->fromQuery('form');
83
+        $formIdentifier = $this->params()->fromQuery('form');
84 84
         $job = $this->jobRepository->find($id);
85 85
 
86 86
         /** @var \Zend\Http\Request $request */
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 [email protected]
8
- * @license   MIT
9
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
+     * @author [email protected]
8
+     * @license   MIT
9
+     */
10 10
 
11 11
 namespace Jobs\Controller;
12 12
 
Please login to merge, or discard this patch.
module/Auth/src/Auth/Controller/Plugin/Auth.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
     }
82 82
 
83 83
     /**
84
-     * @param $property
84
+     * @param string|null $property
85 85
      *
86 86
      * @return null
87 87
      */
Please login to merge, or discard this patch.
module/Core/src/Core/Form/Element/Phone.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,10 +14,10 @@
 block discarded – undo
14 14
     protected $validator;
15 15
 
16 16
     /**
17
-    * Get a validator if none has been set.
18
-    * https://github.com/posabsolute/jQuery-Validation-Engine/issues/265
19
-    * @return RegexValidator
20
-    */
17
+     * Get a validator if none has been set.
18
+     * https://github.com/posabsolute/jQuery-Validation-Engine/issues/265
19
+     * @return RegexValidator
20
+     */
21 21
     public function getValidator()
22 22
     {
23 23
         if (null === $this->validator) {
Please login to merge, or discard this patch.
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.
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.
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 - 2016 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 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/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.