svn: /pear2/Pyrus/trunk/ package.xml package_compatible.xml src/Pyrus/Channel/IMirror.php src/Pyrus/Channel/MirrorInterface.php
src/Pyrus/ChannelFile/v1/Mirror.php src/Pyrus/ChannelRegistry/Mirror/Sqlite3.php tests/PackageFile_Parser_v2/packages/package.xml
tests/PackageFile_Parser_v2/test_2.1.phpt
| From: | Brett Bieber | Date: | Tue, 22 Dec 2009 23:51:53 +0000 |
| Subject: | svn: /pear2/Pyrus/trunk/ package.xml package_compatible.xml src/Pyrus/Channel/IMirror.php src/Pyrus/Channel/MirrorInterface.php src/Pyrus/ChannelFile/v1/Mirror.php src/Pyrus/ChannelRegistry/Mirror/Sqlite3.php tests/PackageFile_Parser_v2/packages/package.xml tests/PackageFile_Parser_v2/test_2.1.phpt |
||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-9138@lists.php.net to get a copy of this message | ||
saltybeagle Tue, 22 Dec 2009 23:51:53 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=292510
Log:
Correct interface naming to match the class naming rfc and project interoperability group standards.
Changed paths:
U pear2/Pyrus/trunk/package.xml
U pear2/Pyrus/trunk/package_compatible.xml
D pear2/Pyrus/trunk/src/Pyrus/Channel/IMirror.php
A + pear2/Pyrus/trunk/src/Pyrus/Channel/MirrorInterface.php
(from pear2/Pyrus/trunk/src/Pyrus/Channel/IMirror.php:r292481)
U pear2/Pyrus/trunk/src/Pyrus/ChannelFile/v1/Mirror.php
U pear2/Pyrus/trunk/src/Pyrus/ChannelRegistry/Mirror/Sqlite3.php
U pear2/Pyrus/trunk/tests/PackageFile_Parser_v2/packages/package.xml
U pear2/Pyrus/trunk/tests/PackageFile_Parser_v2/test_2.1.phpt
Modified: pear2/Pyrus/trunk/package.xml
===================================================================
--- pear2/Pyrus/trunk/package.xml 2009-12-22 23:42:36 UTC (rev 292509)
+++ pear2/Pyrus/trunk/package.xml 2009-12-22 23:51:53 UTC (rev 292510)
@@ -28,7 +28,7 @@
<active>yes</active>
</lead>
<date>2009-12-22</date>
- <time>17:38:21</time>
+ <time>17:49:50</time>
<version>
<release>2.0.0a1</release>
<api>2.0.0a1</api>
@@ -221,7 +221,7 @@
</dir>
<dir name="Channel">
<file role="php" name="Exception.php"/>
- <file role="php" name="IMirror.php"/>
+ <file role="php" name="MirrorInterface.php"/>
<file role="php" name="Remotecategories.php"/>
<file role="php" name="Remotecategory.php"/>
<file role="php" name="Remotepackage.php"/>
Modified: pear2/Pyrus/trunk/package_compatible.xml
===================================================================
--- pear2/Pyrus/trunk/package_compatible.xml 2009-12-22 23:42:36 UTC (rev 292509)
+++ pear2/Pyrus/trunk/package_compatible.xml 2009-12-22 23:51:53 UTC (rev 292510)
@@ -28,7 +28,7 @@
<active>yes</active>
</lead>
<date>2009-12-22</date>
- <time>17:38:23</time>
+ <time>17:49:51</time>
<version>
<release>2.0.0a1</release>
<api>2.0.0a1</api>
@@ -2341,7 +2341,7 @@
<file role="php" name="php/pear2/Pyrus/Channel/Remotepackage.php"/>
<file role="php" name="php/pear2/Pyrus/Channel/Remotecategory.php"/>
<file role="php" name="php/pear2/Pyrus/Channel/Remotecategories.php"/>
- <file role="php" name="php/pear2/Pyrus/Channel/IMirror.php"/>
+ <file role="php" name="php/pear2/Pyrus/Channel/MirrorInterface.php"/>
<file role="php" name="php/pear2/Pyrus/Channel/Exception.php"/>
<file role="php" name="php/pear2/Pyrus/Channel.php"/>
<file role="php"
name="php/pear2/Pyrus/AtomicFileTransaction/Exception.php"/>
@@ -2666,7 +2666,7 @@
<install name="php/pear2/Pyrus/AtomicFileTransaction/Exception.php"
as="pear2/Pyrus/AtomicFileTransaction/Exception.php"/>
<install name="php/pear2/Pyrus/Channel.php"
as="pear2/Pyrus/Channel.php"/>
<install name="php/pear2/Pyrus/Channel/Exception.php"
as="pear2/Pyrus/Channel/Exception.php"/>
- <install name="php/pear2/Pyrus/Channel/IMirror.php"
as="pear2/Pyrus/Channel/IMirror.php"/>
+ <install name="php/pear2/Pyrus/Channel/MirrorInterface.php"
as="pear2/Pyrus/Channel/MirrorInterface.php"/>
<install name="php/pear2/Pyrus/Channel/Remotecategories.php"
as="pear2/Pyrus/Channel/Remotecategories.php"/>
<install name="php/pear2/Pyrus/Channel/Remotecategory.php"
as="pear2/Pyrus/Channel/Remotecategory.php"/>
<install name="php/pear2/Pyrus/Channel/Remotepackage.php"
as="pear2/Pyrus/Channel/Remotepackage.php"/>
Deleted: pear2/Pyrus/trunk/src/Pyrus/Channel/IMirror.php
===================================================================
--- pear2/Pyrus/trunk/src/Pyrus/Channel/IMirror.php 2009-12-22 23:42:36 UTC (rev 292509)
+++ pear2/Pyrus/trunk/src/Pyrus/Channel/IMirror.php 2009-12-22 23:51:53 UTC (rev 292510)
@@ -1,30 +0,0 @@
-<?php
-/**
- * \pear2\Pyrus\Channel\IMirror
- *
- * PHP version 5
- *
- * @category PEAR2
- * @package PEAR2_Pyrus
- * @author Greg Beaver <cellog@php.net>
- * @copyright 2008 The PEAR Group
- * @license http://www.opensource.org/licenses/bsd-license.php
New BSD License
- * @version SVN: $Id$
- * @link http://svn.pear.php.net/wsvn/PEARSVN/Pyrus/
- */
-
-/**
- * Interface for channel mirrors
- *
- * @category PEAR2
- * @package PEAR2_Pyrus
- * @author Greg Beaver <cellog@php.net>
- * @copyright 2008 The PEAR Group
- * @license http://www.opensource.org/licenses/bsd-license.php
New BSD License
- * @link http://svn.pear.php.net/wsvn/PEARSVN/Pyrus/
- */
-namespace pear2\Pyrus\Channel;
-interface IMirror
-{
- public function getChannel();
-}
\ No newline at end of file
Copied: pear2/Pyrus/trunk/src/Pyrus/Channel/MirrorInterface.php (from rev 292481,
pear2/Pyrus/trunk/src/Pyrus/Channel/IMirror.php)
===================================================================
--- pear2/Pyrus/trunk/src/Pyrus/Channel/MirrorInterface.php (rev 0)
+++ pear2/Pyrus/trunk/src/Pyrus/Channel/MirrorInterface.php 2009-12-22 23:51:53 UTC (rev 292510)
@@ -0,0 +1,30 @@
+<?php
+/**
+ * \pear2\Pyrus\Channel\MirrorInterface
+ *
+ * PHP version 5
+ *
+ * @category PEAR2
+ * @package PEAR2_Pyrus
+ * @author Greg Beaver <cellog@php.net>
+ * @copyright 2008 The PEAR Group
+ * @license http://www.opensource.org/licenses/bsd-license.php
New BSD License
+ * @version SVN: $Id$
+ * @link http://svn.pear.php.net/wsvn/PEARSVN/Pyrus/
+ */
+
+/**
+ * Interface for channel mirrors
+ *
+ * @category PEAR2
+ * @package PEAR2_Pyrus
+ * @author Greg Beaver <cellog@php.net>
+ * @copyright 2008 The PEAR Group
+ * @license http://www.opensource.org/licenses/bsd-license.php
New BSD License
+ * @link http://svn.pear.php.net/wsvn/PEARSVN/Pyrus/
+ */
+namespace pear2\Pyrus\Channel;
+interface MirrorInterface
+{
+ public function getChannel();
+}
\ No newline at end of file
Modified: pear2/Pyrus/trunk/src/Pyrus/ChannelFile/v1/Mirror.php
===================================================================
--- pear2/Pyrus/trunk/src/Pyrus/ChannelFile/v1/Mirror.php 2009-12-22 23:42:36 UTC (rev 292509)
+++ pear2/Pyrus/trunk/src/Pyrus/ChannelFile/v1/Mirror.php 2009-12-22 23:51:53 UTC (rev 292510)
@@ -24,7 +24,7 @@
* @link http://svn.pear.php.net/wsvn/PEARSVN/Pyrus/
*/
namespace pear2\Pyrus\ChannelFile\v1;
-class Mirror extends \pear2\Pyrus\ChannelFile\v1 implements \pear2\Pyrus\Channel\IMirror
+class Mirror extends \pear2\Pyrus\ChannelFile\v1 implements \pear2\Pyrus\Channel\MirrorInterface
{
/**
Modified: pear2/Pyrus/trunk/src/Pyrus/ChannelRegistry/Mirror/Sqlite3.php
===================================================================
--- pear2/Pyrus/trunk/src/Pyrus/ChannelRegistry/Mirror/Sqlite3.php 2009-12-22 23:42:36 UTC (rev
292509)
+++ pear2/Pyrus/trunk/src/Pyrus/ChannelRegistry/Mirror/Sqlite3.php 2009-12-22 23:51:53 UTC (rev
292510)
@@ -25,7 +25,7 @@
*/
namespace pear2\Pyrus\ChannelRegistry\Mirror;
class Sqlite3 extends \pear2\Pyrus\ChannelRegistry\Channel\Sqlite3
- implements \pear2\Pyrus\Channel\IMirror
+ implements \pear2\Pyrus\Channel\MirrorInterface
{
private $_channel;
private $_parent;
Modified: pear2/Pyrus/trunk/tests/PackageFile_Parser_v2/packages/package.xml
===================================================================
--- pear2/Pyrus/trunk/tests/PackageFile_Parser_v2/packages/package.xml 2009-12-22 23:42:36 UTC (rev
292509)
+++ pear2/Pyrus/trunk/tests/PackageFile_Parser_v2/packages/package.xml 2009-12-22 23:51:53 UTC (rev
292510)
@@ -58,7 +58,7 @@
<dir name="Channel">
<file role="php" name="Base.php"/>
<file role="php" name="Exception.php"/>
- <file role="php" name="IMirror.php"/>
+ <file role="php" name="MirrorInterface.php"/>
<file role="php" name="Mirror.php"/>
</dir>
<dir name="ChannelRegistry">
Modified: pear2/Pyrus/trunk/tests/PackageFile_Parser_v2/test_2.1.phpt
===================================================================
--- pear2/Pyrus/trunk/tests/PackageFile_Parser_v2/test_2.1.phpt 2009-12-22 23:42:36 UTC (rev 292509)
+++ pear2/Pyrus/trunk/tests/PackageFile_Parser_v2/test_2.1.phpt 2009-12-22 23:51:53 UTC (rev 292510)
@@ -48,12 +48,12 @@
'name' => 'src/Pyrus/Channel/Exception.php',
),
),
- 'src/Pyrus/Channel/IMirror.php' =>
+ 'src/Pyrus/Channel/MirrorInterface.php' =>
array (
'attribs' =>
array (
'role' => 'php',
- 'name' => 'src/Pyrus/Channel/IMirror.php',
+ 'name' => 'src/Pyrus/Channel/MirrorInterface.php',
),
),
'src/Pyrus/Channel/Mirror.php' =>
@@ -1266,7 +1266,7 @@
'attribs' =>
array (
'role' => 'php',
- 'name' => 'IMirror.php',
+ 'name' => 'MirrorInterface.php',
),
),
3 =>