transform54.php: Simplify PHP 5.4 migration
Usage:
transform54.php [options] <directory>
Options:
--help Show this help
--short-arrays Rewrite array() to []
--static-closures Add "static" in front of every closure
--dry-run Only try, don't rewrite anything
--verbose Be more verbose
--debug Show extensive debugging information
--extensions File extensions to look for (comma-separated). Default: php
lstrojny / transform54 Goto Github PK
View Code? Open in Web Editor NEWTransform PHP sources to use new 5.4 features