Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/PubSubHubbub/Publisher.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use Zend\Http\Request as HttpRequest;
use Zend\Stdlib\ArrayUtils;
use Zend\Uri;
use Zend\Version;
use Zend\Version\Version;

/**
* @category Zend
Expand Down
2 changes: 1 addition & 1 deletion src/PubSubHubbub/Subscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use Zend\Http\Request as HttpRequest;
use Zend\Stdlib\ArrayUtils;
use Zend\Uri;
use Zend\Version;
use Zend\Version\Version;

/**
* @category Zend
Expand Down
3 changes: 2 additions & 1 deletion src/Writer/Renderer/Feed/AbstractAtom.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
use DOMElement;
use Zend\Feed\Writer;
use Zend\Feed\Writer\Renderer;
use Zend\Version\Version;

/**
* @category Zend
Expand Down Expand Up @@ -137,7 +138,7 @@ protected function _setGenerator(DOMDocument $dom, DOMElement $root)
{
if(!$this->getDataContainer()->getGenerator()) {
$this->getDataContainer()->setGenerator('Zend_Feed_Writer',
\Zend\Version::VERSION, 'http://framework.zend.com');
Version::VERSION, 'http://framework.zend.com');
}

$gdata = $this->getDataContainer()->getGenerator();
Expand Down
3 changes: 2 additions & 1 deletion src/Writer/Renderer/Feed/Atom/AbstractAtom.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use DOMDocument;
use DOMElement;
use Zend\Feed;
use Zend\Version\Version;

/**
* @category Zend
Expand Down Expand Up @@ -136,7 +137,7 @@ protected function _setGenerator(DOMDocument $dom, DOMElement $root)
{
if(!$this->getDataContainer()->getGenerator()) {
$this->getDataContainer()->setGenerator('Zend_Feed_Writer',
\Zend\Version::VERSION, 'http://framework.zend.com');
Version::VERSION, 'http://framework.zend.com');
}

$gdata = $this->getDataContainer()->getGenerator();
Expand Down
3 changes: 2 additions & 1 deletion src/Writer/Renderer/Feed/Rss.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
use Zend\Feed\Writer;
use Zend\Feed\Writer\Renderer;
use Zend\Uri;
use Zend\Version\Version;

/**
* @category Zend
Expand Down Expand Up @@ -202,7 +203,7 @@ protected function _setGenerator(DOMDocument $dom, DOMElement $root)
{
if(!$this->getDataContainer()->getGenerator()) {
$this->getDataContainer()->setGenerator('Zend_Feed_Writer',
\Zend\Version::VERSION, 'http://framework.zend.com');
Version::VERSION, 'http://framework.zend.com');
}

$gdata = $this->getDataContainer()->getGenerator();
Expand Down
2 changes: 1 addition & 1 deletion test/Writer/Renderer/Feed/RssTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public function testFeedGeneratorDefaultIsUsedIfGeneratorNotSetByHand()
$rssFeed->render();
$feed = Reader\Reader::importString($rssFeed->saveXml());
$this->assertEquals(
'Zend_Feed_Writer ' . \Zend\Version::VERSION . ' (http://framework.zend.com)', $feed->getGenerator());
'Zend_Feed_Writer ' . \Zend\Version\Version::VERSION . ' (http://framework.zend.com)', $feed->getGenerator());
}

public function testFeedLanguageHasBeenSet()
Expand Down

0 comments on commit a2bd1ba

Please sign in to comment.