mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #05053
[Bug 803267] [NEW] Coding standards script doesn't cope with variable interpolation in heredocs
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
Follow ups
References