From f92100e556f8f38df50e4b5062c3d951d090b19d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 22 Mar 2024 12:04:05 +0000 Subject: [PATCH] release: 1.1.38 --- CHANGELOG.md | 4 ++++ README.md | 2 +- package.json | 14 +++++++++----- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cd03fca..1fd4a3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +### 1.1.38 + +- Upgrade fmt.stub.php [(V1020.0.0)](https://github.com/driade/phpfmt8/releases/tag/v1020.0.0) + ### 1.1.37 - Upgrade fmt.stub.php [(V1010.0.0)](https://github.com/driade/phpfmt8/releases/tag/v1010.0.0) diff --git a/README.md b/README.md index c356f71..f6147c3 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,7 @@ transformation. | Key | Description | | -------- | ----------- | +| SmartLnAfterCurlyOpen | Add line break when implicit curly block is added. | | AddMissingParentheses | Add extra parentheses in new instantiations. | | AliasToMaster | Replace function aliases to their masters - only basic syntax alias. | | AlignConstVisibilityEquals | Vertically align "=" of visibility and const blocks. | @@ -158,7 +159,6 @@ transformation. | RestoreComments | Revert any formatting of comments content. | | ReturnNull | Simplify empty returns. | | ShortArray | Convert old array into new array. (array() -> []) | -| SmartLnAfterCurlyOpen | Add line break when implicit curly block is added. | | SortUseNameSpace | Organize use clauses by length and alphabetic order. | | SpaceAroundControlStructures | Add space around control structures. | | SpaceAroundExclamationMark | Add spaces around exclamation mark. | diff --git a/package.json b/package.json index 111778e..1dc6114 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "vscode-phpfmt", "displayName": "phpfmt - PHP formatter", - "version": "1.1.37", + "version": "1.1.38", "description": "Integrates phpfmt into VS Code", "main": "./out/src/extension", "scripts": { @@ -191,6 +191,8 @@ "MergeParenCloseWithCurlyOpen", "NormalizeIsNotEquals", "NormalizeLnAndLtrimLines", + "SmartLnAfterCurlyOpen", + "MatchNewLineAndCurlys", "Reindent", "ReindentColonBlocks", "ReindentComments", @@ -258,7 +260,6 @@ "RestoreComments", "ReturnNull", "ShortArray", - "SmartLnAfterCurlyOpen", "SortUseNameSpace", "SpaceAroundControlStructures", "SpaceAroundExclamationMark", @@ -292,6 +293,8 @@ "Core pass", "Core pass", "Core pass", + "Add line break when implicit curly block is added.", + "Core pass", "Core pass", "Core pass", "Core pass", @@ -359,7 +362,6 @@ "Revert any formatting of comments content.", "Simplify empty returns.", "Convert old array into new array. (array() -> [])", - "Add line break when implicit curly block is added.", "Organize use clauses by length and alphabetic order.", "Add space around control structures.", "Add spaces around exclamation mark.", @@ -401,6 +403,8 @@ "MergeParenCloseWithCurlyOpen", "NormalizeIsNotEquals", "NormalizeLnAndLtrimLines", + "SmartLnAfterCurlyOpen", + "MatchNewLineAndCurlys", "Reindent", "ReindentColonBlocks", "ReindentComments", @@ -468,7 +472,6 @@ "RestoreComments", "ReturnNull", "ShortArray", - "SmartLnAfterCurlyOpen", "SortUseNameSpace", "SpaceAroundControlStructures", "SpaceAroundExclamationMark", @@ -502,6 +505,8 @@ "Core pass", "Core pass", "Core pass", + "Add line break when implicit curly block is added.", + "Core pass", "Core pass", "Core pass", "Core pass", @@ -569,7 +574,6 @@ "Revert any formatting of comments content.", "Simplify empty returns.", "Convert old array into new array. (array() -> [])", - "Add line break when implicit curly block is added.", "Organize use clauses by length and alphabetic order.", "Add space around control structures.", "Add spaces around exclamation mark.",