Skip to content

Conversation

@tacman
Copy link
Contributor

@tacman tacman commented Feb 8, 2025

configuration fix, so that

bin/console config:dump twig_extra > config/packages/twig_extra.yaml

now generated valid yaml and a valid configuration.

But I'm not sure that quoting the default values is correct.

                                ->defaultValue(["'-'", "'*'", "'+'"])

The YAML dumper should probably check for yaml keywords like these and quote them.

@fabpot
Copy link
Collaborator

fabpot commented Nov 10, 2025

This is a read-only repository that I don't monitor. Can you open a PR on the main twigphp/twig repository instead? Thank you.

@fabpot fabpot closed this Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants