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 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/Reader/Collection/AbstractCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ abstract class AbstractCollection extends \ArrayObject
*
* @return array
*/
public abstract function getValues();
abstract public function getValues();

}
2 changes: 1 addition & 1 deletion src/Reader/Extension/AbstractEntry.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,5 +190,5 @@ public function setXpathPrefix($prefix)
*
* @return void
*/
protected abstract function _registerNamespaces();
abstract protected function _registerNamespaces();
}
4 changes: 2 additions & 2 deletions src/Writer/Feed.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public function count()
return count($this->_entries);
}

/**
/**
* Return the current entry
*
* @return Zend_Feed_Reader_Entry_Interface
Expand All @@ -181,7 +181,7 @@ public function key()
return $this->_entriesKey;
}

/**
/**
* Move the feed pointer forward
*
* @return void
Expand Down
16 changes: 8 additions & 8 deletions src/Writer/Writer.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,20 @@
*/
class Writer
{
/**
* Namespace constants
*/
const NAMESPACE_ATOM_03 = 'http://purl.org/atom/ns#';
/**
* Namespace constants
*/
const NAMESPACE_ATOM_03 = 'http://purl.org/atom/ns#';
const NAMESPACE_ATOM_10 = 'http://www.w3.org/2005/Atom';
const NAMESPACE_RDF = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#';
const NAMESPACE_RSS_090 = 'http://my.netscape.com/rdf/simple/0.9/';
const NAMESPACE_RSS_10 = 'http://purl.org/rss/1.0/';

/**
* Feed type constants
*/
const TYPE_ANY = 'any';
const TYPE_ATOM_03 = 'atom-03';
* Feed type constants
*/
const TYPE_ANY = 'any';
const TYPE_ATOM_03 = 'atom-03';
const TYPE_ATOM_10 = 'atom-10';
const TYPE_ATOM_ANY = 'atom';
const TYPE_RSS_090 = 'rss-090';
Expand Down
2 changes: 1 addition & 1 deletion test/PubSubHubbub/SubscriberTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ public function testPreferredVerificationModeDefaultsToSync()

public function testCanSetStorageImplementation()
{
$storage = new Subscription($this->_tableGateway);
$storage = new Subscription($this->_tableGateway);
$this->_subscriber->setStorage($storage);
$this->assertThat($this->_subscriber->getStorage(), $this->identicalTo($storage));
}
Expand Down
2 changes: 1 addition & 1 deletion test/Reader/Entry/CommonTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public function testFeedEntryCanDetectFeedType()
/**
* When passing a newly created DOMElement without any DOMDocument assigned
*/
public function testFeedEntryCanSetAnyType()
public function testFeedEntryCanSetAnyType()
{
$feed = Reader\Reader::importString(
file_get_contents($this->_feedSamplePath.'/atom.xml')
Expand Down

0 comments on commit 8e745f6

Please sign in to comment.