Closed (fixed)
Project:
Configuration Management
Version:
7.x-2.x-dev
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Reporter:
Created:
19 Jul 2012 at 15:44 UTC
Updated:
18 Oct 2012 at 15:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
dagmarI'm afraid this wouldn't be 100% completed.
We are using eval() in several parts of the code. Also, the messages contains links inside and coder seems to complain about that.
The 29 critical issues are mostly warnings about the use of eval() and about the use of !placeholders inside drupal_set_message.
Comment #2
lucascaro commentedyou're right @dagmar, you did a great job already moving forward with this. Let's do what we can to get this to a minimum, adding @file comments and trying to replace !variables when we don't need them.
What do you think?
As you said, we can't get to 0 issues. Hopefully we can get rid of (most) eval() calls in the future.
Comment #3
dagmarSure, make sense. Maybe a wrapper for eval, something like configuration_eval will reduce the list of critical to 3 or 4.
I will try to fix this when I have some time.
Comment #4
dagmarThere is no duplicated code in 2.x is much more easier to get this done. In my local environment I get only 4 minor warnings, all related to the use of eval().
Comment #6
dagmarFixed typo.
Comment #7
lucascaro commentedawesome to see it passed the coder review in the testbot!
Comment #8
dagmarCommitted 5a58530, 5a45c94, f53907b. Now branch 2.x is passing the coding standars.