Install

Using Composer to manage Drupal site dependencies

Downloads

Download tar.gz 47.77 KB
MD5: 06a9f2c0765c8c93931ed0429516e703
SHA-1: 3fce83abbcc02bc1ebafa8bec8f7c99b70da5615
SHA-256: f45a2e1c9cd34494f1d940e4626e1295e5a2bb828848c4691830363192700bd9
Download zip 99.45 KB
MD5: 212704ea3592e797c54f733dcb22406b
SHA-1: 06082f54e153f8ba4421e3c972ee915b8d38df91
SHA-256: f9b85d71f7994095e097d28332e9bb3c1f01b43b8efa9ba4b772851e11577c4e

Release notes

Changes since 7.x-1.0-alpha1:

  • Added function declaration argument sniff from Squiz.
  • by pdrake: Added missing core global.
  • Added a check for spaces before the opening parenthesis of a function definition.
  • Fixed installation hook sniff to also flag hook_enable() and hook_disable() in module files.
  • Added a check for the PHP version requirement in Drupal 7 info files.
  • Added a sniff for spaces in function declarations, cleaned up unused code in our function declaration sniff file.
  • Added a check for t() calls without arguments.
  • #1512368: Adapted function parameter documentation sniff to allow undocumented parameters.
  • Added a check for t() calls in hook_menu().
  • Added a sniff for installation hooks in module files.
  • #1366090 by pdrake: Improve handling of comments missing punctuation.
  • Added a sniff for alphabetical ordering of CSS style properties.
  • #1475460: Empty case statements in switch() are allowed and can be useful.
  • Added a check for empty lines at the end of doc blocks.
  • Added semi colon spacing sniff from Squiz.
  • Comment follow-up for using the array bracket sniff from Squiz.
  • Added array bracket spacing sniff from Squiz.
  • Added a sniff for t() in hook_requirements() and hook_install().
  • Simplified ip_address() sniff to use the getTokensAsString() method.
  • Added a check for invalid @param and @return data types.
  • Simplified inline control structure sniff and enabled it for javascript files.
  • Ignore curly bracket spacing in javascript files, as there might be function definitions in one line.
Created by: klausi
Created on: 29 Apr 2012 at 09:33 UTC
Last updated: 29 Apr 2012 at 09:35 UTC
New features
Bug fixes
Unsupported

Other releases