Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Validator] mark test as legacy #15767

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

Merged
merged 1 commit into from
Sep 12, 2015
Merged

[Validator] mark test as legacy #15767

merged 1 commit into from
Sep 12, 2015

Conversation

TomasVotruba
Copy link
Contributor

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? yes
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

Ref #15708 (comment)

Failing test are hhvm binaries: https://travis-ci.org/symfony/symfony/jobs/79951993#L530

@fabpot
Copy link
Member

fabpot commented Sep 12, 2015

Thank you @TomasVotruba.

@fabpot fabpot merged commit cf18a99 into symfony:2.8 Sep 12, 2015
fabpot added a commit that referenced this pull request Sep 12, 2015
This PR was merged into the 2.8 branch.

Discussion
----------

[Validator] mark test as legacy

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Ref #15708 (comment)

Failing test are hhvm binaries: https://travis-ci.org/symfony/symfony/jobs/79951993#L530

Commits
-------

cf18a99 [Validator] mark test as legacy
@TomasVotruba
Copy link
Contributor Author

Thanks

@stof
Copy link
Member

stof commented Sep 14, 2015

The deprecation warning in the constructor is still missing when passing a legacy validator (which is why the tests were passing without the legacy group btw)

@TomasVotruba
Copy link
Contributor Author

Could you link me there pls?

@stof
Copy link
Member

stof commented Sep 14, 2015

@TomasVotruba in the constructor of the ValidationExtension (the BC layer being covered by the test you marked as legacy)

@xabbuh
Copy link
Member

xabbuh commented Oct 4, 2015

see #16101 for the missing deprecation triggers

fabpot added a commit that referenced this pull request Oct 4, 2015
This PR was merged into the 2.8 branch.

Discussion
----------

[Form] add missing deprecation triggers

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #15767
| License       | MIT
| Doc PR        |

Passing implementations of the pre 2.5 validator API to the constructors
of the `ValidatorExtension` and the `ValidationListener` must trigger a
deprecation.

Commits
-------

bcd3946 [Form] add missing deprecation triggers
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.

5 participants