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

Environment:

  • Strangebuzz Snippet VM: 3.0.1
  • Symfony: 5.4.14

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.