Alternative installation files

Download coder-8.x-2.1.tar.gztar.gz 130.68 KB
MD5: 809233c2893420f02449b02f594ce669
SHA-1: dfbcafecd6cd7020a4bae3e99ec46071d7df5d97
SHA-256: 1feac54012b5af425c9ee17fcfd5f3aec3100db4bce606e7b52a0eaea651ac8d
Download coder-8.x-2.1.zipzip 254.48 KB
MD5: 2cc938e1f4127fcf6b0dfac03edc33df
SHA-1: 43484234f2cf3f105c2d843115a9e6d936031033
SHA-256: a3eeecba8ca0d21a358df71689f1df9baa64a7504fe053f9172913906f64fee3

Release notes

Lot's of new fixer rules for phpcbf to correct your coding standard errors automatically. Run with

phpcbf --standard=Drupal mymodule.module

Changes since 8.x-2.0:

  • Disabled Squiz CSS newline error in nested declarations, this is not in the Drupal CSS standards.
  • Implemented fixer for constructor calls without parenthesis.
  • #2408911: Fixed false positives with multi-line strings inside an array.
  • #2408923: Allow multi-line statements with operators and do not complain about space before/after them.
  • Implemented fixer and more sniff for class/interface/trait declarations.
  • Added fixers for class doc comments.
  • #2408907: Fixed case statements which terminate with multi-line return statements by updating PHPCS.
  • Throw warnings when @author: tags are used.
  • Copied testing strategy for fixers from PHPCS.
  • Added fixer for doc comment short description white spacing.
  • #2416787 by pfrenssen: Fixed typos
  • Added fixer for upper case short comment start and missing dots at the end of comments.
  • Fixed indentation sniff with multi line function call.
  • Added fixer for long doc description upper case fisrt.
  • Added fixer for doc comment tag group newlines.
  • Added a sniff for missing doc block stars.
  • Fixed missing docblock star sniff to detect more malformed comments.
  • Removed PHP closing tag sniff, now covered from Zend standard.
  • Added fixer for object operator spacing.
  • Fixed false positive in indentation sniff for nested array/function lines.
  • #2419875 by pfrenssen: Backport upstream changes to Drupal_Sniffs_WhiteSpace_ScopeIndentSniff
  • Added fixer logic for control structure spacing sniff.
  • Added fixer for elseif sniff.
  • #2419881 by pfrenssen: Add test case for trait conflict resolution
  • #2419881 : Switched PHPCS to dev version until verion 2.2.1 or higher is released.
  • Added fixer for string concatenation spacing sniff.
  • Added fixer for close bracket spacing sniff.
  • Added fixed for unary operator spacing sniff.
  • Fixed @file doc comment sniff to detect missing tag.
  • #2306873: Fixed inline comment sniff to report missing full stops when @todo tags are used.
  • #2306873: Doc comment long descriptions must end in a full stop.
  • Added fixer for full stops at the end of inline comments.
  • Added fixer for inline comments with no space after the //.
  • Added fixer for open bracket whitespace sniff.
  • Removed custom function brace sniff, we can now rely on upstream sniff.
  • #2304873: Allow long URLs in inline comments.
  • Execute all fixer rules on test cases to check for overlaps between fixers.
  • Added fixer for missing @file doc comment.
  • Added fixer for non doxygen @file comment.
  • Added fixer for @file comment formatting.
  • Switched PHPCS dependency to stable 2.3.0.
Created by: klausi
Created on: 6 Mar 2015 at 10:36 UTC
Last updated: 24 Apr 2015 at 15:38 UTC
Bug fixes
New features

Other releases