10000 Not add quote in default values by alamirault · Pull Request #18293 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Not add quote in default values #18293

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

Merged
merged 1 commit into from
May 10, 2023

Conversation

alamirault
Copy link
Contributor

Default values are sometime without quotes and sometime with.

For example in this page https://symfony.com/doc/5.4/reference/configuration/security.html#logout

This PR always remove quotes (it seems to be the rule)

Regex **default**: ``'

@javiereguiluz
Copy link
Member

Let's do this! Thank you Antoine!

@javiereguiluz javiereguiluz merged commit 245dd26 into symfony:5.4 May 10, 2023
@javiereguiluz
Copy link
Member

While upmerging, I found two other occurrences in 6.2 branch. They were a bit problematic:

**type**: ``string`` **default**: ``''``

So, I replaced them as follows:

**type**: ``string`` **default**: (an empty string)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0