[Form] updated ValidatorExtension to avoid using a deprecated method
updated ValidatorExtension to avoid using a deprecated method
merged branch fabpot/remove-deprecated-calls (PR #6865)

This PR was merged into the master branch.

Commits
-------

749087e updated ValidatorExtension to avoid using a deprecated method

Discussion
----------

updated ValidatorExtension to avoid using a deprecated method

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

---------------------------------------------------------------------------

by stof at 2013-01-24T13:05:43Z

:+1:

Btw, this is needed to simply make it work against the ValidatorInterface by having the right expectation on getMetadataFactory()