cflint / CFLint

Static code analysis for CFML (a linter)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

prc scope as an argument since 1.5.0?

janbroos opened this issue · comments

Since CFLint 1.5.0 in comparison with 1.4.1 all the prc arguments (coldbox framework) now give a arg_var_conflict error.

Should the function:
/**
* Default Action
*/
function index( event, rc, prc ){
prc.message = "Hello From ColdBox";
event.setView( "main/index");
}

actually be build as:
/**
* Default Action
*/
function index( event, rc, prc ){
arguments.prc.message = "Hello From ColdBox";
event.setView( "main/index");
}
?