You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`phpVersion`|`"8.3"`\*| Allows specifying the PHP version you're using. (See Notes Below) |
182
182
|`printWidth`|`80`| Same as in Prettier ([see prettier docs](https://prettier.io/docs/en/options.html#print-width)) |
183
183
|`tabWidth`|`4`| Same as in Prettier ([see prettier docs](https://prettier.io/docs/en/options.html#tab-width)), The default is `4` based on the `PSR-2` coding standard. |
184
184
|`useTabs`|`false`| Same as in Prettier ([see prettier docs](https://prettier.io/docs/en/options.html#tabs)) |
@@ -191,11 +191,11 @@ Prettier for PHP supports the following options. We recommend that all users set
191
191
### `phpVersion` Configuration Notes:
192
192
193
193
This setting now defaults to PHP 8.3, however, if the code you are formatting has a `composer.json` with in the current
194
-
directory or any parent directory, the plugin will use minimum supported php version from `{"require":{"php":"..."}}`
194
+
directory or any parent directory, the plugin will use minimum supported php version from `{"require":{"php":"..."}}`
195
195
to set the phpVersion. If no such value is found, it will default to PHP 8.3.
196
196
197
-
If the phpVersion is not set correctly for your environment, this plugin will product code that could be incompatible
198
-
with your PHP runtime. For example, if you are using PHP 7.4, but the plugin is set to PHP 8.3, it will produce code
197
+
If the phpVersion is not set correctly for your environment, this plugin will product code that could be incompatible
198
+
with your PHP runtime. For example, if you are using PHP 7.4, but the plugin is set to PHP 8.3, it will produce code
0 commit comments