Completed
Push — develop ( 2c7f98...cb8417 )
by Carsten
14s
created
module/Jobs/src/Jobs/Listener/AdminWidgetProvider.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,15 +39,15 @@
 block discarded – undo
39 39
                                      'title' => 'Jobs',
40 40
                                      'data' => [
41 41
                                         /*@translate*/ 'Total jobs' => [
42
-                                            'url' => [ 'lang/admin/jobs', [], true ],
42
+                                            'url' => ['lang/admin/jobs', [], true],
43 43
                                             'value' => $total,
44 44
                                         ],
45 45
                                         /*@translate*/ 'Active jobs' => [
46
-                                             'url' => [ 'lang/admin/jobs', [], ['query' => [ 'status' => 'active' ]], true ],
46
+                                             'url' => ['lang/admin/jobs', [], ['query' => ['status' => 'active']], true],
47 47
                                              'value' => $active
48 48
                                          ],
49 49
                                         /*@translate*/ 'Pending jobs' => [
50
-                                             'url' => [ 'lang/admin/jobs', [], ['query' => [ 'status' => 'created' ]], true ],
50
+                                             'url' => ['lang/admin/jobs', [], ['query' => ['status' => 'created']], true],
51 51
                                              'value' => $pending
52 52
                                          ]
53 53
                                      ],
Please login to merge, or discard this patch.
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -36,21 +36,21 @@
 block discarded – undo
36 36
         $pending = $this->repository->count(['status.name' => StatusInterface::CREATED]);
37 37
 
38 38
         $event->addViewVariables('jobs', [
39
-                                     'title' => 'Jobs',
40
-                                     'data' => [
39
+                                        'title' => 'Jobs',
40
+                                        'data' => [
41 41
                                         /*@translate*/ 'Total jobs' => [
42 42
                                             'url' => [ 'lang/admin/jobs', [], true ],
43 43
                                             'value' => $total,
44 44
                                         ],
45 45
                                         /*@translate*/ 'Active jobs' => [
46
-                                             'url' => [ 'lang/admin/jobs', [], ['query' => [ 'status' => 'active' ]], true ],
47
-                                             'value' => $active
48
-                                         ],
46
+                                                'url' => [ 'lang/admin/jobs', [], ['query' => [ 'status' => 'active' ]], true ],
47
+                                                'value' => $active
48
+                                            ],
49 49
                                         /*@translate*/ 'Pending jobs' => [
50
-                                             'url' => [ 'lang/admin/jobs', [], ['query' => [ 'status' => 'created' ]], true ],
51
-                                             'value' => $pending
52
-                                         ]
53
-                                     ],
54
-                                 ]);
50
+                                                'url' => [ 'lang/admin/jobs', [], ['query' => [ 'status' => 'created' ]], true ],
51
+                                                'value' => $pending
52
+                                            ]
53
+                                        ],
54
+                                    ]);
55 55
     }
56 56
 }
57 57
\ No newline at end of file
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Form/OrganizationSelect.php 2 patches
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.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -63,10 +63,10 @@
 block discarded – undo
63 63
             $image    = $org->getImage();
64 64
             $imageUrl = $image ? $image->getUri() : '';
65 65
 
66
-            $options[$org->getId()] = $name . '|'
67
-                                      . $contact->getCity() . '|'
68
-                                      . $contact->getStreet() . '|'
69
-                                      . $contact->getHouseNumber() . '|'
66
+            $options[$org->getId()] = $name.'|'
67
+                                      . $contact->getCity().'|'
68
+                                      . $contact->getStreet().'|'
69
+                                      . $contact->getHouseNumber().'|'
70 70
                                       . $imageUrl;
71 71
         }
72 72
 
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Form/View/Helper/PreviewLink.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 
36 36
     public function render(ElementInterface $element, $options = null)
37 37
     {
38
-        $content = '<iframe src="' . $element->getValue() . '" name="preview" style="width:100%; height:800px;"></iframe>';
38
+        $content = '<iframe src="'.$element->getValue().'" name="preview" style="width:100%; height:800px;"></iframe>';
39 39
         return $content;
40 40
     }
41 41
 }
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/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/Jobs/Form/AdminJobEdit.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -30,21 +30,21 @@
 block discarded – undo
30 30
         ));
31 31
 
32 32
         $this->add([
33
-                       'type' => 'Jobs/StatusSelect',
33
+                        'type' => 'Jobs/StatusSelect',
34 34
 
35
-                   ]);
35
+                    ]);
36 36
 
37 37
         $this->add([
38
-                       'type' => 'Core/Datepicker',
39
-                       'name' => 'datePublishStart',
40
-                       'options' => [
41
-                           'label' => /*@translate*/ 'Start date',
42
-                           'description' => /*@translate*/ 'Set the start date of this job.',
43
-                       ],
44
-                       'attributes' => [
45
-                           'data-date-autoclose' => 'true',
46
-                       ],
47
-                   ]);
38
+                        'type' => 'Core/Datepicker',
39
+                        'name' => 'datePublishStart',
40
+                        'options' => [
41
+                            'label' => /*@translate*/ 'Start date',
42
+                            'description' => /*@translate*/ 'Set the start date of this job.',
43
+                        ],
44
+                        'attributes' => [
45
+                            'data-date-autoclose' => 'true',
46
+                        ],
47
+                    ]);
48 48
         $this->setIsDescriptionsEnabled(true);
49 49
     }
50 50
 
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Controller/AssignUserController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
         $job = $this->repository->find($id);
63 63
 
64 64
         if (!$job) {
65
-            throw new \RuntimeException('No job found with id "' . $id . '"');
65
+            throw new \RuntimeException('No job found with id "'.$id.'"');
66 66
         }
67 67
 
68 68
         $this->acl($job, 'edit');
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Factory/Service/JobsPublisherFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
         if (!array_key_exists('path', $config)) {
40 40
             throw new \RuntimeException('path is missing', 500);
41 41
         }
42
-        return $config['scheme'] . '://' . $config['host'] . '/' . $config['path'];
42
+        return $config['scheme'].'://'.$config['host'].'/'.$config['path'];
43 43
     }
44 44
 
45 45
     /**
Please login to merge, or discard this patch.
module/Organizations/src/Organizations/Entity/OrganizationImage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      */
47 47
     function getUri()
48 48
     {
49
-        return '/' . trim('file/Organizations.OrganizationImage/' . $this->id . "/" . urlencode($this->name),'/');
49
+        return '/'.trim('file/Organizations.OrganizationImage/'.$this->id."/".urlencode($this->name), '/');
50 50
     }
51 51
 
52 52
     /**
Please login to merge, or discard this patch.
module/Organizations/src/Organizations/Entity/Employee.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
 
114 114
     public function setStatus($status)
115 115
     {
116
-        if (!defined('self::STATUS_' . strtoupper($status))) {
116
+        if (!defined('self::STATUS_'.strtoupper($status))) {
117 117
             $status = self::STATUS_ASSIGNED;
118 118
         }
119 119
 
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
      * @param $role
135 135
      */
136 136
     public function setRole($role) {
137
-        $this->role=$role;
137
+        $this->role = $role;
138 138
     }
139 139
 
140 140
     /**
Please login to merge, or discard this patch.