Passed
Push — master ( 793370...b09d10 )
by Carsten
12:59
created
module/Jobs/src/Form/MultipostButtonFieldset.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -24,19 +24,19 @@
 block discarded – undo
24 24
     public function init()
25 25
     {
26 26
         $this->add(
27
-             array(
28
-                 'type' => 'Core/Spinner-Submit',
29
-                 'name' => 'calculate',
30
-                 'options' => array(
31
-                     'label' => /*@translate*/ 'Calculate price',
32
-                 ),
33
-                 'attributes' => array(
34
-                     'id' => 'calculate',
35
-                     'type' => 'button',
36
-                     'value' => 'calculate',
37
-                     'class' => 'mps-calculate btn btn-success btn-xs'
38
-                 ),
39
-             )
27
+                array(
28
+                    'type' => 'Core/Spinner-Submit',
29
+                    'name' => 'calculate',
30
+                    'options' => array(
31
+                        'label' => /*@translate*/ 'Calculate price',
32
+                    ),
33
+                    'attributes' => array(
34
+                        'id' => 'calculate',
35
+                        'type' => 'button',
36
+                        'value' => 'calculate',
37
+                        'class' => 'mps-calculate btn btn-success btn-xs'
38
+                    ),
39
+                )
40 40
         );
41 41
 
42 42
         parent::init();
Please login to merge, or discard this patch.
module/Jobs/src/Form/TemplateLabelRequirements.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/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/Form/Hydrator/PreviewLinkHydrator.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -39,12 +39,12 @@
 block discarded – undo
39 39
         $viewLink = $controllerPluginManager->get('url')->fromRoute(
40 40
             'lang/jobs/view',
41 41
             array(
42
-              ),
42
+                ),
43 43
             array(
44
-                  'query' => array(
45
-                      'id' => $data['id'],
46
-                  )
47
-              )
44
+                    'query' => array(
45
+                        'id' => $data['id'],
46
+                    )
47
+                )
48 48
         );
49 49
 
50 50
         $data['previewLink']         = $viewLink;
Please login to merge, or discard this patch.
module/Jobs/src/Acl/CreateAssertion.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@
 block discarded – undo
25 25
 class CreateAssertion extends AbstractEventManagerAwareAssertion
26 26
 {
27 27
     protected $identifiers = array(
28
-         'Jobs/Acl/Assertions',
29
-         'Jobs/Acl/Assertion/Create',
28
+            'Jobs/Acl/Assertions',
29
+            'Jobs/Acl/Assertion/Create',
30 30
     );
31 31
 
32 32
     protected function preAssert(
Please login to merge, or discard this patch.
module/Jobs/src/View/Helper/JobUrl.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -114,10 +114,10 @@
 block discarded – undo
114 114
         } else {
115 115
             $result = sprintf(
116 116
                 '<a href="%s" rel="%s" %s>%s</a>',
117
-                              $url,
118
-                              $options['rel'],
119
-                              $options['target']?"target=" . $options['target']:"",
120
-                              strip_tags($jobEntity->getTitle())
117
+                                $url,
118
+                                $options['rel'],
119
+                                $options['target']?"target=" . $options['target']:"",
120
+                                strip_tags($jobEntity->getTitle())
121 121
             );
122 122
         }
123 123
 
Please login to merge, or discard this patch.
module/Jobs/src/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.
module/Jobs/src/Listener/Publisher.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -172,12 +172,12 @@
 block discarded – undo
172 172
 
173 173
                     if ($publisher->externalId != $response_externalIdUpdate || $publisher->reference != $response_referenceUpdate) {
174 174
                         $logInfo = 'RestCall changed externalID ['
175
-                                   . var_export($publisher->externalId, true)
176
-                                   . ' => '
177
-                                   . var_export($response_externalIdUpdate, true) . '], reference  ['
178
-                                   . var_export($publisher->reference, true)
179
-                                   . ' => '
180
-                                   . var_export($response_referenceUpdate, true) . ']';
175
+                                    . var_export($publisher->externalId, true)
176
+                                    . ' => '
177
+                                    . var_export($response_externalIdUpdate, true) . '], reference  ['
178
+                                    . var_export($publisher->reference, true)
179
+                                    . ' => '
180
+                                    . var_export($response_referenceUpdate, true) . ']';
181 181
                         $log->info($logInfo);
182 182
                         $publisher->reference = $response_referenceUpdate;
183 183
                         $publisher->externalId = $response_externalIdUpdate;
Please login to merge, or discard this patch.
module/Jobs/src/Listener/MailSender.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -136,13 +136,13 @@
 block discarded – undo
136 136
     {
137 137
         $mail = $this->mailer->get('htmltemplate');
138 138
         $mail->setTemplate($template)
139
-             ->setSubject($subject)
140
-             ->setVariables(
141
-                 array(
139
+                ->setSubject($subject)
140
+                ->setVariables(
141
+                    array(
142 142
                                 'job'      => $job,
143 143
                                 'siteName' => $this->options['siteName'],
144 144
                             )
145
-             );
145
+                );
146 146
 
147 147
         if ($adminMail) {
148 148
             $mail->setTo($this->options['adminEmail']);
Please login to merge, or discard this patch.