Skip to content
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

[Mime] use fromString when creating a new Address #37167

Merged
merged 1 commit into from Jun 9, 2020

Conversation

fabpot
Copy link
Member

@fabpot fabpot commented Jun 9, 2020

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets n/a
License MIT
Doc PR n/a

When creating an Address, there are two ways right now in 4.4: Address::create() which takes an email or an instance of Address and Address::fromString() which takes an email or an email+name.

In 4.4, I propose to make create supports everything possible. And in 5.2, I will probably propose to deprecate fromString().

@fabpot fabpot changed the title [Mime] use fromString when creating a new Adress [Mime] use fromString when creating a new Address Jun 9, 2020
@fabpot fabpot merged commit 5b719d1 into symfony:4.4 Jun 9, 2020
@fabpot fabpot deleted the mime-from-string-fix branch June 9, 2020 15:06
fabpot added a commit that referenced this pull request Jun 9, 2020
This PR was merged into the 5.2-dev branch.

Discussion
----------

[Mime] Deprecate Address::fromString()

| Q             | A
| ------------- | ---
| Branch?       | master <!-- see below -->
| Bug fix?      | no
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | yes <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       | n/a <!-- prefix each issue number with "Fix #", if any -->
| License       | MIT
| Doc PR        | n/a

Follow-up of #37167

Commits
-------

6e28fda [Mime] Deprecate Address::fromString()
@xabbuh xabbuh added this to the 4.4 milestone Jun 10, 2020
This was referenced Jun 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants