Commit 8ae9a1f
committed
minor #21565 [Validator] Make public property requirement clearer for constraint options (kleinmann)
This PR was merged into the 6.4 branch.
Discussion
----------
[Validator] Make public property requirement clearer for constraint options
<!--
If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/releases for the list of maintained branches).
If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `7.x` for features of unreleased versions).
-->
The current language seems to allow for non-public properties, but in practice this fails, because the corresponding property remains uninitialized after deserialization.
An accidental private option can also be a bit of a headscratcher to pin down, since it may occur only once it is run in a production environment (due to different cache configurations).
Commits
-------
eeaf4cc Make public property requirement clearer for constraint options1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | | - | |
| 269 | + | |
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
| |||
0 commit comments