Skip to content

0.16.0

Pre-release
Pre-release

Choose a tag to compare

@pmjones pmjones released this 15 May 03:16
· 260 commits to 0.x since this release

Previously, PHP-Styler converted else if to elseif as part of
the Printer operations on parsed Node objects. Now, it converts them as
part of a custom Parser pre-processing step by modifying the original code
PHP tokens themselves. Doing so required a minor change to the testing of
typehints and declare values.

Also renamed the default config file from resources/php-styler.dist.php to
resources/php-styler.php.