Passed
Push — master ( 793370...b09d10 )
by Carsten
12:59
created
module/Jobs/src/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/Repository/JobSnapshotMeta.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -27,10 +27,10 @@  discard block
 block discarded – undo
27 27
     {
28 28
         $qb = $this->createQueryBuilder();
29 29
         $qb->hydrate(true)
30
-           ->select('entity')
31
-           ->field('sourceId')->equals($jobEntity->id)
32
-           ->sort('dateCreated', 'desc')
33
-           ->limit(1);
30
+            ->select('entity')
31
+            ->field('sourceId')->equals($jobEntity->id)
32
+            ->sort('dateCreated', 'desc')
33
+            ->limit(1);
34 34
 
35 35
         $result = $qb->getQuery()->execute();
36 36
         if ($result->count() == 0) {
@@ -53,9 +53,9 @@  discard block
 block discarded – undo
53 53
         // So we need to create a cursor, that skips the first Document
54 54
         $qb = $this->createQueryBuilder();
55 55
         $qb->hydrate(false)
56
-           ->select('entity')
57
-           ->field('sourceId')->equals($jobEntity->id)
58
-           ->sort('dateCreated', 'desc');
56
+            ->select('entity')
57
+            ->field('sourceId')->equals($jobEntity->id)
58
+            ->sort('dateCreated', 'desc');
59 59
         $result = $qb->getQuery()->execute()->skip(1);
60 60
         foreach ($result as $item) {
61 61
             $id = $item['_id'];
Please login to merge, or discard this patch.
module/Jobs/src/Form/Element/StatusSelect.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         if (true === $this->getOption('include_all_option')) {
37 37
             $valueOptions = array_merge([
38 38
                                             'all' => /*@translate*/ 'All',
39
-                                         ], $valueOptions);
39
+                                            ], $valueOptions);
40 40
         }
41 41
 
42 42
         $this->setValueOptions($valueOptions);
Please login to merge, or discard this patch.
module/Jobs/src/Form/TemplateLabelQualifications.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,6 +62,6 @@
 block discarded – undo
62 62
                     )
63 63
                 )
64 64
             )
65
-       );
65
+        );
66 66
     }
67 67
 }
Please login to merge, or discard this patch.
module/Jobs/src/Form/Multipost.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -60,9 +60,9 @@
 block discarded – undo
60 60
     protected function addButtonsFieldset()
61 61
     {
62 62
         $this->add(
63
-             array(
64
-                 'type' => 'Jobs/MultipostButtonFieldset'
65
-             )
63
+                array(
64
+                    'type' => 'Jobs/MultipostButtonFieldset'
65
+                )
66 66
         );
67 67
     }
68 68
 }
Please login to merge, or discard this patch.
module/Jobs/src/Form/InputFilter/JobLocationNew.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     {
18 18
         parent::init();
19 19
         $input = $this->get('applyId')
20
-                      ->getValidatorChain()
21
-                      ->attachByName('Jobs/Form/UniqueApplyId');
20
+                        ->getValidatorChain()
21
+                        ->attachByName('Jobs/Form/UniqueApplyId');
22 22
     }
23 23
 }
Please login to merge, or discard this patch.
module/Jobs/src/Form/OrganizationSelect.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -64,10 +64,10 @@
 block discarded – undo
64 64
             $imageUrl = $image ? $image->getUri() : '';
65 65
 
66 66
             $options[$org->getId()] = $name . '|'
67
-                                      . $contact->getCity() . '|'
68
-                                      . $contact->getStreet() . '|'
69
-                                      . $contact->getHouseNumber() . '|'
70
-                                      . $imageUrl;
67
+                                        . $contact->getCity() . '|'
68
+                                        . $contact->getStreet() . '|'
69
+                                        . $contact->getHouseNumber() . '|'
70
+                                        . $imageUrl;
71 71
         }
72 72
 
73 73
         return $this->setValueOptions($options);
Please login to merge, or discard this patch.
module/Jobs/src/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/Jobs/src/Form/MultipostFieldset.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -42,13 +42,13 @@
 block discarded – undo
42 42
 
43 43
         $this->add(
44 44
             array(
45
-                 'type' => 'Jobs/MultipostingSelect',
46
-                 'property' => true,
47
-                 'name' => 'portals',
48
-                 'options' => array(
49
-                     'label' => /*@translate*/ 'Portals',
50
-                 ),
51
-             )
45
+                    'type' => 'Jobs/MultipostingSelect',
46
+                    'property' => true,
47
+                    'name' => 'portals',
48
+                    'options' => array(
49
+                        'label' => /*@translate*/ 'Portals',
50
+                    ),
51
+                )
52 52
         );
53 53
     }
54 54
 
Please login to merge, or discard this patch.