Install

Works with Drupal: 8.x

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 127.54 KB
MD5: 989ac121850445c5a578f622200022b7
SHA-1: 97f9c0dccbc86870b4f602dc59f747e024675e75
SHA-256: 849e297964b99980e12031ae7c55ddbef410cbe88c74a3e4e2e7b2c43b100a19
Download zip 282.8 KB
MD5: 0ed32f6a61ac6fe12a18c3fa2d8aaf36
SHA-1: 3ac8629c34105d2974deb80836dba2e48a4113af
SHA-256: a61ae07a243d96f72e5c6f139d8d4dbba69b270b3665770580d779eca1fe94af

Release notes

The biggest change with this release is that you should not use @file comments in namespaced class files. See #2304909: Relax requirement for @file when using OO Class or Interface per file

Changes since 8.x-2.6:

  • Only recommend the PATH variable approach in README
  • #2661274 by pfrenssen: False positive on @codingStandardsIgnoreStart/End in function docblocks
  • #2663420: Fixed false positives in DrupalPractice when analyzing variable usage in traits
  • #2649442: Fixed indentation false positives with anonymous function in arrays
  • Fixed false positive when $this is used in closures
  • Added FileEncoding sniff to check the encoding of files
  • #2665744 by alexpott, klausi: @file doc is not required for classes, interfaces and traits
  • #2669096: Fixed phpcbf problem with empty @file comments
  • Isssue #2669096: Added tests to make sure file and class comment fixers do not conflict
  • Doc blocks on traits are required, same as on classes and interfaces
  • #2667774: Allow trait file references in .info files
  • Fixed try/catch white space sniff after closing curly brace
  • #2674598: Fixed UnusedUseStatement sniff must not be case sensitive
  • Added PSR-2 coding standards for use statements
  • Removed manual composer dependency loading hacks, now supported by PHPCS
  • #2676100: Added a sniff for fully qualified class names in code that should have use statements instead
  • #2676100: Fully namespaced function calls are allowed
  • #2303963: Allow camelCase for variable names
  • Removed useless class pointer seeking in UnusedUseStatementSniff
  • #2685877 by alexpott, klausi: UnusedUseStatement sniff should report classes in the same namespace
  • #2686013 by tikaszvince: Fixed false positives with negative numbers in short array syntax
  • #2676100: Added fixer for FullyQualifiedNamespaceSniff"
  • #2677262: Added sniff for single space between namespace keyword and declaration
  • #2677258: Added sniff for Empty lines before and after functions/methods
  • #2683691 by kevin.dutra, borisson_: Allow comment to end in a closing parenthesis
  • #2222691: "Improved @return comment error message
Created by: klausi
Created on: 8 Apr 2016 at 14:38 UTC
Last updated: 5 Jul 2016 at 21:08 UTC
Bug fixes
New features
Unsupported

Other releases