Skip to content

Commit

Permalink
Add attribute #[\AllowDynamicProperties] to allow applying defaults…
Browse files Browse the repository at this point in the history
… without deprecation warning (#695) (#701)

Co-authored-by: Ilya Urvachev <rtm@ctrlz.ru>
  • Loading branch information
taka-oyama and rtm-ctrlz committed Sep 26, 2023
1 parent ad87d5a commit fbbe7e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/JsonSchema/Constraints/UndefinedConstraint.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
* @author Robert Schönthal <seroscho@googlemail.com>
* @author Bruno Prieto Reis <bruno.p.reis@gmail.com>
*/
#[\AllowDynamicProperties]
class UndefinedConstraint extends Constraint
{
/**
Expand Down

0 comments on commit fbbe7e5

Please sign in to comment.