Closed (won't fix)
Project:
Coder
Version:
7.x-2.x-dev
Component:
Review/Rules
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Feb 2011 at 22:06 UTC
Updated:
10 Oct 2016 at 11:51 UTC
Jump to comment: Most recent
Comments
Comment #1
benoit.borrel commentedComment #2
pillarsdotnet commentedMaybe you should make a Drupal distro that is optimized/hacked to run under HipHop. I for one would be very interested.
Comment #3
benoit.borrel commentedAn HipHopPHP compatible distro is already available as a Pressflow branch and instructions to set up the stack are documented in FourKitchens' wiki.
My idea was to help module developers writing code that is compliant with HipHopPHP, thus the proposed CodeR review.
Comment #4
pillarsdotnet commentedThanks for the link. Couldn't actually compile the code, as it requires x86_64 and I only have x86_32. Looking forward to a more general solution.
Comment #5
xano- Most UI texts have not been wrapped in t() calls, so they cannot be translated.
- Some UI texts contain broken up sentences (too many periods and commas).
- Some sentences don't start with a capital letter or end with a period.
- The patch doesn't follow the coding standards, notably those regarding code comments.
- Don't use abbreviated variable names. Use $key and $value rather than $k and $v, or better, use $function_name for $v instead.
- If you don't need an associative array's keys when looping through them, don't use them in the foreach's definition.
Comment #6
benoit.borrel commentedThe page which was the reference and the reason of this code compliance review has gone on May 6, 2011. May it rest in peace within www.archive.org.
Anyway, I guess one should better use the HipHopPHP GitHub issues queue instead.
I guess you could set this issue as "closed (won't fix)".
Comment #7
pillarsdotnet commentedComment #8
sunwow, nice idea, subscribing
Comment #9
douggreen commentedIs this still valid? Has anyone made a contrib module with these rules?
Comment #10
klausiCoder 7.x is frozen now and will not receive updates. Coder 8.x-2.x can be used to check code for any Drupal version, Coder 8.x-2.x also supports the phpcbf command to automatically fix conding standard errors. Please check if this issue is still relevant and reopen against that version if necessary.