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

References

Supporting organizations: 

Project information

  • caution Seeking new maintainer
    The current maintainers are looking for new people to take ownership.
  • caution No further development
    No longer developed by its maintainers.
  • Project categories: Developer tools
  • Created by jrockowitz on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases