Skip to content

Commit 612272f

Browse files
docs: add a clear note that we do not strictly follow PSR/PER (#2394)
* docs: add a clear note that we do not strictly follow PSR/PER Closes #2288 * docs: improve verbiage of standard adherence note Suggestion comes from the code review, thank you! Co-authored-by: Christian Zosel <[email protected]> --------- Co-authored-by: Christian Zosel <[email protected]>
1 parent 7e8f79e commit 612272f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ Prettier is an opinionated code formatter. It enforces a consistent style by par
3737

3838
This plugin adds support for the PHP language to Prettier.
3939

40+
> [!NOTE]
41+
>
42+
> This plugin uses PSR / PER as guidance when making formatting decisions, but does not aim to be fully PSR / PER compliant. The idea is to stay reasonably close to how Prettier for JS works.
43+
4044
### Can this be used in production?
4145

4246
We're considering the plugin to be stable when pure PHP files are formatted. Formatting of files that contain mixed PHP and HTML is still considered unstable - please see [open issues with the tag "inline"](https://github.com/prettier/plugin-php/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3Ainline) for details.

0 commit comments

Comments
 (0)