Passed
Push — master ( c58a40...6d37ad )
by Mathias
10:02 queued 04:27
created
module/Cv/src/Entity/PreferredJob.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     
87 87
     public function setDesiredJob($desiredJob)
88 88
     {
89
-        $this->desiredJob=$desiredJob;
89
+        $this->desiredJob = $desiredJob;
90 90
         return $this;
91 91
     }
92 92
 
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      */
106 106
     public function setDesiredLocation($desiredLocation)
107 107
     {
108
-        $this->desiredLocation=$desiredLocation;
108
+        $this->desiredLocation = $desiredLocation;
109 109
         return $this;
110 110
     }
111 111
 
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      */
144 144
     public function setWillingnessToTravel($willingnessToTravel)
145 145
     {
146
-        $this->willingnessToTravel=$willingnessToTravel;
146
+        $this->willingnessToTravel = $willingnessToTravel;
147 147
         return $this;
148 148
     }
149 149
 
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
      */
163 163
     public function setExpectedSalary($expectedSalary)
164 164
     {
165
-        $this->expectedSalary=$expectedSalary;
165
+        $this->expectedSalary = $expectedSalary;
166 166
         return $this;
167 167
     }
168 168
 
Please login to merge, or discard this patch.
module/Cv/src/Entity/StatusInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,9 +15,9 @@
 block discarded – undo
15 15
  */
16 16
 interface StatusInterface extends EntityInterface
17 17
 {
18
-    const NONPUBLIC =  /*@translate*/ 'private';
18
+    const NONPUBLIC = /*@translate*/ 'private';
19 19
 
20
-    const PUBLIC_TO_ALL =  /*@translate*/ 'public to all';
20
+    const PUBLIC_TO_ALL = /*@translate*/ 'public to all';
21 21
 
22 22
     public function __construct($status = self::NONPUBLIC);
23 23
 
Please login to merge, or discard this patch.
module/Cv/src/Entity/Status.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
     public function __construct($status = self::NONPUBLIC)
48 48
     {
49 49
         if (!isset(static::$orderMap[$status])) {
50
-            throw new \DomainException('Unknown status: ' . $status);
50
+            throw new \DomainException('Unknown status: '.$status);
51 51
         }
52 52
         
53 53
         $this->name = $status;
Please login to merge, or discard this patch.
module/Cv/src/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/Entity/CvInterface.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -10,10 +10,10 @@
 block discarded – undo
10 10
 use Core\Entity\IdentifiableEntityInterface;
11 11
 
12 12
 interface CvInterface extends EntityInterface,
13
-                              IdentifiableEntityInterface,
14
-                              DraftableEntityInterface,
15
-                              PermissionsAwareInterface,
16
-                              ModificationDateAwareEntityInterface
13
+                                IdentifiableEntityInterface,
14
+                                DraftableEntityInterface,
15
+                                PermissionsAwareInterface,
16
+                                ModificationDateAwareEntityInterface
17 17
 {
18 18
     
19 19
     /**
Please login to merge, or discard this patch.
module/Cv/src/Entity/Cv.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -60,11 +60,11 @@
 block discarded – undo
60 60
     protected $skills;
61 61
 
62 62
     /**
63
-    * Skills
64
-    *
65
-    * @var ArrayCollection
66
-    * @ODM\EmbedMany(targetDocument="\Cv\Entity\Language")
67
-    */
63
+     * Skills
64
+     *
65
+     * @var ArrayCollection
66
+     * @ODM\EmbedMany(targetDocument="\Cv\Entity\Language")
67
+     */
68 68
     protected $languageSkills;
69 69
 
70 70
     /**
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      * @var array
83 83
      * @ODM\Field(type="collection")
84 84
      */
85
-    protected $nativeLanguages=[];
85
+    protected $nativeLanguages = [];
86 86
 
87 87
 
88 88
     /**
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
      */
268 268
     public function setIsDraft($isDraft)
269 269
     {
270
-        $this->isDraft=$isDraft;
270
+        $this->isDraft = $isDraft;
271 271
         return $this;
272 272
     }
273 273
 
@@ -337,7 +337,7 @@  discard block
 block discarded – undo
337 337
      */
338 338
     public function setNativeLanguages($nativeLanguages)
339 339
     {
340
-        $this->nativeLanguages=$nativeLanguages;
340
+        $this->nativeLanguages = $nativeLanguages;
341 341
         return $this;
342 342
     }
343 343
 
Please login to merge, or discard this patch.
module/Applications/src/Options/ModuleOptions.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
 
80 80
     protected $workflow = [
81 81
 
82
-      'recruiter',
82
+        'recruiter',
83 83
     ];
84 84
 
85 85
     /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -237,7 +237,7 @@
 block discarded – undo
237 237
      */
238 238
     public function setAllowSubsequentAttachmentUpload($allowSubsequentAttachmentUpload)
239 239
     {
240
-        $this->allowSubsequentAttachmentUpload = (bool)$allowSubsequentAttachmentUpload;
240
+        $this->allowSubsequentAttachmentUpload = (bool) $allowSubsequentAttachmentUpload;
241 241
         
242 242
         return $this;
243 243
     }
Please login to merge, or discard this patch.
Applications/src/Repository/Event/UpdateFilesPermissionsSubscriber.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
         $dm  = $eventArgs->getDocumentManager();
43 43
         $uow = $dm->getUnitOfWork();
44 44
         
45
-        $filter = function ($element) {
45
+        $filter = function($element) {
46 46
             return $element instanceof ApplicationInterface
47 47
                    && $element->getPermissions()->hasChanged();
48 48
         };
Please login to merge, or discard this patch.
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -57,9 +57,9 @@
 block discarded – undo
57 57
                 foreach ($document->getAttachments() as $attachment) {
58 58
                     /* @var \Applications\Entity\Attachment $attachment */
59 59
                     $attachment->getMetadata()
60
-                               ->getPermissions()
61
-                               ->clear()
62
-                               ->inherit($permissions);
60
+                                ->getPermissions()
61
+                                ->clear()
62
+                                ->inherit($permissions);
63 63
                     if ($isUpdate) {
64 64
                         $uow->computeChangeSet(
65 65
                             $dm->getClassMetadata(get_class($attachment)),
Please login to merge, or discard this patch.
module/Applications/src/Repository/Filter/PaginationQuery.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
          * and which are not in draft mode
92 92
          */
93 93
         $queryBuilder->field('permissions.view')->equals($userID)
94
-                     ->field('isDraft')->equals(false);
94
+                        ->field('isDraft')->equals(false);
95 95
 
96 96
         if (!isset($value['sort'])) {
97 97
             $value['sort'] = '-date';
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      *
29 29
      * @var String
30 30
      */
31
-    protected $repositoryName="Applications/Application";
31
+    protected $repositoryName = "Applications/Application";
32 32
 
33 33
     /**
34 34
      * Sortable fields
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
             $searchPatterns = array();
81 81
 
82 82
             foreach (explode(' ', $search) as $searchItem) {
83
-                $searchPatterns[] = new Regex('/^' . $searchItem . '/');
83
+                $searchPatterns[] = new Regex('/^'.$searchItem.'/');
84 84
             }
85 85
             $queryBuilder->field('keywords')->all($searchPatterns);
86 86
         }
Please login to merge, or discard this patch.