Upgrade array syntax the automatic way
This post covers upgrading from using the old array syntax to php 5.4 short array syntax using an automatic tool built with Pharborist. Phaborist is a PHP library to query and transform PHP source code via abstract syntax tree operations. The result is more robust and shorter then the alternative of using tokens from token_get_all.




