Passed
Pull Request — master (#123)
by
unknown
11:14
created
Configuration/Backend/Modules.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
         'navigationComponentId' => '@typo3/backend/page-tree/page-tree-element',
27 27
         'controllerActions'     => [
28 28
             \Kitodo\Dlf\Controller\Backend\NewTenantController::class => [
29
-                'index','error','addFormat','addMetadata','addSolrCore','addStructure'
29
+                'index', 'error', 'addFormat', 'addMetadata', 'addSolrCore', 'addStructure'
30 30
             ],
31 31
         ],
32 32
     ],
Please login to merge, or discard this patch.
Tests/Functional/FunctionalTestCase.php 3 patches
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
         $this->configurationToUseInTestInstance['EXTENSIONS']['dlf'] = $this->getDlfConfiguration();
97 97
 
98 98
         if ($this->disableJsonWrappedResponse) {
99
-            $this->frameworkExtensionsToLoad = array_filter($this->frameworkExtensionsToLoad, function ($ext) {
99
+            $this->frameworkExtensionsToLoad = array_filter($this->frameworkExtensionsToLoad, function($ext) {
100 100
                 return $ext !== 'Resources/Core/Functional/Extensions/json_response';
101 101
             });
102 102
         }
@@ -108,9 +108,9 @@  discard block
 block discarded – undo
108 108
 
109 109
         $this->persistenceManager = GeneralUtility::makeInstance(PersistenceManager::class);
110 110
 
111
-        $this->baseUrl = 'http://web:8000/public/typo3temp/var/tests/functional-' . $this->identifier . '/';
111
+        $this->baseUrl = 'http://web:8000/public/typo3temp/var/tests/functional-'.$this->identifier.'/';
112 112
         $this->httpClient = new HttpClient([
113
-            'base_uri' => $this->baseUrl . 'index.php',
113
+            'base_uri' => $this->baseUrl.'index.php',
114 114
             'http_errors' => false,
115 115
         ]);
116 116
 
@@ -169,13 +169,13 @@  discard block
 block discarded – undo
169 169
 
170 170
     protected function addSiteConfig($identifier)
171 171
     {
172
-        $siteConfig = Yaml::parseFile(__DIR__ . '/../Fixtures/siteconfig.yaml');
172
+        $siteConfig = Yaml::parseFile(__DIR__.'/../Fixtures/siteconfig.yaml');
173 173
         $siteConfig['base'] = $this->baseUrl;
174 174
         $siteConfig['languages'][0]['base'] = $this->baseUrl;
175 175
 
176
-        $siteConfigPath = $this->instancePath . '/typo3conf/sites/' . $identifier;
176
+        $siteConfigPath = $this->instancePath.'/typo3conf/sites/'.$identifier;
177 177
         @mkdir($siteConfigPath, 0775, true);
178
-        file_put_contents($siteConfigPath . '/config.yaml', Yaml::dump($siteConfig));
178
+        file_put_contents($siteConfigPath.'/config.yaml', Yaml::dump($siteConfig));
179 179
 
180 180
         // refresh site cache (otherwise site config is not found)
181 181
         $finder = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Site\SiteFinder::class);
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
         $jsonDocuments = json_decode(file_get_contents($path), true);
198 198
 
199 199
         $updateQuery = $solr->service->createUpdate();
200
-        $documents = array_map(function ($jsonDoc) use ($updateQuery) {
200
+        $documents = array_map(function($jsonDoc) use ($updateQuery) {
201 201
             $document = $updateQuery->createDocument();
202 202
             foreach ($jsonDoc as $key => $value) {
203 203
                 $document->setField($key, $value);
Please login to merge, or discard this patch.
Braces   +7 added lines, -14 removed lines patch added patch discarded remove patch
@@ -89,8 +89,7 @@  discard block
 block discarded – undo
89 89
      */
90 90
     protected $httpClient;
91 91
 
92
-    public function __construct()
93
-    {
92
+    public function __construct() {
94 93
         parent::__construct();
95 94
 
96 95
         $this->configurationToUseInTestInstance['EXTENSIONS']['dlf'] = $this->getDlfConfiguration();
@@ -117,8 +116,7 @@  discard block
 block discarded – undo
117 116
         $this->addSiteConfig('dlf-testing');
118 117
     }
119 118
 
120
-    protected function getDlfConfiguration()
121
-    {
119
+    protected function getDlfConfiguration() {
122 120
         $dotenv = Dotenv::createImmutable('/home/runner/work/kitodo-presentation/kitodo-presentation/Build/Test/', 'test.env');
123 121
         $dotenv->load();
124 122
 
@@ -167,8 +165,7 @@  discard block
 block discarded – undo
167 165
         ];
168 166
     }
169 167
 
170
-    protected function addSiteConfig($identifier)
171
-    {
168
+    protected function addSiteConfig($identifier) {
172 169
         $siteConfig = Yaml::parseFile(__DIR__ . '/../Fixtures/siteconfig.yaml');
173 170
         $siteConfig['base'] = $this->baseUrl;
174 171
         $siteConfig['languages'][0]['base'] = $this->baseUrl;
@@ -182,8 +179,7 @@  discard block
 block discarded – undo
182 179
         $finder->getAllSites(false); // useCache = false
183 180
     }
184 181
 
185
-    protected function initializeRepository(string $className, int $storagePid)
186
-    {
182
+    protected function initializeRepository(string $className, int $storagePid) {
187 183
         $repository = GeneralUtility::makeInstance($className);
188 184
         $querySettings = GeneralUtility::makeInstance(Typo3QuerySettings::class);
189 185
         $querySettings->setStoragePageIds([$storagePid]);
@@ -192,8 +188,7 @@  discard block
 block discarded – undo
192 188
         return $repository;
193 189
     }
194 190
 
195
-    protected function importSolrDocuments(Solr $solr, string $path)
196
-    {
191
+    protected function importSolrDocuments(Solr $solr, string $path) {
197 192
         $jsonDocuments = json_decode(file_get_contents($path), true);
198 193
 
199 194
         $updateQuery = $solr->service->createUpdate();
@@ -212,8 +207,7 @@  discard block
 block discarded – undo
212 207
         $solr->service->update($updateQuery);
213 208
     }
214 209
 
215
-    protected function initLanguageService(string $locale)
216
-    {
210
+    protected function initLanguageService(string $locale) {
217 211
         // create mock backend user and set language
218 212
         // which is loaded by LanguageServiceFactory as default value in backend mode
219 213
         $backendUser = GeneralUtility::makeInstance(BackendUserAuthentication::class);
@@ -224,8 +218,7 @@  discard block
 block discarded – undo
224 218
     /**
225 219
      * Assert that $sub is recursively contained within $super.
226 220
      */
227
-    protected function assertArrayMatches(array $sub, array $super, string $message = '')
228
-    {
221
+    protected function assertArrayMatches(array $sub, array $super, string $message = '') {
229 222
         self::assertEquals($sub, ArrayUtility::intersectRecursive($super, $sub), $message);
230 223
     }
231 224
 }
Please login to merge, or discard this patch.
Upper-Lower-Casing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
         ],
53 53
         'FE' => [
54 54
             'cacheHash' => [
55
-                'enforceValidation' => false,
55
+                'enforceValidation' => FALSE,
56 56
             ],
57 57
         ],
58 58
         'DB' => [
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
      *
73 73
      * @var bool
74 74
      */
75
-    protected $disableJsonWrappedResponse = false;
75
+    protected $disableJsonWrappedResponse = FALSE;
76 76
 
77 77
     /**
78 78
      * @var PersistenceManager
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
         $this->baseUrl = 'http://web:8000/public/typo3temp/var/tests/functional-' . $this->identifier . '/';
112 112
         $this->httpClient = new HttpClient([
113 113
             'base_uri' => $this->baseUrl . 'index.php',
114
-            'http_errors' => false,
114
+            'http_errors' => FALSE,
115 115
         ]);
116 116
 
117 117
         $this->addSiteConfig('dlf-testing');
@@ -174,12 +174,12 @@  discard block
 block discarded – undo
174 174
         $siteConfig['languages'][0]['base'] = $this->baseUrl;
175 175
 
176 176
         $siteConfigPath = $this->instancePath . '/typo3conf/sites/' . $identifier;
177
-        @mkdir($siteConfigPath, 0775, true);
177
+        @mkdir($siteConfigPath, 0775, TRUE);
178 178
         file_put_contents($siteConfigPath . '/config.yaml', Yaml::dump($siteConfig));
179 179
 
180 180
         // refresh site cache (otherwise site config is not found)
181 181
         $finder = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Site\SiteFinder::class);
182
-        $finder->getAllSites(false); // useCache = false
182
+        $finder->getAllSites(FALSE); // useCache = false
183 183
     }
184 184
 
185 185
     protected function initializeRepository(string $className, int $storagePid)
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
 
195 195
     protected function importSolrDocuments(Solr $solr, string $path)
196 196
     {
197
-        $jsonDocuments = json_decode(file_get_contents($path), true);
197
+        $jsonDocuments = json_decode(file_get_contents($path), TRUE);
198 198
 
199 199
         $updateQuery = $solr->service->createUpdate();
200 200
         $documents = array_map(function ($jsonDoc) use ($updateQuery) {
Please login to merge, or discard this patch.
Configuration/TCA/Overrides/tt_content.php 1 patch
Spacing   +49 added lines, -49 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
26 26
     'Dlf',
27 27
     'Annotation',
28
-    $pluginsLabel . 'annotation.title',
28
+    $pluginsLabel.'annotation.title',
29 29
 );
30 30
 
31 31
 // Plugin "audioplayer".
@@ -36,14 +36,14 @@  discard block
 block discarded – undo
36 36
 
37 37
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
38 38
     $plugin,
39
-    $flexFormsPathPrefix . 'AudioPlayer.xml'
39
+    $flexFormsPathPrefix.'AudioPlayer.xml'
40 40
 );
41 41
 
42 42
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
43 43
     'Dlf',
44 44
     'AudioPlayer',
45
-    $pluginsLabel . 'audioplayer.title',
46
-    $iconsDirectory . 'tx-dlf-audioplayer.svg'
45
+    $pluginsLabel.'audioplayer.title',
46
+    $iconsDirectory.'tx-dlf-audioplayer.svg'
47 47
 );
48 48
 
49 49
 // Plugin "basket".
@@ -54,14 +54,14 @@  discard block
 block discarded – undo
54 54
 
55 55
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
56 56
     $plugin,
57
-    $flexFormsPathPrefix . 'Basket.xml'
57
+    $flexFormsPathPrefix.'Basket.xml'
58 58
 );
59 59
 
60 60
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
61 61
     'Dlf',
62 62
     'Basket',
63
-    $pluginsLabel . 'basket.title',
64
-    $iconsDirectory . 'tx-dlf-basket.svg'
63
+    $pluginsLabel.'basket.title',
64
+    $iconsDirectory.'tx-dlf-basket.svg'
65 65
 );
66 66
 
67 67
 // Plugin "calendar".
@@ -72,14 +72,14 @@  discard block
 block discarded – undo
72 72
 
73 73
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
74 74
     $plugin,
75
-    $flexFormsPathPrefix . 'Calendar.xml'
75
+    $flexFormsPathPrefix.'Calendar.xml'
76 76
 );
77 77
 
78 78
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
79 79
     'Dlf',
80 80
     'Calendar',
81
-    $pluginsLabel . 'calendar.title',
82
-    $iconsDirectory . 'tx-dlf-calendar.svg'
81
+    $pluginsLabel.'calendar.title',
82
+    $iconsDirectory.'tx-dlf-calendar.svg'
83 83
 );
84 84
 
85 85
 // Plugin "collection".
@@ -90,14 +90,14 @@  discard block
 block discarded – undo
90 90
 
91 91
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
92 92
     $plugin,
93
-    $flexFormsPathPrefix . 'Collection.xml'
93
+    $flexFormsPathPrefix.'Collection.xml'
94 94
 );
95 95
 
96 96
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
97 97
     'Dlf',
98 98
     'Collection',
99
-    $pluginsLabel . 'collection.title',
100
-    $iconsDirectory . 'tx-dlf-collection.svg'
99
+    $pluginsLabel.'collection.title',
100
+    $iconsDirectory.'tx-dlf-collection.svg'
101 101
 );
102 102
 
103 103
 // Plugin "embedded3dviewer".
@@ -108,14 +108,14 @@  discard block
 block discarded – undo
108 108
 
109 109
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
110 110
     'dlf_embedded3dviewer',
111
-    $flexFormsPathPrefix . 'Embedded3dViewer.xml'
111
+    $flexFormsPathPrefix.'Embedded3dViewer.xml'
112 112
 );
113 113
 
114 114
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
115 115
     'Dlf',
116 116
     'Embedded3dViewer',
117
-    $pluginsLabel . 'embedded3dviewer.title',
118
-    $iconsDirectory . 'tx-dlf-embedded3dviewer.svg'
117
+    $pluginsLabel.'embedded3dviewer.title',
118
+    $iconsDirectory.'tx-dlf-embedded3dviewer.svg'
119 119
 );
120 120
 
121 121
 // Plugin "feeds".
@@ -126,14 +126,14 @@  discard block
 block discarded – undo
126 126
 
127 127
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
128 128
     $plugin,
129
-    $flexFormsPathPrefix . 'Feeds.xml'
129
+    $flexFormsPathPrefix.'Feeds.xml'
130 130
 );
131 131
 
132 132
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
133 133
     'Dlf',
134 134
     'Feeds',
135
-    $pluginsLabel . 'feeds.title',
136
-    $iconsDirectory . 'tx-dlf-feeds.svg'
135
+    $pluginsLabel.'feeds.title',
136
+    $iconsDirectory.'tx-dlf-feeds.svg'
137 137
 );
138 138
 
139 139
 // Plugin "listview".
@@ -144,14 +144,14 @@  discard block
 block discarded – undo
144 144
 
145 145
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
146 146
     $plugin,
147
-    $flexFormsPathPrefix . 'ListView.xml'
147
+    $flexFormsPathPrefix.'ListView.xml'
148 148
 );
149 149
 
150 150
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
151 151
     'Dlf',
152 152
     'ListView',
153
-    $pluginsLabel . 'listview.title',
154
-    $iconsDirectory . 'tx-dlf-listview.svg'
153
+    $pluginsLabel.'listview.title',
154
+    $iconsDirectory.'tx-dlf-listview.svg'
155 155
 );
156 156
 
157 157
 // Plugin "metadata".
@@ -161,14 +161,14 @@  discard block
 block discarded – undo
161 161
 $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$plugin] = $addList;
162 162
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
163 163
     $plugin,
164
-    $flexFormsPathPrefix . 'Metadata.xml'
164
+    $flexFormsPathPrefix.'Metadata.xml'
165 165
 );
166 166
 
167 167
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
168 168
     'Dlf',
169 169
     'Metadata',
170
-    $pluginsLabel . 'metadata.title',
171
-    $iconsDirectory . 'tx-dlf-metadata.svg'
170
+    $pluginsLabel.'metadata.title',
171
+    $iconsDirectory.'tx-dlf-metadata.svg'
172 172
 );
173 173
 
174 174
 // Plugin "navigation".
@@ -179,14 +179,14 @@  discard block
 block discarded – undo
179 179
 
180 180
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
181 181
     $plugin,
182
-    $flexFormsPathPrefix . 'Navigation.xml'
182
+    $flexFormsPathPrefix.'Navigation.xml'
183 183
 );
184 184
 
185 185
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
186 186
     'Dlf',
187 187
     'Navigation',
188
-    $pluginsLabel . 'navigation.title',
189
-    $iconsDirectory . 'tx-dlf-navigation.svg'
188
+    $pluginsLabel.'navigation.title',
189
+    $iconsDirectory.'tx-dlf-navigation.svg'
190 190
 );
191 191
 
192 192
 // Plugin "oaipmh".
@@ -197,14 +197,14 @@  discard block
 block discarded – undo
197 197
 
198 198
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
199 199
     $plugin,
200
-    $flexFormsPathPrefix . 'OaiPmh.xml'
200
+    $flexFormsPathPrefix.'OaiPmh.xml'
201 201
 );
202 202
 
203 203
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
204 204
     'Dlf',
205 205
     'OaiPmh',
206
-    $pluginsLabel . 'oaipmh.title',
207
-    $iconsDirectory . 'tx-dlf-oaipmh.svg'
206
+    $pluginsLabel.'oaipmh.title',
207
+    $iconsDirectory.'tx-dlf-oaipmh.svg'
208 208
 );
209 209
 
210 210
 // Plugin "pagegrid".
@@ -214,14 +214,14 @@  discard block
 block discarded – undo
214 214
 $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$plugin] = $addList;
215 215
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
216 216
     $plugin,
217
-    $flexFormsPathPrefix . 'PageGrid.xml'
217
+    $flexFormsPathPrefix.'PageGrid.xml'
218 218
 );
219 219
 
220 220
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
221 221
     'Dlf',
222 222
     'PageGrid',
223
-    $pluginsLabel . 'pagegrid.title',
224
-    $iconsDirectory . 'tx-dlf-pagegrid.svg'
223
+    $pluginsLabel.'pagegrid.title',
224
+    $iconsDirectory.'tx-dlf-pagegrid.svg'
225 225
 );
226 226
 
227 227
 // Plugin "pageview".
@@ -231,14 +231,14 @@  discard block
 block discarded – undo
231 231
 $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$plugin] = $addList;
232 232
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
233 233
     $plugin,
234
-    $flexFormsPathPrefix . 'PageView.xml'
234
+    $flexFormsPathPrefix.'PageView.xml'
235 235
 );
236 236
 
237 237
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
238 238
     'Dlf',
239 239
     'PageView',
240
-    $pluginsLabel . 'plugins.pageview.title',
241
-    $iconsDirectory . 'tx-dlf-pageview.svg'
240
+    $pluginsLabel.'plugins.pageview.title',
241
+    $iconsDirectory.'tx-dlf-pageview.svg'
242 242
 );
243 243
 
244 244
 // Plugin "search".
@@ -249,14 +249,14 @@  discard block
 block discarded – undo
249 249
 
250 250
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
251 251
     $plugin,
252
-    $flexFormsPathPrefix . 'Search.xml'
252
+    $flexFormsPathPrefix.'Search.xml'
253 253
 );
254 254
 
255 255
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
256 256
     'Dlf',
257 257
     'Search',
258
-    $pluginsLabel . 'search.title',
259
-    $iconsDirectory . 'tx-dlf-search.svg'
258
+    $pluginsLabel.'search.title',
259
+    $iconsDirectory.'tx-dlf-search.svg'
260 260
 );
261 261
 
262 262
 // Plugin "statistics".
@@ -267,14 +267,14 @@  discard block
 block discarded – undo
267 267
 
268 268
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
269 269
     $plugin,
270
-    $flexFormsPathPrefix . 'Statistics.xml'
270
+    $flexFormsPathPrefix.'Statistics.xml'
271 271
 );
272 272
 
273 273
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
274 274
     'Dlf',
275 275
     'Statistics',
276
-    $pluginsLabel . 'statistics.title',
277
-    $iconsDirectory . 'tx-dlf-statistics.svg'
276
+    $pluginsLabel.'statistics.title',
277
+    $iconsDirectory.'tx-dlf-statistics.svg'
278 278
 );
279 279
 
280 280
 // Plugin "tableofcontents".
@@ -285,14 +285,14 @@  discard block
 block discarded – undo
285 285
 
286 286
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
287 287
     $plugin,
288
-    $flexFormsPathPrefix . 'TableOfContents.xml'
288
+    $flexFormsPathPrefix.'TableOfContents.xml'
289 289
 );
290 290
 
291 291
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
292 292
     'Dlf',
293 293
     'TableOfContents',
294
-    $pluginsLabel . 'tableofcontents.title',
295
-    $iconsDirectory . 'tx-dlf-tableofcontents.svg'
294
+    $pluginsLabel.'tableofcontents.title',
295
+    $iconsDirectory.'tx-dlf-tableofcontents.svg'
296 296
 );
297 297
 
298 298
 // Plugin "toolbox".
@@ -302,12 +302,12 @@  discard block
 block discarded – undo
302 302
 $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$plugin] = $addList;
303 303
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
304 304
     $plugin,
305
-    $flexFormsPathPrefix . 'Toolbox.xml'
305
+    $flexFormsPathPrefix.'Toolbox.xml'
306 306
 );
307 307
 
308 308
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
309 309
     'Dlf',
310 310
     'Toolbox',
311
-    $pluginsLabel . 'toolbox.title',
312
-    $iconsDirectory . 'tx-dlf-toolbox.svg'
311
+    $pluginsLabel.'toolbox.title',
312
+    $iconsDirectory.'tx-dlf-toolbox.svg'
313 313
 );
Please login to merge, or discard this patch.
Classes/Updates/UpdateSolrSchema.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,8 +27,7 @@
 block discarded – undo
27 27
  *
28 28
  * @internal
29 29
  */
30
-class UpdateSolrSchema implements UpgradeWizardInterface
31
-{
30
+class UpdateSolrSchema implements UpgradeWizardInterface {
32 31
 
33 32
     /**
34 33
      * Return the identifier for this wizard
Please login to merge, or discard this patch.
Upper-Lower-Casing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -97,9 +97,9 @@  discard block
 block discarded – undo
97 97
                             'replace-field' => [
98 98
                                 'name' => 'autocomplete',
99 99
                                 'type' => 'autocomplete',
100
-                                'indexed' => true,
101
-                                'stored' => true,
102
-                                'multiValued' => true,
100
+                                'indexed' => TRUE,
101
+                                'stored' => TRUE,
102
+                                'multiValued' => TRUE,
103 103
                             ],
104 104
                         ]
105 105
                     ),
@@ -108,10 +108,10 @@  discard block
 block discarded – undo
108 108
             $result = $solr->service->execute($query);
109 109
 
110 110
             if ($result->getResponse()->getStatusCode() == 400) {
111
-                return false;
111
+                return FALSE;
112 112
             }
113 113
         }
114
-        return true;
114
+        return TRUE;
115 115
     }
116 116
 
117 117
     /**
@@ -126,9 +126,9 @@  discard block
 block discarded – undo
126 126
     public function updateNecessary(): bool
127 127
     {
128 128
         if (count($this->getAllAffectedSolrCores())) {
129
-            return true;
129
+            return TRUE;
130 130
         }
131
-        return false;
131
+        return FALSE;
132 132
     }
133 133
 
134 134
     /**
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
             );
195 195
             $result = $solr->service->execute($query)->getData();
196 196
 
197
-            if (!isset($result['field']['stored']) || $result['field']['stored'] === true) {
197
+            if (!isset($result['field']['stored']) || $result['field']['stored'] === TRUE) {
198 198
                 continue;
199 199
             }
200 200
 
Please login to merge, or discard this patch.