forked from laminas/laminas-mail
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update laminas mail 2.15 #7
Draft
Alexandr-Penkin
wants to merge
365
commits into
master
Choose a base branch
from
update_laminas_mail_2.15
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Elan Ruusamäe <[email protected]>
Signed-off-by: Elan Ruusamäe <[email protected]>
Signed-off-by: Elan Ruusamäe <[email protected]>
Signed-off-by: Matthew Weier O'Phinney <[email protected]>
Change $params type in PHPDoc of Storage\Imap|Pop3
Signed-off-by: Matthew Weier O'Phinney <[email protected]>
Signed-off-by: Matthew Weier O'Phinney <[email protected]>
Conflicts: CHANGELOG.md
Properly encode content-disposition header
Signed-off-by: Matthew Weier O'Phinney <[email protected]>
Use ::class constants instead of strings to class names Conflicts: src/Header/HeaderLoader.php
Keeps internal consistency. Signed-off-by: Matthew Weier O'Phinney <[email protected]>
- Set release date for 2.11.0 in CHANGELOG - Updated branch aliases: - dev-master => 2.11.x-dev - dev-develop => 2.12.x-dev Signed-off-by: Matthew Weier O'Phinney <[email protected]>
Signed-off-by: Matthew Weier O'Phinney <[email protected]>
Signed-off-by: Matthew Weier O'Phinney <[email protected]>
Signed-off-by: Abdul Malik Ikhsan <[email protected]>
Signed-off-by: Matthew Weier O'Phinney <[email protected]>
Signed-off-by: Matthew Weier O'Phinney <[email protected]>
Conflicts: CHANGELOG.md
Signed-off-by: Johan Cwiklinski <[email protected]>
Signed-off-by: Johan Cwiklinski <[email protected]>
Signed-off-by: Johan Cwiklinski <[email protected]>
Signed-off-by: Johan Cwiklinski <[email protected]>
Signed-off-by: Johan Cwiklinski <[email protected]>
Signed-off-by: Johan Cwiklinski <[email protected]>
Signed-off-by: Johan Cwiklinski <[email protected]>
Signed-off-by: Johan Cwiklinski <[email protected]>
- Add `~8.1.0` to list of allowed PHP versions - Bump dependencies to versions known to work with 8.0/8.1 where possible - Remove laminas-config as a dependency (never referenced other than in docblocks) - Change how the package replaces zend-mail - Rename "replace" section to "conflict" - Change "zend-mail" constraint in that section to "*" - Remove dependency on laminas-zendframework-bridge Signed-off-by: Matthew Weier O'Phinney <[email protected]>
The various storage adapters are really only looking for maps. This patch adds a trait, `Laminas\Mail\Storage\ParamsNormalizerTrait`, which provides functionality for producing an array map from any of a `Traversable` object, a standard object, or an array (validating that only string keys are provided). Each storage adapter constructor has been updated to use this and to then validate the values pulled from the array. When done, there were 4 new `MixedAssignment` errors that needed to be added to the Psalm baseline. Signed-off-by: Matthew Weier O'Phinney <[email protected]>
Signed-off-by: Matthew Weier O'Phinney <[email protected]>
- Bump laminas-mime to 2.9.1 to pick up a fix in its `Decode` class - Provide alternative punycode conversion via ext-intl `idn_to_ascii()` function when present. true/punycode has an "implicit float to int conversion` error under 8.1 that leads to valid punycode values raising errors and not being converted. - Ensure `GenericHeader` has string values for each of the field name and value. This is what they were already documented as being, but there was no verification, and contradictory behavior/documentation. - `list() = explode()` raises a warning now if an index is not created, vs a notic. Signed-off-by: Matthew Weier O'Phinney <[email protected]>
Signed-off-by: Matthew Weier O'Phinney <[email protected]>
Signed-off-by: Matthew Weier O'Phinney <[email protected]>
…eferencing Found under PHP 8.0 Signed-off-by: Matthew Weier O'Phinney <[email protected]>
Passing non-string value to ctype_digit is deprecated starting in 8.1 Signed-off-by: Matthew Weier O'Phinney <[email protected]>
Signed-off-by: Matthew Weier O'Phinney <[email protected]>
Renames `ParamsNormalizerTrait` to `ParamsNormalizer`, making it a final class with a single static method. Adds unit tests for the method, and updates code that referenced the trait previously to reference the static method. Signed-off-by: Matthew Weier O'Phinney <[email protected]>
Per review, usage of `ErrorHandler::start()/stop()` around explode/list operations is brittle and makes understanding what types are assigned. Refactored these to use conditionals, checking for delimiters in strings before attempting such operations. Signed-off-by: Matthew Weier O'Phinney <[email protected]>
…port Provide PHP 8.1 support
Signed-off-by: Filippo Tessarotto <[email protected]>
Signed-off-by: Filippo Tessarotto <[email protected]>
Signed-off-by: Filippo Tessarotto <[email protected]>
Signed-off-by: Filippo Tessarotto <[email protected]>
Signed-off-by: Filippo Tessarotto <[email protected]>
Signed-off-by: Filippo Tessarotto <[email protected]>
….x_Ik50M5d2 Merge release 2.14.3 into 2.15.x
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.