Skip to content
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

Respect coding standard in documentation #4053

Merged
merged 1 commit into from Apr 27, 2024

Conversation

VincentLanglet
Copy link
Contributor

@VincentLanglet VincentLanglet commented Apr 27, 2024

From https://twig.symfony.com/doc/3.x/coding_standards.html

Put exactly one space after the : sign in hashes and , in arrays and hashes:
{{ [1, 2, 3] }}
{{ {'foo': 'bar'} }}

Do not put any spaces before and after the opening and the closing of arrays and hashes:
{{ [1, 2, 3] }}
{{ {'foo': 'bar'} }}

@fabpot
Copy link
Contributor

fabpot commented Apr 27, 2024

Thank you @VincentLanglet.

@fabpot fabpot merged commit f67ad6c into twigphp:3.x Apr 27, 2024
73 of 76 checks passed
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.

None yet

2 participants