Alternative installation files

Download coder-8.x-2.8.tar.gztar.gz 129.59 KB
MD5: 9ed6961b9fea0ad49d3f0133d4367386
SHA-1: 55320a1a8025ab19d1b7bfb59c2249c50e1299a4
SHA-256: a6f0a55fa04a97b0751a181fae94d2c2b8b05e1310d3fc33b935cd4bb04171b5
Download coder-8.x-2.8.zipzip 291.24 KB
MD5: 5ae7a5b4cc57c89b91600047fda75c93
SHA-1: 84983fea90365b4d94263df09a5f0bb3065557a8
SHA-256: ba46bcae335f33e70efa96272f15b74405263848ec8b119899203dbbc3416d6b

Release notes

Use Composer to download this release from https://packagist.org/packages/drupal/coder

Changes since 8.2.7:

  • Allow use statement aliasing even in the own namespace of the class
  • Removed function declaration sniff, now covered by upstream Squiz sniff
  • Updated closing brace sniff from upstream, removed now obsolete template file exclusion
  • Updated operator spacing sniff from upstream
  • #2710219 by alexpott, klausi: Restore Drupal.Functions.FunctionDeclaration sniff for compatibility with existing phpcs.xml configs
  • #2710067: Do not throw errors on different multi line assignment style
  • #2710209 by alexpott: The FunctionT sniff needs to support TranslatableMarkup and TranslationWrapper
  • #2608738: Add a warning for \Drupal:: use in forms and controllers
  • #2707989 by anoopjohn: Drupal.Commenting.FunctionComment.ThrowsComment incorrectly triggers error for error classes with underscores
  • #2716681 by anoopjohn, klausi: Added fixer for superfluous @see punctuation
  • #2608738: Added BlockBase as extending class where dependency injection should be used
  • #2720343: Add a warning for global function use like t() in classes
  • #2716963 by borisson_, alexpott, klausi: Allow symbols to be concatenated to t() calls
  • #2683691 by borisson_: Allow @param comment to end in a closing parenthesis
  • #2721917 by anoopjohn, klausi: Implemented fixer for @return comment indenation
  • #2721239 by anoopjohn: Implemented fixer to add a full stop after @param comments
  • #2741851 by tikaszvince, klausi: Allow capital words in example hook functions in .api.php files
  • #2716815 by anoopjohn: Fixed PHP notice when fixer is invoked on @param description in the same line
  • #2721875 by anoopjohn: Fixed false positives when @param ... notation for variable parameters is used
  • #2606254 by anoopjohn, borisson_: Only @param, @return and @throws should require a blank line separator
  • #2573195 by pfrenssen, anoopjohn, attiks: Not all Drupal.Classes.ClassCreateInstance violations are marked as fixable
  • #2735365 by anoopjohn: Error in fixing incorrect parameter types when multiple parameter types are possible in one @param tag
  • #2734539 by anoopjohn: Added phpcs.xml.dist config file for coding standards on Coder itself
  • Removed obsolete drush integration file because drush is not supported
  • Synced scope indentation sniff from Squiz
  • #2746503: Fixed detection of Wrong indentation in switch() statements
  • #2620856 by anoopjohn, Lars Toomre: Extend FunctionCommentSniff for incorrect casing of data types such as 'NULL'
  • #2742807 by anoopjohn: Improved PHPCS coding standards: Fix Generic.* sniffs
  • #2742825 by anoopjohn: Make Coder more PHPCS compliant, Fix Squiz.* sniffs
  • #2742795 by anoopjohn: Fixed settings type for VariableAnalysis sniff
  • #2742801 by anoopjohn: Make Coder more PHPCS coding standards compliant: implicit comparisons
  • #2722695 by anoopjohn, borisson_: Fixed false positives with null as @return type
  • #2747203 by anoopjohn: Allow multi line function definition indentation variants since there is no standard yet
  • #2748015 by anoopjohn: Make Coder more PHPCS compliant: inline if statements
  • #2734539: Make coder more PHPCS compliant: disable certain sniffs for now in the phpcs.xml configuration
  • Added instructions to contribute with pull request on Github
  • Fixed global function detection in classes to not trigger on method invocations
  • #2755147: Fixed typo in info file sniff message
  • #2754187: Added rule for a blank line following a PHP tag
  • #2248463: Require a blank line after the namespace declaration
  • Fixed test fails after enabling PSR2 namespace newline sniff
  • #2734539: Make Coder more PHPCS compliant: @return comments
  • #2734539: Make Coder more PHPCS compliant: @param comments
  • #2746449: Remove JavaScript support and point users to eslint
  • #2605978: Removed post statement comment support for Javascript files
  • #2611244: Removed indentation checking on JS files
  • #2608738: Add EntityForm as parent class where dependency injection should be used
  • #2720343: Added a sniff for global class calls such Node::load() in classes
  • Isssue #2720343: Allow global t() and \Drupal calls in static methods
Created by: klausi
Created on: 5 Jul 2016 at 21:06 UTC
Last updated: 17 Sep 2016 at 17:28 UTC
Bug fixes
New features

Other releases