Completed
Push — develop ( 06c328...a78ff6 )
by Carsten
17:00 queued 08:38
created
module/Jobs/src/Jobs/Form/CategoriesContainer.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
                         'options' => [
39 39
                             'enable_descriptions' => true,
40 40
                             'description' => /*@translate*/ 'Manage the professions you want to assign to jobs.' .
41
-                                             /*@translate*/ 'The order of categories can be modified by drag&drop.',
41
+                                                /*@translate*/ 'The order of categories can be modified by drag&drop.',
42 42
                             'display_mode' => SummaryForm::DISPLAY_SUMMARY,
43 43
                         ],
44 44
                     ],
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
                         'options' => [
58 58
                             'enable_descriptions' => true,
59 59
                             'description' => /*@translate*/ 'Manage the industries you want to assign to jobs.' .
60
-                                             /*@translate*/ 'The order of categories can be modified by drag&drop.',
60
+                                                /*@translate*/ 'The order of categories can be modified by drag&drop.',
61 61
                             'display_mode' => SummaryForm::DISPLAY_SUMMARY,
62 62
                         ],
63 63
                     ],
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
                         'options' => [
77 77
                             'enable_descriptions' => true,
78 78
                             'description' => /*@translate*/ 'Manage the employment types you want to assign to jobs.'.
79
-                                             /*@translate*/ 'The order of categories can be modified by drag&drop.',
79
+                                                /*@translate*/ 'The order of categories can be modified by drag&drop.',
80 80
                             'display_mode' => SummaryForm::DISPLAY_SUMMARY,
81 81
                         ],
82 82
                     ],
Please login to merge, or discard this patch.
module/Cv/src/Cv/Form/SearchForm.php 1 patch
Indentation   +34 added lines, -34 removed lines patch added patch discarded remove patch
@@ -34,44 +34,44 @@
 block discarded – undo
34 34
     {
35 35
 
36 36
         $this->add(
37
-             [
38
-                 'name' => 'l',
39
-                 'type' => 'LocationSelect',
40
-                 'options' => [
41
-                     'label' => /*@translate*/ 'Location',
42
-                     'span' => 3,
43
-                     'location_entity' => Location::class,
44
-                 ],
45
-                 'attributes' => [
46
-                     'data-width' => '100%',
47
-                 ],
48
-             ]
37
+                [
38
+                    'name' => 'l',
39
+                    'type' => 'LocationSelect',
40
+                    'options' => [
41
+                        'label' => /*@translate*/ 'Location',
42
+                        'span' => 3,
43
+                        'location_entity' => Location::class,
44
+                    ],
45
+                    'attributes' => [
46
+                        'data-width' => '100%',
47
+                    ],
48
+                ]
49 49
         );
50 50
 
51 51
         $this->add(
52
-             [
53
-                 'name' => 'd',
54
-                 'type' => 'Zend\Form\Element\Select',
55
-                 'options' => [
56
-                     'label' => /*@translate*/ 'Distance',
57
-                     'value_options' => [
58
-                         '5' => '5 km',
59
-                         '10' => '10 km',
60
-                         '20' => '20 km',
61
-                         '50' => '50 km',
62
-                         '100' => '100 km'
63
-                     ],
64
-                     'span' => 4,
52
+                [
53
+                    'name' => 'd',
54
+                    'type' => 'Zend\Form\Element\Select',
55
+                    'options' => [
56
+                        'label' => /*@translate*/ 'Distance',
57
+                        'value_options' => [
58
+                            '5' => '5 km',
59
+                            '10' => '10 km',
60
+                            '20' => '20 km',
61
+                            '50' => '50 km',
62
+                            '100' => '100 km'
63
+                        ],
64
+                        'span' => 4,
65 65
 
66
-                 ],
67
-                 'attributes' => [
68
-                     'value' => '10', // default distance
69
-                     'data-searchbox' => -1,  // hide the search box
70
-                     'data-allowclear' => 'false', // allow to clear a selected value
71
-                     'data-placeholder' => /*@translate*/ 'Distance',
72
-                     'data-width' => '100%',
73
-                 ]
74
-             ]
66
+                    ],
67
+                    'attributes' => [
68
+                        'value' => '10', // default distance
69
+                        'data-searchbox' => -1,  // hide the search box
70
+                        'data-allowclear' => 'false', // allow to clear a selected value
71
+                        'data-placeholder' => /*@translate*/ 'Distance',
72
+                        'data-width' => '100%',
73
+                    ]
74
+                ]
75 75
         );
76 76
     }
77 77
 }
78 78
\ No newline at end of file
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Listener/LoadActiveOrganizations.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -51,11 +51,11 @@
 block discarded – undo
51 51
             $imageUrl = $image ? $image->getUri() : '';
52 52
 
53 53
             $options[] = [ 'id' => $org->getId(),
54
-                           'text' => $name . '|'
55
-                                      . $contact->getCity() . '|'
56
-                                      . $contact->getStreet() . '|'
57
-                                      . $contact->getHouseNumber() . '|'
58
-                                      . $imageUrl
54
+                            'text' => $name . '|'
55
+                                        . $contact->getCity() . '|'
56
+                                        . $contact->getStreet() . '|'
57
+                                        . $contact->getHouseNumber() . '|'
58
+                                        . $imageUrl
59 59
             ];
60 60
         }
61 61
 
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/Form.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,8 +71,8 @@
 block discarded – undo
71 71
         $basepath   = $renderer->plugin('basepath');
72 72
         
73 73
         $headscript->appendFile($basepath('/Core/js/core.spinnerbutton.js'))
74
-                   ->appendFile($basepath('/assets/select2/js/select2.min.js'))
75
-                   ->appendFile($basepath('/Core/js/core.forms.js'));
74
+                    ->appendFile($basepath('/assets/select2/js/select2.min.js'))
75
+                    ->appendFile($basepath('/Core/js/core.forms.js'));
76 76
 
77 77
         /* @noinspection PhpParamsInspection */
78 78
         $renderer->headLink()->appendStylesheet($basepath('/assets/select2/css/select2.css'));
Please login to merge, or discard this patch.
module/Applications/src/Applications/Form/ApplicationsFilter.php 1 patch
Indentation   +38 added lines, -38 removed lines patch added patch discarded remove patch
@@ -36,50 +36,50 @@
 block discarded – undo
36 36
     {
37 37
 
38 38
         $this->add(
39
-             [
40
-                 'type' => JobSelect::class,
41
-                 'name' => 'job',
42
-                 'options' => [
43
-                     'label' => /* @translate */ 'Enter job title',
44
-                     //'empty_option' => 'Enter job title',
45
-                 ],
46
-                 'attributes' => [
47
-                     'id' => 'job-filter',
48
-                     'class' => 'form-control',
49
-                     'data-placeholder' => 'Enter job title',
50
-                     'data-autoinit' => 'false',
51
-                     'data-submit-on-change' => 'true',
52
-                 ]
53
-             ]
39
+                [
40
+                    'type' => JobSelect::class,
41
+                    'name' => 'job',
42
+                    'options' => [
43
+                        'label' => /* @translate */ 'Enter job title',
44
+                        //'empty_option' => 'Enter job title',
45
+                    ],
46
+                    'attributes' => [
47
+                        'id' => 'job-filter',
48
+                        'class' => 'form-control',
49
+                        'data-placeholder' => 'Enter job title',
50
+                        'data-autoinit' => 'false',
51
+                        'data-submit-on-change' => 'true',
52
+                    ]
53
+                ]
54 54
         );
55 55
 
56 56
         $this->add(
57
-             [
58
-                 'type' => 'Applications\Form\Element\StatusSelect',
59
-                 'name' => 'status',
60
-                 'options' => [
61
-                     'label' => /* @translate */ 'Status',
62
-                 ],
63
-                 'attributes' => [
64
-                     'data-width' => '100%',
65
-                     'data-submit-on-change' => 'true',
66
-                     'data-placeholder' => /*@translate*/ 'all',
67
-                 ]
68
-             ]
57
+                [
58
+                    'type' => 'Applications\Form\Element\StatusSelect',
59
+                    'name' => 'status',
60
+                    'options' => [
61
+                        'label' => /* @translate */ 'Status',
62
+                    ],
63
+                    'attributes' => [
64
+                        'data-width' => '100%',
65
+                        'data-submit-on-change' => 'true',
66
+                        'data-placeholder' => /*@translate*/ 'all',
67
+                    ]
68
+                ]
69 69
         );
70 70
 
71 71
         $this->add(
72
-             ['type' => 'ToggleButton',
73
-                   'name' => 'unread',
74
-                   'options' => [
75
-                       'checked_value' => '1',
76
-                       'unchecked_value' => '0',
77
-                       'label' => 'unread',
78
-                   ],
79
-                 'attributes' => [
80
-                     'data-submit-on-change' => 'true',
81
-                 ]
82
-             ]
72
+                ['type' => 'ToggleButton',
73
+                    'name' => 'unread',
74
+                    'options' => [
75
+                        'checked_value' => '1',
76
+                        'unchecked_value' => '0',
77
+                        'label' => 'unread',
78
+                    ],
79
+                    'attributes' => [
80
+                        'data-submit-on-change' => 'true',
81
+                    ]
82
+                ]
83 83
         );
84 84
 
85 85
         $this->setButtonElement('unread');
Please login to merge, or discard this patch.
module/Cv/src/Cv/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/Jobs/src/Jobs/Repository/Job.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -55,8 +55,8 @@  discard block
 block discarded – undo
55 55
     {
56 56
         $qb = $this->createQueryBuilder();
57 57
         $qb->hydrate(false)
58
-           ->select('applyId')
59
-           ->field('applyId')->equals($applyId);
58
+            ->select('applyId')
59
+            ->field('applyId')->equals($applyId);
60 60
            
61 61
         $result = $qb->getQuery()->execute();
62 62
         $count = $result->count();
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
         $qb = $this->createQueryBuilder();
137 137
         $qb->distinct('organization')
138 138
             ->hydrate(true)
139
-           ->field('status.name')->notIn([ StatusInterface::EXPIRED, StatusInterface::INACTIVE ]);
139
+            ->field('status.name')->notIn([ StatusInterface::EXPIRED, StatusInterface::INACTIVE ]);
140 140
 
141 141
         $q = $qb->getQuery();
142 142
         $r = $q->execute();
@@ -206,8 +206,8 @@  discard block
 block discarded – undo
206 206
 
207 207
         if (null !== $isDeleted) {
208 208
             $qb->addAnd(
209
-               $qb->expr()->addOr($qb->expr()->field('isDeleted')->equals($isDeleted))
210
-                          ->addOr($qb->expr()->field('isDeleted')->exists(false))
209
+                $qb->expr()->addOr($qb->expr()->field('isDeleted')->equals($isDeleted))
210
+                            ->addOr($qb->expr()->field('isDeleted')->exists(false))
211 211
             );
212 212
         }
213 213
 
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/View/Helper/JsonLd.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,8 +50,8 @@
 block discarded – undo
50 50
         $jsonLdProvider = new JsonLdProvider($job);
51 51
 
52 52
         return '<script type="application/ld+json">'
53
-               . $jsonLdProvider->toJsonLd()
54
-               . '</script>';
53
+                . $jsonLdProvider->toJsonLd()
54
+                . '</script>';
55 55
 
56 56
     }
57 57
 
Please login to merge, or discard this patch.
config/common.modules.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -11,23 +11,23 @@
 block discarded – undo
11 11
  */
12 12
 
13 13
 return array(
14
-	'Zend\ServiceManager\Di',
15
-	'Zend\Session',
16
-	'Zend\Router',
17
-	'Zend\Navigation',
18
-	'Zend\I18n',
19
-	'Zend\Filter',
20
-	'Zend\InputFilter',
21
-	'Zend\Form',
22
-	'Zend\Validator',
23
-	'Zend\Log',
24
-	'Zend\Mvc\Plugin\Prg',
25
-	'Zend\Mvc\Plugin\Identity',
26
-	'Zend\Mvc\Plugin\FlashMessenger',
27
-	'Zend\Mvc\I18n',
28
-	'Zend\Mvc\Console',
29
-	'Zend\Hydrator',
30
-	'Zend\Serializer',
31
-	'DoctrineModule',
32
-	'DoctrineMongoODMModule',
14
+    'Zend\ServiceManager\Di',
15
+    'Zend\Session',
16
+    'Zend\Router',
17
+    'Zend\Navigation',
18
+    'Zend\I18n',
19
+    'Zend\Filter',
20
+    'Zend\InputFilter',
21
+    'Zend\Form',
22
+    'Zend\Validator',
23
+    'Zend\Log',
24
+    'Zend\Mvc\Plugin\Prg',
25
+    'Zend\Mvc\Plugin\Identity',
26
+    'Zend\Mvc\Plugin\FlashMessenger',
27
+    'Zend\Mvc\I18n',
28
+    'Zend\Mvc\Console',
29
+    'Zend\Hydrator',
30
+    'Zend\Serializer',
31
+    'DoctrineModule',
32
+    'DoctrineMongoODMModule',
33 33
 );
34 34
\ No newline at end of file
Please login to merge, or discard this patch.