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
alamirault
changed the title
Type constraint link to deprectated php function and is not used in symfony
Type constraint link to removed php function and is not used in symfony
Jan 6, 2023
On this page https://symfony.com/doc/current/reference/constraints/Type.html#type, we have a link to some php
is_*
functions.symfony-docs/reference/constraints/Type.rst
Lines 172 to 187 in 95d5763
is_real is deprecated since php 8.0.
And Type Validator does not use this function (same for
is_double
)https://github.com/symfony/symfony/blob/ed96673e64ebaca3f47012c230823dcddd59a2ba/src/Symfony/Component/Validator/Constraints/TypeValidator.php#L24-L41
WDYT to update doc, and for each type, precise real php function used.
Maybe something like this ? (I don't know if it's a valid syntax for SymfonyDocsBuilder)
The text was updated successfully, but these errors were encountered: