code style cleanup

TUc - January 28, 2009 - 15:58
Project:Override Node Options
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Issue tags:Novice
Description

While patching some previous issues I came accross some code-style errors.
This is a general patch which solves it all in one (two previous patches + code style).

greetz,
TUc

AttachmentSize
override_node_options.general.patch16.86 KB

#1

marcushenningsen - September 9, 2009 - 20:21
Status:active» needs review

#2

drewish - October 5, 2009 - 17:48

Looks like an improvement but there's still a ton of formatting issues.

#3

joachim - November 30, 2009 - 19:45
Title:General patch» code style cleanup
Version:6.x-1.4» 6.x-1.x-dev
Status:needs review» active
Issue tags:+Novice

I'd already committed fixes to the spacing of 'if' statements before I saw this patch.
I'm afraid it's probably not going to apply and rerolling this sort of patch is just as tedious if not more so than redoing it from scratch.

I've tackled a few of the indentation problems (until my eyes began to glaze).
The patch above is obsolete; marking this as active again and giving it a better title.

I'm tagging this as Novice, as it's probably a good exercise for someone wanting to try making a patch or learning the Drupal code style. I would suggest only tackling one function at a time though!

 
 

Drupal is a registered trademark of Dries Buytaert.