Completed
Push — develop ( 911e58...200791 )
by Carsten
13s
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/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 1 patch
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.
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/Factory/Form/AttachmentsFormFactory.php 1 patch
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.
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 1 patch
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.
module/Applications/config/module.config.php 1 patch
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -18,20 +18,20 @@  discard block
 block discarded – undo
18 18
 
19 19
 return [
20 20
     'doctrine' => [
21
-       'driver' => [
21
+        'driver' => [
22 22
             'odm_default' => [
23 23
                 'drivers' => [
24 24
                     'Applications\Entity' => 'annotation',
25 25
                 ],
26 26
             ],
27 27
             'annotation' => [
28
-               /*
28
+                /*
29 29
                 * All drivers (except DriverChain) require paths to work on. You
30 30
                 * may set this value as a string (for a single path) or an array
31 31
                 * for multiple paths.
32 32
                 * example https://github.com/doctrine/DoctrineORMModule
33 33
                 */
34
-               'paths' => [ __DIR__ . '/../src/Entity']
34
+                'paths' => [ __DIR__ . '/../src/Entity']
35 35
             ],
36 36
         ],
37 37
         'eventmanager' => [
@@ -71,18 +71,18 @@  discard block
 block discarded – undo
71 71
             'Applications/Options/ModuleOptions' => 'Applications\Options\ModuleOptions',
72 72
         ],
73 73
         'factories' => [
74
-           'Applications/Options' => 'Applications\Factory\ModuleOptionsFactory',
75
-           'ApplicationRepository' => 'Applications\Repository\Service\ApplicationRepositoryFactory',
76
-           'ApplicationMapper' => 'Applications\Repository\Service\ApplicationMapperFactory',
77
-           'EducationMapper'   => 'Applications\Repository\Service\EducationMapperFactory',
78
-           'Applications/Listener/ApplicationCreated' => 'Applications\Factory\Listener\EventApplicationCreatedFactory',
79
-           'Applications/Listener/ApplicationStatusChangePre' => 'Applications\Factory\Listener\StatusChangeFactory',
80
-           'Applications\Auth\Dependency\ListListener' => 'Applications\Factory\Auth\Dependency\ListListenerFactory',
74
+            'Applications/Options' => 'Applications\Factory\ModuleOptionsFactory',
75
+            'ApplicationRepository' => 'Applications\Repository\Service\ApplicationRepositoryFactory',
76
+            'ApplicationMapper' => 'Applications\Repository\Service\ApplicationMapperFactory',
77
+            'EducationMapper'   => 'Applications\Repository\Service\EducationMapperFactory',
78
+            'Applications/Listener/ApplicationCreated' => 'Applications\Factory\Listener\EventApplicationCreatedFactory',
79
+            'Applications/Listener/ApplicationStatusChangePre' => 'Applications\Factory\Listener\StatusChangeFactory',
80
+            'Applications\Auth\Dependency\ListListener' => 'Applications\Factory\Auth\Dependency\ListListenerFactory',
81 81
             Listener\JobSelectValues::class => Factory\Listener\JobSelectValuesFactory::class,
82 82
             Listener\LoadDependendEntities::class => InvokableFactory::class,
83 83
         ],
84 84
         'aliases' => [
85
-           'Applications/Listener/ApplicationStatusChangePost' => 'Applications/Listener/ApplicationStatusChangePre'
85
+            'Applications/Listener/ApplicationStatusChangePost' => 'Applications/Listener/ApplicationStatusChangePre'
86 86
         ]
87 87
     ],
88 88
     
@@ -185,20 +185,20 @@  discard block
 block discarded – undo
185 185
     ],
186 186
     'form_elements' => [
187 187
         'invokables' => [
188
-             'Applications/Mail' => 'Applications\Form\Mail',
189
-             'Applications/BaseFieldset' => 'Applications\Form\BaseFieldset',
190
-             'Applications/SettingsFieldset' => 'Applications\Form\SettingsFieldset',
191
-             'Applications/CommentForm' => 'Applications\Form\CommentForm',
192
-             'Applications/CommentFieldset' => 'Applications\Form\CommentFieldset',
193
-             'Applications/Apply' => 'Applications\Form\Apply',
194
-             'Applications/Contact' => 'Applications\Form\ContactContainer',
195
-             'Applications/Base'  => 'Applications\Form\Base',
196
-             'Applications/Facts' => 'Applications\Form\Facts',
197
-             'Applications/FactsFieldset' => 'Applications\Form\FactsFieldset',
198
-             'Applications/Attributes' => 'Applications\Form\Attributes',
199
-             'href' => 'Applications\Form\Element\Ref',
188
+                'Applications/Mail' => 'Applications\Form\Mail',
189
+                'Applications/BaseFieldset' => 'Applications\Form\BaseFieldset',
190
+                'Applications/SettingsFieldset' => 'Applications\Form\SettingsFieldset',
191
+                'Applications/CommentForm' => 'Applications\Form\CommentForm',
192
+                'Applications/CommentFieldset' => 'Applications\Form\CommentFieldset',
193
+                'Applications/Apply' => 'Applications\Form\Apply',
194
+                'Applications/Contact' => 'Applications\Form\ContactContainer',
195
+                'Applications/Base'  => 'Applications\Form\Base',
196
+                'Applications/Facts' => 'Applications\Form\Facts',
197
+                'Applications/FactsFieldset' => 'Applications\Form\FactsFieldset',
198
+                'Applications/Attributes' => 'Applications\Form\Attributes',
199
+                'href' => 'Applications\Form\Element\Ref',
200 200
 
201
-         ],
201
+            ],
202 202
         'factories' => [
203 203
             'Applications/ContactImage' => 'Applications\Factory\Form\ContactImageFactory',
204 204
             'Applications/Attachments' => 'Applications\Factory\Form\AttachmentsFactory',
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
             'Applications\Form\Element\StatusSelect' => Factory\Form\StatusSelectFactory::class,
207 207
             Form\Element\JobSelect::class => Factory\Form\JobSelectFactory::class
208 208
         ],
209
-     ],
209
+        ],
210 210
 
211 211
     'form_elements_config' => [
212 212
         'Applications/Apply' => [
Please login to merge, or discard this patch.