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`|`"7.0"`|Allows specifying the PHP version you're using. If you're using PHP 7.1 or later, setting this option will make use of modern language features in the printed output. If you're using PHP lower than 7.0, you'll have to set this option or Prettier will generate incompatible code. |
182
-
|`printWidth`|`80`| Same as in Prettier ([see prettier docs](https://prettier.io/docs/en/options.html#print-width)) |
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
-
|`useTabs`|`false`| Same as in Prettier ([see prettier docs](https://prettier.io/docs/en/options.html#tabs)) |
185
-
|`singleQuote`|`false`| If set to `"true"`, strings that use double quotes but do not rely on the features they add, will be reformatted. Example: `"foo" -> 'foo'`, `"foo $bar" -> "foo $bar"`. |
186
-
|`trailingCommaPHP`|`true`| If set to `true`, trailing commas will be added wherever possible. <br> If set to `false`, no trailing commas are printed. |
187
-
|`braceStyle`|`"per-cs"`| If set to `"per-cs"`, prettier will move open brace for code blocks (classes, functions and methods) onto new line. <br> If set to `"1tbs"`, prettier will move open brace for code blocks (classes, functions and methods) onto same line. |
188
-
|`requirePragma`|`false`| Same as in Prettier ([see prettier docs](https://prettier.io/docs/en/options.html#require-pragma)) |
189
-
|`insertPragma`|`false`| Same as in Prettier ([see prettier docs](https://prettier.io/docs/en/options.html#insert-pragma)) |
|`phpVersion`|`"8.3"`|Specifies the PHP version used. Setting this option will make use of modern language features in the printed output, but using a value higher than your PHP will cause Prettier to generate incompatible code.|
182
+
|`printWidth`|`80`| Same as in Prettier ([see prettier docs](https://prettier.io/docs/en/options.html#print-width)) |
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
+
|`useTabs`|`false`| Same as in Prettier ([see prettier docs](https://prettier.io/docs/en/options.html#tabs)) |
185
+
|`singleQuote`|`false`| If set to `"true"`, strings that use double quotes but do not rely on the features they add, will be reformatted. Example: `"foo" -> 'foo'`, `"foo $bar" -> "foo $bar"`. |
186
+
|`trailingCommaPHP`|`true`| If set to `true`, trailing commas will be added wherever possible. <br> If set to `false`, no trailing commas are printed. |
187
+
|`braceStyle`|`"per-cs"`| If set to `"per-cs"`, prettier will move open brace for code blocks (classes, functions and methods) onto new line. <br> If set to `"1tbs"`, prettier will move open brace for code blocks (classes, functions and methods) onto same line. |
188
+
|`requirePragma`|`false`| Same as in Prettier ([see prettier docs](https://prettier.io/docs/en/options.html#require-pragma)) |
189
+
|`insertPragma`|`false`| Same as in Prettier ([see prettier docs](https://prettier.io/docs/en/options.html#insert-pragma)) |
0 commit comments