Completed
Push — develop ( fd8298...e653e2 )
by Carsten
14s
created
module/Cv/src/Cv/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/Cv/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/config/module.config.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
                  * for multiple paths.
16 16
                  * example https://github.com/doctrine/DoctrineORMModule
17 17
                  */
18
-                'paths' => array( __DIR__ . '/../src/Cv/Entity'),
18
+                'paths' => array(__DIR__.'/../src/Cv/Entity'),
19 19
             ),
20 20
         ),
21 21
         'eventmanager' => array(
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
         'translation_file_patterns' => array(
37 37
             array(
38 38
                 'type'     => 'gettext',
39
-                'base_dir' => __DIR__ . '/../language',
39
+                'base_dir' => __DIR__.'/../language',
40 40
                 'pattern'  => '%s.mo',
41 41
             ),
42 42
         ),
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
             'resume-recruiter' => array(
167 167
                 'label' =>  /*@translate*/ 'Talent-Pool',
168 168
                 'route' => 'lang/cvs',
169
-                'active_on' => [ 'lang/cvs/edit', 'lang/cvs/view' ],
169
+                'active_on' => ['lang/cvs/edit', 'lang/cvs/view'],
170 170
                 'resource' => 'navigation/resume-recruiter',
171 171
                 'order' => 10,
172 172
                 'pages' => array(
@@ -194,15 +194,15 @@  discard block
 block discarded – undo
194 194
     
195 195
         // Map template to files. Speeds up the lookup through the template stack.
196 196
         'template_map' => array(
197
-            'cv/form/employment.view' => __DIR__ . '/../view/cv/form/employment.view.phtml',
198
-            'cv/form/employment.form' => __DIR__ . '/../view/cv/form/employment.form.phtml',
199
-            'cv/form/education.view' => __DIR__ . '/../view/cv/form/education.view.phtml',
200
-            'cv/form/education.form' => __DIR__ . '/../view/cv/form/education.form.phtml'
197
+            'cv/form/employment.view' => __DIR__.'/../view/cv/form/employment.view.phtml',
198
+            'cv/form/employment.form' => __DIR__.'/../view/cv/form/employment.form.phtml',
199
+            'cv/form/education.view' => __DIR__.'/../view/cv/form/education.view.phtml',
200
+            'cv/form/education.form' => __DIR__.'/../view/cv/form/education.form.phtml'
201 201
         ),
202 202
     
203 203
         // Where to look for view templates not mapped above
204 204
         'template_path_stack' => array(
205
-            __DIR__ . '/../view',
205
+            __DIR__.'/../view',
206 206
         ),
207 207
     ),
208 208
 
Please login to merge, or discard this patch.
module/Cv/src/Cv/Factory/Form/AttachmentsFormFactory.php 2 patches
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.
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/Core/src/Core/Form/EmptySummaryAwareTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
      */
51 51
     public function getEmptySummaryNotice()
52 52
     {
53
-        if (! isset($this->emptySummaryNotice) && property_exists($this, 'defaultEmptySummaryNotice')) {
53
+        if (!isset($this->emptySummaryNotice) && property_exists($this, 'defaultEmptySummaryNotice')) {
54 54
             $this->emptySummaryNotice = $this->defaultEmptySummaryNotice;
55 55
         }
56 56
         
Please login to merge, or discard this patch.
module/Core/src/Core/I18n/Locale.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -108,10 +108,10 @@
 block discarded – undo
108 108
     }
109 109
     
110 110
     /**
111
-	 * @return string
112
-	 */
113
-	public function getDefaultLanguage()
114
-	{
115
-		return $this->defaultLanguage;
116
-	}
111
+     * @return string
112
+     */
113
+    public function getDefaultLanguage()
114
+    {
115
+        return $this->defaultLanguage;
116
+    }
117 117
 }
Please login to merge, or discard this patch.
module/Install/config/module.config.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -78,12 +78,12 @@  discard block
 block discarded – undo
78 78
         'exception_template' => 'error/index',
79 79
         // Map template to files. Speeds up the lookup through the template stack.
80 80
         'template_map' => array(
81
-            'layout/layout' => __DIR__ . '/../view/layout/layout.phtml',
82
-            'error/index' => __DIR__ . '/../view/error/index.phtml',
81
+            'layout/layout' => __DIR__.'/../view/layout/layout.phtml',
82
+            'error/index' => __DIR__.'/../view/error/index.phtml',
83 83
         ),
84 84
         // Where to look for view templates not mapped above
85 85
         'template_path_stack' => array(
86
-            __DIR__ . '/../view',
86
+            __DIR__.'/../view',
87 87
         ),
88 88
     ),
89 89
 
@@ -91,13 +91,13 @@  discard block
 block discarded – undo
91 91
         'translation_file_patterns' => array(
92 92
             array(
93 93
                 'type' => 'gettext',
94
-                'base_dir' => __DIR__ . '/../language',
94
+                'base_dir' => __DIR__.'/../language',
95 95
                 'pattern' => '%s.mo',
96 96
                 'text_domain' => 'Install',
97 97
             ),
98 98
             [
99 99
                 'type'     => 'phparray',
100
-                'base_dir' => __DIR__ . '/../../Core/language',
100
+                'base_dir' => __DIR__.'/../../Core/language',
101 101
                 'pattern' => 'Zend_Validate.%s.php',
102 102
                 'text_domain' => 'default',
103 103
             ],
Please login to merge, or discard this patch.
module/Install/src/Form/Installation.php 1 patch
Indentation   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -28,52 +28,52 @@  discard block
 block discarded – undo
28 28
 
29 29
         $this->setAttributes(
30 30
             array(
31
-                                 'method' => 'post',
32
-                             )
31
+                                    'method' => 'post',
32
+                                )
33 33
         );
34 34
 
35 35
         $this->add(
36 36
             array(
37
-                       'type'       => 'Text',
38
-                       'name'       => 'db_conn',
39
-                       'options'    => array(
40
-                           'label' => /* @translate */ 'Database connection string',
41
-                       ),
42
-                       'attributes' => array(
43
-                           'placeholder' => 'mongodb://localhost:27017/YAWIK',
44
-                       ),
37
+                        'type'       => 'Text',
38
+                        'name'       => 'db_conn',
39
+                        'options'    => array(
40
+                            'label' => /* @translate */ 'Database connection string',
41
+                        ),
42
+                        'attributes' => array(
43
+                            'placeholder' => 'mongodb://localhost:27017/YAWIK',
44
+                        ),
45 45
 
46
-                   )
46
+                    )
47 47
         );
48 48
 
49 49
         $this->add(
50 50
             array(
51
-                       'type'    => 'Text',
52
-                       'name'    => 'username',
53
-                       'options' => array(
54
-                           'label' => /* @translate */ 'Initial user name',
55
-                       ),
56
-                   )
51
+                        'type'    => 'Text',
52
+                        'name'    => 'username',
53
+                        'options' => array(
54
+                            'label' => /* @translate */ 'Initial user name',
55
+                        ),
56
+                    )
57 57
         );
58 58
 
59 59
         $this->add(
60 60
             array(
61
-                       'type'    => 'Password',
62
-                       'name'    => 'password',
63
-                       'options' => array(
64
-                           'label' => /* @translate */ 'Password',
65
-                       ),
66
-                   )
61
+                        'type'    => 'Password',
62
+                        'name'    => 'password',
63
+                        'options' => array(
64
+                            'label' => /* @translate */ 'Password',
65
+                        ),
66
+                    )
67 67
         );
68 68
 
69 69
         $this->add(
70 70
             array(
71
-                       'type' => 'Text',
72
-                       'name' => 'email',
73
-                       'options' => array(
74
-                           'label' => /* @translate */ 'Email address for system messages',
75
-                       ),
76
-                   )
71
+                        'type' => 'Text',
72
+                        'name' => 'email',
73
+                        'options' => array(
74
+                            'label' => /* @translate */ 'Email address for system messages',
75
+                        ),
76
+                    )
77 77
         );
78 78
     }
79 79
 
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
                 ),
89 89
                 'validators'        => array(
90 90
                     array('name' => 'Install/ConnectionString',
91
-                          'break_chain_on_failure' => true),
91
+                            'break_chain_on_failure' => true),
92 92
                     array('name' => 'Install/Connection'),
93 93
                 ),
94 94
             ),
Please login to merge, or discard this patch.
module/Install/src/Controller/Index.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -42,8 +42,8 @@  discard block
 block discarded – undo
42 42
             $routeMatch->setParam('action', $p);
43 43
             $response = $this->getResponse();
44 44
             $response->getHeaders()
45
-                     ->addHeaderLine('Content-Type', 'application/json')
46
-                     ->addHeaderLine('Content-Encoding', 'utf8');
45
+                        ->addHeaderLine('Content-Type', 'application/json')
46
+                        ->addHeaderLine('Content-Encoding', 'utf8');
47 47
         }
48 48
     }
49 49
 
@@ -60,10 +60,10 @@  discard block
 block discarded – undo
60 60
 
61 61
         return $this->createViewModel(
62 62
             array(
63
-                                          'prerequisites' => $prereqs,
64
-                                          'form'          => $form,
65
-                                          'lang'          => $this->params('lang'),
66
-                                      )
63
+                                            'prerequisites' => $prereqs,
64
+                                            'form'          => $form,
65
+                                            'lang'          => $this->params('lang'),
66
+                                        )
67 67
         );
68 68
     }
69 69
 
@@ -95,9 +95,9 @@  discard block
 block discarded – undo
95 95
         if (!$form->isValid()) {
96 96
             return $this->createJsonResponse(
97 97
                 array(
98
-                                                 'ok'     => false,
99
-                                                 'errors' => $form->getMessages(),
100
-                                             )
98
+                                                    'ok'     => false,
99
+                                                    'errors' => $form->getMessages(),
100
+                                                )
101 101
             );
102 102
         }
103 103
 
Please login to merge, or discard this patch.