Passed
Branch master (41990d)
by Gabor
03:31
created
src/WebHemi/Form/AbstractForm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
             );
53 53
 
54 54
         // For simplicity in rendering (twig macro), we store it in an array.
55
-        $this->nodes[0] =& $this->form;
55
+        $this->nodes[0] = & $this->form;
56 56
         // Set a default salt for the form name. If the AutoComplete attribute is 'off', it will be added to the form's
57 57
         // name attribute. The default salt will change every hour.
58 58
         $this->salt = md5(gmdate('YmdH'));
Please login to merge, or discard this patch.
src/WebHemi/Form/Element/Web/CheckboxElement.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     public function getValue()
45 45
     {
46 46
         if (empty($this->options)) {
47
-            return (int)$this->value;
47
+            return (int) $this->value;
48 48
         }
49 49
 
50 50
         return parent::getValue();
Please login to merge, or discard this patch.
src/WebHemi/Application/SessionManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
             throw new RuntimeException('Cannot start session. Session is already started.', 1000);
83 83
         }
84 84
 
85
-        session_name($this->cookiePrefix.'-'.bin2hex($name . $this->sessionNameSalt));
85
+        session_name($this->cookiePrefix.'-'.bin2hex($name.$this->sessionNameSalt));
86 86
         session_set_cookie_params($timeOut, $path, $domain, $secure, $httpOnly);
87 87
         session_start();
88 88
 
Please login to merge, or discard this patch.
src/WebHemi/Middleware/Action/FakeAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         // Turn off aut complete feature.
46 46
         $this->loginForm->setAutoComplete(false);
47 47
         // test data setter
48
-        $this->loginForm->setData((array)$this->request->getParsedBody());
48
+        $this->loginForm->setData((array) $this->request->getParsedBody());
49 49
 
50 50
         if (!empty($this->request->getParsedBody())) {
51 51
             $this->session->set('session', $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']);
Please login to merge, or discard this patch.
src/WebHemi/Data/Storage/User/UserGroupStorage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
      * @param DataEntityInterface $entity
53 53
      * @param array               $data
54 54
      */
55
-    protected function populateEntity(DataEntityInterface &$entity, array $data)
55
+    protected function populateEntity(DataEntityInterface&$entity, array $data)
56 56
     {
57 57
         /* @var UserEntity $entity */
58 58
         $entity->setUserId($data[$this->idKey])
Please login to merge, or discard this patch.
src/WebHemi/Data/Storage/User/UserMetaStorage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
      * @param DataEntityInterface $entity
53 53
      * @param array               $data
54 54
      */
55
-    protected function populateEntity(DataEntityInterface &$entity, array $data)
55
+    protected function populateEntity(DataEntityInterface&$entity, array $data)
56 56
     {
57 57
         /* @var UserEntity $entity */
58 58
         $entity->setUserId($data[$this->idKey])
Please login to merge, or discard this patch.
src/WebHemi/Data/Storage/User/UserStorage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
      * @param DataEntityInterface $entity
53 53
      * @param array               $data
54 54
      */
55
-    protected function populateEntity(DataEntityInterface &$entity, array $data)
55
+    protected function populateEntity(DataEntityInterface&$entity, array $data)
56 56
     {
57 57
         /* @var UserEntity $entity */
58 58
         $entity->setUserId($data[$this->idKey])
Please login to merge, or discard this patch.
src/WebHemi/Data/Storage/AccessManagement/ResourceStorage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
      * @param DataEntityInterface $entity
53 53
      * @param array               $data
54 54
      */
55
-    protected function populateEntity(DataEntityInterface &$entity, array $data)
55
+    protected function populateEntity(DataEntityInterface&$entity, array $data)
56 56
     {
57 57
         /* @var UserEntity $entity */
58 58
         $entity->setUserId($data[$this->idKey])
Please login to merge, or discard this patch.
src/WebHemi/Data/Storage/AccessManagement/PolicyStorage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
      * @param DataEntityInterface $entity
53 53
      * @param array               $data
54 54
      */
55
-    protected function populateEntity(DataEntityInterface &$entity, array $data)
55
+    protected function populateEntity(DataEntityInterface&$entity, array $data)
56 56
     {
57 57
         /* @var UserEntity $entity */
58 58
         $entity->setUserId($data[$this->idKey])
Please login to merge, or discard this patch.