Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong expression for VAR_HAS_PREFIX_OR_POSTFIX #476

Closed
bardware opened this issue Sep 27, 2017 · 1 comment
Closed

wrong expression for VAR_HAS_PREFIX_OR_POSTFIX #476

bardware opened this issue Sep 27, 2017 · 1 comment
Assignees
Milestone

Comments

@bardware
Copy link

bardware commented Sep 27, 2017

My code looks like

<cffunction name="loadHTML" access="public" returntype="struct" output="false">
	<cfargument name="iBooking" type="numeric" required="true">
	<cfargument name="iLang" type="numeric" required="true">

	<cfset LOCAL.struResult = {
		bSuccess = false, bCaught = false, catch = {},
		arrHTMLHead = [],
		arrHTML = [],
		arrHTMLFoot = []
	}>

	<cfreturn LOCAL.struResult>
</cffunction>

I run CFLint and look at the HTML report. Every entry in the VAR_HAS_PREFIX_OR_POSTFIX Warnings section lists the <cffunction tag under Expression.

The UNQUOTED_STRUCT_KEY Warnings section lists the content of the cfset tag. That's what I would expect for VAR_HAS_PREFIX_OR_POSTFIX also.

@ryaneberly ryaneberly added this to the 1.3.0 milestone Oct 14, 2017
@ryaneberly ryaneberly self-assigned this Oct 14, 2017
ryaneberly added a commit that referenced this issue Oct 14, 2017
@ryaneberly
Copy link
Contributor

@bardware. thanks for pointing that out. It is fixed in dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants