Fix changelog and minor tweak for #23485
This commit is contained in:
parent
3ab655ec82
commit
6fcb075683
@ -5,6 +5,7 @@ CHANGELOG
|
|||||||
-----
|
-----
|
||||||
|
|
||||||
* added `setDeprecated()` method to indicate a deprecated node
|
* added `setDeprecated()` method to indicate a deprecated node
|
||||||
|
* added `XmlUtils::parse()` method to parse an XML string
|
||||||
|
|
||||||
3.3.0
|
3.3.0
|
||||||
-----
|
-----
|
||||||
|
@ -40,9 +40,9 @@ class XmlUtils
|
|||||||
*
|
*
|
||||||
* @return \DOMDocument
|
* @return \DOMDocument
|
||||||
*
|
*
|
||||||
* @throws \Symfony\Component\Config\Util\Exception\XmlParsingException When parsing of XML file returns error
|
* @throws XmlParsingException When parsing of XML file returns error
|
||||||
* @throws \Symfony\Component\Config\Util\Exception\InvalidXmlException When parsing of XML with schema or callable produces any errors unrelated to the XML parsing itself
|
* @throws InvalidXmlException When parsing of XML with schema or callable produces any errors unrelated to the XML parsing itself
|
||||||
* @throws \RuntimeException When DOM extension is missing
|
* @throws \RuntimeException When DOM extension is missing
|
||||||
*/
|
*/
|
||||||
public static function parse($content, $schemaOrCallable = null)
|
public static function parse($content, $schemaOrCallable = null)
|
||||||
{
|
{
|
||||||
@ -116,9 +116,9 @@ class XmlUtils
|
|||||||
*
|
*
|
||||||
* @return \DOMDocument
|
* @return \DOMDocument
|
||||||
*
|
*
|
||||||
* @throws \InvalidArgumentException When loading of XML file returns error
|
* @throws \InvalidArgumentException When loading of XML file returns error
|
||||||
* @throws \Symfony\Component\Config\Util\Exception\XmlParsingException when XML parsing returns any errors
|
* @throws XmlParsingException When XML parsing returns any errors
|
||||||
* @throws \RuntimeException When DOM extension is missing
|
* @throws \RuntimeException When DOM extension is missing
|
||||||
*/
|
*/
|
||||||
public static function loadFile($file, $schemaOrCallable = null)
|
public static function loadFile($file, $schemaOrCallable = null)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user