When I do a coding standards check on the following CTools plugin declaration file:

/**
 * @file
 * Plugin declaration for the active business selection plugin.
 */

$plugin = array(
  'title' => t('Filter on active business'),
  'class' => 'EntityReference_SelectionHandler_Active_Business',
);

I'm getting the following notice:

Notice: Undefined offset: 47 in vendor/drupal/coder/coder_sniffer/Drupal/Sniffs/WhiteSpace/ScopeIndentSniff.php on line 205

CommentFileSizeAuthor
#1 2421339-1.patch968 bytespfrenssen
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pfrenssen’s picture

Status: Active » Needs review
FileSize
968 bytes
klausi’s picture

Status: Needs review » Needs work

Let's copy the example code that triggers the notice to a test case.

klausi’s picture

Status: Needs work » Closed (works as designed)

That part in the code has been removed again, so this is not necessary anymore.