@@ -4,5 +4,5 @@ |
||
4 | 4 | require_once 'Vendor/autoload.php'; |
5 | 5 | |
6 | 6 | // Load test target classes |
7 | -spl_autoload_register(function($c) { @include_once strtr($c, '\\_', '//').'.php'; }); |
|
8 | -set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__DIR__).'/Source'); |
|
9 | 7 | \ No newline at end of file |
8 | +spl_autoload_register(function($c) { @include_once strtr($c, '\\_', '//') . '.php'; }); |
|
9 | +set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__DIR__) . '/Source'); |
|
10 | 10 | \ No newline at end of file |
@@ -171,7 +171,7 @@ |
||
171 | 171 | public function asXML() |
172 | 172 | { |
173 | 173 | $xml = new SimpleXMLElement('<?xml version="1.0" encoding="UTF-8" ?><item></item>', |
174 | - LIBXML_NOERROR | LIBXML_ERR_NONE | LIBXML_ERR_FATAL); |
|
174 | + LIBXML_NOERROR|LIBXML_ERR_NONE|LIBXML_ERR_FATAL); |
|
175 | 175 | $xml->addChild('title', $this->title); |
176 | 176 | $xml->addChild('link', $this->url); |
177 | 177 | if ($this->pubDate !== null) { |
@@ -171,7 +171,7 @@ |
||
171 | 171 | public function asXML() |
172 | 172 | { |
173 | 173 | $xml = new SimpleXMLElement('<?xml version="1.0" encoding="UTF-8" ?><item></item>', |
174 | - LIBXML_NOERROR | LIBXML_ERR_NONE | LIBXML_ERR_FATAL); |
|
174 | + LIBXML_NOERROR|LIBXML_ERR_NONE|LIBXML_ERR_FATAL); |
|
175 | 175 | $xml->addChild('title', $this->title); |
176 | 176 | $xml->addChild('link', $this->url); |
177 | 177 | if ($this->pubDate !== null) { |
@@ -171,7 +171,7 @@ |
||
171 | 171 | public function asXML() |
172 | 172 | { |
173 | 173 | $xml = new SimpleXMLElement('<?xml version="1.0" encoding="UTF-8" ?><item></item>', |
174 | - LIBXML_NOERROR | LIBXML_ERR_NONE | LIBXML_ERR_FATAL); |
|
174 | + LIBXML_NOERROR|LIBXML_ERR_NONE|LIBXML_ERR_FATAL); |
|
175 | 175 | $xml->addChild('title', $this->title); |
176 | 176 | $xml->addChild('link', $this->url); |
177 | 177 | if ($this->pubDate !== null) { |