Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — 2.x ( 31a7fe...291efa )
by Sebastian
17s queued 14s
created
cli/class.tx_dlf_cli.php 3 patches
Spacing   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -48,11 +48,11 @@  discard block
 block discarded – undo
48 48
             case 'index':
49 49
 
50 50
                 // Add command line arguments.
51
-                $this->cli_options[] = array ('-doc UID/URL', 'UID or (properly encoded) URL of the document.');
51
+                $this->cli_options[] = array('-doc UID/URL', 'UID or (properly encoded) URL of the document.');
52 52
 
53
-                $this->cli_options[] = array ('-pid UID', 'UID of the page the document should be added to.');
53
+                $this->cli_options[] = array('-pid UID', 'UID of the page the document should be added to.');
54 54
 
55
-                $this->cli_options[] = array ('-core UID', 'UID of the Solr core the document should be added to.');
55
+                $this->cli_options[] = array('-core UID', 'UID of the Solr core the document should be added to.');
56 56
 
57 57
                 // Check the command line arguments.
58 58
                 $this->cli_validateArgs();
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
                 if (!\TYPO3\CMS\Core\Utility\MathUtility::canBeInterpretedAsInteger($this->cli_args['-doc'][0])
61 61
                     && !\TYPO3\CMS\Core\Utility\GeneralUtility::isValidUrl($this->cli_args['-doc'][0])) {
62 62
 
63
-                    $this->cli_echo('ERROR: "'.$this->cli_args['-doc'][0].'" is not a valid document UID or URL.'.LF, TRUE);
63
+                    $this->cli_echo('ERROR: "' . $this->cli_args['-doc'][0] . '" is not a valid document UID or URL.' . LF, TRUE);
64 64
 
65 65
                     $this->return = 1;
66 66
 
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
 
69 69
                 if (!\TYPO3\CMS\Core\Utility\MathUtility::canBeInterpretedAsInteger($this->cli_args['-pid'][0])) {
70 70
 
71
-                    $this->cli_echo('ERROR: "'.$this->cli_args['-pid'][0].'" is not a valid page UID.'.LF, TRUE);
71
+                    $this->cli_echo('ERROR: "' . $this->cli_args['-pid'][0] . '" is not a valid page UID.' . LF, TRUE);
72 72
 
73 73
                     $this->return = 1;
74 74
 
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 
77 77
                 if (!\TYPO3\CMS\Core\Utility\MathUtility::canBeInterpretedAsInteger($this->cli_args['-core'][0])) {
78 78
 
79
-                    $this->cli_echo('ERROR: "'.$this->cli_args['-core'][0].'" is not a valid core UID.'.LF, TRUE);
79
+                    $this->cli_echo('ERROR: "' . $this->cli_args['-core'][0] . '" is not a valid core UID.' . LF, TRUE);
80 80
 
81 81
                     $this->return = 1;
82 82
 
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
                     // ...and save it to the database...
97 97
                     if (!$doc->save(intval($this->cli_args['-pid'][0]), intval($this->cli_args['-core'][0]))) {
98 98
 
99
-                        $this->cli_echo('ERROR: Document "'.$this->cli_args['-doc'][0].'" not saved and indexed.'.LF, TRUE);
99
+                        $this->cli_echo('ERROR: Document "' . $this->cli_args['-doc'][0] . '" not saved and indexed.' . LF, TRUE);
100 100
 
101 101
                         $this->return = 1;
102 102
 
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
 
105 105
                 } else {
106 106
 
107
-                    $this->cli_echo('ERROR: Document "'.$this->cli_args['-doc'][0].'" could not be loaded.'.LF, TRUE);
107
+                    $this->cli_echo('ERROR: Document "' . $this->cli_args['-doc'][0] . '" could not be loaded.' . LF, TRUE);
108 108
 
109 109
                     $this->return = 1;
110 110
 
@@ -116,18 +116,18 @@  discard block
 block discarded – undo
116 116
             case 'reindex':
117 117
 
118 118
                 // Add command line arguments.
119
-                $this->cli_options[] = array ('-coll UID', 'UID of the collection.');
119
+                $this->cli_options[] = array('-coll UID', 'UID of the collection.');
120 120
 
121
-                $this->cli_options[] = array ('-pid UID', 'UID of the page the document should be added to.');
121
+                $this->cli_options[] = array('-pid UID', 'UID of the page the document should be added to.');
122 122
 
123
-                $this->cli_options[] = array ('-core UID', 'UID of the Solr core the document should be added to.');
123
+                $this->cli_options[] = array('-core UID', 'UID of the Solr core the document should be added to.');
124 124
 
125 125
                 // Check the command line arguments.
126 126
                 $this->cli_validateArgs();
127 127
 
128 128
                 if (!\TYPO3\CMS\Core\Utility\MathUtility::canBeInterpretedAsInteger($this->cli_args['-coll'][0])) {
129 129
 
130
-                    $this->cli_echo('ERROR: "'.$this->cli_args['-coll'][0].'" is not a valid collection UID.'.LF, TRUE);
130
+                    $this->cli_echo('ERROR: "' . $this->cli_args['-coll'][0] . '" is not a valid collection UID.' . LF, TRUE);
131 131
 
132 132
                     $this->return = 1;
133 133
 
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
 
136 136
                 if (!\TYPO3\CMS\Core\Utility\MathUtility::canBeInterpretedAsInteger($this->cli_args['-pid'][0])) {
137 137
 
138
-                    $this->cli_echo('ERROR: "'.$this->cli_args['-pid'][0].'" is not a valid page UID.'.LF, TRUE);
138
+                    $this->cli_echo('ERROR: "' . $this->cli_args['-pid'][0] . '" is not a valid page UID.' . LF, TRUE);
139 139
 
140 140
                     $this->return = 1;
141 141
 
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
 
144 144
                 if (!\TYPO3\CMS\Core\Utility\MathUtility::canBeInterpretedAsInteger($this->cli_args['-core'][0])) {
145 145
 
146
-                    $this->cli_echo('ERROR: "'.$this->cli_args['-core'][0].'" is not a valid core UID.'.LF, TRUE);
146
+                    $this->cli_echo('ERROR: "' . $this->cli_args['-core'][0] . '" is not a valid core UID.' . LF, TRUE);
147 147
 
148 148
                     $this->return = 1;
149 149
 
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
                     'tx_dlf_documents',
162 162
                     'tx_dlf_relations',
163 163
                     'tx_dlf_collections',
164
-                    'AND tx_dlf_collections.uid='.intval($this->cli_args['-coll'][0]).' AND tx_dlf_collections.pid='.intval($this->cli_args['-pid'][0]).' AND tx_dlf_relations.ident='.$GLOBALS['TYPO3_DB']->fullQuoteStr('docs_colls', 'tx_dlf_relations').tx_dlf_helper::whereClause('tx_dlf_documents').tx_dlf_helper::whereClause('tx_dlf_collections'),
164
+                    'AND tx_dlf_collections.uid=' . intval($this->cli_args['-coll'][0]) . ' AND tx_dlf_collections.pid=' . intval($this->cli_args['-pid'][0]) . ' AND tx_dlf_relations.ident=' . $GLOBALS['TYPO3_DB']->fullQuoteStr('docs_colls', 'tx_dlf_relations') . tx_dlf_helper::whereClause('tx_dlf_documents') . tx_dlf_helper::whereClause('tx_dlf_collections'),
165 165
                     '',
166 166
                     '',
167 167
                     ''
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
                         // ...and save it to the database...
178 178
                         if (!$doc->save(intval($this->cli_args['-pid'][0]), intval($this->cli_args['-core'][0]))) {
179 179
 
180
-                            $this->cli_echo('ERROR: Document "'.$resArray['uid'].'" not saved and indexed.'.LF, TRUE);
180
+                            $this->cli_echo('ERROR: Document "' . $resArray['uid'] . '" not saved and indexed.' . LF, TRUE);
181 181
 
182 182
                             $this->return = 1;
183 183
 
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
 
186 186
                     } else {
187 187
 
188
-                        $this->cli_echo('ERROR: Document "'.$resArray['uid'].'" could not be loaded.'.LF, TRUE);
188
+                        $this->cli_echo('ERROR: Document "' . $resArray['uid'] . '" could not be loaded.' . LF, TRUE);
189 189
 
190 190
                         $this->return = 1;
191 191
 
@@ -213,10 +213,10 @@  discard block
 block discarded – undo
213 213
     public function __construct() {
214 214
 
215 215
         // Set basic information about the script.
216
-        $this->cli_help = array (
216
+        $this->cli_help = array(
217 217
             'name' => 'Command Line Interface for Kitodo.Presentation',
218 218
             'synopsis' => '###OPTIONS###',
219
-            'description' => 'Currently the only tasks available are "index" and "reindex".'.LF.'Try "/PATH/TO/TYPO3/cli_dispatch.phpsh dlf TASK" for more options.',
219
+            'description' => 'Currently the only tasks available are "index" and "reindex".' . LF . 'Try "/PATH/TO/TYPO3/cli_dispatch.phpsh dlf TASK" for more options.',
220 220
             'examples' => '/PATH/TO/TYPO3/cli_dispatch.phpsh dlf TASK -ARG1=VALUE1 -ARG2=VALUE2',
221 221
             'options' => '',
222 222
             'license' => 'GNU GPL - free software!',
Please login to merge, or discard this patch.
Braces   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,7 +23,8 @@  discard block
 block discarded – undo
23 23
  * @subpackage	tx_dlf
24 24
  * @access	public
25 25
  */
26
-class tx_dlf_cli extends \TYPO3\CMS\Core\Controller\CommandLineController {
26
+class tx_dlf_cli extends \TYPO3\CMS\Core\Controller\CommandLineController
27
+{
27 28
 
28 29
     /**
29 30
      * This is the return code.
@@ -40,7 +41,8 @@  discard block
 block discarded – undo
40 41
      *
41 42
      * @return	void
42 43
      */
43
-    public function main() {
44
+    public function main()
45
+    {
44 46
 
45 47
         switch ((string) $this->cli_args['_DEFAULT'][1]) {
46 48
 
@@ -210,7 +212,8 @@  discard block
 block discarded – undo
210 212
 
211 213
     }
212 214
 
213
-    public function __construct() {
215
+    public function __construct()
216
+    {
214 217
 
215 218
         // Set basic information about the script.
216 219
         $this->cli_help = array (
Please login to merge, or discard this patch.
Upper-Lower-Casing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
                 if (!\TYPO3\CMS\Core\Utility\MathUtility::canBeInterpretedAsInteger($this->cli_args['-doc'][0])
61 61
                     && !\TYPO3\CMS\Core\Utility\GeneralUtility::isValidUrl($this->cli_args['-doc'][0])) {
62 62
 
63
-                    $this->cli_echo('ERROR: "'.$this->cli_args['-doc'][0].'" is not a valid document UID or URL.'.LF, TRUE);
63
+                    $this->cli_echo('ERROR: "'.$this->cli_args['-doc'][0].'" is not a valid document UID or URL.'.LF, true);
64 64
 
65 65
                     $this->return = 1;
66 66
 
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
 
69 69
                 if (!\TYPO3\CMS\Core\Utility\MathUtility::canBeInterpretedAsInteger($this->cli_args['-pid'][0])) {
70 70
 
71
-                    $this->cli_echo('ERROR: "'.$this->cli_args['-pid'][0].'" is not a valid page UID.'.LF, TRUE);
71
+                    $this->cli_echo('ERROR: "'.$this->cli_args['-pid'][0].'" is not a valid page UID.'.LF, true);
72 72
 
73 73
                     $this->return = 1;
74 74
 
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 
77 77
                 if (!\TYPO3\CMS\Core\Utility\MathUtility::canBeInterpretedAsInteger($this->cli_args['-core'][0])) {
78 78
 
79
-                    $this->cli_echo('ERROR: "'.$this->cli_args['-core'][0].'" is not a valid core UID.'.LF, TRUE);
79
+                    $this->cli_echo('ERROR: "'.$this->cli_args['-core'][0].'" is not a valid core UID.'.LF, true);
80 80
 
81 81
                     $this->return = 1;
82 82
 
@@ -89,14 +89,14 @@  discard block
 block discarded – undo
89 89
                 }
90 90
 
91 91
                 // Get the document...
92
-                $doc = & tx_dlf_document::getInstance($this->cli_args['-doc'][0], $this->cli_args['-pid'][0], TRUE);
92
+                $doc = & tx_dlf_document::getInstance($this->cli_args['-doc'][0], $this->cli_args['-pid'][0], true);
93 93
 
94 94
                 if ($doc->ready) {
95 95
 
96 96
                     // ...and save it to the database...
97 97
                     if (!$doc->save(intval($this->cli_args['-pid'][0]), intval($this->cli_args['-core'][0]))) {
98 98
 
99
-                        $this->cli_echo('ERROR: Document "'.$this->cli_args['-doc'][0].'" not saved and indexed.'.LF, TRUE);
99
+                        $this->cli_echo('ERROR: Document "'.$this->cli_args['-doc'][0].'" not saved and indexed.'.LF, true);
100 100
 
101 101
                         $this->return = 1;
102 102
 
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
 
105 105
                 } else {
106 106
 
107
-                    $this->cli_echo('ERROR: Document "'.$this->cli_args['-doc'][0].'" could not be loaded.'.LF, TRUE);
107
+                    $this->cli_echo('ERROR: Document "'.$this->cli_args['-doc'][0].'" could not be loaded.'.LF, true);
108 108
 
109 109
                     $this->return = 1;
110 110
 
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
 
128 128
                 if (!\TYPO3\CMS\Core\Utility\MathUtility::canBeInterpretedAsInteger($this->cli_args['-coll'][0])) {
129 129
 
130
-                    $this->cli_echo('ERROR: "'.$this->cli_args['-coll'][0].'" is not a valid collection UID.'.LF, TRUE);
130
+                    $this->cli_echo('ERROR: "'.$this->cli_args['-coll'][0].'" is not a valid collection UID.'.LF, true);
131 131
 
132 132
                     $this->return = 1;
133 133
 
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
 
136 136
                 if (!\TYPO3\CMS\Core\Utility\MathUtility::canBeInterpretedAsInteger($this->cli_args['-pid'][0])) {
137 137
 
138
-                    $this->cli_echo('ERROR: "'.$this->cli_args['-pid'][0].'" is not a valid page UID.'.LF, TRUE);
138
+                    $this->cli_echo('ERROR: "'.$this->cli_args['-pid'][0].'" is not a valid page UID.'.LF, true);
139 139
 
140 140
                     $this->return = 1;
141 141
 
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
 
144 144
                 if (!\TYPO3\CMS\Core\Utility\MathUtility::canBeInterpretedAsInteger($this->cli_args['-core'][0])) {
145 145
 
146
-                    $this->cli_echo('ERROR: "'.$this->cli_args['-core'][0].'" is not a valid core UID.'.LF, TRUE);
146
+                    $this->cli_echo('ERROR: "'.$this->cli_args['-core'][0].'" is not a valid core UID.'.LF, true);
147 147
 
148 148
                     $this->return = 1;
149 149
 
@@ -170,14 +170,14 @@  discard block
 block discarded – undo
170 170
                 while ($resArray = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($result)) {
171 171
 
172 172
                     // Get the document...
173
-                    $doc = & tx_dlf_document::getInstance($resArray['uid'], $this->cli_args['-pid'][0], TRUE);
173
+                    $doc = & tx_dlf_document::getInstance($resArray['uid'], $this->cli_args['-pid'][0], true);
174 174
 
175 175
                     if ($doc->ready) {
176 176
 
177 177
                         // ...and save it to the database...
178 178
                         if (!$doc->save(intval($this->cli_args['-pid'][0]), intval($this->cli_args['-core'][0]))) {
179 179
 
180
-                            $this->cli_echo('ERROR: Document "'.$resArray['uid'].'" not saved and indexed.'.LF, TRUE);
180
+                            $this->cli_echo('ERROR: Document "'.$resArray['uid'].'" not saved and indexed.'.LF, true);
181 181
 
182 182
                             $this->return = 1;
183 183
 
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
 
186 186
                     } else {
187 187
 
188
-                        $this->cli_echo('ERROR: Document "'.$resArray['uid'].'" could not be loaded.'.LF, TRUE);
188
+                        $this->cli_echo('ERROR: Document "'.$resArray['uid'].'" could not be loaded.'.LF, true);
189 189
 
190 190
                         $this->return = 1;
191 191
 
Please login to merge, or discard this patch.
class.ext_update.php 3 patches
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      */
64 64
     protected function getMetadataConfig() {
65 65
 
66
-        $uids = array ();
66
+        $uids = array();
67 67
 
68 68
         // check if tx_dlf_metadata.xpath exists anyhow
69 69
         $fieldsInDatabase = $GLOBALS['TYPO3_DB']->admin_get_fields('tx_dlf_metadata');
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
79 79
             'tx_dlf_metadata.uid AS uid',
80 80
             'tx_dlf_metadata',
81
-            'tx_dlf_metadata.format=0 AND NOT tx_dlf_metadata.xpath=\'\''.tx_dlf_helper::whereClause('tx_dlf_metadata'),
81
+            'tx_dlf_metadata.format=0 AND NOT tx_dlf_metadata.xpath=\'\'' . tx_dlf_helper::whereClause('tx_dlf_metadata'),
82 82
             '',
83 83
             '',
84 84
             ''
@@ -222,13 +222,13 @@  discard block
 block discarded – undo
222 222
 
223 223
         if (!empty($metadataUids)) {
224 224
 
225
-            $data = array ();
225
+            $data = array();
226 226
 
227 227
             // Get all old metadata configuration records.
228 228
             $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
229 229
                 'tx_dlf_metadata.uid AS uid,tx_dlf_metadata.pid AS pid,tx_dlf_metadata.cruser_id AS cruser_id,tx_dlf_metadata.encoded AS encoded,tx_dlf_metadata.xpath AS xpath,tx_dlf_metadata.xpath_sorting AS xpath_sorting',
230 230
                 'tx_dlf_metadata',
231
-                'tx_dlf_metadata.uid IN ('.implode(',', $metadataUids).')'.tx_dlf_helper::whereClause('tx_dlf_metadata'),
231
+                'tx_dlf_metadata.uid IN (' . implode(',', $metadataUids) . ')' . tx_dlf_helper::whereClause('tx_dlf_metadata'),
232 232
                 '',
233 233
                 '',
234 234
                 ''
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
                 $newId = uniqid('NEW');
240 240
 
241 241
                 // Copy record to new table.
242
-                $data['tx_dlf_metadataformat'][$newId] = array (
242
+                $data['tx_dlf_metadataformat'][$newId] = array(
243 243
                     'pid' => $resArray['pid'],
244 244
                     'cruser_id' => $resArray['cruser_id'],
245 245
                     'parent_id' => $resArray['uid'],
@@ -359,7 +359,7 @@  discard block
 block discarded – undo
359 359
                 // Prepend username and password to hostname.
360 360
                 if ($solrInfo['username'] && $solrInfo['password']) {
361 361
 
362
-                    $host = $solrInfo['username'].':'.$solrInfo['password'].'@'.$solrInfo['host'];
362
+                    $host = $solrInfo['username'] . ':' . $solrInfo['password'] . '@' . $solrInfo['host'];
363 363
 
364 364
                 } else {
365 365
 
@@ -367,8 +367,8 @@  discard block
 block discarded – undo
367 367
 
368 368
                 }
369 369
 
370
-                $context = stream_context_create(array (
371
-                    'http' => array (
370
+                $context = stream_context_create(array(
371
+                    'http' => array(
372 372
                         'method' => 'GET',
373 373
                         'user_agent' => ($conf['useragent'] ? $conf['useragent'] : ini_get('user_agent'))
374 374
                     )
@@ -376,7 +376,7 @@  discard block
 block discarded – undo
376 376
 
377 377
                 // Build request for adding new Solr core.
378 378
                 // @see http://wiki.apache.org/solr/CoreAdmin
379
-                $url = $solrInfo['scheme'].'://'.$host.':'.$solrInfo['port'].'/'.$solrInfo['path'].'/admin/cores?wt=xml&action=CREATE&name='.$resArray['index_name'].'&instanceDir=dlfCore'.$resArray['index_name'].'&dataDir=data&configSet=dlf';
379
+                $url = $solrInfo['scheme'] . '://' . $host . ':' . $solrInfo['port'] . '/' . $solrInfo['path'] . '/admin/cores?wt=xml&action=CREATE&name=' . $resArray['index_name'] . '&instanceDir=dlfCore' . $resArray['index_name'] . '&dataDir=data&configSet=dlf';
380 380
 
381 381
                 $response = @simplexml_load_string(file_get_contents($url, FALSE, $context));
382 382
 
Please login to merge, or discard this patch.
Braces   +18 added lines, -9 removed lines patch added patch discarded remove patch
@@ -17,7 +17,8 @@  discard block
 block discarded – undo
17 17
  * @subpackage	tx_dlf
18 18
  * @access	public
19 19
  */
20
-class ext_update {
20
+class ext_update
21
+{
21 22
 
22 23
     /**
23 24
      * This holds the output ready to return
@@ -34,7 +35,8 @@  discard block
 block discarded – undo
34 35
      *
35 36
      * @return	boolean		Should the update option be shown?
36 37
      */
37
-    public function access() {
38
+    public function access()
39
+    {
38 40
 
39 41
         if (count($this->getMetadataConfig())) {
40 42
 
@@ -61,7 +63,8 @@  discard block
 block discarded – undo
61 63
      *
62 64
      * @return	array		Array of UIDs of outdated records
63 65
      */
64
-    protected function getMetadataConfig() {
66
+    protected function getMetadataConfig()
67
+    {
65 68
 
66 69
         $uids = array ();
67 70
 
@@ -105,7 +108,8 @@  discard block
 block discarded – undo
105 108
      *
106 109
      * @return	string		The content that is displayed on the website
107 110
      */
108
-    public function main() {
111
+    public function main()
112
+    {
109 113
 
110 114
         // Load localization file.
111 115
         $GLOBALS['LANG']->includeLLFile('EXT:dlf/locallang.xml');
@@ -138,7 +142,8 @@  discard block
 block discarded – undo
138 142
      *
139 143
      * @return	boolean		true if old index related columns exist
140 144
      */
141
-    protected function oldIndexRelatedTableNames() {
145
+    protected function oldIndexRelatedTableNames()
146
+    {
142 147
 
143 148
         $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
144 149
             'column_name',
@@ -172,7 +177,8 @@  discard block
 block discarded – undo
172 177
      *
173 178
      * @return	void
174 179
      */
175
-    protected function renameIndexRelatedColumns() {
180
+    protected function renameIndexRelatedColumns()
181
+    {
176 182
 
177 183
         $sqlQuery = "UPDATE tx_dlf_metadata SET `index_tokenized` = `tokenized`
178 184
 											, `index_stored` = `stored`
@@ -216,7 +222,8 @@  discard block
 block discarded – undo
216 222
      *
217 223
      * @return	void
218 224
      */
219
-    protected function updateMetadataConfig() {
225
+    protected function updateMetadataConfig()
226
+    {
220 227
 
221 228
         $metadataUids = $this->getMetadataConfig();
222 229
 
@@ -297,7 +304,8 @@  discard block
 block discarded – undo
297 304
      *
298 305
      * @return	boolean
299 306
      */
300
-    protected function solariumSolrUpdateRequired() {
307
+    protected function solariumSolrUpdateRequired()
308
+    {
301 309
 
302 310
         // Get all Solr cores that were not deleted.
303 311
         $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
@@ -333,7 +341,8 @@  discard block
 block discarded – undo
333 341
      *
334 342
      * @return	void
335 343
      */
336
-    protected function doSolariumSolrUpdate() {
344
+    protected function doSolariumSolrUpdate()
345
+    {
337 346
 
338 347
         // Get all Solr cores that were not deleted.
339 348
         $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
Please login to merge, or discard this patch.
Upper-Lower-Casing   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -38,19 +38,19 @@  discard block
 block discarded – undo
38 38
 
39 39
         if (count($this->getMetadataConfig())) {
40 40
 
41
-            return TRUE;
41
+            return true;
42 42
 
43 43
         } else if ($this->oldIndexRelatedTableNames()) {
44 44
 
45
-            return TRUE;
45
+            return true;
46 46
 
47 47
         } else if ($this->solariumSolrUpdateRequired()) {
48 48
 
49
-            return TRUE;
49
+            return true;
50 50
 
51 51
         }
52 52
 
53
-        return FALSE;
53
+        return false;
54 54
 
55 55
     }
56 56
 
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
                 || $resArray['column_name'] == 'boost'
158 158
                 || $resArray['column_name'] == 'autocomplete') {
159 159
 
160
-                    return TRUE;
160
+                    return true;
161 161
 
162 162
             }
163 163
 
@@ -187,20 +187,20 @@  discard block
 block discarded – undo
187 187
 
188 188
             $message = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
189 189
                 'TYPO3\\CMS\\Core\\Messaging\\FlashMessage',
190
-                $GLOBALS['LANG']->getLL('update.copyIndexRelatedColumnsOkay', TRUE),
191
-                $GLOBALS['LANG']->getLL('update.copyIndexRelatedColumns', TRUE),
190
+                $GLOBALS['LANG']->getLL('update.copyIndexRelatedColumnsOkay', true),
191
+                $GLOBALS['LANG']->getLL('update.copyIndexRelatedColumns', true),
192 192
                 \TYPO3\CMS\Core\Messaging\FlashMessage::OK,
193
-                FALSE
193
+                false
194 194
                 );
195 195
 
196 196
         } else {
197 197
 
198 198
             $message = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
199 199
                 'TYPO3\\CMS\\Core\\Messaging\\FlashMessage',
200
-                $GLOBALS['LANG']->getLL('update.copyIndexRelatedColumnsNotOkay', TRUE),
201
-                $GLOBALS['LANG']->getLL('update.copyIndexRelatedColumns', TRUE),
200
+                $GLOBALS['LANG']->getLL('update.copyIndexRelatedColumnsNotOkay', true),
201
+                $GLOBALS['LANG']->getLL('update.copyIndexRelatedColumns', true),
202 202
                 \TYPO3\CMS\Core\Messaging\FlashMessage::WARNING,
203
-                FALSE
203
+                false
204 204
                 );
205 205
 
206 206
         }
@@ -264,20 +264,20 @@  discard block
 block discarded – undo
264 264
 
265 265
                     $message = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
266 266
                         'TYPO3\\CMS\\Core\\Messaging\\FlashMessage',
267
-                        $GLOBALS['LANG']->getLL('update.metadataConfigOkay', TRUE),
268
-                        $GLOBALS['LANG']->getLL('update.metadataConfig', TRUE),
267
+                        $GLOBALS['LANG']->getLL('update.metadataConfigOkay', true),
268
+                        $GLOBALS['LANG']->getLL('update.metadataConfig', true),
269 269
                         \TYPO3\CMS\Core\Messaging\FlashMessage::OK,
270
-                        FALSE
270
+                        false
271 271
                     );
272 272
 
273 273
                 } else {
274 274
 
275 275
                     $message = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
276 276
                         'TYPO3\\CMS\\Core\\Messaging\\FlashMessage',
277
-                        $GLOBALS['LANG']->getLL('update.metadataConfigNotOkay', TRUE),
278
-                        $GLOBALS['LANG']->getLL('update.metadataConfig', TRUE),
277
+                        $GLOBALS['LANG']->getLL('update.metadataConfigNotOkay', true),
278
+                        $GLOBALS['LANG']->getLL('update.metadataConfig', true),
279 279
                         \TYPO3\CMS\Core\Messaging\FlashMessage::WARNING,
280
-                        FALSE
280
+                        false
281 281
                     );
282 282
 
283 283
                 }
@@ -316,13 +316,13 @@  discard block
 block discarded – undo
316 316
 
317 317
             if (!$solr->ready) {
318 318
 
319
-                return TRUE;
319
+                return true;
320 320
 
321 321
             }
322 322
 
323 323
         }
324 324
 
325
-        return FALSE;
325
+        return false;
326 326
 
327 327
     }
328 328
 
@@ -378,7 +378,7 @@  discard block
 block discarded – undo
378 378
                 // @see http://wiki.apache.org/solr/CoreAdmin
379 379
                 $url = $solrInfo['scheme'].'://'.$host.':'.$solrInfo['port'].'/'.$solrInfo['path'].'/admin/cores?wt=xml&action=CREATE&name='.$resArray['index_name'].'&instanceDir=dlfCore'.$resArray['index_name'].'&dataDir=data&configSet=dlf';
380 380
 
381
-                $response = @simplexml_load_string(file_get_contents($url, FALSE, $context));
381
+                $response = @simplexml_load_string(file_get_contents($url, false, $context));
382 382
 
383 383
                 // Process response.
384 384
                 if ($response) {
@@ -395,10 +395,10 @@  discard block
 block discarded – undo
395 395
 
396 396
                 $message = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
397 397
                     'TYPO3\\CMS\\Core\\Messaging\\FlashMessage',
398
-                    $GLOBALS['LANG']->getLL('update.solariumSolrUpdateNotOkay', TRUE),
399
-                    sprintf($GLOBALS['LANG']->getLL('update.solariumSolrUpdate', TRUE), $resArray['index_name']),
398
+                    $GLOBALS['LANG']->getLL('update.solariumSolrUpdateNotOkay', true),
399
+                    sprintf($GLOBALS['LANG']->getLL('update.solariumSolrUpdate', true), $resArray['index_name']),
400 400
                     \TYPO3\CMS\Core\Messaging\FlashMessage::ERROR,
401
-                    FALSE
401
+                    false
402 402
                     );
403 403
 
404 404
                 $this->content .= $message->render();
@@ -411,10 +411,10 @@  discard block
 block discarded – undo
411 411
 
412 412
         $message = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
413 413
             'TYPO3\\CMS\\Core\\Messaging\\FlashMessage',
414
-            $GLOBALS['LANG']->getLL('update.solariumSolrUpdateOkay', TRUE),
415
-            $GLOBALS['LANG']->getLL('update.solariumSolrUpdate', TRUE),
414
+            $GLOBALS['LANG']->getLL('update.solariumSolrUpdateOkay', true),
415
+            $GLOBALS['LANG']->getLL('update.solariumSolrUpdate', true),
416 416
             \TYPO3\CMS\Core\Messaging\FlashMessage::OK,
417
-            FALSE
417
+            false
418 418
             );
419 419
 
420 420
         $this->content .= $message->render();
Please login to merge, or discard this patch.
Configuration/TCA/tx_dlf_collections.php 1 patch
Spacing   +68 added lines, -68 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@  discard block
 block discarded – undo
9 9
  * LICENSE.txt file that was distributed with this source code.
10 10
  */
11 11
 
12
-return array (
13
-    'ctrl' => array (
12
+return array(
13
+    'ctrl' => array(
14 14
         'title'     => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections',
15 15
         'label'     => 'label',
16 16
         'tstamp'    => 'tstamp',
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
         'transOrigDiffSourceField' => 'l18n_diffsource',
24 24
         'default_sortby' => 'ORDER BY label',
25 25
         'delete'	=> 'deleted',
26
-        'enablecolumns' => array (
26
+        'enablecolumns' => array(
27 27
             'disabled' => 'hidden',
28 28
             'fe_group' => 'fe_group',
29 29
         ),
@@ -33,65 +33,65 @@  discard block
 block discarded – undo
33 33
         'dividers2tabs' => 2,
34 34
         'searchFields' => 'label,index_name,oai_name,fe_cruser_id',
35 35
     ),
36
-    'feInterface' => array (
36
+    'feInterface' => array(
37 37
         'fe_admin_fieldList' => 'label,description,thumbnail,documents',
38 38
     ),
39
-    'interface' => array (
39
+    'interface' => array(
40 40
         'showRecordFieldList' => 'label,index_name,oai_name,fe_cruser_id',
41 41
     ),
42
-    'columns' => array (
43
-        'sys_language_uid' => array (
42
+    'columns' => array(
43
+        'sys_language_uid' => array(
44 44
             'exclude' => 1,
45 45
             'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language',
46
-            'config' => array (
46
+            'config' => array(
47 47
                 'type' => 'select',
48 48
                 'renderType' => 'selectSingle',
49 49
                 'foreign_table' => 'sys_language',
50 50
                 'foreign_table_where' => 'ORDER BY sys_language.title',
51
-                'items' => array (
52
-                    array ('LLL:EXT:lang/locallang_general.xml:LGL.allLanguages', -1),
53
-                    array ('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0),
51
+                'items' => array(
52
+                    array('LLL:EXT:lang/locallang_general.xml:LGL.allLanguages', -1),
53
+                    array('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0),
54 54
                 ),
55 55
                 'default' => 0,
56 56
             ),
57 57
         ),
58
-        'l18n_parent' => array (
58
+        'l18n_parent' => array(
59 59
             'displayCond' => 'FIELD:sys_language_uid:>:0',
60 60
             'exclude' => 1,
61 61
             'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent',
62
-            'config' => array (
62
+            'config' => array(
63 63
                 'type' => 'select',
64 64
                 'renderType' => 'selectSingle',
65
-                'items' => array (
66
-                    array ('', 0),
65
+                'items' => array(
66
+                    array('', 0),
67 67
                 ),
68 68
                 'foreign_table' => 'tx_dlf_collections',
69 69
                 'foreign_table_where' => 'AND tx_dlf_collections.pid=###CURRENT_PID### AND tx_dlf_collections.sys_language_uid IN (-1,0)',
70 70
             ),
71 71
         ),
72
-        'l18n_diffsource' => array (
73
-            'config' => array (
72
+        'l18n_diffsource' => array(
73
+            'config' => array(
74 74
                 'type' => 'passthrough'
75 75
             ),
76 76
         ),
77
-        'hidden' => array (
77
+        'hidden' => array(
78 78
             'exclude' => 1,
79 79
             'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden',
80
-            'config' => array (
80
+            'config' => array(
81 81
                 'type' => 'check',
82 82
                 'default' => 0,
83 83
             ),
84 84
         ),
85
-        'fe_group' => array (
85
+        'fe_group' => array(
86 86
             'exclude' => 1,
87 87
             'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.fe_group',
88
-            'config' => array (
88
+            'config' => array(
89 89
                 'type' => 'select',
90 90
                 'renderType' => 'selectMultipleSideBySide',
91
-                'items' => array (
92
-                    array ('LLL:EXT:lang/locallang_general.xml:LGL.hide_at_login', -1),
93
-                    array ('LLL:EXT:lang/locallang_general.xml:LGL.any_login', -2),
94
-                    array ('LLL:EXT:lang/locallang_general.xml:LGL.usergroups', '--div--'),
91
+                'items' => array(
92
+                    array('LLL:EXT:lang/locallang_general.xml:LGL.hide_at_login', -1),
93
+                    array('LLL:EXT:lang/locallang_general.xml:LGL.any_login', -2),
94
+                    array('LLL:EXT:lang/locallang_general.xml:LGL.usergroups', '--div--'),
95 95
                 ),
96 96
                 'foreign_table' => 'fe_groups',
97 97
                 'size' => 5,
@@ -101,54 +101,54 @@  discard block
 block discarded – undo
101 101
                 'exclusiveKeys' => '-1,-2',
102 102
             ),
103 103
         ),
104
-        'label' => array (
104
+        'label' => array(
105 105
             'exclude' => 1,
106 106
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.label',
107
-            'config' => array (
107
+            'config' => array(
108 108
                 'type' => 'input',
109 109
                 'size' => 30,
110 110
                 'max' => 255,
111 111
                 'eval' => 'required,trim',
112 112
             ),
113 113
         ),
114
-        'index_name' => array (
114
+        'index_name' => array(
115 115
             'exclude' => 1,
116 116
             'l10n_mode' => 'exclude',
117 117
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.index_name',
118
-            'config' => array (
118
+            'config' => array(
119 119
                 'type' => 'none',
120 120
                 'size' => 30,
121 121
                 'max' => 255,
122 122
                 'eval' => 'required,uniqueInPid',
123 123
             ),
124 124
         ),
125
-        'index_search' => array (
125
+        'index_search' => array(
126 126
             'exclude' => 1,
127 127
             'l10n_mode' => 'exclude',
128 128
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.index_search',
129
-            'config' => array (
129
+            'config' => array(
130 130
                 'type' => 'text',
131 131
                 'size' => 30,
132 132
                 'rows' => 5,
133 133
                 'eval' => 'trim',
134 134
             ),
135 135
         ),
136
-        'oai_name' => array (
136
+        'oai_name' => array(
137 137
             'exclude' => 1,
138 138
             'l10n_mode' => 'exclude',
139 139
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.oai_name',
140
-            'config' => array (
140
+            'config' => array(
141 141
                 'type' => 'input',
142 142
                 'size' => 30,
143 143
                 'max' => 255,
144 144
                 'eval' => 'nospace,alphanum_x,uniqueInPid',
145 145
             ),
146 146
         ),
147
-        'description' => array (
147
+        'description' => array(
148 148
             'exclude' => 1,
149 149
             'l10n_mode' => 'mergeIfNotBlank',
150 150
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.description',
151
-            'config' => array (
151
+            'config' => array(
152 152
                 'type' => 'text',
153 153
                 'cols' => 30,
154 154
                 'rows' => 10,
@@ -156,11 +156,11 @@  discard block
 block discarded – undo
156 156
             ),
157 157
             'defaultExtras' => 'richtext[undo,redo,cut,copy,paste,link,image,line,acronym,chMode,blockstylelabel,formatblock,blockstyle,textstylelabel,textstyle,bold,italic,unorderedlist,orderedlist]:rte_transform[mode=ts_css]',
158 158
         ),
159
-        'thumbnail' => array (
159
+        'thumbnail' => array(
160 160
             'exclude' => 1,
161 161
             'l10n_mode' => 'exclude',
162 162
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.thumbnail',
163
-            'config' => array (
163
+            'config' => array(
164 164
                 'type' => 'group',
165 165
                 'internal_type' => 'file_reference',
166 166
                 'allowed' => 'gif,jpg,png',
@@ -169,19 +169,19 @@  discard block
 block discarded – undo
169 169
                 'maxitems' => 1,
170 170
             ),
171 171
         ),
172
-        'priority' => array (
172
+        'priority' => array(
173 173
             'exclude' => 1,
174 174
             'l10n_mode' => 'exclude',
175 175
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.priority',
176
-            'config' => array (
176
+            'config' => array(
177 177
                 'type' => 'select',
178 178
                 'renderType' => 'selectSingle',
179
-                'items' => array (
180
-                    array ('1', 1),
181
-                    array ('2', 2),
182
-                    array ('3', 3),
183
-                    array ('4', 4),
184
-                    array ('5', 5),
179
+                'items' => array(
180
+                    array('1', 1),
181
+                    array('2', 2),
182
+                    array('3', 3),
183
+                    array('4', 4),
184
+                    array('5', 5),
185 185
                 ),
186 186
                 'size' => 1,
187 187
                 'minitems' => 1,
@@ -189,11 +189,11 @@  discard block
 block discarded – undo
189 189
                 'default' => 3,
190 190
             ),
191 191
         ),
192
-        'documents' => array (
192
+        'documents' => array(
193 193
             'exclude' => 1,
194 194
             'l10n_mode' => 'exclude',
195 195
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.documents',
196
-            'config' => array (
196
+            'config' => array(
197 197
                 'type' => 'select',
198 198
                 'renderType' => 'selectSingleBox',
199 199
                 'foreign_table' => 'tx_dlf_documents',
@@ -203,21 +203,21 @@  discard block
 block discarded – undo
203 203
                 'minitems' => 0,
204 204
                 'maxitems' => 1048576,
205 205
                 'MM' => 'tx_dlf_relations',
206
-                'MM_match_fields' => array (
206
+                'MM_match_fields' => array(
207 207
                     'ident' => 'docs_colls',
208 208
                 ),
209 209
                 'MM_opposite_field' => 'collections',
210 210
             ),
211 211
         ),
212
-        'owner' => array (
212
+        'owner' => array(
213 213
             'exclude' => 1,
214 214
             'l10n_mode' => 'exclude',
215 215
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.owner',
216
-            'config' => array (
216
+            'config' => array(
217 217
                 'type' => 'select',
218 218
                 'renderType' => 'selectSingle',
219
-                'items' => array (
220
-                    array ('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.owner.none', 0),
219
+                'items' => array(
220
+                    array('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.owner.none', 0),
221 221
                 ),
222 222
                 'foreign_table' => 'tx_dlf_libraries',
223 223
                 'foreign_table_where' => 'AND tx_dlf_libraries.sys_language_uid IN (-1,0) ORDER BY tx_dlf_libraries.label',
@@ -226,15 +226,15 @@  discard block
 block discarded – undo
226 226
                 'maxitems' => 1,
227 227
             ),
228 228
         ),
229
-        'fe_cruser_id' => array (
229
+        'fe_cruser_id' => array(
230 230
             'exclude' => 1,
231 231
             'l10n_mode' => 'exclude',
232 232
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_cruser_id',
233
-            'config' => array (
233
+            'config' => array(
234 234
                 'type' => 'select',
235 235
                 'renderType' => 'selectSingle',
236
-                'items' => array (
237
-                    array ('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_cruser_id.none', 0),
236
+                'items' => array(
237
+                    array('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_cruser_id.none', 0),
238 238
                 ),
239 239
                 'foreign_table' => 'fe_users',
240 240
                 'foreign_table_where' => 'ORDER BY fe_users.username',
@@ -243,24 +243,24 @@  discard block
 block discarded – undo
243 243
                 'maxitems' => 1,
244 244
             ),
245 245
         ),
246
-        'fe_admin_lock' => array (
246
+        'fe_admin_lock' => array(
247 247
             'exclude' => 1,
248 248
             'l10n_mode' => 'exclude',
249 249
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_admin_lock',
250
-            'config' => array (
250
+            'config' => array(
251 251
                 'type' => 'check',
252 252
                 'default' => 0,
253 253
             ),
254 254
         ),
255
-        'status' => array (
255
+        'status' => array(
256 256
             'exclude' => 1,
257 257
             'l10n_mode' => 'exclude',
258 258
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.status',
259
-            'config' => array (
259
+            'config' => array(
260 260
                 'type' => 'select',
261 261
                 'renderType' => 'selectSingle',
262
-                'items' => array (
263
-                    array ('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.status.default', 0),
262
+                'items' => array(
263
+                    array('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.status.default', 0),
264 264
                 ),
265 265
                 'size' => 1,
266 266
                 'minitems' => 1,
@@ -269,12 +269,12 @@  discard block
 block discarded – undo
269 269
             ),
270 270
         ),
271 271
     ),
272
-    'types' => array (
273
-        '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_collections.tab1, label,--palette--;;1;;1-1-1, description,--palette--;;2;;2-2-2, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_collections.tab2, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_collections.tab3, hidden;;;;1-1-1, fe_group;;;;2-2-2, status;;;;3-3-3, owner;;;;4-4-4, fe_cruser_id,--palette--;;3'),
272
+    'types' => array(
273
+        '0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_collections.tab1, label,--palette--;;1;;1-1-1, description,--palette--;;2;;2-2-2, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_collections.tab2, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_collections.tab3, hidden;;;;1-1-1, fe_group;;;;2-2-2, status;;;;3-3-3, owner;;;;4-4-4, fe_cruser_id,--palette--;;3'),
274 274
     ),
275
-    'palettes' => array (
276
-        '1' => array ('showitem' => 'index_name, --linebreak--, index_search, --linebreak--, oai_name', 'canNotCollapse' => 1),
277
-        '2' => array ('showitem' => 'thumbnail, priority', 'canNotCollapse' => 1),
278
-        '3' => array ('showitem' => 'fe_admin_lock', 'canNotCollapse' => 1),
275
+    'palettes' => array(
276
+        '1' => array('showitem' => 'index_name, --linebreak--, index_search, --linebreak--, oai_name', 'canNotCollapse' => 1),
277
+        '2' => array('showitem' => 'thumbnail, priority', 'canNotCollapse' => 1),
278
+        '3' => array('showitem' => 'fe_admin_lock', 'canNotCollapse' => 1),
279 279
     ),
280 280
 );
Please login to merge, or discard this patch.
ext_emconf.php 2 patches
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * LICENSE.txt file that was distributed with this source code.
10 10
  */
11 11
 
12
-$EM_CONF[$_EXTKEY] = array (
12
+$EM_CONF[$_EXTKEY] = array(
13 13
     'title' => 'Kitodo.Presentation',
14 14
     'description' => 'Base plugins, modules, services and API of the Digital Library Framework. It is part of the community-based Kitodo Digitization Suite.',
15 15
     'category' => 'fe',
@@ -22,18 +22,18 @@  discard block
 block discarded – undo
22 22
     'createDirs' => '',
23 23
     'clearCacheOnLoad' => FALSE,
24 24
     'version' => '2.3.0',
25
-    'constraints' => array (
26
-        'depends' => array (
25
+    'constraints' => array(
26
+        'depends' => array(
27 27
             'php' => '7.0.0-',
28 28
             'typo3' => '7.6.0-',
29 29
         ),
30
-        'conflicts' => array (
30
+        'conflicts' => array(
31 31
         ),
32
-        'suggests' => array (
32
+        'suggests' => array(
33 33
         ),
34 34
     ),
35
-    'autoload' => array (
36
-        'classmap' => array (
35
+    'autoload' => array(
36
+        'classmap' => array(
37 37
             'vendor/solarium',
38 38
             'vendor/symfony/event-dispatcher',
39 39
             'cli/class.tx_dlf_cli.php',
Please login to merge, or discard this patch.
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,9 +18,9 @@
 block discarded – undo
18 18
     'author_company' => 'http://www.kitodo.org/',
19 19
     'state' => 'stable',
20 20
     'internal' => '',
21
-    'uploadfolder' => TRUE,
21
+    'uploadfolder' => true,
22 22
     'createDirs' => '',
23
-    'clearCacheOnLoad' => FALSE,
23
+    'clearCacheOnLoad' => false,
24 24
     'version' => '2.3.0',
25 25
     'constraints' => array (
26 26
         'depends' => array (
Please login to merge, or discard this patch.