Closed (fixed)
Project:
Form Updater
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Nov 2005 at 07:08 UTC
Updated:
28 Nov 2005 at 23:10 UTC
Just a very small patch which allows output to conform to the coding standards. Instead of:
$form['foo'] = array(
'#type' => 'textfield',
'#title' => t('Foo'),
...
'#description' => t('A description of Foo.')
);
It makes it:
$form['foo'] = array(
'#type' => 'textfield',
'#title' => t('Foo'),
...
'#description' => t('A description of Foo.'),
);
Note the alignment of the closing ) and the comma after the last form element (even though this looks like an error, it's a practiced used [even by PHP itself] to help eliminate errors related to adding an element to the end of an array and forgetting to add the comma in).
| Comment | File | Size | Author |
|---|---|---|---|
| formupdater.coding.standards.patch | 615 bytes | webchick |
Comments
Comment #1
webchickPer jjeff, I have committed this patch to formupdater module
Comment #2
jjeff commented