Completed
Pull Request — develop (#329)
by Carsten
07:08
created
module/Core/src/Core/View/Helper/DateFormat.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 {
41 41
     const FULL  = 'full';
42 42
     const LONG  = 'long';
43
-    const MEDIUM= 'medium';
43
+    const MEDIUM = 'medium';
44 44
     const SHORT = 'short';
45 45
     const NONE  = 'none';
46 46
 
Please login to merge, or discard this patch.
module/Core/src/Core/View/Helper/Period.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,13 +25,13 @@
 block discarded – undo
25 25
         // calculate EndDate - StartDate = X Years.
26 26
         // eg. 4.2 Years
27 27
         
28
-        $days=0;
28
+        $days = 0;
29 29
         foreach ($array as $obj) {
30 30
             $date1 = new \DateTime($obj->endDate);
31 31
             $date2 = new \DateTime($obj->startDate);
32 32
             $interval = $date1->diff($date2);
33
-            $days+=abs($interval->format('%R%a'));
33
+            $days += abs($interval->format('%R%a'));
34 34
         }
35
-        return round($days/365, 1);
35
+        return round($days / 365, 1);
36 36
     }
37 37
 }
Please login to merge, or discard this patch.
module/Core/src/Core/View/Helper/Salutation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      */
23 23
     public function __invoke($gender)
24 24
     {
25
-        $return="";
25
+        $return = "";
26 26
         switch ($gender) {
27 27
             case "male":
28 28
                 $return = "Mr.";
Please login to merge, or discard this patch.
module/Cv/src/Cv/Entity/ComputerSkill.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      */
34 34
     public function setName($name)
35 35
     {
36
-        $this->name=$name;
36
+        $this->name = $name;
37 37
     }
38 38
 
39 39
     /**
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      */
52 52
     public function setLevel($level)
53 53
     {
54
-        $this->level=$level;
54
+        $this->level = $level;
55 55
     }
56 56
 
57 57
     /**
Please login to merge, or discard this patch.
module/Cv/src/Cv/Entity/Education.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
      */
79 79
     public function setCurrentIndicator($currentIndicator)
80 80
     {
81
-        $this->currentIndicator=$currentIndicator;
81
+        $this->currentIndicator = $currentIndicator;
82 82
         return $this;
83 83
     }
84 84
     
Please login to merge, or discard this patch.
module/Geo/src/Geo/Controller/Plugin/Geo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
         $client->setMethod('GET');
27 27
         // more countries 'country' => 'DE,CH,AT'
28 28
         // with countryCode 'zoom' => 2
29
-        $plz = 0 < (int) $par?1:0;
29
+        $plz = 0 < (int) $par ? 1 : 0;
30 30
         $client->setParameterGet(array('q' => $par, 'country' => 'DE', 'plz' => $plz, 'zoom' => 1));
31 31
         $response = $client->send();
32 32
         $result = $response->getBody();
Please login to merge, or discard this patch.
module/Install/src/Controller/Plugin/UserCreator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
             'role' => 'admin',
67 67
             'login' => $username,
68 68
             'credential' => $credential,
69
-            'info' => [ 'email' => $email ]
69
+            'info' => ['email' => $email]
70 70
         );
71 71
 
72 72
         $result = $collection->insert($document);
Please login to merge, or discard this patch.
module/Install/src/Validator/MongoDbConnectionString.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
  */
22 22
 class MongoDbConnectionString extends AbstractValidator
23 23
 {
24
-    const INVALID       = 'invalidConnectionString';
24
+    const INVALID = 'invalidConnectionString';
25 25
 
26 26
     /**
27 27
      * Options
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Entity/JobInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@
 block discarded – undo
198 198
      *
199 199
      * @return UserInterface $user
200 200
      */
201
-    public function getUser() ;
201
+    public function getUser();
202 202
 
203 203
     /**
204 204
      * Gets the link to the application form
Please login to merge, or discard this patch.