-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
Drop PHP 7.3 and PHP 7.4 support #203
Conversation
Signed-off-by: Filippo Tessarotto <zoeslam@gmail.com>
…ts references Signed-off-by: Filippo Tessarotto <zoeslam@gmail.com>
Signed-off-by: Filippo Tessarotto <zoeslam@gmail.com>
Signed-off-by: Filippo Tessarotto <zoeslam@gmail.com>
"symfony/polyfill-intl-idn": "^1.24.0" | ||
}, | ||
"conflict": { | ||
"zendframework/zend-mail": "*" |
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.
https://github.com/zendframework/zend-mail/blob/release-2.10.0/composer.json#L19
Since PHP versions now are going to mismatch completely, we can drop this, can't we?
src/ConfigProvider.php
Outdated
@@ -26,10 +24,6 @@ public function __invoke() | |||
public function getDependencyConfig() | |||
{ | |||
return [ | |||
// Legacy Zend Framework aliases | |||
'aliases' => [ | |||
SmtpPluginManager::class => Protocol\SmtpPluginManager::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.
These should stay for BC, since it may still be referenced by string
src/Protocol/SmtpPluginManager.php
Outdated
// Legacy Zend Framework aliases | ||
Crammd5::class => Smtp\Auth\Crammd5::class, | ||
Login::class => Smtp\Auth\Login::class, | ||
Plain::class => Smtp\Auth\Plain::class, | ||
\Zend\Mail\Protocol\Smtp::class => Smtp::class, | ||
|
||
// v2 normalized FQCNs | ||
'zendmailprotocolsmtpauthcrammd5' => Smtp\Auth\Crammd5::class, | ||
'zendmailprotocolsmtpauthlogin' => Smtp\Auth\Login::class, | ||
'zendmailprotocolsmtpauthplain' => Smtp\Auth\Plain::class, | ||
'zendmailprotocolsmtp' => Smtp::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.
These should stay until the next major
@@ -2,25 +2,33 @@ | |||
|
|||
namespace Laminas\Mail\Protocol; | |||
|
|||
use Interop\Container\ContainerInterface; | |||
use interop\container\containerinterface; |
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.
This replacement is wrong due to PHPCS not recognizing class_alias()
@@ -2,7 +2,7 @@ | |||
|
|||
namespace LaminasTest\Mail\Protocol; | |||
|
|||
use Interop\Container\ContainerInterface; | |||
use interop\container\containerinterface; |
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.
This replacement is wrong due to PHPCS not recognizing class_alias()
Signed-off-by: Filippo Tessarotto <zoeslam@gmail.com>
…sn't recognize `class_alias()` Signed-off-by: Filippo Tessarotto <zoeslam@gmail.com>
Signed-off-by: Filippo Tessarotto <zoeslam@gmail.com>
Signed-off-by: Filippo Tessarotto <zoeslam@gmail.com>
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.
🚢 thanks @Slamdunk!
@samsonasik I'm gonna hold off a release, if you want to try PHP 8 rector transformations here :-) |
What was the justification for dropping support for 7.4? Considering it's still receiving security patches, I'm not seeing why we'd drop it in a new minor until later in the year, unless there's some compatibility issue. If there is, it'd be nice to at least have a link so that others coming to the issue know what prompted the decision... |
A cascade of dev dep updates lead us to choose either baseline/suppress most of the errors or fix them popping to PHP 8.0. We are going to support PHP 7.4 on |
TBH, dropping PHP version support, especially 7.4, isn't a major problem, since it has only 3 months of shelf life left. Remember that |
Drop PHP 7.3 and PHP 7.4 support
No description provided.