From b445283b61e1755e24426f16a8323c88e3991bef Mon Sep 17 00:00:00 2001
From: Sergio Gomez <sergio@uco.es>
Date: Mon, 27 Mar 2017 21:03:16 +0200
Subject: [PATCH] Fix bug in ParseTest for PHP 5.3 version

---
 tests/lib/SimpleSAML/XML/ParserTest.php | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/tests/lib/SimpleSAML/XML/ParserTest.php b/tests/lib/SimpleSAML/XML/ParserTest.php
index 9470d01f3..7860d9523 100644
--- a/tests/lib/SimpleSAML/XML/ParserTest.php
+++ b/tests/lib/SimpleSAML/XML/ParserTest.php
@@ -95,10 +95,10 @@ XML;
     {
         $result = $this
             ->xml
-            ->getValueAlternatives([
+            ->getValueAlternatives(array(
                 '/Root/Other',
                 '/Root/Value'
-            ], true)
+            ), true)
         ;
 
         $this->assertEquals(
@@ -116,10 +116,10 @@ XML;
     {
         $result = $this
             ->xml
-            ->getValueAlternatives([
+            ->getValueAlternatives(array(
                 '/Root/Foo',
                 '/Root/Bar'
-            ], false)
+            ), false)
         ;
 
         $this->assertEquals(
@@ -138,10 +138,10 @@ XML;
     {
         $this
             ->xml
-            ->getValueAlternatives([
+            ->getValueAlternatives(array(
                 '/Root/Foo',
                 '/Root/Bar'
-            ], true)
+            ), true)
         ;
     }
 }
-- 
GitLab