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

Commit

Permalink
Merge remote-tracking branch 'prolic/mime-renamed-interfaces'
Browse files Browse the repository at this point in the history
  • Loading branch information
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
4 changes: 2 additions & 2 deletions src/Exception.php → src/Exception/ExceptionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
* @license http://framework.zend.com/license/new-bsd New BSD License
*/

namespace Zend\Mime;
namespace Zend\Mime\Exception;

/**
* @category Zend
* @package Zend_Mime
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Exception
interface ExceptionInterface
{}

7 changes: 4 additions & 3 deletions src/Exception/RuntimeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
*/

namespace Zend\Mime\Exception;
use Zend\Mime\Exception;

use RuntimeException;

/**
* Exception for Zend_Mime component.
Expand All @@ -32,7 +33,7 @@
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class RuntimeException
extends \RuntimeException
implements Exception
extends RuntimeException
implements ExceptionInterface
{
}
4 changes: 1 addition & 3 deletions src/Part.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
/**
* Class representing a MIME part.
*
* @uses \Zend\Mime\Mime
* @uses \Zend\Mime\Exception
* @category Zend
* @package Zend_Mime
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
Expand Down Expand Up @@ -85,7 +83,7 @@ public function isStream()
* reading the content. very useful for large file attachments.
*
* @return stream
* @throws \Zend\Mime\Exception if not a stream or unable to append filter
* @throws Exception\RuntimeException if not a stream or unable to append filter
*/
public function getEncodedStream()
{
Expand Down
6 changes: 3 additions & 3 deletions test/MimeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
* @license http://framework.zend.com/license/new-bsd New BSD License
*/

namespace Zend;
use Zend\Mime;
use Zend\Mail;
namespace ZendTest\Mime;

use Zend\Mime,
Zend\Mail;

/**
* @category Zend
Expand Down

0 comments on commit 4f34d57

Please sign in to comment.