Passed
Pull Request — master (#176)
by
unknown
07:49
created
Configuration/TCA/tx_dpf_domain_model_client.php 2 patches
Spacing   +100 added lines, -100 removed lines patch added patch discarded remove patch
@@ -15,8 +15,8 @@  discard block
 block discarded – undo
15 15
 if (!defined('TYPO3_MODE')) {
16 16
     die('Access denied.');
17 17
 }
18
-return array(
19
-    'ctrl' => array(
18
+return array (
19
+    'ctrl' => array (
20 20
         'title'                    => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client',
21 21
         'label'                    => 'project',
22 22
         'tstamp'                   => 'tstamp',
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
         'transOrigPointerField'    => 'l10n_parent',
28 28
         'transOrigDiffSourceField' => 'l10n_diffsource',
29 29
         'delete'                   => 'deleted',
30
-        'enablecolumns'            => array(
30
+        'enablecolumns'            => array (
31 31
             'disabled'  => 'hidden',
32 32
             'starttime' => 'starttime',
33 33
             'endtime'   => 'endtime',
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         'requestUpdate'            => 'replace_niss_part',
47 47
         'iconfile'                 => 'EXT:dpf/Resources/Public/Icons/tx_dpf_domain_model_client.gif',
48 48
     ),
49
-    'interface' => array(
49
+    'interface' => array (
50 50
         'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, client, owner_id,
51 51
         network_initial, library_identifier, admin_email, project, replace_niss_part, niss_part_search, niss_part_replace,
52 52
         sword_host, sword_user, sword_password, sword_collection_namespace, fedora_host, fedora_user, fedora_password,
@@ -59,8 +59,8 @@  discard block
 block discarded – undo
59 59
         admin_embargo_subject,admin_embargo_body,admin_oa_fond_subject,admin_oa_fond_body,
60 60
         suggestion_flashmessage'
61 61
     ),
62
-    'types'     => array(
63
-        '1' => array('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1,
62
+    'types'     => array (
63
+        '1' => array ('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1,
64 64
         client, owner_id, network_initial, library_identifier, admin_email, project, replace_niss_part, niss_part_search, niss_part_replace,
65 65
         --div--;SWORD, sword_host, sword_user, sword_password, sword_collection_namespace,
66 66
         --div--;Fedora, fedora_host, fedora_user, fedora_password,
@@ -71,315 +71,315 @@  discard block
 block discarded – undo
71 71
         --div--;Messages, suggestion_flashmessage,
72 72
         --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'),
73 73
     ),
74
-    'palettes'  => array(
75
-        '1' => array('showitem' => ''),
74
+    'palettes'  => array (
75
+        '1' => array ('showitem' => ''),
76 76
     ),
77
-    'columns'   => array(
78
-        'sys_language_uid'   => array(
77
+    'columns'   => array (
78
+        'sys_language_uid'   => array (
79 79
             'exclude' => 1,
80 80
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
81
-            'config'  => array(
81
+            'config'  => array (
82 82
                 'type'                => 'select',
83 83
                 'renderType'          => 'selectSingle',
84 84
                 'foreign_table'       => 'sys_language',
85 85
                 'foreign_table_where' => 'ORDER BY sys_language.title',
86
-                'items'               => array(
87
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
88
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
86
+                'items'               => array (
87
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
88
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
89 89
                 ),
90 90
             ),
91 91
         ),
92
-        'l10n_parent'        => array(
92
+        'l10n_parent'        => array (
93 93
             'displayCond' => 'FIELD:sys_language_uid:>:0',
94 94
             'exclude'     => 1,
95 95
             'label'       => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
96
-            'config'      => array(
96
+            'config'      => array (
97 97
                 'type'                => 'select',
98 98
                 'renderType'          => 'selectSingle',
99
-                'items'               => array(
100
-                    array('', 0),
99
+                'items'               => array (
100
+                    array ('', 0),
101 101
                 ),
102 102
                 'foreign_table'       => 'tx_dpf_domain_model_client',
103 103
                 'foreign_table_where' => 'AND tx_dpf_domain_model_client.pid=###CURRENT_PID### AND tx_dpf_domain_model_client.sys_language_uid IN (-1,0)',
104 104
             ),
105 105
         ),
106
-        'l10n_diffsource'    => array(
107
-            'config' => array(
106
+        'l10n_diffsource'    => array (
107
+            'config' => array (
108 108
                 'type' => 'passthrough',
109 109
             ),
110 110
         ),
111
-        't3ver_label'        => array(
111
+        't3ver_label'        => array (
112 112
             'label'  => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
113
-            'config' => array(
113
+            'config' => array (
114 114
                 'type' => 'input',
115 115
                 'size' => 30,
116 116
                 'max'  => 255,
117 117
             ),
118 118
         ),
119
-        'hidden'             => array(
119
+        'hidden'             => array (
120 120
             'exclude' => 1,
121 121
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
122
-            'config'  => array(
122
+            'config'  => array (
123 123
                 'type' => 'check',
124 124
             ),
125 125
         ),
126
-        'starttime'          => array(
126
+        'starttime'          => array (
127 127
             'exclude'   => 1,
128 128
             'l10n_mode' => 'mergeIfNotBlank',
129 129
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
130
-            'config'    => array(
130
+            'config'    => array (
131 131
                 'type'     => 'input',
132 132
                 'renderType' => 'inputDateTime',
133 133
                 'size'     => 13,
134 134
                 'eval'     => 'datetime',
135 135
                 'checkbox' => 0,
136 136
                 'default'  => 0,
137
-                'range'    => array(
137
+                'range'    => array (
138 138
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
139 139
                 ),
140 140
             ),
141 141
         ),
142
-        'endtime'            => array(
142
+        'endtime'            => array (
143 143
             'exclude'   => 1,
144 144
             'l10n_mode' => 'mergeIfNotBlank',
145 145
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
146
-            'config'    => array(
146
+            'config'    => array (
147 147
                 'type'     => 'input',
148 148
                 'renderType' => 'inputDateTime',
149 149
                 'size'     => 13,
150 150
                 'eval'     => 'datetime',
151 151
                 'checkbox' => 0,
152 152
                 'default'  => 0,
153
-                'range'    => array(
153
+                'range'    => array (
154 154
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
155 155
                 ),
156 156
             ),
157 157
         ),
158
-        'project'            => array(
158
+        'project'            => array (
159 159
             'exclude'   => 1,
160 160
             'l10n_mode' => 'exclude',
161 161
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.project',
162
-            'config'    => array(
162
+            'config'    => array (
163 163
                 'type' => 'input',
164 164
                 'size' => 30,
165 165
                 'eval' => 'trim',
166 166
             ),
167 167
         ),
168
-        'client'             => array(
168
+        'client'             => array (
169 169
             'exclude'      => 1,
170 170
             'l10n_mode'    => 'exclude',
171 171
             'l10n_display' => 'defaultAsReadonly',
172 172
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.client',
173
-            'config'       => array(
173
+            'config'       => array (
174 174
                 'type' => 'input',
175 175
                 'size' => 30,
176 176
                 'eval' => 'trim',
177 177
             ),
178 178
         ),
179
-        'network_initial'    => array(
179
+        'network_initial'    => array (
180 180
             'exclude'   => 1,
181 181
             'l10n_mode' => 'exclude',
182 182
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.network_initial',
183
-            'config'    => array(
183
+            'config'    => array (
184 184
                 'type' => 'input',
185 185
                 'size' => 30,
186 186
                 'eval' => 'trim',
187 187
             ),
188 188
         ),
189
-        'library_identifier' => array(
189
+        'library_identifier' => array (
190 190
             'exclude'   => 1,
191 191
             'l10n_mode' => 'exclude',
192 192
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.library_identifier',
193
-            'config'    => array(
193
+            'config'    => array (
194 194
                 'type' => 'input',
195 195
                 'size' => 30,
196 196
                 'eval' => 'trim',
197 197
             ),
198 198
         ),
199
-        'owner_id'           => array(
199
+        'owner_id'           => array (
200 200
             'exclude'   => 1,
201 201
             'l10n_mode' => 'exclude',
202 202
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.owner_id',
203
-            'config'    => array(
203
+            'config'    => array (
204 204
                 'type' => 'input',
205 205
                 'size' => 30,
206 206
                 'eval' => 'trim,required',
207 207
             ),
208 208
         ),
209
-        'admin_email'        => array(
209
+        'admin_email'        => array (
210 210
             'exclude'   => 1,
211 211
             'l10n_mode' => 'exclude',
212 212
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_email',
213
-            'config'    => array(
213
+            'config'    => array (
214 214
                 'type' => 'input',
215 215
                 'size' => 30,
216 216
                 'eval' => 'trim',
217 217
             ),
218 218
         ),
219
-        'replace_niss_part'  => array(
219
+        'replace_niss_part'  => array (
220 220
             'exclude'   => 1,
221 221
             'l10n_mode' => 'exclude',
222 222
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.replace_niss_part',
223
-            'config'    => array(
223
+            'config'    => array (
224 224
                 'type'    => 'check',
225 225
                 'default' => 0,
226 226
             ),
227 227
             'onChange' => 'reload',
228 228
         ),
229
-        'niss_part_search'   => array(
229
+        'niss_part_search'   => array (
230 230
             'exclude'     => 1,
231 231
             'label'       => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.niss_part_search',
232 232
             'displayCond' => 'FIELD:replace_niss_part:=:1',
233
-            'config'      => array(
233
+            'config'      => array (
234 234
                 'type' => 'input',
235 235
                 'size' => 30,
236 236
                 'eval' => 'trim,required',
237 237
             ),
238 238
         ),
239
-        'niss_part_replace'  => array(
239
+        'niss_part_replace'  => array (
240 240
             'exclude'     => 1,
241 241
             'label'       => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.niss_part_replace',
242 242
             'displayCond' => 'FIELD:replace_niss_part:=:1',
243
-            'config'      => array(
243
+            'config'      => array (
244 244
                 'type' => 'input',
245 245
                 'size' => 30,
246 246
                 'eval' => 'trim,required',
247 247
             ),
248 248
         ),
249
-        'sword_host' => array(
249
+        'sword_host' => array (
250 250
             'exclude'      => 1,
251 251
             'l10n_mode'    => 'exclude',
252 252
             'l10n_display' => 'defaultAsReadonly',
253 253
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.sword_host',
254
-            'config'       => array(
254
+            'config'       => array (
255 255
                 'type' => 'input',
256 256
                 'size' => 30,
257 257
                 'eval' => 'trim',
258 258
             ),
259 259
         ),
260
-        'sword_user' => array(
260
+        'sword_user' => array (
261 261
             'exclude'      => 1,
262 262
             'l10n_mode'    => 'exclude',
263 263
             'l10n_display' => 'defaultAsReadonly',
264 264
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.sword_user',
265
-            'config'       => array(
265
+            'config'       => array (
266 266
                 'type' => 'input',
267 267
                 'size' => 30,
268 268
                 'eval' => 'trim',
269 269
             ),
270 270
         ),
271
-        'sword_password' => array(
271
+        'sword_password' => array (
272 272
             'exclude'      => 1,
273 273
             'l10n_mode'    => 'exclude',
274 274
             'l10n_display' => 'defaultAsReadonly',
275 275
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.sword_password',
276
-            'config'       => array(
276
+            'config'       => array (
277 277
                 'type' => 'input',
278 278
                 'size' => 30,
279 279
                 'eval' => 'trim',
280 280
             ),
281 281
         ),
282
-        'sword_collection_namespace' => array(
282
+        'sword_collection_namespace' => array (
283 283
             'exclude'      => 1,
284 284
             'l10n_mode'    => 'exclude',
285 285
             'l10n_display' => 'defaultAsReadonly',
286 286
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.sword_collection_namespace',
287
-            'config'       => array(
287
+            'config'       => array (
288 288
                 'type' => 'input',
289 289
                 'size' => 30,
290 290
                 'eval' => 'trim',
291 291
             ),
292 292
         ),
293
-        'fedora_host' => array(
293
+        'fedora_host' => array (
294 294
             'exclude'      => 1,
295 295
             'l10n_mode'    => 'exclude',
296 296
             'l10n_display' => 'defaultAsReadonly',
297 297
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.fedora_host',
298
-            'config'       => array(
298
+            'config'       => array (
299 299
                 'type' => 'input',
300 300
                 'size' => 30,
301 301
                 'eval' => 'trim',
302 302
             ),
303 303
         ),
304
-        'fedora_user' => array(
304
+        'fedora_user' => array (
305 305
             'exclude'      => 1,
306 306
             'l10n_mode'    => 'exclude',
307 307
             'l10n_display' => 'defaultAsReadonly',
308 308
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.fedora_user',
309
-            'config'       => array(
309
+            'config'       => array (
310 310
                 'type' => 'input',
311 311
                 'size' => 30,
312 312
                 'eval' => 'trim',
313 313
             ),
314 314
         ),
315
-        'fedora_password' => array(
315
+        'fedora_password' => array (
316 316
             'exclude'      => 1,
317 317
             'l10n_mode'    => 'exclude',
318 318
             'l10n_display' => 'defaultAsReadonly',
319 319
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.fedora_password',
320
-            'config'       => array(
320
+            'config'       => array (
321 321
                 'type' => 'input',
322 322
                 'size' => 30,
323 323
                 'eval' => 'trim',
324 324
             ),
325 325
         ),
326
-        'elastic_search_host' => array(
326
+        'elastic_search_host' => array (
327 327
             'exclude'      => 1,
328 328
             'l10n_mode'    => 'exclude',
329 329
             'l10n_display' => 'defaultAsReadonly',
330 330
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.elastic_search_host',
331
-            'config'       => array(
331
+            'config'       => array (
332 332
                 'type' => 'input',
333 333
                 'size' => 30,
334 334
                 'eval' => 'trim',
335 335
             ),
336 336
         ),
337
-        'elastic_search_port' => array(
337
+        'elastic_search_port' => array (
338 338
             'exclude'      => 1,
339 339
             'l10n_mode'    => 'exclude',
340 340
             'l10n_display' => 'defaultAsReadonly',
341 341
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.elastic_search_port',
342
-            'config'       => array(
342
+            'config'       => array (
343 343
                 'type' => 'input',
344 344
                 'size' => 30,
345 345
                 'eval' => 'trim',
346 346
             ),
347 347
         ),
348
-        'upload_directory' => array(
348
+        'upload_directory' => array (
349 349
             'exclude'      => 1,
350 350
             'l10n_mode'    => 'exclude',
351 351
             'l10n_display' => 'defaultAsReadonly',
352 352
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.upload_directory',
353
-            'config'       => array(
353
+            'config'       => array (
354 354
                 'type' => 'input',
355 355
                 'size' => 30,
356 356
                 'eval' => 'trim',
357 357
             ),
358 358
         ),
359
-        'upload_domain' => array(
359
+        'upload_domain' => array (
360 360
             'exclude'      => 1,
361 361
             'l10n_mode'    => 'exclude',
362 362
             'l10n_display' => 'defaultAsReadonly',
363 363
             'label'        => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.upload_domain',
364
-            'config'       => array(
364
+            'config'       => array (
365 365
                 'type' => 'input',
366 366
                 'size' => 30,
367 367
                 'eval' => 'trim',
368 368
             ),
369 369
         ),
370
-        'admin_new_document_notification_subject' => array(
370
+        'admin_new_document_notification_subject' => array (
371 371
             'exclude' => 1,
372 372
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_new_document_notification_subject',
373
-            'config'  => array(
373
+            'config'  => array (
374 374
                 'type' => 'input',
375 375
                 'size' => 50,
376 376
                 'eval' => 'trim',
377 377
             ),
378 378
         ),
379
-        'admin_new_document_notification_body' => array(
379
+        'admin_new_document_notification_body' => array (
380 380
             'exclude' => 1,
381 381
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_new_document_notification_body',
382
-            'config'  => array(
382
+            'config'  => array (
383 383
                 'type' => 'text',
384 384
                 'cols' => 40,
385 385
                 'rows' => 15,
@@ -387,19 +387,19 @@  discard block
 block discarded – undo
387 387
                 'enableRichtext' => true,
388 388
             ),
389 389
         ),
390
-        'admin_register_document_notification_subject' => array(
390
+        'admin_register_document_notification_subject' => array (
391 391
             'exclude' => 1,
392 392
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_register_document_notification_subject',
393
-            'config'  => array(
393
+            'config'  => array (
394 394
                 'type' => 'input',
395 395
                 'size' => 50,
396 396
                 'eval' => 'trim',
397 397
             ),
398 398
         ),
399
-        'admin_register_document_notification_body' => array(
399
+        'admin_register_document_notification_body' => array (
400 400
             'exclude' => 1,
401 401
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_register_document_notification_body',
402
-            'config'  => array(
402
+            'config'  => array (
403 403
                 'type' => 'text',
404 404
                 'cols' => 40,
405 405
                 'rows' => 15,
@@ -407,19 +407,19 @@  discard block
 block discarded – undo
407 407
                 'enableRichtext' => true,
408 408
             ),
409 409
         ),
410
-        'submitter_new_document_notification_subject' => array(
410
+        'submitter_new_document_notification_subject' => array (
411 411
             'exclude' => 1,
412 412
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_new_document_notification_subject',
413
-            'config'  => array(
413
+            'config'  => array (
414 414
                 'type' => 'input',
415 415
                 'size' => 50,
416 416
                 'eval' => 'trim',
417 417
             ),
418 418
         ),
419
-        'submitter_new_document_notification_body' => array(
419
+        'submitter_new_document_notification_body' => array (
420 420
             'exclude' => 1,
421 421
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_new_document_notification_body',
422
-            'config'  => array(
422
+            'config'  => array (
423 423
                 'type' => 'text',
424 424
                 'cols' => 40,
425 425
                 'rows' => 15,
@@ -427,19 +427,19 @@  discard block
 block discarded – undo
427 427
                 'enableRichtext' => true,
428 428
             ),
429 429
         ),
430
-        'submitter_ingest_notification_subject' => array(
430
+        'submitter_ingest_notification_subject' => array (
431 431
             'exclude' => 1,
432 432
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_ingest_notification_subject',
433
-            'config'  => array(
433
+            'config'  => array (
434 434
                 'type' => 'input',
435 435
                 'size' => 50,
436 436
                 'eval' => 'trim',
437 437
             ),
438 438
         ),
439
-        'submitter_ingest_notification_body' => array(
439
+        'submitter_ingest_notification_body' => array (
440 440
             'exclude' => 1,
441 441
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.submitter_ingest_notification_body',
442
-            'config'  => array(
442
+            'config'  => array (
443 443
                 'type' => 'text',
444 444
                 'cols' => 40,
445 445
                 'rows' => 15,
@@ -447,19 +447,19 @@  discard block
 block discarded – undo
447 447
                 'enableRichtext' => true,
448 448
             ),
449 449
         ),
450
-        'admin_new_suggestion_subject' => array(
450
+        'admin_new_suggestion_subject' => array (
451 451
             'exclude' => 1,
452 452
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_new_suggestion_subject',
453
-            'config'  => array(
453
+            'config'  => array (
454 454
                 'type' => 'input',
455 455
                 'size' => 50,
456 456
                 'eval' => 'trim',
457 457
             ),
458 458
         ),
459
-        'admin_new_suggestion_body' => array(
459
+        'admin_new_suggestion_body' => array (
460 460
             'exclude' => 1,
461 461
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_new_suggestion_body',
462
-            'config'  => array(
462
+            'config'  => array (
463 463
                 'type' => 'text',
464 464
                 'cols' => 40,
465 465
                 'rows' => 15,
@@ -467,19 +467,19 @@  discard block
 block discarded – undo
467 467
                 'enableRichtext' => true,
468 468
             ),
469 469
         ),
470
-        'admin_embargo_subject' => array(
470
+        'admin_embargo_subject' => array (
471 471
             'exclude' => 1,
472 472
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_embargo_subject',
473
-            'config'  => array(
473
+            'config'  => array (
474 474
                 'type' => 'input',
475 475
                 'size' => 50,
476 476
                 'eval' => 'trim',
477 477
             ),
478 478
         ),
479
-        'admin_embargo_body' => array(
479
+        'admin_embargo_body' => array (
480 480
             'exclude' => 1,
481 481
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_embargo_body',
482
-            'config'  => array(
482
+            'config'  => array (
483 483
                 'type' => 'text',
484 484
                 'cols' => 40,
485 485
                 'rows' => 15,
@@ -487,19 +487,19 @@  discard block
 block discarded – undo
487 487
                 'enableRichtext' => true,
488 488
             ),
489 489
         ),
490
-        'admin_oa_fond_subject' => array(
490
+        'admin_oa_fond_subject' => array (
491 491
             'exclude' => 1,
492 492
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_oa_fond_subject',
493
-            'config'  => array(
493
+            'config'  => array (
494 494
                 'type' => 'input',
495 495
                 'size' => 50,
496 496
                 'eval' => 'trim',
497 497
             ),
498 498
         ),
499
-        'admin_oa_fond_body' => array(
499
+        'admin_oa_fond_body' => array (
500 500
             'exclude' => 1,
501 501
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.admin_oa_fond_body',
502
-            'config'  => array(
502
+            'config'  => array (
503 503
                 'type' => 'text',
504 504
                 'cols' => 40,
505 505
                 'rows' => 15,
@@ -507,10 +507,10 @@  discard block
 block discarded – undo
507 507
                 'enableRichtext' => true,
508 508
             ),
509 509
         ),
510
-        'suggestion_flashmessage' => array(
510
+        'suggestion_flashmessage' => array (
511 511
             'exclude' => 1,
512 512
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_client.suggestion_flashmessage',
513
-            'config'  => array(
513
+            'config'  => array (
514 514
                 'type' => 'input',
515 515
                 'size' => 50,
516 516
                 'eval' => 'trim',
Please login to merge, or discard this patch.
Upper-Lower-Casing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
         'tstamp'                   => 'tstamp',
23 23
         'crdate'                   => 'crdate',
24 24
         'cruser_id'                => 'cruser_id',
25
-        'versioningWS'             => true,
25
+        'versioningWS'             => TRUE,
26 26
         'languageField'            => 'sys_language_uid',
27 27
         'transOrigPointerField'    => 'l10n_parent',
28 28
         'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -384,7 +384,7 @@  discard block
 block discarded – undo
384 384
                 'cols' => 40,
385 385
                 'rows' => 15,
386 386
                 'eval' => 'trim',
387
-                'enableRichtext' => true,
387
+                'enableRichtext' => TRUE,
388 388
             ),
389 389
         ),
390 390
         'admin_register_document_notification_subject' => array(
@@ -404,7 +404,7 @@  discard block
 block discarded – undo
404 404
                 'cols' => 40,
405 405
                 'rows' => 15,
406 406
                 'eval' => 'trim',
407
-                'enableRichtext' => true,
407
+                'enableRichtext' => TRUE,
408 408
             ),
409 409
         ),
410 410
         'submitter_new_document_notification_subject' => array(
@@ -424,7 +424,7 @@  discard block
 block discarded – undo
424 424
                 'cols' => 40,
425 425
                 'rows' => 15,
426 426
                 'eval' => 'trim',
427
-                'enableRichtext' => true,
427
+                'enableRichtext' => TRUE,
428 428
             ),
429 429
         ),
430 430
         'submitter_ingest_notification_subject' => array(
@@ -444,7 +444,7 @@  discard block
 block discarded – undo
444 444
                 'cols' => 40,
445 445
                 'rows' => 15,
446 446
                 'eval' => 'trim',
447
-                'enableRichtext' => true,
447
+                'enableRichtext' => TRUE,
448 448
             ),
449 449
         ),
450 450
         'admin_new_suggestion_subject' => array(
@@ -464,7 +464,7 @@  discard block
 block discarded – undo
464 464
                 'cols' => 40,
465 465
                 'rows' => 15,
466 466
                 'eval' => 'trim',
467
-                'enableRichtext' => true,
467
+                'enableRichtext' => TRUE,
468 468
             ),
469 469
         ),
470 470
         'admin_embargo_subject' => array(
@@ -484,7 +484,7 @@  discard block
 block discarded – undo
484 484
                 'cols' => 40,
485 485
                 'rows' => 15,
486 486
                 'eval' => 'trim',
487
-                'enableRichtext' => true,
487
+                'enableRichtext' => TRUE,
488 488
             ),
489 489
         ),
490 490
         'admin_oa_fond_subject' => array(
@@ -504,7 +504,7 @@  discard block
 block discarded – undo
504 504
                 'cols' => 40,
505 505
                 'rows' => 15,
506 506
                 'eval' => 'trim',
507
-                'enableRichtext' => true,
507
+                'enableRichtext' => TRUE,
508 508
             ),
509 509
         ),
510 510
         'suggestion_flashmessage' => array(
Please login to merge, or discard this patch.
Classes/Controller/DocumentFormBackofficeController.php 2 patches
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
     }
92 92
 
93 93
     public function arrayRecursiveDiff($aArray1, $aArray2) {
94
-        $aReturn = array();
94
+        $aReturn = array ();
95 95
 
96 96
         foreach ($aArray1 as $mKey => $mValue) {
97 97
             if (array_key_exists($mKey, $aArray2)) {
@@ -139,13 +139,13 @@  discard block
 block discarded – undo
139 139
                 $message = LocalizationUtility::translate(
140 140
                     'LLL:EXT:dpf/Resources/Private/Language/locallang.xlf:document_edit.accessDenied',
141 141
                     'dpf',
142
-                    array($document->getTitle())
142
+                    array ($document->getTitle())
143 143
                 );
144 144
             } else {
145 145
                 $message = LocalizationUtility::translate(
146 146
                     'LLL:EXT:dpf/Resources/Private/Language/locallang.xlf:document_edit.failureBlocked',
147 147
                     'dpf',
148
-                    array($document->getTitle())
148
+                    array ($document->getTitle())
149 149
                 );
150 150
             }
151 151
 
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
         $this->view->assign('suggestMod', $suggestMod);
159 159
 
160 160
         $this->editingLockService->lock(
161
-            ($document->getObjectIdentifier()? $document->getObjectIdentifier() : $document->getUid()),
161
+            ($document->getObjectIdentifier() ? $document->getObjectIdentifier() : $document->getUid()),
162 162
             $this->security->getUser()->getUid()
163 163
         );
164 164
 
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
 
249 249
         } catch (\Throwable $t) {
250 250
             $severity = \TYPO3\CMS\Core\Messaging\AbstractMessage::ERROR;
251
-            $this->addFlashMessage("Failed", '', $severity,false);
251
+            $this->addFlashMessage("Failed", '', $severity, false);
252 252
         }
253 253
 
254 254
         $this->redirectToDocumentList();
@@ -305,7 +305,7 @@  discard block
 block discarded – undo
305 305
                 $message = LocalizationUtility::translate(
306 306
                     'LLL:EXT:dpf/Resources/Private/Language/locallang.xlf:document_update.accessDenied',
307 307
                     'dpf',
308
-                    array($document->getTitle())
308
+                    array ($document->getTitle())
309 309
                 );
310 310
                 $this->addFlashMessage($message, '', AbstractMessage::ERROR);
311 311
                 $this->redirect(
@@ -324,7 +324,7 @@  discard block
 block discarded – undo
324 324
             $workflowTransition = null;
325 325
 
326 326
             // Convert the temporary copy into a local working copy if needed.
327
-            if ( $updateDocument->isTemporaryCopy() && $saveMode == 'saveWorkingCopy') {
327
+            if ($updateDocument->isTemporaryCopy() && $saveMode == 'saveWorkingCopy') {
328 328
                 $saveWorkingCopy = true;
329 329
                 $updateDocument->setTemporary(false);
330 330
                 $workflowTransition = DocumentWorkflow::TRANSITION_IN_PROGRESS;
@@ -347,7 +347,7 @@  discard block
 block discarded – undo
347 347
                 $message = LocalizationUtility::translate(
348 348
                     'LLL:EXT:dpf/Resources/Private/Language/locallang.xlf:document_update.success',
349 349
                     'dpf',
350
-                    array($updateDocument->getTitle())
350
+                    array ($updateDocument->getTitle())
351 351
                 );
352 352
                 $this->addFlashMessage($message, '', AbstractMessage::OK);
353 353
 
@@ -401,7 +401,7 @@  discard block
 block discarded – undo
401 401
                 $message = LocalizationUtility::translate(
402 402
                     'LLL:EXT:dpf/Resources/Private/Language/locallang.xlf:document_update.failure',
403 403
                     'dpf',
404
-                    array($updateDocument->getTitle())
404
+                    array ($updateDocument->getTitle())
405 405
                 );
406 406
                 $this->addFlashMessage($message, '', AbstractMessage::ERROR);
407 407
             }
@@ -427,7 +427,7 @@  discard block
 block discarded – undo
427 427
             $exceptionMsg[] = LocalizationUtility::translate(
428 428
                 'LLL:EXT:dpf/Resources/Private/Language/locallang.xlf:document_update.failure',
429 429
                 'dpf',
430
-                array($updateDocument->getTitle())
430
+                array ($updateDocument->getTitle())
431 431
             );
432 432
 
433 433
             $exceptionMsg[] = LocalizationUtility::translate($key, 'dpf');
@@ -551,7 +551,7 @@  discard block
 block discarded – undo
551 551
         if ($redirectUri) {
552 552
             $this->redirectToUri($redirectUri);
553 553
         } else {
554
-            $this->redirect($action, $controller, null, array('message' => $message));
554
+            $this->redirect($action, $controller, null, array ('message' => $message));
555 555
         }
556 556
     }
557 557
 
Please login to merge, or discard this patch.
Upper-Lower-Casing   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      * @var \EWW\Dpf\Services\Document\EditingLockService
52 52
      * @inject
53 53
      */
54
-    protected $editingLockService = null;
54
+    protected $editingLockService = NULL;
55 55
 
56 56
     /**
57 57
      * documentManager
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      * @var \EWW\Dpf\Services\Document\DocumentManager
60 60
      * @inject
61 61
      */
62
-    protected $documentManager = null;
62
+    protected $documentManager = NULL;
63 63
 
64 64
     /**
65 65
      * bookmarkRepository
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      * @var \EWW\Dpf\Domain\Repository\BookmarkRepository
68 68
      * @inject
69 69
      */
70
-    protected $bookmarkRepository = null;
70
+    protected $bookmarkRepository = NULL;
71 71
 
72 72
     /**
73 73
      * clientConfigurationManager
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
      * @return void
122 122
      */
123 123
     public function editAction(
124
-        \EWW\Dpf\Domain\Model\DocumentForm $documentForm, bool $suggestMod = false, $activeFileTab = false
124
+        \EWW\Dpf\Domain\Model\DocumentForm $documentForm, bool $suggestMod = FALSE, $activeFileTab = FALSE
125 125
     )
126 126
     {
127 127
         /** @var \EWW\Dpf\Domain\Model\Document $document */
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
             }
151 151
 
152 152
             $this->addFlashMessage($message, '', AbstractMessage::ERROR);
153
-            $this->redirect('showDetails', 'Document', null, ['document' => $document]);
153
+            $this->redirect('showDetails', 'Document', NULL, ['document' => $document]);
154 154
             return FALSE;
155 155
         }
156 156
 
@@ -174,17 +174,17 @@  discard block
 block discarded – undo
174 174
     {
175 175
         $documentMapper = $this->objectManager->get(DocumentMapper::class);
176 176
 
177
-        $hasFilesFlag = true;
177
+        $hasFilesFlag = TRUE;
178 178
 
179 179
         $workingCopy = $this->documentRepository->findByUid($documentForm->getDocumentUid());
180 180
 
181 181
         if ($workingCopy->isTemporary()) {
182
-            $workingCopy->setTemporary(false);
182
+            $workingCopy->setTemporary(FALSE);
183 183
         }
184 184
 
185 185
         if (empty($workingCopy->getFileData())) {
186 186
             // no files are linked to the document
187
-            $hasFilesFlag = false;
187
+            $hasFilesFlag = FALSE;
188 188
         }
189 189
 
190 190
         $newDocument = $this->objectManager->get(Document::class);
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
             $newDocument->setLinkedUid($document->getUid());
205 205
         }
206 206
 
207
-        $newDocument->setSuggestion(true);
207
+        $newDocument->setSuggestion(TRUE);
208 208
         $newDocument->setComment($document->getComment());
209 209
 
210 210
         if ($restore) {
@@ -241,14 +241,14 @@  discard block
 block discarded – undo
241 241
                     ''
242 242
                 );
243 243
             }
244
-            $this->addFlashMessage($flashMessage, '', AbstractMessage::OK, true);
244
+            $this->addFlashMessage($flashMessage, '', AbstractMessage::OK, TRUE);
245 245
 
246 246
             $notifier = $this->objectManager->get(Notifier::class);
247 247
             $notifier->sendAdminNewSuggestionNotification($newDocument);
248 248
 
249 249
         } catch (\Throwable $t) {
250 250
             $severity = \TYPO3\CMS\Core\Messaging\AbstractMessage::ERROR;
251
-            $this->addFlashMessage("Failed", '', $severity,false);
251
+            $this->addFlashMessage("Failed", '', $severity,FALSE);
252 252
         }
253 253
 
254 254
         $this->redirectToDocumentList();
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
     {
260 260
         if ($this->request->getArgument('documentData')['suggestMod']) {
261 261
             $restore = $this->request->getArgument('documentData')['suggestRestore'];
262
-            $this->forward('createSuggestionDocument', null, null, ['documentForm' => $documentForm, 'restore' => $restore]);
262
+            $this->forward('createSuggestionDocument', NULL, NULL, ['documentForm' => $documentForm, 'restore' => $restore]);
263 263
         }
264 264
 
265 265
         if ($this->request->hasArgument('saveAndUpdate')) {
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
         } elseif ($this->request->hasArgument('saveWorkingCopy')) {
268 268
             $saveMode = 'saveWorkingCopy';
269 269
         } else {
270
-            $saveMode = null;
270
+            $saveMode = NULL;
271 271
         }
272 272
 
273 273
         $this->forward(
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
      * @throws \TYPO3\CMS\Extbase\Mvc\Exception\StopActionException
290 290
      * @throws \TYPO3\CMS\Extbase\Mvc\Exception\UnsupportedRequestTypeException
291 291
      */
292
-    public function updateDocumentAction(\EWW\Dpf\Domain\Model\DocumentForm $documentForm, $saveMode = null)
292
+    public function updateDocumentAction(\EWW\Dpf\Domain\Model\DocumentForm $documentForm, $saveMode = NULL)
293 293
     {
294 294
         try {
295 295
             /** @var \EWW\Dpf\Domain\Model\Document $document */
@@ -310,7 +310,7 @@  discard block
 block discarded – undo
310 310
                 $this->addFlashMessage($message, '', AbstractMessage::ERROR);
311 311
                 $this->redirect(
312 312
                     'showDetails', 'Document',
313
-                    null, ['document' => $document]
313
+                    NULL, ['document' => $document]
314 314
                 );
315 315
             }
316 316
 
@@ -320,13 +320,13 @@  discard block
 block discarded – undo
320 320
             /** @var \EWW\Dpf\Domain\Model\Document $updateDocument */
321 321
             $updateDocument = $documentMapper->getDocument($documentForm);
322 322
 
323
-            $saveWorkingCopy = false;
324
-            $workflowTransition = null;
323
+            $saveWorkingCopy = FALSE;
324
+            $workflowTransition = NULL;
325 325
 
326 326
             // Convert the temporary copy into a local working copy if needed.
327 327
             if ( $updateDocument->isTemporaryCopy() && $saveMode == 'saveWorkingCopy') {
328
-                $saveWorkingCopy = true;
329
-                $updateDocument->setTemporary(false);
328
+                $saveWorkingCopy = TRUE;
329
+                $updateDocument->setTemporary(FALSE);
330 330
                 $workflowTransition = DocumentWorkflow::TRANSITION_IN_PROGRESS;
331 331
             } elseif ($updateDocument->isTemporaryCopy() && $saveMode == 'saveAndUpdate') {
332 332
                 $workflowTransition = DocumentWorkflow::TRANSITION_REMOTE_UPDATE;
@@ -409,7 +409,7 @@  discard block
 block discarded – undo
409 409
             if ($workflowTransition && $workflowTransition === DocumentWorkflow::TRANSITION_REMOTE_UPDATE) {
410 410
                 $this->redirectToDocumentList();
411 411
             } else {
412
-                $this->redirect('showDetails', 'Document', null, ['document' => $updateDocument]);
412
+                $this->redirect('showDetails', 'Document', NULL, ['document' => $updateDocument]);
413 413
             }
414 414
         } catch (\TYPO3\CMS\Extbase\Mvc\Exception\StopActionException $e) {
415 415
             // A redirect always throws this exception, but in this case, however,
@@ -432,8 +432,8 @@  discard block
 block discarded – undo
432 432
 
433 433
             $exceptionMsg[] = LocalizationUtility::translate($key, 'dpf');
434 434
 
435
-            $this->addFlashMessage(implode(" ", $exceptionMsg), '', $severity, true);
436
-            $this->redirect('showDetails', 'Document', null, ['document' => $updateDocument]);
435
+            $this->addFlashMessage(implode(" ", $exceptionMsg), '', $severity, TRUE);
436
+            $this->redirect('showDetails', 'Document', NULL, ['document' => $updateDocument]);
437 437
         }
438 438
     }
439 439
 
@@ -450,7 +450,7 @@  discard block
 block discarded – undo
450 450
             $args[] = $document->getTitle();
451 451
             $message = LocalizationUtility::translate($key, 'dpf', $args);
452 452
             $this->addFlashMessage($message, '', AbstractMessage::ERROR);
453
-            $this->redirect('showDetails', 'Document', null, ['document' => $document]);
453
+            $this->redirect('showDetails', 'Document', NULL, ['document' => $document]);
454 454
             return FALSE;
455 455
         }
456 456
 
@@ -464,7 +464,7 @@  discard block
 block discarded – undo
464 464
                 $message,
465 465
                 '',
466 466
                 $severity,
467
-                true
467
+                TRUE
468 468
             );
469 469
 
470 470
         } catch (\TYPO3\CMS\Extbase\Mvc\Exception\StopActionException $e) {
@@ -486,7 +486,7 @@  discard block
 block discarded – undo
486 486
                 implode(" ", $message),
487 487
                 '',
488 488
                 $severity,
489
-                true
489
+                TRUE
490 490
             );
491 491
         }
492 492
 
@@ -509,7 +509,7 @@  discard block
 block discarded – undo
509 509
             /** @var $document \EWW\Dpf\Domain\Model\Document */
510 510
             $document = $this->documentRepository->findByUid($documentUid);
511 511
 
512
-            $this->redirect('showDetails', 'Document', null, ['document' => $document]);
512
+            $this->redirect('showDetails', 'Document', NULL, ['document' => $document]);
513 513
         } else {
514 514
             $this->redirectToDocumentList();
515 515
         }
@@ -544,14 +544,14 @@  discard block
 block discarded – undo
544 544
      * @throws \TYPO3\CMS\Extbase\Mvc\Exception\StopActionException
545 545
      * @throws \TYPO3\CMS\Extbase\Mvc\Exception\UnsupportedRequestTypeException
546 546
      */
547
-    protected function redirectToDocumentList($message = null)
547
+    protected function redirectToDocumentList($message = NULL)
548 548
     {
549 549
         list($action, $controller, $redirectUri) = $this->session->getStoredAction();
550 550
 
551 551
         if ($redirectUri) {
552 552
             $this->redirectToUri($redirectUri);
553 553
         } else {
554
-            $this->redirect($action, $controller, null, array('message' => $message));
554
+            $this->redirect($action, $controller, NULL, array('message' => $message));
555 555
         }
556 556
     }
557 557
 
Please login to merge, or discard this patch.
Classes/Configuration/ClientConfigurationManager.php 3 patches
Indentation   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 class ClientConfigurationManager
23 23
 {
24 24
 
25
-	/**
25
+    /**
26 26
      * objectManager
27 27
      *
28 28
      * @var \TYPO3\CMS\Extbase\Object\ObjectManagerInterface
@@ -65,8 +65,8 @@  discard block
 block discarded – undo
65 65
         $objectManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(ObjectManager::class);
66 66
         $clientRepository = $objectManager->get(ClientRepository::class);
67 67
 
68
-		if (TYPO3_MODE === 'BE')
69
-		{
68
+        if (TYPO3_MODE === 'BE')
69
+        {
70 70
             $selectedPageId = (int) \TYPO3\CMS\Core\Utility\GeneralUtility::_GP('id');
71 71
             if ($selectedPageId)
72 72
             {
@@ -77,15 +77,15 @@  discard block
 block discarded – undo
77 77
                 $this->settings = $settings; //['settings'];
78 78
             }
79 79
 
80
-		}
81
-		else
82
-		{
80
+        }
81
+        else
82
+        {
83 83
             $this->client = $clientRepository->findAll()->current();
84 84
 
85 85
             $configurationManager = $objectManager->get(ConfigurationManager::class);
86
-    		$this->settings = $configurationManager->getConfiguration(
87
-            	\TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface::CONFIGURATION_TYPE_SETTINGS
88
-        	);
86
+            $this->settings = $configurationManager->getConfiguration(
87
+                \TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface::CONFIGURATION_TYPE_SETTINGS
88
+            );
89 89
 
90 90
         }
91 91
 
@@ -121,57 +121,57 @@  discard block
 block discarded – undo
121 121
 
122 122
     public function getSwordHost()
123 123
     {
124
-    	return $this->getSetting("swordHost","swordHost");
124
+        return $this->getSetting("swordHost","swordHost");
125 125
     }
126 126
 
127
-	public function getSwordUser()
127
+    public function getSwordUser()
128 128
     {
129
-    	return $this->getSetting("swordUser","swordUser");
129
+        return $this->getSetting("swordUser","swordUser");
130 130
     }
131 131
 
132
-	public function getSwordPassword()
132
+    public function getSwordPassword()
133 133
     {
134
-    	return $this->getSetting("swordPassword","swordPassword");
134
+        return $this->getSetting("swordPassword","swordPassword");
135 135
     }
136 136
 
137
-	public function getSwordCollectionNamespace()
137
+    public function getSwordCollectionNamespace()
138 138
     {
139
-    	return $this->getSetting("swordCollectionNamespace","swordCollectionNamespace");
139
+        return $this->getSetting("swordCollectionNamespace","swordCollectionNamespace");
140 140
     }
141 141
 
142
-	public function getFedoraHost()
142
+    public function getFedoraHost()
143 143
     {
144
-    	return $this->getSetting("fedoraHost","fedoraHost");
144
+        return $this->getSetting("fedoraHost","fedoraHost");
145 145
     }
146 146
 
147
-	public function getFedoraUser()
147
+    public function getFedoraUser()
148 148
     {
149
-    	return $this->getSetting("fedoraUser","fedoraUser");
149
+        return $this->getSetting("fedoraUser","fedoraUser");
150 150
     }
151 151
 
152
-	public function getFedoraPassword()
152
+    public function getFedoraPassword()
153 153
     {
154
-    	return $this->getSetting("fedoraPassword","fedoraPassword");
154
+        return $this->getSetting("fedoraPassword","fedoraPassword");
155 155
     }
156 156
 
157
-	public function getElasticSearchHost()
157
+    public function getElasticSearchHost()
158 158
     {
159
-    	return $this->getSetting("elasticSearchHost","elasticSearchHost");
159
+        return $this->getSetting("elasticSearchHost","elasticSearchHost");
160 160
     }
161 161
 
162
-	public function getElasticSearchPort()
162
+    public function getElasticSearchPort()
163 163
     {
164
-    	return $this->getSetting("elasticSearchPort","elasticSearchPort");
164
+        return $this->getSetting("elasticSearchPort","elasticSearchPort");
165 165
     }
166 166
 
167
-	public function getUploadDirectory()
167
+    public function getUploadDirectory()
168 168
     {
169
-    	return $this->getSetting("uploadDirectory","uploadDirectory");
169
+        return $this->getSetting("uploadDirectory","uploadDirectory");
170 170
     }
171 171
 
172
-	public function getUploadDomain()
172
+    public function getUploadDomain()
173 173
     {
174
-    	return $this->getSetting("uploadDomain","uploadDomain");
174
+        return $this->getSetting("uploadDomain","uploadDomain");
175 175
     }
176 176
 
177 177
     public function getSuggestionFlashMessage()
Please login to merge, or discard this patch.
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      *
44 44
      * @var array
45 45
      */
46
-    protected $settings = array();
46
+    protected $settings = array ();
47 47
 
48 48
 
49 49
     /**
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      *
59 59
      * @var array
60 60
      */
61
-    protected $extensionConfiguration = array();
61
+    protected $extensionConfiguration = array ();
62 62
 
63 63
     public function __construct()
64 64
     {
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
                 $this->client = $clientRepository->findAll()->current();
74 74
 
75 75
                 $configurationManager = $objectManager->get(BackendConfigurationManager::class);
76
-                $settings = $configurationManager->getConfiguration(NULL,NULL);
76
+                $settings = $configurationManager->getConfiguration(NULL, NULL);
77 77
                 $this->settings = $settings; //['settings'];
78 78
             }
79 79
 
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     {
103 103
         $setting = NULL;
104 104
         if ($this->client) {
105
-            $setting = trim($this->client->{"get".ucfirst($settingName)}());
105
+            $setting = trim($this->client->{"get" . ucfirst($settingName)}());
106 106
         }
107 107
 
108 108
         // use global extConfig if client settings is empty
@@ -121,57 +121,57 @@  discard block
 block discarded – undo
121 121
 
122 122
     public function getSwordHost()
123 123
     {
124
-    	return $this->getSetting("swordHost","swordHost");
124
+    	return $this->getSetting("swordHost", "swordHost");
125 125
     }
126 126
 
127 127
 	public function getSwordUser()
128 128
     {
129
-    	return $this->getSetting("swordUser","swordUser");
129
+    	return $this->getSetting("swordUser", "swordUser");
130 130
     }
131 131
 
132 132
 	public function getSwordPassword()
133 133
     {
134
-    	return $this->getSetting("swordPassword","swordPassword");
134
+    	return $this->getSetting("swordPassword", "swordPassword");
135 135
     }
136 136
 
137 137
 	public function getSwordCollectionNamespace()
138 138
     {
139
-    	return $this->getSetting("swordCollectionNamespace","swordCollectionNamespace");
139
+    	return $this->getSetting("swordCollectionNamespace", "swordCollectionNamespace");
140 140
     }
141 141
 
142 142
 	public function getFedoraHost()
143 143
     {
144
-    	return $this->getSetting("fedoraHost","fedoraHost");
144
+    	return $this->getSetting("fedoraHost", "fedoraHost");
145 145
     }
146 146
 
147 147
 	public function getFedoraUser()
148 148
     {
149
-    	return $this->getSetting("fedoraUser","fedoraUser");
149
+    	return $this->getSetting("fedoraUser", "fedoraUser");
150 150
     }
151 151
 
152 152
 	public function getFedoraPassword()
153 153
     {
154
-    	return $this->getSetting("fedoraPassword","fedoraPassword");
154
+    	return $this->getSetting("fedoraPassword", "fedoraPassword");
155 155
     }
156 156
 
157 157
 	public function getElasticSearchHost()
158 158
     {
159
-    	return $this->getSetting("elasticSearchHost","elasticSearchHost");
159
+    	return $this->getSetting("elasticSearchHost", "elasticSearchHost");
160 160
     }
161 161
 
162 162
 	public function getElasticSearchPort()
163 163
     {
164
-    	return $this->getSetting("elasticSearchPort","elasticSearchPort");
164
+    	return $this->getSetting("elasticSearchPort", "elasticSearchPort");
165 165
     }
166 166
 
167 167
 	public function getUploadDirectory()
168 168
     {
169
-    	return $this->getSetting("uploadDirectory","uploadDirectory");
169
+    	return $this->getSetting("uploadDirectory", "uploadDirectory");
170 170
     }
171 171
 
172 172
 	public function getUploadDomain()
173 173
     {
174
-    	return $this->getSetting("uploadDomain","uploadDomain");
174
+    	return $this->getSetting("uploadDomain", "uploadDomain");
175 175
     }
176 176
 
177 177
     public function getSuggestionFlashMessage()
Please login to merge, or discard this patch.
Braces   +19 added lines, -39 removed lines patch added patch discarded remove patch
@@ -19,8 +19,7 @@  discard block
 block discarded – undo
19 19
 use TYPO3\CMS\Extbase\Object\ObjectManager;
20 20
 use EWW\Dpf\Domain\Repository\ClientRepository;
21 21
 
22
-class ClientConfigurationManager
23
-{
22
+class ClientConfigurationManager {
24 23
 
25 24
 	/**
26 25
      * objectManager
@@ -60,16 +59,13 @@  discard block
 block discarded – undo
60 59
      */
61 60
     protected $extensionConfiguration = array();
62 61
 
63
-    public function __construct()
64
-    {
62
+    public function __construct() {
65 63
         $objectManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(ObjectManager::class);
66 64
         $clientRepository = $objectManager->get(ClientRepository::class);
67 65
 
68
-		if (TYPO3_MODE === 'BE')
69
-		{
66
+		if (TYPO3_MODE === 'BE') {
70 67
             $selectedPageId = (int) \TYPO3\CMS\Core\Utility\GeneralUtility::_GP('id');
71
-            if ($selectedPageId)
72
-            {
68
+            if ($selectedPageId) {
73 69
                 $this->client = $clientRepository->findAll()->current();
74 70
 
75 71
                 $configurationManager = $objectManager->get(BackendConfigurationManager::class);
@@ -77,9 +73,7 @@  discard block
 block discarded – undo
77 73
                 $this->settings = $settings; //['settings'];
78 74
             }
79 75
 
80
-		}
81
-		else
82
-		{
76
+		} else {
83 77
             $this->client = $clientRepository->findAll()->current();
84 78
 
85 79
             $configurationManager = $objectManager->get(ConfigurationManager::class);
@@ -98,8 +92,7 @@  discard block
 block discarded – undo
98 92
      *
99 93
      * @var array
100 94
      */
101
-    public function getSetting($settingName, $extConfig = NULL)
102
-    {
95
+    public function getSetting($settingName, $extConfig = NULL) {
103 96
         $setting = NULL;
104 97
         if ($this->client) {
105 98
             $setting = trim($this->client->{"get".ucfirst($settingName)}());
@@ -114,68 +107,55 @@  discard block
 block discarded – undo
114 107
     }
115 108
 
116 109
 
117
-    public function getOwnerId()
118
-    {
110
+    public function getOwnerId() {
119 111
         return $this->getSetting("ownerId");
120 112
     }
121 113
 
122
-    public function getSwordHost()
123
-    {
114
+    public function getSwordHost() {
124 115
     	return $this->getSetting("swordHost","swordHost");
125 116
     }
126 117
 
127
-	public function getSwordUser()
128
-    {
118
+	public function getSwordUser() {
129 119
     	return $this->getSetting("swordUser","swordUser");
130 120
     }
131 121
 
132
-	public function getSwordPassword()
133
-    {
122
+	public function getSwordPassword() {
134 123
     	return $this->getSetting("swordPassword","swordPassword");
135 124
     }
136 125
 
137
-	public function getSwordCollectionNamespace()
138
-    {
126
+	public function getSwordCollectionNamespace() {
139 127
     	return $this->getSetting("swordCollectionNamespace","swordCollectionNamespace");
140 128
     }
141 129
 
142
-	public function getFedoraHost()
143
-    {
130
+	public function getFedoraHost() {
144 131
     	return $this->getSetting("fedoraHost","fedoraHost");
145 132
     }
146 133
 
147
-	public function getFedoraUser()
148
-    {
134
+	public function getFedoraUser() {
149 135
     	return $this->getSetting("fedoraUser","fedoraUser");
150 136
     }
151 137
 
152
-	public function getFedoraPassword()
153
-    {
138
+	public function getFedoraPassword() {
154 139
     	return $this->getSetting("fedoraPassword","fedoraPassword");
155 140
     }
156 141
 
157
-	public function getElasticSearchHost()
158
-    {
142
+	public function getElasticSearchHost() {
159 143
     	return $this->getSetting("elasticSearchHost","elasticSearchHost");
160 144
     }
161 145
 
162
-	public function getElasticSearchPort()
163
-    {
146
+	public function getElasticSearchPort() {
164 147
     	return $this->getSetting("elasticSearchPort","elasticSearchPort");
165 148
     }
166 149
 
167
-	public function getUploadDirectory()
168
-    {
150
+	public function getUploadDirectory() {
169 151
     	return $this->getSetting("uploadDirectory","uploadDirectory");
170 152
     }
171 153
 
172
-	public function getUploadDomain()
173
-    {
154
+	public function getUploadDomain() {
174 155
     	return $this->getSetting("uploadDomain","uploadDomain");
175 156
     }
176 157
 
177
-    public function getSuggestionFlashMessage()
178
-    {
158
+    public function getSuggestionFlashMessage() {
179 159
         return $this->getSetting("suggestionFlashmessage", "suggestionFlashmessage");
180 160
     }
181 161
 
Please login to merge, or discard this patch.
Classes/Services/Email/Notifier.php 3 patches
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 
77 77
             $logger->log(
78 78
                 LogLevel::ERROR, "sendAdminNewSuggestionNotification failed",
79
-                array(
79
+                array (
80 80
                     'document' => $document
81 81
                 )
82 82
             );
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
 
121 121
             $logger->log(
122 122
                 LogLevel::ERROR, "sendAdminEmbargoExpiredNotification failed",
123
-                array(
123
+                array (
124 124
                     'document' => $document
125 125
                 )
126 126
             );
@@ -249,7 +249,7 @@  discard block
 block discarded – undo
249 249
 
250 250
             $logger->log(
251 251
                 LogLevel::ERROR, "sendNewDocumentNotification failed",
252
-                array(
252
+                array (
253 253
                     'document' => $document
254 254
                 )
255 255
             );
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
 
294 294
             $logger->log(
295 295
                 LogLevel::ERROR, "sendIngestNotification failed",
296
-                array(
296
+                array (
297 297
                     'document' => $document
298 298
                 )
299 299
             );
@@ -337,7 +337,7 @@  discard block
 block discarded – undo
337 337
 
338 338
             $logger->log(
339 339
                 LogLevel::ERROR, "sendRegisterNotification failed",
340
-                array(
340
+                array (
341 341
                     'document' => $document
342 342
                 )
343 343
             );
@@ -382,7 +382,7 @@  discard block
 block discarded – undo
382 382
 
383 383
             $logger->log(
384 384
                 LogLevel::ERROR, "sendRegisterNotification failed",
385
-                array(
385
+                array (
386 386
                     'document' => $document
387 387
                 )
388 388
             );
@@ -403,13 +403,13 @@  discard block
 block discarded – undo
403 403
 
404 404
     protected function sendMail($reveiver, $subject, $body, $args, $mailType)
405 405
     {
406
-        $emailReceiver = array();
406
+        $emailReceiver = array ();
407 407
         $emailReceiver[$reveiver] = $reveiver;
408 408
         $message = (new \TYPO3\CMS\Core\Mail\MailMessage())
409
-            ->setFrom(array('[email protected]' => '[email protected]'))
409
+            ->setFrom(array ('[email protected]' => '[email protected]'))
410 410
             ->setTo($emailReceiver)
411
-            ->setSubject($this->replaceMarkers($subject,$args))
412
-            ->setBody($this->replaceMarkers($body,$args),$mailType);
411
+            ->setSubject($this->replaceMarkers($subject, $args))
412
+            ->setBody($this->replaceMarkers($body, $args), $mailType);
413 413
         $message->send();
414 414
     }
415 415
 
Please login to merge, or discard this patch.
Braces   +6 added lines, -12 removed lines patch added patch discarded remove patch
@@ -19,8 +19,7 @@  discard block
 block discarded – undo
19 19
 use \TYPO3\CMS\Core\Log\LogManager;
20 20
 use \TYPO3\CMS\Core\Utility\GeneralUtility;
21 21
 
22
-class Notifier
23
-{
22
+class Notifier {
24 23
 
25 24
     /**
26 25
      * clientRepository
@@ -191,8 +190,7 @@  discard block
 block discarded – undo
191 190
         return $args;
192 191
     }
193 192
 
194
-    public function sendNewDocumentNotification(\EWW\Dpf\Domain\Model\Document $document)
195
-    {
193
+    public function sendNewDocumentNotification(\EWW\Dpf\Domain\Model\Document $document) {
196 194
 
197 195
         try {
198 196
             $client = $this->clientRepository->findAll()->current();
@@ -257,8 +255,7 @@  discard block
 block discarded – undo
257 255
 
258 256
     }
259 257
 
260
-    public function sendIngestNotification(\EWW\Dpf\Domain\Model\Document $document)
261
-    {
258
+    public function sendIngestNotification(\EWW\Dpf\Domain\Model\Document $document) {
262 259
 
263 260
         try {
264 261
             $client = $this->clientRepository->findAll()->current();
@@ -344,8 +341,7 @@  discard block
 block discarded – undo
344 341
         }
345 342
     }
346 343
 
347
-    public function sendRegisterNotification(\EWW\Dpf\Domain\Model\Document $document)
348
-    {
344
+    public function sendRegisterNotification(\EWW\Dpf\Domain\Model\Document $document) {
349 345
 
350 346
         try {
351 347
             $client = $this->clientRepository->findAll()->current();
@@ -390,8 +386,7 @@  discard block
 block discarded – undo
390 386
 
391 387
     }
392 388
 
393
-    protected function replaceMarkers($message, $args)
394
-    {
389
+    protected function replaceMarkers($message, $args) {
395 390
         if (is_array($args)) {
396 391
             foreach ($args as $key => $value) {
397 392
                 $message = str_replace($key, $value, $message);
@@ -401,8 +396,7 @@  discard block
 block discarded – undo
401 396
     }
402 397
 
403 398
 
404
-    protected function sendMail($reveiver, $subject, $body, $args, $mailType)
405
-    {
399
+    protected function sendMail($reveiver, $subject, $body, $args, $mailType) {
406 400
         $emailReceiver = array();
407 401
         $emailReceiver[$reveiver] = $reveiver;
408 402
         $message = (new \TYPO3\CMS\Core\Mail\MailMessage())
Please login to merge, or discard this patch.
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      * @var \EWW\Dpf\Domain\Repository\ClientRepository
29 29
      * @inject
30 30
      */
31
-    protected $clientRepository = null;
31
+    protected $clientRepository = NULL;
32 32
 
33 33
 
34 34
     /**
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      * @var \EWW\Dpf\Domain\Repository\DocumentTypeRepository
38 38
      * @inject
39 39
      */
40
-    protected $documentTypeRepository = null;
40
+    protected $documentTypeRepository = NULL;
41 41
 
42 42
 
43 43
     public function sendAdminNewSuggestionNotification(\EWW\Dpf\Domain\Model\Document $document) {
Please login to merge, or discard this patch.
Classes/Domain/Model/Client.php 1 patch
Braces   +64 added lines, -128 removed lines patch added patch discarded remove patch
@@ -17,8 +17,7 @@  discard block
 block discarded – undo
17 17
 /**
18 18
  * Client
19 19
  */
20
-class Client extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
21
-{
20
+class Client extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
22 21
 
23 22
     /**
24 23
      * project
@@ -259,8 +258,7 @@  discard block
 block discarded – undo
259 258
      *
260 259
      * @return string $project
261 260
      */
262
-    public function getProject()
263
-    {
261
+    public function getProject() {
264 262
         return $this->project;
265 263
     }
266 264
 
@@ -270,8 +268,7 @@  discard block
 block discarded – undo
270 268
      * @param string $project
271 269
      * @return void
272 270
      */
273
-    public function setProject($project)
274
-    {
271
+    public function setProject($project) {
275 272
         $this->project = $project;
276 273
     }
277 274
 
@@ -280,8 +277,7 @@  discard block
 block discarded – undo
280 277
      *
281 278
      * @return string $client
282 279
      */
283
-    public function getClient()
284
-    {
280
+    public function getClient() {
285 281
         return $this->client;
286 282
     }
287 283
 
@@ -291,8 +287,7 @@  discard block
 block discarded – undo
291 287
      * @param string $client
292 288
      * @return void
293 289
      */
294
-    public function setClient($client)
295
-    {
290
+    public function setClient($client) {
296 291
         $this->client = $client;
297 292
     }
298 293
 
@@ -301,8 +296,7 @@  discard block
 block discarded – undo
301 296
      *
302 297
      * @return string $networkInitial
303 298
      */
304
-    public function getNetworkInitial()
305
-    {
299
+    public function getNetworkInitial() {
306 300
         return $this->networkInitial;
307 301
     }
308 302
 
@@ -312,8 +306,7 @@  discard block
 block discarded – undo
312 306
      * @param string $networkInitial
313 307
      * @return void
314 308
      */
315
-    public function setNetworkInitial($networkInitial)
316
-    {
309
+    public function setNetworkInitial($networkInitial) {
317 310
         $this->networkInitial = $networkInitial;
318 311
     }
319 312
 
@@ -322,8 +315,7 @@  discard block
 block discarded – undo
322 315
      *
323 316
      * @return string $libraryIdentifier
324 317
      */
325
-    public function getLibraryIdentifier()
326
-    {
318
+    public function getLibraryIdentifier() {
327 319
         return $this->libraryIdentifier;
328 320
     }
329 321
 
@@ -333,8 +325,7 @@  discard block
 block discarded – undo
333 325
      * @param string $libraryIdentifier
334 326
      * @return void
335 327
      */
336
-    public function setLibraryIdentifier($libraryIdentifier)
337
-    {
328
+    public function setLibraryIdentifier($libraryIdentifier) {
338 329
         $this->libraryIdentifier = $libraryIdentifier;
339 330
     }
340 331
 
@@ -343,8 +334,7 @@  discard block
 block discarded – undo
343 334
      *
344 335
      * @return string
345 336
      */
346
-    public function getOwnerId()
347
-    {
337
+    public function getOwnerId() {
348 338
         return $this->ownerId;
349 339
     }
350 340
 
@@ -354,8 +344,7 @@  discard block
 block discarded – undo
354 344
      * @param string $ownerId
355 345
      * @return void
356 346
      */
357
-    public function setOwnerId($ownerId)
358
-    {
347
+    public function setOwnerId($ownerId) {
359 348
         $this->ownerId = $ownerId;
360 349
     }
361 350
 
@@ -364,8 +353,7 @@  discard block
 block discarded – undo
364 353
      *
365 354
      * @return string
366 355
      */
367
-    public function getAdminEmail()
368
-    {
356
+    public function getAdminEmail() {
369 357
         return $this->adminEmail;
370 358
     }
371 359
 
@@ -374,8 +362,7 @@  discard block
 block discarded – undo
374 362
      *
375 363
      * @return string
376 364
      */
377
-    public function setAdminEmail($adminEmail)
378
-    {
365
+    public function setAdminEmail($adminEmail) {
379 366
         $this->adminEmail = $adminEmail;
380 367
     }
381 368
 
@@ -384,8 +371,7 @@  discard block
 block discarded – undo
384 371
      *
385 372
      * @return string $nissPartSearch
386 373
      */
387
-    public function getNissPartSearch()
388
-    {
374
+    public function getNissPartSearch() {
389 375
         return $this->nissPartSearch;
390 376
     }
391 377
 
@@ -395,8 +381,7 @@  discard block
 block discarded – undo
395 381
      * @param string $nissPartSearch
396 382
      * @return void
397 383
      */
398
-    public function setNissPartSearch($nissPartSearch)
399
-    {
384
+    public function setNissPartSearch($nissPartSearch) {
400 385
         $this->nissPartSearch = $nissPartSearch;
401 386
     }
402 387
 
@@ -405,8 +390,7 @@  discard block
 block discarded – undo
405 390
      *
406 391
      * @return string $nissPartReplace
407 392
      */
408
-    public function getNissPartReplace()
409
-    {
393
+    public function getNissPartReplace() {
410 394
         return $this->nissPartReplace;
411 395
     }
412 396
 
@@ -416,8 +400,7 @@  discard block
 block discarded – undo
416 400
      * @param string $nissPartReplace
417 401
      * @return void
418 402
      */
419
-    public function setNissPartReplace($nissPartReplace)
420
-    {
403
+    public function setNissPartReplace($nissPartReplace) {
421 404
         $this->nissPartReplace = $nissPartReplace;
422 405
     }
423 406
 
@@ -426,8 +409,7 @@  discard block
 block discarded – undo
426 409
      *
427 410
      * @return boolean $replaceNissPart
428 411
      */
429
-    public function getReplaceNissPart()
430
-    {
412
+    public function getReplaceNissPart() {
431 413
         return $this->replaceNissPart;
432 414
     }
433 415
 
@@ -437,8 +419,7 @@  discard block
 block discarded – undo
437 419
      * @param boolean $replaceNissPart
438 420
      * @return void
439 421
      */
440
-    public function setReplaceNissPart($replaceNissPart)
441
-    {
422
+    public function setReplaceNissPart($replaceNissPart) {
442 423
         $this->replaceNissPart = $replaceNissPart;
443 424
     }
444 425
 
@@ -447,8 +428,7 @@  discard block
 block discarded – undo
447 428
      *
448 429
      * @return string $swordHost
449 430
      */
450
-    public function getSwordHost()
451
-    {
431
+    public function getSwordHost() {
452 432
         return $this->swordHost;
453 433
     }
454 434
 
@@ -458,8 +438,7 @@  discard block
 block discarded – undo
458 438
      * @var string $swordHost
459 439
      * @return void
460 440
      */
461
-    public function setSwordHost($swordHost)
462
-    {
441
+    public function setSwordHost($swordHost) {
463 442
         $this->swordHost = $swordHost;
464 443
     }
465 444
 
@@ -468,8 +447,7 @@  discard block
 block discarded – undo
468 447
      *
469 448
      * @return string $swordUser
470 449
      */
471
-    public function getSwordUser()
472
-    {
450
+    public function getSwordUser() {
473 451
         return $this->swordUser;
474 452
     }
475 453
 
@@ -479,8 +457,7 @@  discard block
 block discarded – undo
479 457
      * @var string $swordUser
480 458
      * @return void
481 459
      */
482
-    public function setSwordUser($swordUser)
483
-    {
460
+    public function setSwordUser($swordUser) {
484 461
         $this->swordUser = $swordUser;
485 462
     }
486 463
 
@@ -489,8 +466,7 @@  discard block
 block discarded – undo
489 466
      *
490 467
      * @return string $swordPassword
491 468
      */
492
-    public function getSwordPassword()
493
-    {
469
+    public function getSwordPassword() {
494 470
         return $this->swordPassword;
495 471
     }
496 472
     
@@ -500,8 +476,7 @@  discard block
 block discarded – undo
500 476
      * @var string $swordPassword
501 477
      * @return void
502 478
      */
503
-    public function setSwordPassword($swordPassword)
504
-    {
479
+    public function setSwordPassword($swordPassword) {
505 480
         $this->swordPassword = $swordPassword;
506 481
     }
507 482
 
@@ -510,8 +485,7 @@  discard block
 block discarded – undo
510 485
      *
511 486
      * @return string $swordCollectionNamespace
512 487
      */
513
-    public function getSwordCollectionNamespace()
514
-    {
488
+    public function getSwordCollectionNamespace() {
515 489
         return $this->swordCollectionNamespace;
516 490
     }
517 491
 
@@ -521,8 +495,7 @@  discard block
 block discarded – undo
521 495
      * @var string $swordCollectionNamespace
522 496
      * @return void
523 497
      */
524
-    public function setSwordCollectionNamespace($swordCollectionNamespace)
525
-    {
498
+    public function setSwordCollectionNamespace($swordCollectionNamespace) {
526 499
         $this->swordCollectionNamespace = $swordCollectionNamespace;
527 500
     }
528 501
 
@@ -531,8 +504,7 @@  discard block
 block discarded – undo
531 504
      *
532 505
      * @return string $fedoraHost
533 506
      */
534
-    public function getFedoraHost()
535
-    {
507
+    public function getFedoraHost() {
536 508
         return $this->fedoraHost;
537 509
     }
538 510
 
@@ -542,8 +514,7 @@  discard block
 block discarded – undo
542 514
      * @var string $fedoraHost
543 515
      * @return void
544 516
      */
545
-    public function setFedoraHost($fedoraHost)
546
-    {
517
+    public function setFedoraHost($fedoraHost) {
547 518
         $this->fedoraHost = $fedoraHost;
548 519
     }
549 520
 
@@ -552,8 +523,7 @@  discard block
 block discarded – undo
552 523
      *
553 524
      * @return string $fedoraUser
554 525
      */
555
-    public function getFedoraUser()
556
-    {
526
+    public function getFedoraUser() {
557 527
         return $this->fedoraUser;
558 528
     }
559 529
 
@@ -563,8 +533,7 @@  discard block
 block discarded – undo
563 533
      * @var string $fedoraUser
564 534
      * @return void
565 535
      */
566
-    public function setFedoraUser($fedoraUser)
567
-    {
536
+    public function setFedoraUser($fedoraUser) {
568 537
         $this->fedoraUser = $fedoraUser;
569 538
     }
570 539
 
@@ -573,8 +542,7 @@  discard block
 block discarded – undo
573 542
      *
574 543
      * @return string $fedoraPassword
575 544
      */
576
-    public function getFedoraPassword()
577
-    {
545
+    public function getFedoraPassword() {
578 546
         return $this->fedoraPassword;
579 547
     }
580 548
 
@@ -584,8 +552,7 @@  discard block
 block discarded – undo
584 552
      * @var string $fedoraPassword
585 553
      * @return void
586 554
      */
587
-    public function setFedoraPassword($fedoraPassword)
588
-    {
555
+    public function setFedoraPassword($fedoraPassword) {
589 556
         $this->fedoraPassword = $fedoraPassword;
590 557
     }
591 558
 
@@ -594,8 +561,7 @@  discard block
 block discarded – undo
594 561
      *
595 562
      * @return string $elasticSearchHost
596 563
      */
597
-    public function getElasticSearchHost()
598
-    {
564
+    public function getElasticSearchHost() {
599 565
         return $this->elasticSearchHost;
600 566
     }
601 567
 
@@ -605,8 +571,7 @@  discard block
 block discarded – undo
605 571
      * @var string $elasticSearchHost
606 572
      * @return void
607 573
      */
608
-    public function setElasticSearchHost($elasticSearchHost)
609
-    {
574
+    public function setElasticSearchHost($elasticSearchHost) {
610 575
         $this->elasticSearchHost = $elasticSearchHost;
611 576
     }
612 577
 
@@ -615,8 +580,7 @@  discard block
 block discarded – undo
615 580
      *
616 581
      * @return string $elasticSearchPort
617 582
      */
618
-    public function getElasticSearchPort()
619
-    {
583
+    public function getElasticSearchPort() {
620 584
         return $this->elasticSearchPort;
621 585
     }
622 586
 
@@ -626,8 +590,7 @@  discard block
 block discarded – undo
626 590
      * @var string $elasticSearchPort
627 591
      * @return void
628 592
      */
629
-    public function setElasticSearchPort($elasticSearchPort)
630
-    {
593
+    public function setElasticSearchPort($elasticSearchPort) {
631 594
         $this->elasticSearchPort = $elasticSearchPort;
632 595
     }
633 596
 
@@ -636,8 +599,7 @@  discard block
 block discarded – undo
636 599
      *
637 600
      * @return string $uploadDirectory
638 601
      */
639
-    public function getUploadDirectory()
640
-    {
602
+    public function getUploadDirectory() {
641 603
         return $this->uploadDirectory;
642 604
     }
643 605
 
@@ -647,8 +609,7 @@  discard block
 block discarded – undo
647 609
      * @var string $uploadDirectory
648 610
      * @return void
649 611
      */
650
-    public function setUploadDirectory($uploadDirectory)
651
-    {
612
+    public function setUploadDirectory($uploadDirectory) {
652 613
         $this->uploadDirectory = $uploadDirectory;
653 614
     }
654 615
 
@@ -657,8 +618,7 @@  discard block
 block discarded – undo
657 618
      *
658 619
      * @return string $uploadDomain
659 620
      */
660
-    public function getUploadDomain()
661
-    {
621
+    public function getUploadDomain() {
662 622
         return $this->uploadDomain;
663 623
     }
664 624
 
@@ -668,8 +628,7 @@  discard block
 block discarded – undo
668 628
      * @var string $uploadDomain
669 629
      * @return void
670 630
      */
671
-    public function setUploadDomain($uploadDomain)
672
-    {
631
+    public function setUploadDomain($uploadDomain) {
673 632
         $this->uploadDomain = $uploadDomain;
674 633
     }
675 634
 
@@ -679,8 +638,7 @@  discard block
 block discarded – undo
679 638
      *
680 639
      * @return string
681 640
      */
682
-    public function getSubmitterIngestNotificationSubject()
683
-    {
641
+    public function getSubmitterIngestNotificationSubject() {
684 642
         return $this->submitterIngestNotificationSubject;
685 643
     }
686 644
 
@@ -690,8 +648,7 @@  discard block
 block discarded – undo
690 648
      * @var string $submitterIngestNotificationSubject
691 649
      * @return void
692 650
      */
693
-    public function setSubmitterIngestNotificationSubject($submitterIngestNotificationSubject)
694
-    {
651
+    public function setSubmitterIngestNotificationSubject($submitterIngestNotificationSubject) {
695 652
         $this->submitterIngestNotificationSubject = $submitterIngestNotificationSubject;
696 653
     }
697 654
 
@@ -700,8 +657,7 @@  discard block
 block discarded – undo
700 657
      *
701 658
      * @return string
702 659
      */
703
-    public function getSubmitterIngestNotificationBody()
704
-    {
660
+    public function getSubmitterIngestNotificationBody() {
705 661
         return $this->submitterIngestNotificationBody;
706 662
     }
707 663
 
@@ -711,8 +667,7 @@  discard block
 block discarded – undo
711 667
      * @var string $submitterIngestNotificationBody
712 668
      * @return void
713 669
      */
714
-    public function setSubmitterIngestNotificationBody($submitterIngestNotificationBody)
715
-    {
670
+    public function setSubmitterIngestNotificationBody($submitterIngestNotificationBody) {
716 671
         $this->submitterIngestNotificationBody = $submitterIngestNotificationBody;
717 672
     }
718 673
 
@@ -721,8 +676,7 @@  discard block
 block discarded – undo
721 676
      *
722 677
      * @return string
723 678
      */
724
-    public function getSubmitterNewDocumentNotificationSubject()
725
-    {
679
+    public function getSubmitterNewDocumentNotificationSubject() {
726 680
         return $this->submitterNewDocumentNotificationSubject;
727 681
     }
728 682
 
@@ -732,8 +686,7 @@  discard block
 block discarded – undo
732 686
      * @var string $submitterNewDocumentNotificationSubject
733 687
      * @return void
734 688
      */
735
-    public function setSubmitterNewDocumentNotificationSubject($submitterNewDocumentNotificationSubject)
736
-    {
689
+    public function setSubmitterNewDocumentNotificationSubject($submitterNewDocumentNotificationSubject) {
737 690
         $this->submitterNewDocumentNotificationSubject = $submitterNewDocumentNotificationSubject;
738 691
     }
739 692
 
@@ -742,8 +695,7 @@  discard block
 block discarded – undo
742 695
      *
743 696
      * @return string
744 697
      */
745
-    public function getSubmitterNewDocumentNotificationBody()
746
-    {
698
+    public function getSubmitterNewDocumentNotificationBody() {
747 699
         return $this->submitterNewDocumentNotificationBody;
748 700
     }
749 701
 
@@ -753,8 +705,7 @@  discard block
 block discarded – undo
753 705
      * @var string $submitterNewDocumentNotificationBody
754 706
      * @return void
755 707
      */
756
-    public function setSubmitterNewDocumentNotificationBody($submitterNewDocumentNotificationBody)
757
-    {
708
+    public function setSubmitterNewDocumentNotificationBody($submitterNewDocumentNotificationBody) {
758 709
         $this->submitterNewDocumentNotificationBody = $submitterNewDocumentNotificationBody;
759 710
     }
760 711
 
@@ -763,8 +714,7 @@  discard block
 block discarded – undo
763 714
      *
764 715
      * @return string
765 716
      */
766
-    public function getAdminNewDocumentNotificationSubject()
767
-    {
717
+    public function getAdminNewDocumentNotificationSubject() {
768 718
         return $this->adminNewDocumentNotificationSubject;
769 719
     }
770 720
 
@@ -774,8 +724,7 @@  discard block
 block discarded – undo
774 724
      * @var string $adminNewDocumentNotificationSubject
775 725
      * @return void
776 726
      */
777
-    public function setAdminNewDocumentNotificationSubject($adminNewDocumentNotificationSubject)
778
-    {
727
+    public function setAdminNewDocumentNotificationSubject($adminNewDocumentNotificationSubject) {
779 728
         $this->adminNewDocumentNotificationSubject = $adminNewDocumentNotificationSubject;
780 729
     }
781 730
 
@@ -784,8 +733,7 @@  discard block
 block discarded – undo
784 733
      *
785 734
      * @return string
786 735
      */
787
-    public function getAdminNewDocumentNotificationBody()
788
-    {
736
+    public function getAdminNewDocumentNotificationBody() {
789 737
         return $this->adminNewDocumentNotificationBody;
790 738
     }
791 739
 
@@ -795,8 +743,7 @@  discard block
 block discarded – undo
795 743
      * @var string $adminNewDocumentNotificationBody
796 744
      * @return void
797 745
      */
798
-    public function setAdminNewDocumentNotificationBody($adminNewDocumentNotificationBody)
799
-    {
746
+    public function setAdminNewDocumentNotificationBody($adminNewDocumentNotificationBody) {
800 747
         $this->adminNewDocumentNotificationBody = $adminNewDocumentNotificationBody;
801 748
     }
802 749
 
@@ -805,8 +752,7 @@  discard block
 block discarded – undo
805 752
      *
806 753
      * @return string
807 754
      */
808
-    public function getAdminRegisterDocumentNotificationSubject()
809
-    {
755
+    public function getAdminRegisterDocumentNotificationSubject() {
810 756
         return $this->adminRegisterDocumentNotificationSubject;
811 757
     }
812 758
 
@@ -816,8 +762,7 @@  discard block
 block discarded – undo
816 762
      * @var string $adminRegisterDocumentNotificationSubject
817 763
      * @return void
818 764
      */
819
-    public function setAdminRegisterDocumentNotificationSubject($adminRegisterDocumentNotificationSubject)
820
-    {
765
+    public function setAdminRegisterDocumentNotificationSubject($adminRegisterDocumentNotificationSubject) {
821 766
         $this->adminRegisterDocumentNotificationSubject = $adminRegisterDocumentNotificationSubject;
822 767
     }
823 768
 
@@ -826,8 +771,7 @@  discard block
 block discarded – undo
826 771
      *
827 772
      * @return string
828 773
      */
829
-    public function getAdminRegisterDocumentNotificationBody()
830
-    {
774
+    public function getAdminRegisterDocumentNotificationBody() {
831 775
         return $this->adminRegisterDocumentNotificationBody;
832 776
     }
833 777
 
@@ -837,8 +781,7 @@  discard block
 block discarded – undo
837 781
      * @var string $adminRegisterDocumentNotificationBody
838 782
      * @return void
839 783
      */
840
-    public function setAdminRegisterDocumentNotificationBody($adminRegisterDocumentNotificationBody)
841
-    {
784
+    public function setAdminRegisterDocumentNotificationBody($adminRegisterDocumentNotificationBody) {
842 785
         $this->adminRegisterDocumentNotificationBody = $adminRegisterDocumentNotificationBody;
843 786
     }
844 787
 
@@ -853,8 +796,7 @@  discard block
 block discarded – undo
853 796
     /**
854 797
      * @param string $adminNewSuggestionSubject
855 798
      */
856
-    public function setAdminNewSuggestionSubject(string $adminNewSuggestionSubject)
857
-    {
799
+    public function setAdminNewSuggestionSubject(string $adminNewSuggestionSubject) {
858 800
         $this->adminNewSuggestionSubject = $adminNewSuggestionSubject;
859 801
     }
860 802
 
@@ -869,8 +811,7 @@  discard block
 block discarded – undo
869 811
     /**
870 812
      * @param string $adminNewSuggestionBody
871 813
      */
872
-    public function setAdminNewSuggestionBody(string $adminNewSuggestionBody)
873
-    {
814
+    public function setAdminNewSuggestionBody(string $adminNewSuggestionBody) {
874 815
         $this->adminNewSuggestionBody = $adminNewSuggestionBody;
875 816
     }
876 817
 
@@ -885,8 +826,7 @@  discard block
 block discarded – undo
885 826
     /**
886 827
      * @param string $adminEmbargoSubject
887 828
      */
888
-    public function setAdminEmbargoSubject(string $adminEmbargoSubject)
889
-    {
829
+    public function setAdminEmbargoSubject(string $adminEmbargoSubject) {
890 830
         $this->adminEmbargoSubject = $adminEmbargoSubject;
891 831
     }
892 832
 
@@ -901,8 +841,7 @@  discard block
 block discarded – undo
901 841
     /**
902 842
      * @param string $adminEmbargoBody
903 843
      */
904
-    public function setAdminEmbargoBody(string $adminEmbargoBody)
905
-    {
844
+    public function setAdminEmbargoBody(string $adminEmbargoBody) {
906 845
         $this->adminEmbargoBody = $adminEmbargoBody;
907 846
     }
908 847
 
@@ -917,8 +856,7 @@  discard block
 block discarded – undo
917 856
     /**
918 857
      * @param string $adminOaFondSubject
919 858
      */
920
-    public function setAdminOaFondSubject(string $adminOaFondSubject)
921
-    {
859
+    public function setAdminOaFondSubject(string $adminOaFondSubject) {
922 860
         $this->adminOaFondSubject = $adminOaFondSubject;
923 861
     }
924 862
 
@@ -933,8 +871,7 @@  discard block
 block discarded – undo
933 871
     /**
934 872
      * @param string $adminOaFondBody
935 873
      */
936
-    public function setAdminOaFondBody(string $adminOaFondBody)
937
-    {
874
+    public function setAdminOaFondBody(string $adminOaFondBody) {
938 875
         $this->adminOaFondBody = $adminOaFondBody;
939 876
     }
940 877
 
@@ -949,8 +886,7 @@  discard block
 block discarded – undo
949 886
     /**
950 887
      * @param string $suggestionFlashmessage
951 888
      */
952
-    public function setSuggestionFlashmessage(string $suggestionFlashmessage)
953
-    {
889
+    public function setSuggestionFlashmessage(string $suggestionFlashmessage) {
954 890
         $this->suggestionFlashmessage = $suggestionFlashmessage;
955 891
     }
956 892
 
Please login to merge, or discard this patch.