From 4c545b9facec53043a8ed6b574b1dc1fd172bed3 Mon Sep 17 00:00:00 2001 From: ADmad Date: Wed, 14 Dec 2016 13:03:53 +0530 Subject: [PATCH] Fix CS error. --- tests/TestCase/Utility/XmlTest.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/TestCase/Utility/XmlTest.php b/tests/TestCase/Utility/XmlTest.php index 3345b314dce..ab03e93b515 100644 --- a/tests/TestCase/Utility/XmlTest.php +++ b/tests/TestCase/Utility/XmlTest.php @@ -386,12 +386,12 @@ public function testFromArray() */ public function testFromArrayZeroValue() { - $xml = array( - 'tag' => array( + $xml = [ + 'tag' => [ '@' => 0, '@test' => 'A test' - ) - ); + ] + ]; $obj = Xml::fromArray($xml); $xmlText = << @@ -399,9 +399,9 @@ public function testFromArrayZeroValue() XML; $this->assertXmlStringEqualsXmlString($xmlText, $obj->asXML()); - $xml = array( - 'tag' => array('0') - ); + $xml = [ + 'tag' => ['0'] + ]; $obj = Xml::fromArray($xml); $xmlText = <<