-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable the "Yaml::PARSE_CUSTOM_TAGS" flag #166
Comments
Hi @benjy8001, There is no This tool is simply a wrapper for calling the In order to keep things simple, this tool invokes the parse function with some sensible defaults: Line 110 in 1d868e2
The flag you've mentioned isn't currently included, but I'll look into enabling this shortly if it doesn't result in too many side effects. |
P.S. If you need a quick solution for this, you may want to investigate/switch to the official Symfony Console implementation of the YAML 'Lint' command, as this already provides an option for enabling 'parse tags': https://symfony.com/doc/current/components/yaml.html#syntax-validation |
Thanks, but actually i use the docker phpqa jackzal image for my ci 🙂 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi,
I recently ugrade a CI config, and get this message :
Tags support is not enabled. Enable the "Yaml::PARSE_CUSTOM_TAGS" flag to use "!reference" at line 306 (near "!reference [.deploy_template, script] # Ceci inclut le script du template").
I try with --parse-tags option, but this option doesn't seems to exists :
yaml-lint 1.1.6, symfony/yaml v7.0.3: File --parse-tags does not exist
How can i enable the tag support ?
Thanks !
The text was updated successfully, but these errors were encountered: