Project:Form Updater
Version:master
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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).

AttachmentSize
formupdater.coding.standards.patch615 bytes

Comments

#1

Status:needs review» fixed

Per jjeff, I have committed this patch to formupdater module

#2

Status:fixed» closed (fixed)
nobody click here