Skip to content

[Hackday][Validator] Add deprecated logs on addViolation() and addViolationAt() methods. #12714

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

Closed
wants to merge 1 commit into from

Conversation

tmartin
Copy link

@tmartin tmartin commented Nov 29, 2014

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

@tmartin tmartin force-pushed the hackday-deprecated-12686 branch from 26d2fbc to 9043526 Compare November 29, 2014 12:32
'as of Symfony 2.5 and will be removed in Symfony 3.0. Please use buildViolation() instead.',
E_USER_DEPRECATED
);

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if this log is useful because the whole class and the interface are deprecated, as they were moved to the Symfony\Component\Validator\Context namespace.

@jakzal
Copy link
Contributor

jakzal commented Dec 12, 2014

re #12684

@stof
Copy link
Member

stof commented Jan 3, 2015

The deprecation warnings were added in the wrong class (the BC layers are in the child class). given no update was done here by the author, I sent a PR myself with the appropriate fix.
So I'm closing this in favor of #13219

@stof stof closed this Jan 3, 2015
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.

4 participants