Passed
Push — master ( c58a40...6d37ad )
by Mathias
10:02 queued 04:27
created
module/Cv/src/Form/NativeLanguageFieldset.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -124,9 +124,9 @@
 block discarded – undo
124 124
     public function init()
125 125
     {
126 126
         $this->setName('nativeLanguages')
127
-             ->setHydrator(new EntityHydrator())
128
-             ->setObject(new NativeLanguageEntity())
129
-             ->setLabel('Native Language');
127
+                ->setHydrator(new EntityHydrator())
128
+                ->setObject(new NativeLanguageEntity())
129
+                ->setLabel('Native Language');
130 130
 
131 131
 
132 132
         $this->add(
Please login to merge, or discard this patch.
module/Cv/src/Form/LanguageSkillFieldset.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@
 block discarded – undo
11 11
     public function init()
12 12
     {
13 13
         $this->setName('language')
14
-             ->setHydrator(new EntityHydrator())
15
-             ->setObject(new LanguageEntity())
16
-             ->setLabel('Language');
14
+                ->setHydrator(new EntityHydrator())
15
+                ->setObject(new LanguageEntity())
16
+                ->setLabel('Language');
17 17
         
18 18
         $this->add(
19 19
             array(
Please login to merge, or discard this patch.
module/Cv/src/Form/InputFilter/Education.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
     {
27 27
         $this->add([
28 28
             'name' => 'endDate',
29
-            'required' => ! $data['currentIndicator']
29
+            'required' => !$data['currentIndicator']
30 30
         ]);
31 31
         
32 32
         return parent::setData($data);
Please login to merge, or discard this patch.
module/Cv/src/Form/InputFilter/Employment.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
     {
27 27
         $this->add([
28 28
             'name' => 'endDate',
29
-            'required' => ! $data['currentIndicator']
29
+            'required' => !$data['currentIndicator']
30 30
         ]);
31 31
         
32 32
         return parent::setData($data);
Please login to merge, or discard this patch.
module/Cv/src/Form/EducationFieldset.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@
 block discarded – undo
24 24
     public function init()
25 25
     {
26 26
         $this->setName('education')
27
-             ->setHydrator(new EntityHydrator())
28
-             ->setObject(new EducationEntity());
27
+                ->setHydrator(new EntityHydrator())
28
+                ->setObject(new EducationEntity());
29 29
         
30 30
         $this->add(
31 31
             array(
Please login to merge, or discard this patch.
module/Cv/src/Form/PreferredJobFieldset.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
         );
129 129
 
130 130
         $this->setName('preferredJob')
131
-             ->setHydrator(new EntityHydrator())
132
-             ->setObject(new PreferredJob());
131
+                ->setHydrator(new EntityHydrator())
132
+                ->setObject(new PreferredJob());
133 133
     }
134 134
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 {
17 17
     use EmptySummaryAwareTrait, HydratorStrategyAwareTrait, ViewPartialProviderTrait;
18 18
 
19
-    private $defaultEmptySummaryNotice =  /*@translate*/ 'Click here to enter your employment expectation';
19
+    private $defaultEmptySummaryNotice = /*@translate*/ 'Click here to enter your employment expectation';
20 20
     private $defaultPartial = 'cv/form/preferred-job-fieldset';
21 21
     
22 22
     /**
Please login to merge, or discard this patch.
module/Cv/src/Form/EmploymentFieldset.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@
 block discarded – undo
24 24
     public function init()
25 25
     {
26 26
         $this->setName('employment')
27
-             ->setHydrator(new EntityHydrator())
28
-             ->setObject(new EmploymentEntity());
27
+                ->setHydrator(new EntityHydrator())
28
+                ->setObject(new EmploymentEntity());
29 29
         
30 30
         $this->add(
31 31
             array(
Please login to merge, or discard this patch.
module/Cv/src/Module.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      */
29 29
     public function getConfig()
30 30
     {
31
-        return include __DIR__ . '/../config/module.config.php';
31
+        return include __DIR__.'/../config/module.config.php';
32 32
     }
33 33
     
34 34
     public function onBootstrap(MvcEvent $e)
Please login to merge, or discard this patch.
module/Cv/src/Factory/Form/AttachmentsFormFactory.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -74,14 +74,14 @@
 block discarded – undo
74 74
         $count = $options->getAttachmentsCount();
75 75
 
76 76
         $form->setIsDisableCapable(false)
77
-             ->setIsDisableElementsCapable(false)
78
-             ->setIsDescriptionsEnabled(true)
79
-             ->setDescription(
77
+                ->setIsDisableElementsCapable(false)
78
+                ->setIsDescriptionsEnabled(true)
79
+                ->setDescription(
80 80
                 /*@translate*/ 'Attach images or PDF Documents to your CV. Drag&drop them, or click into the attachement area. You can upload up to %sMB',
81
-                 [round($size/(1024*1024))>0? round($size/(1024*1024)):round($size/(1024*1024), 1)]
82
-             )
83
-             ->setParam('return', 'file-uri')
84
-             ->setLabel(/*@translate*/ 'Attachments');
81
+                    [round($size/(1024*1024))>0? round($size/(1024*1024)):round($size/(1024*1024), 1)]
82
+                )
83
+                ->setParam('return', 'file-uri')
84
+                ->setLabel(/*@translate*/ 'Attachments');
85 85
 
86 86
         /* @var $file \Core\Form\Element\FileUpload */
87 87
         $file = $form->get($this->fileName);
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      *
53 53
      * @var string
54 54
      */
55
-    protected $options="Cv/Options";
55
+    protected $options = "Cv/Options";
56 56
 
57 57
 
58 58
     /**
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
              ->setIsDescriptionsEnabled(true)
78 78
              ->setDescription(
79 79
                 /*@translate*/ 'Attach images or PDF Documents to your CV. Drag&drop them, or click into the attachement area. You can upload up to %sMB',
80
-                 [round($size/(1024*1024))>0? round($size/(1024*1024)):round($size/(1024*1024), 1)]
80
+                 [round($size / (1024 * 1024)) > 0 ? round($size / (1024 * 1024)) : round($size / (1024 * 1024), 1)]
81 81
              )
82 82
              ->setParam('return', 'file-uri')
83 83
              ->setLabel(/*@translate*/ 'Attachments');
Please login to merge, or discard this patch.