Closed King2500 closed 9 years ago
We still had deprecations for setAllowedTypes and setNormalizers (since SF 2.6), because setDefaultOptions still gets called.
setAllowedTypes
setNormalizers
setDefaultOptions
So I removed the internalConfigureOptions and did the version switching inside configureOptions via version_compare.
internalConfigureOptions
configureOptions
version_compare
This issue got noted in https://github.com/infinite-networks/InfiniteFormBundle/pull/28#discussion_r32807377. Thanks @stof.
Can you review this? @merk @stof
Thanks for the note @stof .
Changed it now.
:+1:
@merk please merge this to avoid deprecation warnings
Thanks!
We still had deprecations for
setAllowedTypes
andsetNormalizers
(since SF 2.6), becausesetDefaultOptions
still gets called.So I removed the
internalConfigureOptions
and did the version switching insideconfigureOptions
viaversion_compare
.This issue got noted in https://github.com/infinite-networks/InfiniteFormBundle/pull/28#discussion_r32807377. Thanks @stof.