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

Code style and formatting in the documentation #1442

Closed
artifex404 opened this issue Jun 7, 2017 · 2 comments
Closed

Code style and formatting in the documentation #1442

artifex404 opened this issue Jun 7, 2017 · 2 comments

Comments

@artifex404
Copy link
Contributor

PHP, Twig and HTML code should be written in one concise format and styling in the documentation. As of now, there is a lot of variations.

I thought about contributing with the clean up, but wanted to ask first a more official opinion which style/formatting to apply.

@jarednova
Copy link
Member

@artifex404 that would be very helpful. A lot of hands over the years (including mine) have been in there over the years with some changing rationales. This describes the PHP rules (from Scrutinizer CI). In general, it's pretty close to WordPress's official standards.

For Twig and HTML, I'd like to stick to the official Twig standards where we can

@nlemoine
Copy link
Member

nlemoine commented Mar 6, 2023

Since 2.x and code standards auto fixing implementation (including docs snippets), I think we can close this.

@nlemoine nlemoine closed this as completed Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants