Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Validator] Conflict with egulias/email-validator 2.0#25851

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:2.7fromemodric:email_validator2_conflict
Jan 20, 2018

Conversation

@emodric
Copy link
Contributor

@emodricemodric commentedJan 19, 2018
edited
Loading

QA
Branch?2.7 (and 2.8)
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed ticketsN/A
LicenseMIT
Doc PRN/A

For code that usesEmailValidator with strict email checking usingegulias/email-validator and that aims to support both Symfony 2.8 LTS and Symfony 3.4/4.0, it is impossible to have a working set of dependencies with Symfony 2.7/Symfony 2.8 if one wishes to useegulias/email-validator: ^1.2|^2.1.

This is because Composer happily installsegulias/email-validator latest 2.1.x which is not compatible with Symfony 2.8.

This would prevent installation of v2.1.x on Symfony 2.7/2.8.

@fabpot
Copy link
Member

Thank you@emodric.

emodric reacted with hooray emoji

@fabpotfabpot merged commit72d8e8a intosymfony:2.7Jan 20, 2018
fabpot added a commit that referenced this pull requestJan 20, 2018
…dric)This PR was merged into the 2.7 branch.Discussion----------[Validator] Conflict with egulias/email-validator 2.0| Q             | A| ------------- | ---| Branch?       | 2.7 (and 2.8)| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | N/A| License       | MIT| Doc PR        | N/AFor code that uses `EmailValidator` with strict email checking using `egulias/email-validator` and that aims to support both Symfony 2.8 LTS and Symfony 3.4/4.0, it is impossible to have a working set of dependencies with Symfony 2.7/Symfony 2.8 if one wishes to use `egulias/email-validator: ^1.2|^2.1`.This is because Composer happily installs `egulias/email-validator` latest 2.1.x which is not compatible with Symfony 2.8.This would prevent installation of v2.1.x on Symfony 2.7/2.8.Commits-------72d8e8a [Validator] Conflict with egulias/email-validator 2.0
@xabbuh
Copy link
Member

This does not look like a good idea to me. It will break all existing applications (i.e. preventing them to update) if they make use of version 2.0 of the email address validator library (for example, they use a custom validation validation constraint).

xabbuh added a commit to xabbuh/symfony that referenced this pull requestJan 20, 2018
…idator 2.0 (emodric)"This reverts commitf1f18ad, reversingchanges made to8e8ee09.
@emodric
Copy link
ContributorAuthor

@xabbuh Oh, that actually makes sense! Sorry for the confusion!

@fabpot
Copy link
Member

reverted in#25861

fabpot added a commit that referenced this pull requestJan 21, 2018
This PR was merged into the 2.7 branch.Discussion----------do not conflict with egulias/email-validator 2.0+| Q             | A| ------------- | ---| Branch?       | 2.7| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#25851 (comment)| License       | MIT| Doc PR        |Not allowing `egulias/email-validator` 2.0+ will prevent applications using this package from updating to the next patch release.Commits-------1a1aaa7 Revert "bug#25851 [Validator] Conflict with egulias/email-validator 2.0 (emodric)"
nicolas-grekas added a commit that referenced this pull requestJan 21, 2018
* 2.7:  [HttpFoundation] fixed return type of method HeaderBag::get  [HttpFoundation] Added "resource" type on Request::create docblock  Revert "bug#25789  Enableable ArrayNodeDefinition is disabled for empty configuration (kejwmen)"  Revert "bug#25851 [Validator] Conflict with egulias/email-validator 2.0 (emodric)"  [Validator] add missing parent isset and add test
nicolas-grekas added a commit that referenced this pull requestJan 21, 2018
* 2.8:  [HttpFoundation] fixed return type of method HeaderBag::get  [HttpFoundation] Added "resource" type on Request::create docblock  Revert "bug#25789  Enableable ArrayNodeDefinition is disabled for empty configuration (kejwmen)"  Formatting fix in upgrade 3.0 document  Revert "bug#25851 [Validator] Conflict with egulias/email-validator 2.0 (emodric)"  [Validator] add missing parent isset and add test
nicolas-grekas added a commit that referenced this pull requestJan 21, 2018
* 3.3:  Have weak_vendors ignore deprecations from outside  [HttpFoundation] fixed return type of method HeaderBag::get  [HttpFoundation] Added "resource" type on Request::create docblock  [Process] Skip environment variables with false value in Process  Revert "bug#25789  Enableable ArrayNodeDefinition is disabled for empty configuration (kejwmen)"  Formatting fix in upgrade 3.0 document  don't split lines on carriage returns when dumping  Revert "bug#25851 [Validator] Conflict with egulias/email-validator 2.0 (emodric)"  [DI] compilation perf tweak  [Validator] Conflict with egulias/email-validator 2.0  [Validator] add missing parent isset and add test
nicolas-grekas added a commit that referenced this pull requestJan 21, 2018
* 3.4:  Have weak_vendors ignore deprecations from outside  [HttpFoundation] fixed return type of method HeaderBag::get  [HttpFoundation] Added "resource" type on Request::create docblock  [Process] Skip environment variables with false value in Process  Revert "bug#25789  Enableable ArrayNodeDefinition is disabled for empty configuration (kejwmen)"  Formatting fix in upgrade 3.0 document  don't split lines on carriage returns when dumping  Revert "bug#25851 [Validator] Conflict with egulias/email-validator 2.0 (emodric)"  [DI] compilation perf tweak  [Validator] Conflict with egulias/email-validator 2.0  [Validator] add missing parent isset and add test
nicolas-grekas added a commit that referenced this pull requestJan 21, 2018
* 4.0:  Have weak_vendors ignore deprecations from outside  [HttpFoundation] fixed return type of method HeaderBag::get  [HttpFoundation] Added "resource" type on Request::create docblock  [Console] Fix using finally where the catch can also fail  [Process] Skip environment variables with false value in Process  Revert "bug#25789  Enableable ArrayNodeDefinition is disabled for empty configuration (kejwmen)"  Formatting fix in upgrade 3.0 document  don't split lines on carriage returns when dumping  trim spaces from unquoted scalar values  Revert "bug#25851 [Validator] Conflict with egulias/email-validator 2.0 (emodric)"  [DI] compilation perf tweak  [Validator] Conflict with egulias/email-validator 2.0  [Validator] add missing parent isset and add test
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@emodric@fabpot@xabbuh@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp