diff --git a/CHANGELOG.md b/CHANGELOG.md index 5cd6472..0db2b01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ ## 19.7 +### 19.7.3 + +* Added AlignPHPCode2 pass +* Fixed [AlignPHPCode bug](https://github.com/akalongman/sublimetext-codeformatter/issues/250) +* Added new tests + +### 19.7.0 + * Added `SpaceAroundParentheses` pass ## 19.6.4 diff --git a/README.md b/README.md index df240cb..87bbfbe 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,7 @@ php phpfmt.phar * AlignEquals Vertically align "=". * AlignGroupDoubleArrow Vertically align T_DOUBLE_ARROW (=>) by line groups. * AlignPHPCode Align PHP code within HTML block. + * AlignPHPCode2 Align PHP code within opening and closing php block. * AlignTypehint Vertically align function type hints. * AllmanStyleBraces Transform all curly braces into Allman-style. * AutoPreincrement Automatically convert postincrement to preincrement. diff --git a/build/phpfmt.phar b/build/phpfmt.phar index 8da1e09..4208dc8 100644 Binary files a/build/phpfmt.phar and b/build/phpfmt.phar differ diff --git a/src/phpfmt.php b/src/phpfmt.php index d246d58..03f0611 100755 --- a/src/phpfmt.php +++ b/src/phpfmt.php @@ -1410,7 +1410,7 @@ public function upsert( $target, $filename, $content ) {} } - define( 'VERSION', 'version_code' ); + define( 'VERSION', '19.7.3' ); function extractFromArgv( $argv, $item ) { return array_values(