php-short-array-syntax-converter
php-short-array-syntax-converter copied to clipboard
add feature : directory access support
added a directory to a path handled by argument. specify a directory, search recursively.
please refer to the image for the difference when indentation is not added.
I haven't used this personally, but for Windows users who are having trouble with the readme on the front page, I found this command to be better. It will recursively search through directories below it as well. Just run it in the directory you want to start at.
FOR /f "tokens=*" %a in ('dir *.php /S/B') DO php c:/wamp/www/convert.php %a -w