We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -70,7 +70,7 @@ |
||
| 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 | return $ext !== 'Resources/Core/Functional/Extensions/json_response'; |
| 75 | 75 | }); |
| 76 | 76 | } |
@@ -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,7 @@ |
||
| 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 | $document = $updateQuery->createDocument(); |
| 81 | 81 | foreach ($jsonDoc as $key => $value) { |
| 82 | 82 | $document->setField($key, $value); |
@@ -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); |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | <root> |
| 41 | 41 | <single /> |
| 42 | 42 | </root> |
| 43 | -XML; |
|
| 43 | +xml; |
|
| 44 | 44 | $node = Helper::getXmlFileAsString($xml); |
| 45 | 45 | $this->assertIsObject($node); |
| 46 | 46 | $this->assertEquals('root', $node->getName()); |