We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -279,7 +279,8 @@ |
||
279 | 279 | } |
280 | 280 | |
281 | 281 | if (is_array($metadataArray[$i][$metadataName])) { |
282 | - $metadataArray[$i][$metadataName] = array_values(array_filter($metadataArray[$i][$metadataName], function ($value) { |
|
282 | + $metadataArray[$i][$metadataName] = array_values(array_filter($metadataArray[$i][$metadataName], function ($value) |
|
283 | + { |
|
283 | 284 | return !empty($value); |
284 | 285 | })); |
285 | 286 | } |
@@ -70,7 +70,8 @@ |
||
70 | 70 | $this->configurationToUseInTestInstance['EXTENSIONS']['dlf'] = $this->getDlfConfiguration(); |
71 | 71 | |
72 | 72 | if ($this->disableJsonWrappedResponse) { |
73 | - $this->frameworkExtensionsToLoad = array_filter($this->frameworkExtensionsToLoad, function ($ext) { |
|
73 | + $this->frameworkExtensionsToLoad = array_filter($this->frameworkExtensionsToLoad, function ($ext) |
|
74 | + { |
|
74 | 75 | return $ext !== 'Resources/Core/Functional/Extensions/json_response'; |
75 | 76 | }); |
76 | 77 | } |
@@ -76,7 +76,8 @@ |
||
76 | 76 | $jsonDocuments = json_decode(file_get_contents($path), true); |
77 | 77 | |
78 | 78 | $updateQuery = $solr->service->createUpdate(); |
79 | - $documents = array_map(function ($jsonDoc) use ($updateQuery) { |
|
79 | + $documents = array_map(function ($jsonDoc) use ($updateQuery) |
|
80 | + { |
|
80 | 81 | $document = $updateQuery->createDocument(); |
81 | 82 | foreach ($jsonDoc as $key => $value) { |
82 | 83 | $document->setField($key, $value); |