php / web-doc

http://doc.php.net
33 stars 84 forks source link

Add style guideline regarding conditional conjunction formatting #33

Open tiffany-taylor opened 2 years ago

tiffany-taylor commented 2 years ago

Statements which contain a conditional conjunction should be condition first, clause second. There are places in the manual which are formatted the opposite, which can cause confusion for some readers. There are occasionally PRs to doc-en to improve the wording on these statements, but there isn't a formal guideline on how these statements should be formatted. This PR intends to change that.

See https://github.com/php/doc-en/pull/1565