php-short-array-syntax-converter
php-short-array-syntax-converter copied to clipboard
Command-line script to convert PHP's array() syntax to PHP 5.4's short array syntax []
``` homasbachem/php-short-array-syntax-converter from dist: The "https://api.github.com/repos/a-vasyliev/php-short-array-syntax-converter/zipball/59fde6c9a45543a39f2ce4787c5c1d83c9f50899" file could not be downloaded (HTTP/1.1 404 Not Found) Now trying to download from source - Installing thomasbachem/php-short-array-syntax-converter (dev-master 59fde6c): Cloning 59fde6c9a4 [RuntimeException] Failed...
Thanks for this lovely script that saved me tons of hours and seems to make no mistakes. Here is a fix for windows users: FOR /f "tokens=*" %a in ('dir...
Be possible to convert using standard I/O ## Usage ### shell ``` sh $ echo '
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.  
Hi, here is my proposal of improvement of your great work. Thank you for nice script. I've only added possibility to integrate your work into Composer to be able easily...
``` Warning: Unexpected character in input: ' in ~/Sites/d8/convert.php on line 62 Call Stack: 0.0014 670888 1. {main}() ~/Sites/d8/convert.php:0 0.0027 678216 2. token_get_all() ~/Sites/d8/convert.php:62 ```