Public bug reported:

Consider the following code snippet

$js = <<< EOF
addLoadEvent(function () {
    {$activities['pagination_js']}
});
EOF;

The coding standards script trips up on the line inside addLoadEvent(),
saying 'opening curly braces are do no need their own line.'

** Affects: mahara
     Importance: Medium
     Assignee: Brett Wilkins (brettwilkins)
         Status: New

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/803267

Title:
  Coding standards script doesn't cope with variable interpolation in
  heredocs

Status in Mahara ePortfolio:
  New

Bug description:
  Consider the following code snippet

  $js = <<< EOF
  addLoadEvent(function () {
      {$activities['pagination_js']}
  });
  EOF;

  The coding standards script trips up on the line inside
  addLoadEvent(), saying 'opening curly braces are do no need their own
  line.'

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/803267/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to