You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #12745 [Validator] Added a deprecation note about setPropertyAccessor #12698 (MICKtheBIG)
This PR was squashed before being merged into the 2.7 branch (closes #12745).
Discussion
----------
[Validator] Added a deprecation note about setPropertyAccessor #12698
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | yes
| Tests pass? | yes
| Fixed tickets | #12698
| License | MIT
| Doc PR |
Commits
-------
c82dc5e [Validator] Added a deprecation note about setPropertyAccessor #12698
trigger_error('ValidatorBuilder::setPropertyAccessor() is deprecated since version 2.5 and will be removed in 3.0. The validator will function without a property accessor.', E_USER_DEPRECATED);
310
+
307
311
if (null !== $this->validatorFactory) {
308
312
thrownewValidatorException('You cannot set a property accessor after setting a custom validator factory. Configure your validator factory instead.');
0 commit comments