Output of the "Using the Symfony validation outside of the form context" Symfony snippet

Environment:

  • Strangebuzz Snippet VM: 6.4.2
  • Symfony: 6.4.6

Code execution output:

❌ The "toto/foo/notanURL" value is NOT valid: "This value is not a valid URL."
❌ The "toto/foo/notanURL" value is NOT valid: "This value is too short. It should have 20 characters or more."
✅ The "//example.com?foo=bar" value is valid.
✅ The "https://www.strangebuzz.com/en/snippets/using-the-symfony-validation-outside-of-the-form-context" value is valid.