diff --git a/anonymous_posting.admin.inc b/anonymous_posting.admin.inc
index 8bb2488..0f67ee0 100644
--- a/anonymous_posting.admin.inc
+++ b/anonymous_posting.admin.inc
@@ -54,7 +54,7 @@ function anonymous_posting_admin_form($form, &$form_state) {
  * Process admin anonymous posting module form submission.
  */
 function anonymous_posting_admin_form_submit($form, $form_state) {
-  
+
   $choosen_ntype = array();
   foreach ($form_state['values']['nodes_type'] as $key => $value) {
     $instance = field_info_instance('node', ANONYMOUS_POSTING_FIELD_NAME, $key);
diff --git a/anonymous_posting.install b/anonymous_posting.install
index 106316e..392bb7c 100644
--- a/anonymous_posting.install
+++ b/anonymous_posting.install
@@ -9,8 +9,8 @@
  * Implements hook_install().
  */
 function anonymous_posting_install() {
-  
-  // Clear field cache so that new Anonymous Posting Field field type get 
+
+  // Clear field cache so that new Anonymous Posting Field field type get
   // available on new install.
   field_cache_clear();
 
@@ -75,18 +75,18 @@ function anonymous_posting_update_7101() {
  * Extend mail field length from 64 to 255 chars.
  */
 function anonymous_posting_field_update_7103() {
-  
+
   $field_info = field_info_field(ANONYMOUS_POSTING_FIELD_NAME);
-  
+
   // Change mail column field length for current table
   $table = key($field_info['storage']['details']['sql'][FIELD_LOAD_CURRENT]);
   $mail_column_name = $field_info['storage']['details']['sql'][FIELD_LOAD_CURRENT][$table]['mail'];
   db_change_field($table, $mail_column_name, $mail_column_name, array('type' => 'varchar', 'length' => 255));
-  
+
   // Change mail column field length for revision table
   $table = key($field_info['storage']['details']['sql'][FIELD_LOAD_REVISION]);
   $mail_column_name = $field_info['storage']['details']['sql'][FIELD_LOAD_REVISION][$table]['mail'];
   db_change_field($table, $mail_column_name, $mail_column_name, array('type' => 'varchar', 'length' => 255));
-  
+
   return t('Mail field length successfully changed to 255.');
 }
diff --git a/anonymous_posting.module b/anonymous_posting.module
index a833c3a..e992143 100644
--- a/anonymous_posting.module
+++ b/anonymous_posting.module
@@ -187,24 +187,24 @@ function anonymous_posting_form_alter(&$form, &$form_state, $form_id) {
  */
 function _anonymous_posting_activated($node_type) {
   $instance = field_info_instance('node', ANONYMOUS_POSTING_FIELD_NAME, $node_type);
-  return !empty($instance);  
+  return !empty($instance);
 }
 
 /**
  * Implements hook_mollom_form_info_alter().
- * 
+ *
  * Integrate Anonymous Posting data to processed by Mollom.
  */
 function anonymous_posting_mollom_form_info_alter(&$form_info, $form_id) {
-  
+
   if (preg_match("/^(.+)_node_form$/", $form_id, $matches)) {
     if (_anonymous_posting_activated($matches[1])) {
-      
+
       // Expose Anonymous Posting fields so that they can be configured for Mollom's text analysis
       $form_info['elements'][ANONYMOUS_POSTING_FIELD_NAME . '][' . LANGUAGE_NONE . '][0][name'] = t('Anonymous posting author name');
       $form_info['elements'][ANONYMOUS_POSTING_FIELD_NAME . '][' . LANGUAGE_NONE . '][0][mail'] = t('Anonymous posting author mail');
       $form_info['elements'][ANONYMOUS_POSTING_FIELD_NAME . '][' . LANGUAGE_NONE . '][0][homepage'] = t('Anonymous posting author homepage');
-      
+
       // Map Anonymous Posting fields to be sent to Mollom for validation
       $form_info['mapping']['author_name'] = ANONYMOUS_POSTING_FIELD_NAME . '][' . LANGUAGE_NONE . '][0][name';
       $form_info['mapping']['author_mail'] = ANONYMOUS_POSTING_FIELD_NAME . '][' . LANGUAGE_NONE . '][0][mail';
diff --git a/anonymous_posting.tokens.inc b/anonymous_posting.tokens.inc
index b2d0d2c..f1053ec 100644
--- a/anonymous_posting.tokens.inc
+++ b/anonymous_posting.tokens.inc
@@ -1,6 +1,8 @@
 <?php
 
 /**
+ * @file
+ *
  * Implements hook_tokens_alter().
  */
 function anonymous_posting_tokens_alter(array &$replacements, array $context) {
@@ -11,7 +13,7 @@ function anonymous_posting_tokens_alter(array &$replacements, array $context) {
     && !$context['data']['node']->uid // true if node author is anonymous
     && $field_items = field_get_items('node', $context['data']['node'], ANONYMOUS_POSTING_FIELD_NAME)) {
     foreach ($replacements as $token => $replacement) {
-      $field = null;
+      $field = NULL;
       if (preg_match('/^\[(?:[^\s:]+:)*node:author(?:\:([^\s\:]+))?\]$/', $token, $matches)) {
         if (count($matches) > 1) { // token specify one of :
           switch ($matches[1]) {
