← Back to team overview

mahara-contributors team mailing list archive

[Bug 803267] Re: Coding standards script doesn't cope with variable interpolation in heredocs

 

** Changed in: mahara
       Status: New => Confirmed

-- 
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:
  Confirmed

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


References