Passed
Pull Request — master (#580)
by ANTHONIUS
10:05
created
test/OrganizationsTest/Entity/Provider/OrganizationEntityProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
         extract($params);
48 48
 
49 49
         if (!empty($createOrganizationName)) {
50
-            $organizationName = OrganizationNameEntityProvider::createEntityWithRandomData((array)$createOrganizationName);
50
+            $organizationName = OrganizationNameEntityProvider::createEntityWithRandomData((array) $createOrganizationName);
51 51
         }
52 52
 
53 53
         return array_merge($params, compact('organizationName'));
Please login to merge, or discard this patch.
module/Organizations/test/OrganizationsTest/Entity/TemplateTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -84,9 +84,9 @@
 block discarded – undo
84 84
             array('setLabelRequirements', 'getLabelRequirements', 'test1'),
85 85
             array('setLabelBenefits', 'getLabelBenefits', 'test2'),
86 86
             array('setLabelQualifications', 'getLabelQualifications', 'test2'),
87
-            array(null , 'getLabelRequirements', 'Requirements'),
88
-            array(null , 'getLabelBenefits', 'Benefits'),
89
-            array(null , 'getLabelQualifications', 'Qualifications'),
87
+            array(null, 'getLabelRequirements', 'Requirements'),
88
+            array(null, 'getLabelBenefits', 'Benefits'),
89
+            array(null, 'getLabelQualifications', 'Qualifications'),
90 90
 
91 91
         );
92 92
     }
Please login to merge, or discard this patch.
module/Auth/src/Auth/Form/UserInfoFieldset.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
                 'attributes' => [
122 122
                     'data-placeholder' => /*@translate*/ 'please select',
123 123
                     'data-allowclear' => 'false',
124
-                    'data-searchbox' => -1,  // hide the search box
124
+                    'data-searchbox' => -1, // hide the search box
125 125
                     'required' => true, // mark label as required
126 126
                 ],
127 127
             )
Please login to merge, or discard this patch.
module/Auth/src/Auth/Form/Register.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
 
65 65
         $this->add($fieldset);
66 66
 
67
-        $mode=$options->getMode();
67
+        $mode = $options->getMode();
68 68
         if (in_array($mode, [CaptchaOptions::RE_CAPTCHA, CaptchaOptions::IMAGE])) {
69 69
             if ($mode == CaptchaOptions::IMAGE) {
70 70
                 $captcha = new Image($options->getImage());
Please login to merge, or discard this patch.
module/Auth/src/Auth/Repository/Filter/PaginationSearchUsers.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
 
22 22
     protected $sortPropertiesMap = [
23
-        'name' => [ 'info.lastName', 'info.firstName', 'info.email' ],
23
+        'name' => ['info.lastName', 'info.firstName', 'info.email'],
24 24
     ];
25 25
 
26 26
     /**
Please login to merge, or discard this patch.
module/Auth/src/Auth/Entity/UserImage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      */
30 30
     public function getUri()
31 31
     {
32
-        return '/file/Auth.UserImage/' . $this->id;
32
+        return '/file/Auth.UserImage/'.$this->id;
33 33
     }
34 34
 
35 35
     /**
Please login to merge, or discard this patch.
module/Auth/src/Auth/Entity/Filter/CredentialFilter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
     
10 10
     public function filter($value)
11 11
     {
12
-        $weird = sha1(md5($value) . md5(strrev($value)));
12
+        $weird = sha1(md5($value).md5(strrev($value)));
13 13
         return $weird;
14 14
     }
15 15
 }
Please login to merge, or discard this patch.
module/Auth/src/Auth/Entity/AnonymousUser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
     public function getId()
74 74
     {
75 75
         if (!$this->id) {
76
-            $this->setId('token:' . $this->getToken());
76
+            $this->setId('token:'.$this->getToken());
77 77
         }
78 78
         return $this->id;
79 79
     }
Please login to merge, or discard this patch.
module/Auth/src/Auth/Entity/Group.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
     
98 98
     public function getPermissionsResourceId()
99 99
     {
100
-        return 'group:' . $this->getId();
100
+        return 'group:'.$this->getId();
101 101
     }
102 102
     
103 103
     /**
Please login to merge, or discard this patch.