diff options
author | Gabriel Caruso <carusogabriel34@gmail.com> | 2018-09-16 14:16:42 -0300 |
---|---|---|
committer | Gabriel Caruso <carusogabriel34@gmail.com> | 2018-10-14 12:07:20 -0300 |
commit | 9c144e0d8217d1ef7a83c2498214308b21af749f (patch) | |
tree | d977ba0d8601de477c52f62accf02c120ef06253 /ext/xmlwriter/tests/OO_010.phpt | |
parent | b419732ddb0673dc5b15a67ee4bc7f06dd90d7d0 (diff) | |
download | php-git-9c144e0d8217d1ef7a83c2498214308b21af749f.tar.gz |
Trim trailing whitespace in tests
Diffstat (limited to 'ext/xmlwriter/tests/OO_010.phpt')
-rw-r--r-- | ext/xmlwriter/tests/OO_010.phpt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/xmlwriter/tests/OO_010.phpt b/ext/xmlwriter/tests/OO_010.phpt index 5c384797d2..e69aaed428 100644 --- a/ext/xmlwriter/tests/OO_010.phpt +++ b/ext/xmlwriter/tests/OO_010.phpt @@ -1,14 +1,14 @@ --TEST-- XMLWriter: libxml2 XML Writer, writeAttributeNS method ---CREDITS-- +--CREDITS-- Mauricio Vieira <mauricio [at] @mauriciovieira [dot] net> #testfest PHPSP on 2014-07-05 --SKIPIF-- -<?php -if (!extension_loaded("xmlwriter")) die("skip"); +<?php +if (!extension_loaded("xmlwriter")) die("skip"); ?> --FILE-- -<?php +<?php $xw = new XMLWriter(); $xw->openMemory(); @@ -17,7 +17,7 @@ $xw->setIndentString(' '); $xw->startDocument('1.0', "UTF-8"); $xw->startElement('root'); $xw->startElementNS('ns1', 'child1', 'urn:ns1'); -$xw->writeAttributeNS('ns1', 'att1', 'urn:ns1', '<>"\'&'); +$xw->writeAttributeNS('ns1', 'att1', 'urn:ns1', '<>"\'&'); $xw->writeElement('chars', "special characters: <>\"'&"); $xw->endElement(); $xw->endDocument(); |