Skip to content

Commit 1ea1177

Browse files
committed
fix default version
1 parent b23adb2 commit 1ea1177

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,9 @@ Prettier for PHP supports the following options. We recommend that all users set
191191
### \* `phpVersion` Configuration Notes :
192192

193193
The default setting `auto`, attempts to auto-detect your supported php versions from a `composer.json` with in the
194-
current directory or any parent directory, the plugin will use minimum supported php version from `{"require":{"php":"..."}}`
195-
to set the phpVersion. If not found, or not able to be parsed, it will default to PHP 8.3.
194+
current directory or any parent directory, the plugin will use a minimum supported php version from
195+
`{"require":{"php":"..."}}` to set the phpVersion. If not found or not able to be parsed, it will default to latest
196+
supported PHP version, which is currently `8.4`.
196197

197198
You set the `phpVersion` to `composer` and this will only use the `composer.json` file to determine the php
198199
version, prettier will crash if the PHP cannot be determined.

0 commit comments

Comments
 (0)