Completed
Pull Request — develop (#329)
by Carsten
07:08
created
module/Auth/src/Auth/Entity/User.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 block discarded – undo
177 177
     /** {@inheritdoc} */
178 178
     public function setLogin($login)
179 179
     {
180
-        $this->login = trim((String)$login);
180
+        $this->login = trim((String) $login);
181 181
         return $this;
182 182
     }
183 183
 
Please login to merge, or discard this patch.
module/Auth/src/Auth/Factory/Form/Element/UserSearchbarFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         /* @var $serviceLocator \Zend\ServiceManager\AbstractPluginManager
35 35
          * @var $headscript     \Zend\View\Helper\HeadScript */
36 36
         $services   = $serviceLocator->getServiceLocator();
37
-        $viewHelpers= $services->get('ViewHelperManager');
37
+        $viewHelpers = $services->get('ViewHelperManager');
38 38
         $headscript = $viewHelpers->get('headscript');
39 39
         $basepath   = $viewHelpers->get('basepath');
40 40
 
Please login to merge, or discard this patch.
module/Auth/src/Auth/Factory/Form/UserInfoFieldsetFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     public function createService(ServiceLocatorInterface $serviceLocator)
22 22
     {
23
-        $services= $serviceLocator->getServiceLocator();
23
+        $services = $serviceLocator->getServiceLocator();
24 24
         $user = $services->get('AuthenticationService')->getUser();
25 25
         $fieldset     = new UserInfoFieldset();
26 26
         $imageEntity  = new UserImage();
Please login to merge, or discard this patch.
module/Auth/src/Auth/Form/UserBaseFieldset.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@
 block discarded – undo
20 20
     public function init()
21 21
     {
22 22
         $this->setName('base');
23
-             //->setLabel( /* @translate */ 'General');
24
-             //->setHydrator(new \Core\Model\Hydrator\ModelHydrator());
23
+                //->setLabel( /* @translate */ 'General');
24
+                //->setHydrator(new \Core\Model\Hydrator\ModelHydrator());
25 25
 
26 26
         
27 27
         $this->add(
Please login to merge, or discard this patch.
module/Auth/src/Auth/Listener/Events/AuthEvent.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     /**
23 23
      * a new password was created
24 24
      */
25
-    const EVENT_AUTH_NEWPASSWORD   = 'auth.newpassword';
25
+    const EVENT_AUTH_NEWPASSWORD = 'auth.newpassword';
26 26
 
27 27
     protected $userEntity;
28 28
 
Please login to merge, or discard this patch.
Doc Comments   +7 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,8 +35,7 @@  discard block
 block discarded – undo
35 35
     /**
36 36
      * Sets the job entity
37 37
      *
38
-     * @param  Job $jobEntity
39
-     * @return MvcEvent
38
+     * @return AuthEvent
40 39
      */
41 40
     public function setUserEntity($userEntity)
42 41
     {
@@ -65,6 +64,9 @@  discard block
 block discarded – undo
65 64
         return $this->newPassword;
66 65
     }
67 66
 
67
+    /**
68
+     * @param string $resetLink
69
+     */
68 70
     public function setResetLink($resetLink)
69 71
     {
70 72
         $this->resetLink = $resetLink;
@@ -76,6 +78,9 @@  discard block
 block discarded – undo
76 78
         return $this->resetLink;
77 79
     }
78 80
 
81
+    /**
82
+     * @param \Auth\Entity\UserInterface $user
83
+     */
79 84
     public function setUser($user)
80 85
     {
81 86
         $this->user = $user;
Please login to merge, or discard this patch.
module/Auth/src/Auth/Listener/SocialProfilesUnconfiguredErrorListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 {
28 28
     public function attach(EventManagerInterface $events)
29 29
     {
30
-        $this->listeners[] = $events->attach(MvcEvent::EVENT_DISPATCH_ERROR, [ $this, 'onDispatchError']);
30
+        $this->listeners[] = $events->attach(MvcEvent::EVENT_DISPATCH_ERROR, [$this, 'onDispatchError']);
31 31
 
32 32
         return $this;
33 33
     }
Please login to merge, or discard this patch.
module/Core/src/Core/Controller/Plugin/Notification.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     const NAMESPACE_INFO = 'info';
22 22
     const NAMESPACE_WARNING = 'warning';
23 23
     const NAMESPACE_DANGER  = 'danger';
24
-    const NAMESPACE_SUCCESS  = 'success';
24
+    const NAMESPACE_SUCCESS = 'success';
25 25
 
26 26
     protected $namespace2priority = array(
27 27
         self::NAMESPACE_INFO => NotificationEntity::INFO,
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      */
60 60
     public function setListener($listener)
61 61
     {
62
-        $listener->getSharedManager()->attach('*', NotificationEvent::EVENT_NOTIFICATION_HTML, array($this,'createOutput'), 1);
62
+        $listener->getSharedManager()->attach('*', NotificationEvent::EVENT_NOTIFICATION_HTML, array($this, 'createOutput'), 1);
63 63
         $this->notificationListener = $listener;
64 64
     }
65 65
     
Please login to merge, or discard this patch.
module/Core/src/Core/Controller/Plugin/PaginationParams.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
     public function getList($namespace, $callback)
136 136
     {
137 137
         $session = new Container($namespace);
138
-        $params  = $session->params?:array();
138
+        $params  = $session->params ?: array();
139 139
         if (!$session->list) {
140 140
             $session->list = is_array($callback)
141 141
             ? call_user_func($callback, $session->params)
Please login to merge, or discard this patch.
module/Core/src/Core/Entity/Hydrator/JsonEntityHydrator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      * @param object $object
47 47
      * @return object
48 48
      */
49
-    public function hydrate (array $data, $object)
49
+    public function hydrate(array $data, $object)
50 50
     {
51 51
 
52 52
         return $object;
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      * @return array|string
58 58
      * @throws \InvalidArgumentException
59 59
      */
60
-    public function extract ($object)
60
+    public function extract($object)
61 61
     {
62 62
         if (!$object instanceof EntityInterface) {
63 63
             throw new \InvalidArgumentException("Extract only from Entities");
Please login to merge, or discard this patch.