php-short-array-syntax-converter icon indicating copy to clipboard operation
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 []

Results 7 php-short-array-syntax-converter issues
Sort by recently updated
recently updated
newest added

``` 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. ![001](https://cloud.githubusercontent.com/assets/16948950/22278852/e333049c-e309-11e6-9ff0-aa74cfb95d6f.png) ![002](https://cloud.githubusercontent.com/assets/16948950/22278857/e899a0da-e309-11e6-9d3e-3b209c49514e.png)

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 ```