Merge pull request #14 from Clivern/bugfix/wrong-class
#13 - Fix Attachment Class Name
This commit is contained in:
commit
0da2fd37d9
|
@ -4,6 +4,7 @@ php:
|
|||
- 5.6
|
||||
- 7.0
|
||||
- 7.1
|
||||
- 7.2
|
||||
|
||||
## Cache composer
|
||||
cache:
|
||||
|
@ -15,4 +16,4 @@ before_script:
|
|||
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist
|
||||
|
||||
script:
|
||||
- make ci
|
||||
- make ci
|
||||
|
|
2
LICENSE
2
LICENSE
|
@ -1,6 +1,6 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2017 Cliven
|
||||
Copyright (c) 2019 Cliven
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
|
|
@ -2,7 +2,7 @@ Imap
|
|||
====
|
||||
:mailbox_with_mail: Access Mailbox Using PHP IMAP.
|
||||
|
||||
*Current Version: 1.0.5*
|
||||
*Current Version: 1.0.6*
|
||||
|
||||
[![Build Status](https://travis-ci.org/Clivern/Imap.svg?branch=master)](https://travis-ci.org/Clivern/Imap)
|
||||
|
||||
|
@ -265,6 +265,11 @@ Misc
|
|||
|
||||
Changelog
|
||||
---------
|
||||
Version 1.0.6:
|
||||
```
|
||||
Fix Class Name.
|
||||
```
|
||||
|
||||
Version 1.0.5:
|
||||
```
|
||||
Enhance code style.
|
||||
|
@ -299,6 +304,6 @@ Initial Release.
|
|||
Acknowledgements
|
||||
----------------
|
||||
|
||||
© 2017, Clivern. Released under the [MIT License](http://www.opensource.org/licenses/mit-license.php).
|
||||
© 2019, Clivern. Released under the [MIT License](http://www.opensource.org/licenses/mit-license.php).
|
||||
|
||||
**Imap** is authored and maintained by [@clivern](http://github.com/clivern).
|
||||
|
|
740
composer.lock
generated
740
composer.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -54,8 +54,6 @@ class Message
|
|||
|
||||
/**
|
||||
* Message Constructor.
|
||||
*
|
||||
* @param Connection $connection
|
||||
*/
|
||||
public function __construct(Connection $connection, Header $header, Action $action, Body $body)
|
||||
{
|
||||
|
|
|
@ -31,8 +31,6 @@ class Action
|
|||
|
||||
/**
|
||||
* Class Constructor.
|
||||
*
|
||||
* @param Connection $connection
|
||||
*/
|
||||
public function __construct(Connection $connection)
|
||||
{
|
||||
|
|
|
@ -41,8 +41,6 @@ class Attachment
|
|||
|
||||
/**
|
||||
* Class Constructor.
|
||||
*
|
||||
* @param Connection $connection
|
||||
*/
|
||||
public function __construct(Connection $connection)
|
||||
{
|
||||
|
|
|
@ -41,8 +41,6 @@ class Body
|
|||
|
||||
/**
|
||||
* Class Constructor.
|
||||
*
|
||||
* @param Connection $connection
|
||||
*/
|
||||
public function __construct(Connection $connection)
|
||||
{
|
||||
|
|
|
@ -36,8 +36,6 @@ class Header
|
|||
|
||||
/**
|
||||
* Class Constructor.
|
||||
*
|
||||
* @param Connection $connection
|
||||
*/
|
||||
public function __construct(Connection $connection)
|
||||
{
|
||||
|
|
|
@ -23,9 +23,6 @@ class MessageIterator extends \ArrayIterator
|
|||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param Connection $connection
|
||||
* @param array $message_numbers
|
||||
*/
|
||||
public function __construct(Connection $connection, array $message_numbers)
|
||||
{
|
||||
|
|
|
@ -32,8 +32,6 @@ class Search
|
|||
/**
|
||||
* Add Condition.
|
||||
*
|
||||
* @param Condition $condition
|
||||
*
|
||||
* @return Search
|
||||
*/
|
||||
public function addCondition(Condition $condition)
|
||||
|
|
|
@ -11,7 +11,7 @@ use Clivern\Imap\Core\Connection;
|
|||
use Clivern\Imap\Core\Exception\FolderNotExistException;
|
||||
use Clivern\Imap\Core\Message;
|
||||
use Clivern\Imap\Core\Message\Action;
|
||||
use Clivern\Imap\Core\Message\Attachments;
|
||||
use Clivern\Imap\Core\Message\Attachment;
|
||||
use Clivern\Imap\Core\Message\Body;
|
||||
use Clivern\Imap\Core\Message\Header;
|
||||
use Clivern\Imap\Core\MessageIterator;
|
||||
|
@ -124,7 +124,7 @@ class MailBox
|
|||
$this->connection,
|
||||
new Header($this->connection),
|
||||
new Action($this->connection),
|
||||
new Attachments($this->connection),
|
||||
new Attachment($this->connection),
|
||||
new Body($this->connection)
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue