This project is not covered by Drupal’s security advisory policy.
Converts PHP's array() syntax to PHP 5.4's short array syntax[] using Thomas Bachem's PHP 5.4 Short Array Syntax Converter.
Usage
Execute drush short-array-syntax example to convert all PHP's array() syntax to PHP 5.4's short array syntax[] within *.inc, *.install, *.module, and *.php files.
Installation
# To install the 'short-array-syntax' globally use...
drush pm-download "short_array_syntax" --destination=~/.drush;
# To install the 'short-array-syntax' within a Drupal website use...
cd DRUPAL_SITE;
drush pm-download "short_array_syntax";
Notes
- The
convert.phpscript will automatically be downloaded from https://github.com/thomasbachem/php-short-array-syntax-converter to the 'shortarraysyntax' directory the first time this command is executed.
References
Supporting organizations:
Project information
Seeking new maintainer
The current maintainers are looking for new people to take ownership.No further development
No longer developed by its maintainers.- Project categories: Developer tools
- Created by jrockowitz on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.

