-
-
Couldn't load subscription status.
- Fork 72
remove null transport #98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove null transport #98
Conversation
Well, we can bump the minimum version to 7 anytime. The problem is that this class is completely unusable when we do. As such, I'm going to wrap it in the 2.12.0 changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to keep the 'null' => InMemory::class mappings to retain BC. I'll make that change and push back to your branch.
| { | ||
| return [ | ||
| ['file', File::class], | ||
| ['null', InMemory::class], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can actually keep these references to keep BC for end-users.
| 'file' => File::class, | ||
| 'inmemory' => InMemory::class, | ||
| 'memory' => InMemory::class, | ||
| 'null' => InMemory::class, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can keep this, as it's a string; removing it would be a BC break.
Signed-off-by: Abdul Malik Ikhsan <[email protected]>
Prevents BC breaks. Signed-off-by: Matthew Weier O'Phinney <[email protected]>
Signed-off-by: Matthew Weier O'Phinney <[email protected]>
e7de3b1 to
9b19a48
Compare
Signed-off-by: Matthew Weier O'Phinney <[email protected]>
Description
Re-create zendframework/zend-mail#195 . Null is reserved keyword in php 7+. It is for next major version when minimum php version upped to php 7+. Fixes #36