Closed (fixed)
Project:
Pathauto
Version:
7.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Mar 2011 at 16:14 UTC
Updated:
29 Jun 2011 at 23:28 UTC
Jump to comment: Most recent file
Comments
Comment #1
dave reidIf you could please detail the specific problems, that would help.
Comment #2
mgiffordCertainly Dave. It's pretty easy to just enable the module & run it, but.
Maybe it's an issue with the Coder module, but either way it would be nice if it were resolved. This is a pretty essential module for the community.
Comment #3
Freso commentedHere's my output:
Does your result diverge greatly from this?
Well, all the CVS keyword warnings are deprecated. The "potential problems" are just that, potential. Not an issue here. In fact, the only real issue I can see from the above, is - which isn't a very serious warning. None the less, a patch is attached.
Comment #4
Freso commentedAh, okay. There's a
t()that needs fixing as well. New patch coming up shortly.Comment #5
Freso commentedComment #6
mgiffordApplies nicely to the repository & seems to work fine in one of my installs.
Comment #7
dave reidYep looks good to me too. We'll have to make sure how much of this applies to the 6.x-2.x and 6.x-1.x branches as well.
Comment #8
Freso commentedAlright. I pushed my commit for 7.x-1.x. It looks like Coder has some applicable issues with 6.x-2.x as well, so moving there. Are we using 6.x or 7.x style string concatenation for 6.x-2.x again?
Comment #9
dave reidCoding standards apply universally across all versions, plus it's also easier to diff between branches if they're using the same concatenation spacing standard (which I should have been already using). So feel free to fix any other finds.
Comment #10
Freso commentedNot 100% true. Up until (and including, to some degree) Drupal 6, the standard is
$foo .' and some eggs'from D7 onwards, the standard is$foo . ' and some eggs'. Due to the change for 7.x, 6.x contrib's coding standard can be either one. (See #245115: Fix Drupal's awkward coding standards for the . operator.)I'm inclined to say that we keep pre-6 concat style for 6.x-1.x, but use D7-style concat for 6.x-2.x. (If that's not what we're doing already.)
Comment #11
dave reid(we're already using the current standard in every branch)
Comment #12
dave reidCommitted the second hunk to 6.x-2.x dev.
http://drupalcode.org/project/pathauto.git/commit/5cebcda
Comment #13
dave reidComment #15
mgiffordThanks Dave!