Closed (duplicate)
Project:
Coder
Version:
6.x-2.x-dev
Component:
Coder Review
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Dec 2011 at 16:52 UTC
Updated:
1 Jan 2012 at 16:32 UTC
I get a "Use Drupal's format_date(), not PHP's default date()." when I have a function that ends on date, i.e the line:
function vud_comment_admin_settings_validate($form, &$form_state) {
triggers that false positive.
Not sure about the version, but it happens on qa.d.o
Comments
Comment #1
marvil07 commentedComment #2
douggreen commentedI don't see the warning in 7.x.
Comment #3
hass commentedI have ~15 false warnings in linkchecker.
#1390038: Use Drupal's format_date(), not PHP's default date().
Comment #4
douggreen commented@hass also opened #1390038: Use Drupal's format_date(), not PHP's default date()., same report, neither are coder bugs, but are coder tough love. I'm closing this one too. See #1361368: Use Drupal's format_date(), not PHP's default date().. I suggest you get the latest dev version of http://drupal.org/project/coder_tough_love, because this problem is from there. FYI, coder implements a bunch of rules by itself, but it also allows other modules to add their own rules.
Comment #5
marvil07 commentedThanks for the information, feedback on #737372-7: Overly aggressive matching on "date" pattern.
Comment #6
hass commentedIt's not us who need to install an updated version of http://drupal.org/project/coder_tough_love - it's Drupal.org Testbots