Using the Coder module to check any inconsistencies with the drupal coding standards.
This patch fixes: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

p.brouwers’s picture

Status: Active » Needs review
aspilicious’s picture

+++ /var/www/drupal/modules/system/system.tar.inc	2010-07-22 14:53:51.000000000 +0200
@@ -1856,12 +1856,12 @@ class Archive_Tar
+		      && (($v_position = strpos($p_path, ':')) != FALSE)) {

Remove these tabs

40 critical left. Go review some!

Dries’s picture

Status: Needs review » Fixed

Committed to CVS HEAD. Thanks.

Damien Tournoud’s picture

Hm.

Do we really want to start hacking our standards into system.tar.inc? This means forking, boys. And forking means maintaining.

Damien Tournoud’s picture

Status: Fixed » Active

I suggest we revert this patch.

aspilicious’s picture

This patch contained tabs...
Revert?

Stevel’s picture

Status: Active » Needs review
FileSize
30.77 KB

Here's a plain revert of the changes to system.tar.inc

Stevel’s picture

Or should we be going further back? http://drupalcode.org/viewvc/drupal/drupal/modules/system/system.tar.inc

I think none of the changes made are necessary for the correct functioning, so I don't think it's worth forking it for code style (or other) compliance.

Also, a newer version of the Archive_Tar project is available from http://pear.php.net/package/Archive_Tar/. Should we include the newer version, or is the current one just fine?

Damien Tournoud’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)
Issue tags: -Coding standards

Automatically closed -- issue fixed for 2 weeks with no activity.