Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit 71870b4

Browse files
committed
Merge remote-tracking branch 'origin/develop' into develop
2 parents bbff817 + 5da62ab commit 71870b4

File tree

5 files changed

+4
-26
lines changed

5 files changed

+4
-26
lines changed

core/src/core/classes/guzzle/vendor/symfony/config/Definition/ArrayNode.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -332,9 +332,7 @@ protected function normalizeValue($value)
332332
*/
333333
protected function remapXml($value)
334334
{
335-
foreach ($this->xmlRemappings as $transformation) {
336-
list($singular, $plural) = $transformation;
337-
335+
foreach ($this->xmlRemappings as list($singular, $plural)) {
338336
if (!isset($value[$singular])) {
339337
continue;
340338
}

core/src/core/classes/guzzle/vendor/symfony/config/Loader/FileLoader.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,10 @@ public function import($resource, $type = null, $ignoreErrors = false, $sourceRe
101101

102102
try {
103103
$ret = $loader->load($resource, $type);
104-
} catch (\Exception $e) {
104+
} finally {
105105
unset(self::$loading[$resource]);
106-
throw $e;
107106
}
108107

109-
unset(self::$loading[$resource]);
110-
111108
return $ret;
112109
} catch (FileLoaderImportCircularReferenceException $e) {
113110
throw $e;

core/src/core/classes/guzzle/vendor/symfony/config/Tests/Util/XmlUtilsTest.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,16 +172,11 @@ public function testLoadWrongEmptyXMLWithErrorHandler()
172172
} catch (\InvalidArgumentException $e) {
173173
$this->assertEquals(sprintf('File %s does not contain valid XML, it is empty.', $file), $e->getMessage());
174174
}
175-
} catch (\Exception $e) {
175+
} finally {
176176
restore_error_handler();
177177
error_reporting($errorReporting);
178-
179-
throw $e;
180178
}
181179

182-
restore_error_handler();
183-
error_reporting($errorReporting);
184-
185180
$disableEntities = libxml_disable_entity_loader(true);
186181
libxml_disable_entity_loader($disableEntities);
187182

core/src/core/classes/guzzle/vendor/symfony/yaml/Tests/InlineTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,8 @@ public function testDumpNumericValueWithLocale()
7171

7272
$this->assertEquals('1.2', Inline::dump(1.2));
7373
$this->assertContains('fr', strtolower(setlocale(LC_NUMERIC, 0)));
74+
} finally {
7475
setlocale(LC_NUMERIC, $locale);
75-
} catch (\Exception $e) {
76-
setlocale(LC_NUMERIC, $locale);
77-
throw $e;
7876
}
7977
}
8078

core/src/plugins/access.ajxp_conf/ajxp_confActions.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,21 +59,11 @@
5959
<serverCallback methodName="listAllActions" restParams="/" developerComment="Takes in input a list of plugin parameters and builds the corresponding XML to create a standard form."/>
6060
</processing>
6161
</action>
62-
<action name="list_all_repositories">
63-
<processing>
64-
<serverCallback methodName="listAllActions" restParams="/" developerComment="Returns all repository (output format is XML)"/>
65-
</processing>
66-
</action>
6762
<action name="list_all_repositories_json">
6863
<processing>
6964
<serverCallback methodName="listAllActions" restParams="/" developerComment="Returns all repository (output format is JSON)"/>
7065
</processing>
7166
</action>
72-
<action name="list_all_users">
73-
<processing>
74-
<serverCallback methodName="listAllActions" restParams="/" developerComment="Returns all users"/>
75-
</processing>
76-
</action>
7767
<action name="generate_api_docs">
7868
<processing>
7969
<serverCallback methodName="switchAction" restParams="/version" developerComment="Generate API docs">

0 commit comments

Comments
 (0)