diff --git a/ParagraphsItemEntity.inc b/ParagraphsItemEntity.inc
index ef6fd51..80d2f8e 100644
--- a/ParagraphsItemEntity.inc
+++ b/ParagraphsItemEntity.inc
@@ -1,6 +1,6 @@
 <?php
+
 /**
- * @file
  * Entity implementation for the paragraphs entity.
  */
 
@@ -10,7 +10,7 @@
 class ParagraphsItemEntity extends Entity {
 
   /**
-   * paragraphs field info.
+   * Paragraphs field info.
    *
    * @var array
    */
@@ -26,14 +26,14 @@ class ParagraphsItemEntity extends Entity {
   /**
    * The host entity ID.
    *
-   * @var integer
+   * @var int
    */
   protected $hostEntityId;
 
   /**
    * The host entity revision ID if this is not the default revision.
    *
-   * @var integer
+   * @var int
    */
   protected $hostEntityRevisionId;
 
@@ -61,14 +61,14 @@ class ParagraphsItemEntity extends Entity {
   /**
    * Entity ID.
    *
-   * @var integer
+   * @var int
    */
   public $item_id;
 
   /**
-   * paragraphs revision ID.
+   * Paragraphs revision ID.
    *
-   * @var integer
+   * @var int
    */
   public $revision_id;
 
@@ -108,7 +108,8 @@ class ParagraphsItemEntity extends Entity {
     parent::__construct($values, 'paragraphs_item');
     if (isset($this->field_name)) {
 
-      // Ok, we have the field name property, we can proceed and check the field's type
+      // Ok, we have the field name property, we can proceed and
+      // check the field's type.
       $field_info = $this->fieldInfo();
 
       // Check if we have field info, if not, our field is deleted.
@@ -162,7 +163,7 @@ class ParagraphsItemEntity extends Entity {
       return '';
     }
 
-    // Should only happen when there is something wrong
+    // Should only happen when there is something wrong.
     return t('Unconnected paragraphs item');
   }
 
@@ -194,6 +195,7 @@ class ParagraphsItemEntity extends Entity {
    * @param $create_link
    *   (optional) Whether a field-item linking the host entity to the field
    *   collection item should be created.
+   *
    * @throws Exception
    *   When you try to set the host when the item has already been created.
    */
@@ -272,8 +274,7 @@ class ParagraphsItemEntity extends Entity {
   }
 
   /**
-   * Returns the bundle of the host entity, which embeds this paragraphs
-   * item.
+   * Returns the bundle of the host entity, which embeds this paragraphs item.
    */
   public function hostEntityBundle() {
     return $this->hostEntityBundle;
@@ -335,8 +336,7 @@ class ParagraphsItemEntity extends Entity {
   }
 
   /**
-   * Determines the $delta of the reference pointing to this paragraph
-   * item.
+   * Determines the $delta of the reference pointing to this paragraph item.
    */
   public function delta() {
     if (($entity = $this->hostEntity()) && isset($entity->{$this->field_name})) {
@@ -367,7 +367,7 @@ class ParagraphsItemEntity extends Entity {
   /**
    * Determines whether this paragraphs item revision is in use.
    *
-   * paragraphs items may be contained in from non-default host entity
+   * Paragraphs items may be contained in from non-default host entity
    * revisions. If the paragraphs item does not appear in the default
    * host entity revision, the item is actually not used by default and so
    * marked as 'archived'.
@@ -424,7 +424,7 @@ class ParagraphsItemEntity extends Entity {
         $host_entity->{$this->field_name}[$this->langcode][$delta] = array('entity' => $this);
       }
       else {
-        $host_entity->{$this->field_name}[$this->langcode][] =  array('entity' => $this);
+        $host_entity->{$this->field_name}[$this->langcode][] = array('entity' => $this);
       }
       return entity_save($this->hostEntityType, $host_entity);
     }
@@ -448,7 +448,6 @@ class ParagraphsItemEntity extends Entity {
    * a paragraphs item on the default revision of the host should not
    * delete the collection item from archived revisions too. Instead, we delete
    * the current default revision and archive the paragraph.
-   *
    */
   public function deleteRevision($skip_host_update = FALSE) {
     if (!$this->revision_id) {
@@ -507,6 +506,7 @@ class ParagraphsItemEntity extends Entity {
 
   /**
    * Ensure file fields on the entity have their URIs loaded for previews.
+   *
    * Copied from #1447338-7, thanks!
    */
   public function view($view_mode = 'full', $langcode = NULL, $page = NULL) {
@@ -564,4 +564,5 @@ class ParagraphsItemEntity extends Entity {
   public function __wakeup() {
     $this->setUp();
   }
+
 }
diff --git a/ParagraphsItemMetadataController.inc b/ParagraphsItemMetadataController.inc
index 21e7f5e..ebcc53f 100644
--- a/ParagraphsItemMetadataController.inc
+++ b/ParagraphsItemMetadataController.inc
@@ -1,19 +1,21 @@
 <?php
+
 /**
- * @file
  * Entity metadata implementation for the paragraphs entity.
  */
 
 /**
- * Class ParagraphsItemMetadataController
+ * Class ParagraphsItemMetadataController.
  */
 class ParagraphsItemMetadataController extends EntityDefaultMetadataController {
 
+  /**
+   *
+   */
   public function entityPropertyInfo() {
     $info = parent::entityPropertyInfo();
     $properties = &$info['paragraphs']['properties'];
 
-
     $properties['field_name']['label'] = t('Field name');
     $properties['field_name']['description'] = t('The machine-readable name of the paragraphs field containing this item.');
     $properties['field_name']['required'] = TRUE;
diff --git a/migrate/destinations/MigrateDestinationParagraphsItem.inc b/migrate/destinations/MigrateDestinationParagraphsItem.inc
index 8939040..109d532 100644
--- a/migrate/destinations/MigrateDestinationParagraphsItem.inc
+++ b/migrate/destinations/MigrateDestinationParagraphsItem.inc
@@ -1,7 +1,6 @@
 <?php
 
 /**
- * @file
  * Provides basic class for importing Paragraphs via Migrate API.
  */
 
@@ -16,11 +15,18 @@ class MigrateDestinationParagraphsItem extends MigrateDestinationEntity {
    * @var string
    */
   protected $field_name;
+
+  /**
+   *
+   */
   public function getFieldName() {
     return $this->field_name;
   }
 
-  static public function getKeySchema() {
+  /**
+   *
+   */
+  public static function getKeySchema() {
     return array(
       'item_id' => array(
         'type' => 'int',
@@ -47,23 +53,23 @@ class MigrateDestinationParagraphsItem extends MigrateDestinationEntity {
    * Return an options array for node destinations.
    *
    * @param string $language
-   *  Default language for nodes created via this destination class.
+   *   Default language for nodes created via this destination class.
    * @param string $text_format
-   *  Default text format for nodes created via this destination class.
+   *   Default text format for nodes created via this destination class.
    */
-  static public function options($language, $text_format) {
+  public static function options($language, $text_format) {
     return compact('language', 'text_format');
   }
 
-
   /**
    * Returns a list of fields available to be mapped for the node type (bundle)
    *
    * @param Migration $migration
-   *  Optionally, the migration containing this destination.
+   *   Optionally, the migration containing this destination.
+   *
    * @return array
-   *  Keys: machine names of the fields (to be passed to addFieldMapping)
-   *  Values: Human-friendly descriptions of the fields.
+   *   Keys: machine names of the fields (to be passed to addFieldMapping)
+   *   Values: Human-friendly descriptions of the fields.
    */
   public function fields($migration = NULL) {
     $fields = array();
@@ -81,7 +87,7 @@ class MigrateDestinationParagraphsItem extends MigrateDestinationEntity {
    * Delete a batch of nodes at once.
    *
    * @param $nids
-   *  Array of node IDs to be deleted.
+   *   Array of node IDs to be deleted.
    */
   public function bulkRollback(array $item_ids) {
     migrate_instrument_start('paragraphs_item_delete_multiple');
@@ -95,12 +101,13 @@ class MigrateDestinationParagraphsItem extends MigrateDestinationEntity {
    * Import a single node.
    *
    * @param $node
-   *  Node object to build. Prefilled with any fields mapped in the Migration.
+   *   Node object to build. Prefilled with any fields mapped in the Migration.
    * @param $row
-   *  Raw source data object - passed through to prepare/complete handlers.
+   *   Raw source data object - passed through to prepare/complete handlers.
+   *
    * @return array
-   *  Array of key fields (nid only in this case) of the node that was saved if
-   *  successful. FALSE on failure.
+   *   Array of key fields (nid only in this case) of the node that was saved if
+   *   successful. FALSE on failure.
    */
   public function import(stdClass $paragraphs_item, stdClass $row) {
     $migration = Migration::currentMigration();
@@ -148,7 +155,7 @@ class MigrateDestinationParagraphsItem extends MigrateDestinationEntity {
           array('!item_id' => $paragraphs_item->item_id)));
       }
     }
-    // Provide defaults for SOURCE d
+    // Provide defaults for SOURCE d.
     else {
       // Set some default properties.
       $defaults = array(
@@ -177,7 +184,6 @@ class MigrateDestinationParagraphsItem extends MigrateDestinationEntity {
       $entity = entity_create('paragraphs_item', (array) $paragraphs_item);
     }
 
-
     if (isset($entity->item_id) && $entity->item_id) {
       $updating = TRUE;
     }
@@ -204,4 +210,5 @@ class MigrateDestinationParagraphsItem extends MigrateDestinationEntity {
     }
     return $return;
   }
+
 }
diff --git a/migrate/fields/ParagraphsMigrateParagraphsFieldHandler.inc b/migrate/fields/ParagraphsMigrateParagraphsFieldHandler.inc
index 165a593..82321e5 100644
--- a/migrate/fields/ParagraphsMigrateParagraphsFieldHandler.inc
+++ b/migrate/fields/ParagraphsMigrateParagraphsFieldHandler.inc
@@ -1,14 +1,18 @@
 <?php
 
 /**
- * Class ParagraphsMigrateParagraphsFieldHandler
+ * Provides migrate field handler.
+ */
+
+/**
+ * Class ParagraphsMigrateParagraphsFieldHandler.
  *
  * Provides migrate field handler for paragraphs field.
  */
 class ParagraphsMigrateParagraphsFieldHandler extends MigrateSimpleFieldHandler {
 
   /**
-   * @inheritdoc
+   * {@inheritdoc}
    */
   public function __construct() {
     parent::__construct(array(
@@ -34,14 +38,14 @@ class ParagraphsMigrateParagraphsFieldHandler extends MigrateSimpleFieldHandler
   }
 
   /**
-   * @inheritdoc
+   * {@inheritdoc}
    */
   protected function notNull($value) {
     return !is_null($value) && $value !== FALSE;
   }
 
   /**
-   * @inheritdoc
+   * {@inheritdoc}
    */
   public function prepare($entity, array $field_info, array $instance, array $values) {
     $arguments = array();
@@ -116,4 +120,5 @@ class ParagraphsMigrateParagraphsFieldHandler extends MigrateSimpleFieldHandler
 
     return $return;
   }
+
 }
diff --git a/modules/paragraphs_bundle_permissions/paragraphs_bundle_permissions.module b/modules/paragraphs_bundle_permissions/paragraphs_bundle_permissions.module
index 12c0f85..64bbcdd 100644
--- a/modules/paragraphs_bundle_permissions/paragraphs_bundle_permissions.module
+++ b/modules/paragraphs_bundle_permissions/paragraphs_bundle_permissions.module
@@ -1,4 +1,5 @@
 <?php
+
 /**
  * @file
  * Add view / create / update / delete permissions for all paragraph bundles.
@@ -74,7 +75,7 @@ function paragraphs_bundle_permissions_permission() {
   $bundles = paragraphs_bundle_load();
   foreach ($bundles as $machine_name => $bundle) {
     $perms += array(
-      'view paragraph content ' .$machine_name => array(
+      'view paragraph content ' . $machine_name => array(
         'title' => t('%type_name: View content', array('%type_name' => $bundle->name)),
         'description' => t('Is able to view paragraphs content of bundle %type_name', array('%type_name' => $bundle->name)),
       ),
diff --git a/modules/paragraphs_i18n/paragraphs_i18n.module b/modules/paragraphs_i18n/paragraphs_i18n.module
index c849853..3be96db 100644
--- a/modules/paragraphs_i18n/paragraphs_i18n.module
+++ b/modules/paragraphs_i18n/paragraphs_i18n.module
@@ -1,26 +1,31 @@
 <?php
 
 /**
+ * @file
+ * Holds function for paragraph field prepare translation.
+ */
+
+/**
  * Implements hook_field_prepare_translation().
  *
  * @see field_attach_prepare_translation()
  */
 function paragraphs_i18n_field_prepare_translation($entity_type, $entity, $field, $instance, $langcode, &$items, $source_entity, $source_langcode) {
-    list($id, , ) = entity_extract_ids($entity_type, $entity);
+  list($id, ,) = entity_extract_ids($entity_type, $entity);
 
-    if (empty($id)) {
-        $news_items = array();
-        foreach ($items as $key => &$item) {
-            if ($current_entity = paragraphs_field_get_entity($item)) {
-                $current_entity = replicate_clone_entity('paragraphs_item', $current_entity);
-                $current_entity->setHostEntity($entity_type, $source_entity, $langcode, FALSE);
-                $current_entity->save(TRUE);
-                $news_items[] = array(
-                    'value' => $current_entity->item_id,
-                    'revision_id' => $current_entity->revision_id,
-                );
-            }
-        }
-        $items = $news_items;
+  if (empty($id)) {
+    $news_items = array();
+    foreach ($items as $key => &$item) {
+      if ($current_entity = paragraphs_field_get_entity($item)) {
+        $current_entity = replicate_clone_entity('paragraphs_item', $current_entity);
+        $current_entity->setHostEntity($entity_type, $source_entity, $langcode, FALSE);
+        $current_entity->save(TRUE);
+        $news_items[] = array(
+          'value' => $current_entity->item_id,
+          'revision_id' => $current_entity->revision_id,
+        );
+      }
     }
-}
\ No newline at end of file
+    $items = $news_items;
+  }
+}
diff --git a/paragraphs.admin.inc b/paragraphs.admin.inc
index 6d57e73..b2608a0 100644
--- a/paragraphs.admin.inc
+++ b/paragraphs.admin.inc
@@ -1,4 +1,5 @@
 <?php
+
 /**
  * @file
  * Admin functions for the paragraphs module.
@@ -19,7 +20,7 @@ function paragraphs_admin_bundle_overview() {
 
   $header = array(
     t('Bundle name'),
-    array('data' => t('Operations'), 'colspan' => $field_ui ? '4' : '2')
+    array('data' => t('Operations'), 'colspan' => $field_ui ? '4' : '2'),
   );
   $rows = array();
   foreach ($bundles as $bundle) {
@@ -32,29 +33,29 @@ function paragraphs_admin_bundle_overview() {
           '@bundle_name' => $bundle->name,
           '@bundle_machine_name' => $bundle->bundle,
         )),
-      )
+      ),
     );
 
     if ($field_ui) {
 
       // Manage fields.
       $row[] = array(
-        'data' => l(t('manage fields'), 'admin/structure/paragraphs/' . $type_url_str . '/fields')
+        'data' => l(t('manage fields'), 'admin/structure/paragraphs/' . $type_url_str . '/fields'),
       );
 
       // Display fields.
       $row[] = array(
-        'data' => l(t('manage display'), 'admin/structure/paragraphs/' . $type_url_str . '/display')
+        'data' => l(t('manage display'), 'admin/structure/paragraphs/' . $type_url_str . '/display'),
       );
     }
 
     // Manage bundle.
     $row[] = array(
-      'data' => l(t('edit bundle'), 'admin/structure/paragraphs/' . $type_url_str . '/edit')
+      'data' => l(t('edit bundle'), 'admin/structure/paragraphs/' . $type_url_str . '/edit'),
     );
     // Delete bundle.
     $row[] = array(
-      'data' => l(t('delete bundle'), 'admin/structure/paragraphs/' . $type_url_str . '/delete')
+      'data' => l(t('delete bundle'), 'admin/structure/paragraphs/' . $type_url_str . '/delete'),
     );
 
     $rows[$bundle->bundle] = $row;
@@ -80,7 +81,7 @@ function paragraphs_admin_bundle_overview() {
 function paragraphs_admin_bundle_form($form, &$form_state, $bundle = NULL) {
 
   if (!isset($bundle) && !$bundle) {
-    // This is a new bundle
+    // This is a new bundle.
     $bundle = new stdClass();
     $bundle->name = '';
     $bundle->bundle = '';
@@ -185,7 +186,6 @@ function paragraphs_admin_bundle_form_submit($form, &$form_state) {
 
   unset($variables['form_token'], $variables['op'], $variables['submit'], $variables['delete'], $variables['reset'], $variables['form_id'], $variables['form_build_id']);
 
-
   $status = paragraphs_bundle_save($bundle);
 
   $t_args = array('%name' => $bundle->name);
@@ -203,7 +203,7 @@ function paragraphs_admin_bundle_form_submit($form, &$form_state) {
 }
 
 /**
- * Menu callback; delete a single paragraph bundle
+ * Menu callback; delete a single paragraph bundle.
  *
  * @ingroup forms
  */
@@ -246,4 +246,4 @@ function paragraphs_admin_bundle_delete_form_submit($form, &$form_state) {
  */
 function paragraphs_bundle_title_callback($bundle) {
   return t('Edit Paragraph Bundle !name', array('!name' => $bundle->name));
-}
\ No newline at end of file
+}
diff --git a/paragraphs.ajax.inc b/paragraphs.ajax.inc
index 2b4645a..cd8e6f5 100644
--- a/paragraphs.ajax.inc
+++ b/paragraphs.ajax.inc
@@ -33,7 +33,7 @@ function paragraphs_edit_js() {
   $return = array(
     '#type' => 'ajax',
     '#commands' => array(
-      ajax_command_replace('#' . $element['#id'], drupal_render($element))
+      ajax_command_replace('#' . $element['#id'], drupal_render($element)),
     ),
   );
 
@@ -75,7 +75,7 @@ function paragraphs_collapse_js() {
   $return = array(
     '#type' => 'ajax',
     '#commands' => array(
-      ajax_command_replace('#' . $element['#id'], drupal_render($element))
+      ajax_command_replace('#' . $element['#id'], drupal_render($element)),
     ),
   );
 
@@ -117,7 +117,7 @@ function paragraphs_remove_js() {
   $return = array(
     '#type' => 'ajax',
     '#commands' => array(
-      ajax_command_replace('#' . $element['#id'], drupal_render($element))
+      ajax_command_replace('#' . $element['#id'], drupal_render($element)),
     ),
   );
 
@@ -131,7 +131,6 @@ function paragraphs_remove_js() {
   return $return;
 }
 
-
 /**
  * Page callback to handle AJAX for removing a paragraphs item.
  *
@@ -160,7 +159,7 @@ function paragraphs_deleteconfirm_js() {
   $return = array(
     '#type' => 'ajax',
     '#commands' => array(
-      ajax_command_replace('#' . $element['#id'], drupal_render($element))
+      ajax_command_replace('#' . $element['#id'], drupal_render($element)),
     ),
   );
 
@@ -202,7 +201,7 @@ function paragraphs_restore_js() {
   $return = array(
     '#type' => 'ajax',
     '#commands' => array(
-      ajax_command_replace('#' . $element['#id'], drupal_render($element))
+      ajax_command_replace('#' . $element['#id'], drupal_render($element)),
     ),
   );
 
diff --git a/paragraphs.features.inc b/paragraphs.features.inc
index 9ae7eac..e907470 100644
--- a/paragraphs.features.inc
+++ b/paragraphs.features.inc
@@ -78,7 +78,7 @@ function paragraphs_features_export_render($module, $data, $export = NULL) {
  * Implements hook_features_revert().
  *
  * @param $module
- * name of module to revert content for
+ *   name of module to revert content for
  */
 function paragraphs_features_revert($module = NULL) {
   if ($default_types = features_get_default('paragraphs', $module)) {
diff --git a/paragraphs.field_formatter.inc b/paragraphs.field_formatter.inc
index 90a8177..b359c2f 100644
--- a/paragraphs.field_formatter.inc
+++ b/paragraphs.field_formatter.inc
@@ -13,7 +13,7 @@ function paragraphs_field_formatter_info() {
     'paragraphs_view' => array(
       'label' => t('Paragraphs items'),
       'field types' => array('paragraphs'),
-      'settings' =>  array(
+      'settings' => array(
         'view_mode' => 'full',
       ),
     ),
@@ -56,11 +56,10 @@ function paragraphs_field_formatter_settings_summary($field, $instance, $view_mo
   $settings = $display['settings'];
   $output = array();
 
-
   if ($display['type'] == 'paragraphs_view') {
     $entity_type = entity_get_info('paragraphs_item');
     if (!empty($entity_type['view modes'][$settings['view_mode']]['label'])) {
-      $output[] =  t('View mode: @mode', array('@mode' => $entity_type['view modes'][$settings['view_mode']]['label']));
+      $output[] = t('View mode: @mode', array('@mode' => $entity_type['view modes'][$settings['view_mode']]['label']));
     }
     else {
       $output[] = ' ';
diff --git a/paragraphs.field_widget.inc b/paragraphs.field_widget.inc
index 2aa1331..638e623 100644
--- a/paragraphs.field_widget.inc
+++ b/paragraphs.field_widget.inc
@@ -37,10 +37,11 @@ function paragraphs_field_widget_form(&$form, &$form_state, $field, $instance, $
     case 'paragraphs_hidden':
       return $element;
 
-      break;
+    break;
     case 'paragraphs_embed':
       return paragraphs_field_multiple_value_form($field, $instance, $langcode, $items, $form, $form_state, $delta, $element);
-      break;
+
+    break;
   }
 }
 
@@ -50,7 +51,7 @@ function paragraphs_field_widget_form(&$form, &$form_state, $field, $instance, $
  * Handles generic features for multiple fields:
  * - number of widgets
  * - AHAH-'add more' button
- * - drag-n-drop value reordering
+ * - drag-n-drop value reordering.
  */
 function paragraphs_field_multiple_value_form($field, $instance, $langcode, $items, &$form, &$form_state, $delta, $original_element) {
   $field_name = $field['field_name'];
@@ -186,7 +187,6 @@ function paragraphs_field_multiple_value_form($field, $instance, $langcode, $ite
           'weight' => $weight,
         );
 
-
         /* @var $entity_shell ParagraphsItemEntity */
         $entity_shell = entity_create('paragraphs_item', array('bundle' => $machine_name, 'field_name' => $field_name));
         $entity_shell->setHostEntity($original_element['#entity_type'], $original_element['#entity'], $langcode, FALSE);
@@ -196,12 +196,12 @@ function paragraphs_field_multiple_value_form($field, $instance, $langcode, $ite
           $removed_a_bundle = TRUE;
         }
         elseif (isset($instance['settings']['bundle_weights'][$machine_name])) {
-            $select_bundles[$machine_name]['weight'] = $instance['settings']['bundle_weights'][$machine_name];
+          $select_bundles[$machine_name]['weight'] = $instance['settings']['bundle_weights'][$machine_name];
         }
         $weight++;
       }
 
-      if($removed_a_bundle && count($select_bundles) === 0) {
+      if ($removed_a_bundle && count($select_bundles) === 0) {
         $field_elements['add_more'] = array(
           '#type' => 'container',
           '#tree' => TRUE,
@@ -500,7 +500,7 @@ function paragraphs_field_widget_form_build(&$form, &$form_state, $field, $insta
         }
       }
       else {
-        if($default_edit_mode === 'preview' && entity_access('view', 'paragraphs_item', $paragraph_item)) {
+        if ($default_edit_mode === 'preview' && entity_access('view', 'paragraphs_item', $paragraph_item)) {
           $element['paragraph_bundle_preview'] = array(
             '#type' => 'container',
           );
@@ -542,7 +542,6 @@ function paragraphs_field_widget_form_build(&$form, &$form_state, $field, $insta
         );
       }
 
-
       if (isset($paragraph_item)) {
         $element['actions']['remove_button'] = array(
           '#delta' => $delta,
@@ -561,7 +560,6 @@ function paragraphs_field_widget_form_build(&$form, &$form_state, $field, $insta
         );
       }
 
-
       if (isset($element['actions']['edit_button']) && !$element['actions']['edit_button']['#access']
           && isset($element['actions']['remove_button']) && !$element['actions']['remove_button']['#access']) {
         $element['access_info'] = array(
@@ -642,7 +640,6 @@ function paragraphs_field_widget_form_build(&$form, &$form_state, $field, $insta
   return $element;
 }
 
-
 /**
  * FAPI #after_build of an individual paragraph element to delay the validation of #required.
  */
@@ -752,6 +749,7 @@ function paragraphs_field_widget_embed_validate($element, &$form_state, $complet
 
 /**
  * Submit function to add another paragraph.
+ *
  * @param $form
  * @param $form_state
  */
@@ -807,7 +805,6 @@ function paragraphs_add_more_js($form, $form_state) {
   return $element;
 }
 
-
 /**
  * Submit callback to remove an item from the field UI multiple wrapper.
  *
@@ -848,7 +845,7 @@ function paragraphs_remove_submit($form, &$form_state) {
   // the user had selected.
   $input = drupal_array_get_nested_value($form_state['input'], $address);
   // Sort by weight,
-  // but first remove garbage values to ensure proper '_weight' sorting
+  // but first remove garbage values to ensure proper '_weight' sorting.
   unset($input['add_more']);
   uasort($input, '_field_sort_items_helper');
 
@@ -906,7 +903,7 @@ function paragraphs_edit_submit($form, &$form_state) {
   // the user had selected.
   $input = drupal_array_get_nested_value($form_state['input'], $address);
   // Sort by weight,
-  // but first remove garbage values to ensure proper '_weight' sorting
+  // but first remove garbage values to ensure proper '_weight' sorting.
   unset($input['add_more']);
   uasort($input, '_field_sort_items_helper');
 
@@ -965,7 +962,7 @@ function paragraphs_collapse_submit($form, &$form_state) {
   // the user had selected.
   $input = drupal_array_get_nested_value($form_state['input'], $address);
   // Sort by weight,
-  // but first remove garbage values to ensure proper '_weight' sorting
+  // but first remove garbage values to ensure proper '_weight' sorting.
   unset($input['add_more']);
   uasort($input, '_field_sort_items_helper');
 
@@ -1024,7 +1021,7 @@ function paragraphs_deleteconfirm_submit($form, &$form_state) {
   // the user had selected.
   $input = drupal_array_get_nested_value($form_state['input'], $address);
   // Sort by weight,
-  // but first remove garbage values to ensure proper '_weight' sorting
+  // but first remove garbage values to ensure proper '_weight' sorting.
   unset($input['add_more']);
   uasort($input, '_field_sort_items_helper');
 
@@ -1044,6 +1041,7 @@ function paragraphs_deleteconfirm_submit($form, &$form_state) {
 
 /**
  * Submit function to restore a paragraph that was deleted.
+ *
  * @param $form
  * @param $form_state
  */
@@ -1062,12 +1060,10 @@ function paragraphs_restore_submit($form, &$form_state) {
 
   $field_state = field_form_get_state($parents, $field_name, $langcode, $form_state);
 
-
   if (isset($field_state['entity'][$delta])) {
     $field_state['entity'][$delta]->removed = 0;
   }
 
-
   // Fix the weights. Field UI lets the weights be in a range of
   // (-1 * item_count) to (item_count). This means that when we remove one,
   // the range shrinks; weights outside of that range then get set to
@@ -1079,7 +1075,7 @@ function paragraphs_restore_submit($form, &$form_state) {
   // the user had selected.
   $input = drupal_array_get_nested_value($form_state['input'], $address);
   // Sort by weight,
-  // but first remove garbage values to ensure proper '_weight' sorting
+  // but first remove garbage values to ensure proper '_weight' sorting.
   unset($input['add_more']);
   uasort($input, '_field_sort_items_helper');
 
diff --git a/paragraphs.migrate.inc b/paragraphs.migrate.inc
index 453eef4..abbdda5 100644
--- a/paragraphs.migrate.inc
+++ b/paragraphs.migrate.inc
@@ -1,6 +1,11 @@
 <?php
 
 /**
+ * @file
+ * Holds relevant functions for paragraph Migrate API.
+ */
+
+/**
  * Implements hook_migrate_api().
  */
 function paragraphs_migrate_api() {
diff --git a/paragraphs.module b/paragraphs.module
index 4c1ce96..b1d1fd3 100644
--- a/paragraphs.module
+++ b/paragraphs.module
@@ -1,4 +1,5 @@
 <?php
+
 /**
  * @file
  * Paragraphs hooks and common functions.
@@ -40,6 +41,7 @@ require_once dirname(__FILE__) . '/paragraphs.node_clone.inc';
  *   The paragraphs item ID.
  * @param $reset
  *   Should we reset the entity cache?
+ *
  * @return ParagraphsItemEntity
  *   The paragraphs item entity or FALSE.
  */
@@ -53,6 +55,7 @@ function paragraphs_item_load($item_id, $reset = FALSE) {
  *
  * @param $revision_id
  *   The paragraphs revision ID.
+ *
  * @return ParagraphsItemEntity
  *   The paragraphs item entity or FALSE.
  */
@@ -69,6 +72,7 @@ function paragraphs_item_revision_load($revision_id) {
  *   Should we reset the entity cache?
  * @param $reset
  *   Should we reset the entity cache?
+ *
  * @return ParagraphsItemEntity[]
  *   An array of paragraphs item entities.
  */
@@ -202,7 +206,8 @@ function paragraphs_item_access($op, $entity, $account, $entity_type) {
   }
   elseif (in_array(PARAGRAPHS_ITEM_ACCESS_ALLOW, $access, TRUE)) {
     $user_access_permission = TRUE;
-  } else {
+  }
+  else {
     // Deny access by default.
     $user_access_permission = FALSE;
   }
@@ -232,7 +237,7 @@ function paragraphs_item_access($op, $entity, $account, $entity_type) {
  */
 function paragraphs_paragraphs_item_access($entity, $op, $account) {
   $permissions = &drupal_static(__FUNCTION__, array());
-  $parent_permissions = &drupal_static(__FUNCTION__  . '_parents', array());
+  $parent_permissions = &drupal_static(__FUNCTION__ . '_parents', array());
 
   if (!in_array($op, array('view', 'update', 'delete', 'create'), TRUE)) {
     // If there was no bundle to check against, or the $op was not one of the
@@ -268,7 +273,8 @@ function paragraphs_paragraphs_item_access($entity, $op, $account) {
   if (empty($entity)) {
     // Ignore access when we don't have a host entity.
     $permissions[$account->uid][$cid][$op] = PARAGRAPHS_ITEM_ACCESS_IGNORE;
-  } elseif ($host_entity = $entity->hostEntity()) {
+  }
+  elseif ($host_entity = $entity->hostEntity()) {
     $host_entity_info = entity_get_info($entity->hostEntityType());
     $host_id_key = $host_entity_info['entity keys']['id'];
 
@@ -287,12 +293,14 @@ function paragraphs_paragraphs_item_access($entity, $op, $account) {
     if (entity_access($check_parent_op, $entity->hostEntityType(), $host_entity)) {
       $permissions[$account->uid][$cid][$op] = PARAGRAPHS_ITEM_ACCESS_ALLOW;
       $parent_permissions[$account->uid][$parent_cid][$check_parent_op] = PARAGRAPHS_ITEM_ACCESS_ALLOW;
-    } else {
+    }
+    else {
       // Deny access as parent entity access failed.
       $permissions[$account->uid][$cid][$op] = PARAGRAPHS_ITEM_ACCESS_DENY;
       $parent_permissions[$account->uid][$parent_cid][$check_parent_op] = PARAGRAPHS_ITEM_ACCESS_DENY;
     }
-  } else {
+  }
+  else {
     // Ignore access when we don't have a host entity.
     $permissions[$account->uid][$cid][$op] = PARAGRAPHS_ITEM_ACCESS_IGNORE;
   }
@@ -313,7 +321,6 @@ function paragraphs_permission() {
   return $perms;
 }
 
-
 /**
  * Implements hook_menu().
  */
@@ -418,7 +425,6 @@ function paragraphs_menu() {
   return $items;
 }
 
-
 /**
  * Implements hook_field_info().
  */
@@ -452,6 +458,9 @@ function paragraphs_form_field_ui_field_edit_form_alter(&$form, $form_state) {
   }
 }
 
+/**
+ *
+ */
 function paragraphs_bundle_settings_form_submit($form, &$form_state) {
   $bundle_settings = array();
   $bundle_weights = array();
@@ -562,21 +571,21 @@ function paragraphs_field_instance_settings_form($field, $instance) {
     '#type' => $elements_exists ? 'numberfield' : 'textfield',
     '#title' => t('Edit mode override'),
     '#title_display' => 'invisible',
-    '#field_prefix' => t('Force items to display as "Open" when there are less then '),
-    '#field_suffix' => t(' items.'),
+    '#field_prefix' => t('Force items to display as "Open" when there are less then'),
+    '#field_suffix' => t('items.'),
     '#default_value' => (isset($settings['default_edit_mode_override']) && !empty($settings['default_edit_mode_override'])) ? $settings['default_edit_mode_override'] : PARAGRAPHS_DEFAULT_EDIT_MODE_OVERRIDE,
     '#states' => array(
-      // Hide the settings when the the default edit mode is set to "Open."
+      // Hide the settings when the the default edit mode is set to "Open.".
       'invisible' => array(
-       ':input[name="instance[settings][default_edit_mode]"]' => array('value' => 'open'),
+        ':input[name="instance[settings][default_edit_mode]"]' => array('value' => 'open'),
       ),
     ),
-      '#size' => 2,
-      '#maxlength' => 2,
+    '#size' => 2,
+    '#maxlength' => 2,
       // Specify width, since size property isn't supported on number fields.
-      '#attributes' => $elements_exists ? array('style' => 'width:3em') : array(),
-      '#min' => 1,
-      '#max' => 99,
+    '#attributes' => $elements_exists ? array('style' => 'width:3em') : array(),
+    '#min' => 1,
+    '#max' => 99,
   );
   if (!$elements_exists) {
     $element['default_edit_mode_override']['#element_validate'] = array('element_validate_integer_positive');
@@ -597,7 +606,7 @@ function paragraphs_field_instance_settings_form($field, $instance) {
   if (!count($bundles)) {
     $element['allowed_bundles_explain'] = array(
       '#type' => 'markup',
-      '#markup' => t('You did not add any paragraph bundles yet, click !here to add one.', array('!here' => l(t('here'), 'admin/structure/paragraphs/add', array('query' => drupal_get_destination()))))
+      '#markup' => t('You did not add any paragraph bundles yet, click !here to add one.', array('!here' => l(t('here'), 'admin/structure/paragraphs/add', array('query' => drupal_get_destination())))),
     );
   }
 
@@ -623,6 +632,9 @@ function paragraphs_field_instance_settings_form($field, $instance) {
   return $element;
 }
 
+/**
+ *
+ */
 function theme_paragraphs_bundle_settings_form($variables) {
   $form = $variables['form'];
 
@@ -709,7 +721,6 @@ function paragraphs_field_settings_form($field, $instance) {
   return $form;
 }
 
-
 /**
  * Implements hook_field_presave().
  *
@@ -725,7 +736,8 @@ function paragraphs_field_presave($host_entity_type, $host_entity, $field, $inst
     $entity = FALSE;
     if (isset($item['entity'])) {
       $entity = paragraphs_field_get_entity($item);
-    } elseif (isset($item['revision_id'])) {
+    }
+    elseif (isset($item['revision_id'])) {
       $entity = paragraphs_item_revision_load($item['revision_id']);
     }
 
@@ -759,7 +771,6 @@ function paragraphs_field_presave($host_entity_type, $host_entity, $field, $inst
   }
 }
 
-
 /**
  * Implements hook_field_update().
  *
@@ -924,7 +935,7 @@ function paragraphs_item_is_empty(ParagraphsItemEntity $item) {
 }
 
 /**
- * Load a specific bundle or a list of bundles
+ * Load a specific bundle or a list of bundles.
  *
  * @param string|null $name
  *   The machine name or list of bundles to load when null.
@@ -932,14 +943,14 @@ function paragraphs_item_is_empty(ParagraphsItemEntity $item) {
  * @param bool $rebuild
  *   Whether to use cache or not.
  *
- * @return array|stdClass|bool
+ * @return array|object|bool
  *   The bundle, a list of bundles, or FALSE when not found.
  */
 function paragraphs_bundle_load($name = NULL, $rebuild = FALSE) {
   $cid = 'paragraphs_bundles';
   $bundles = array();
 
-  // Load bundles from static or from Drupal cache
+  // Load bundles from static or from Drupal cache.
   $_bundles = &drupal_static($cid);
   if (isset($_bundles) && !$rebuild) {
     $bundles = $_bundles;
@@ -985,7 +996,7 @@ function paragraphs_panelizer_bundle_name_load($name) {
 /**
  * Function to create or update an paragraphs bundle.
  *
- * @param stdClass $bundle
+ * @param object $bundle
  *   The object of the bundle to create/update.
  *
  * @return int
@@ -1223,7 +1234,6 @@ function theme_paragraphs_field_multiple_value_form($variables) {
     }
   }
 
-
   $output = '<div class="form-item">';
   if (count($items)) {
     $output .= $field_content;
@@ -1337,7 +1347,7 @@ function paragraphs_field_attach_form($entity_type, $entity, &$form, &$form_stat
   // paragraphs break completely.
   // A proper implementation of entity_translation has still to be discussed.
   // @see https://drupal.org/node/2152931
-  list( , , $bundle) = entity_extract_ids($entity_type, $entity);
+  list(, , $bundle) = entity_extract_ids($entity_type, $entity);
 
   foreach (field_info_instances($entity_type, $bundle) as $instance) {
 
@@ -1354,7 +1364,7 @@ function paragraphs_field_attach_form($entity_type, $entity, &$form, &$form_stat
         if (!empty($element['#process'])) {
           $key = array_search('entity_translation_prepare_element', $element['#process']);
 
-          if ($key !== FALSE)  {
+          if ($key !== FALSE) {
             unset($element['#process'][$key]);
           }
         }
@@ -1370,16 +1380,17 @@ function paragraphs_field_attach_form($entity_type, $entity, &$form, &$form_stat
  */
 function paragraphs_field_prepare_translation($entity_type, $entity, $field, $instance, $langcode, &$items, $source_entity, $source_langcode) {
   if (!module_exists("paragraphs_i18n")) {
-      list($id, , ) = entity_extract_ids($entity_type, $entity);
+    list($id, ,) = entity_extract_ids($entity_type, $entity);
 
-      // field_attach_prepare_translation() copied the entity ids from the source,
-      // as we need a new entity for a new translation, we cannot reuse that.
-      // @todo clone existing paragraphs to new translation
-      if (empty($id)) {
-          $items = array();
-      }
-  } else {
-      paragraphs_i18n_field_prepare_translation($entity_type, $entity, $field, $instance, $langcode, $items, $source_entity, $source_langcode);
+    // field_attach_prepare_translation() copied the entity ids from the source,
+    // as we need a new entity for a new translation, we cannot reuse that.
+    // @todo clone existing paragraphs to new translation
+    if (empty($id)) {
+      $items = array();
+    }
+  }
+  else {
+    paragraphs_i18n_field_prepare_translation($entity_type, $entity, $field, $instance, $langcode, $items, $source_entity, $source_langcode);
   }
 }
 
@@ -1455,4 +1466,4 @@ function paragraphs_modules_uninstalled($modules) {
   if (in_array('entitycache', $modules)) {
     paragraphs_remove_entitycache_table();
   }
-}
\ No newline at end of file
+}
diff --git a/paragraphs.node_clone.inc b/paragraphs.node_clone.inc
index ac1c9de..2e2486d 100644
--- a/paragraphs.node_clone.inc
+++ b/paragraphs.node_clone.inc
@@ -58,7 +58,7 @@ function paragraphs_clone_items($entity_type, &$entity, $field_name, $language =
   unset($entity->{$field_name}[$language]);
 
   foreach ($old_items as $old_item) {
-    list( , , $bundle) = entity_extract_ids('paragraphs_item', $old_item);
+    list(, , $bundle) = entity_extract_ids('paragraphs_item', $old_item);
 
     /* @var $new_item ParagraphsItemEntity */
     $new_item = entity_create('paragraphs_item', array('bundle' => $bundle, 'field_name' => $field_name));
@@ -75,4 +75,4 @@ function paragraphs_clone_items($entity_type, &$entity, $field_name, $language =
       }
     }
   }
-}
\ No newline at end of file
+}
diff --git a/plugins/panelizer/entity/PanelizerEntityParagraphsItem.class.php b/plugins/panelizer/entity/PanelizerEntityParagraphsItem.class.php
index cd893ce..edb557e 100644
--- a/plugins/panelizer/entity/PanelizerEntityParagraphsItem.class.php
+++ b/plugins/panelizer/entity/PanelizerEntityParagraphsItem.class.php
@@ -1,6 +1,6 @@
 <?php
+
 /**
- * @file
  * Class for the Panelizer paragraphs item entity plugin.
  */
 
@@ -62,7 +62,7 @@ class PanelizerEntityParagraphsItem extends PanelizerEntityDefault {
   /**
    * {@inheritdoc}
    */
-  function get_default_display($bundle, $view_mode) {
+  public function get_default_display($bundle, $view_mode) {
     // For now we just go with the empty display.
     // @todo come up with a better default display.
     return parent::get_default_display($bundle, $view_mode);
diff --git a/plugins/panelizer/entity/paragraphs_item.inc b/plugins/panelizer/entity/paragraphs_item.inc
index 01186fb..15d57b6 100644
--- a/plugins/panelizer/entity/paragraphs_item.inc
+++ b/plugins/panelizer/entity/paragraphs_item.inc
@@ -1,4 +1,5 @@
 <?php
+
 /**
  * @file
  * Definition of the paragraphs item plugin.
diff --git a/tests/paragraphs.test b/tests/paragraphs.test
index c75ef02..6b79756 100644
--- a/tests/paragraphs.test
+++ b/tests/paragraphs.test
@@ -1,7 +1,6 @@
 <?php
 
 /**
- * @file
  * Holds test for paragraphs.
  */
 
diff --git a/tests/paragraphs_test/paragraphs_test.features.field_base.inc b/tests/paragraphs_test/paragraphs_test.features.field_base.inc
index 718df63..f31d202 100644
--- a/tests/paragraphs_test/paragraphs_test.features.field_base.inc
+++ b/tests/paragraphs_test/paragraphs_test.features.field_base.inc
@@ -1,4 +1,5 @@
 <?php
+
 /**
  * @file
  * paragraphs_test.features.field_base.inc
@@ -10,7 +11,7 @@
 function paragraphs_test_field_default_field_bases() {
   $field_bases = array();
 
-  // Exported field_base: 'field_paragraphs'
+  // Exported field_base: 'field_paragraphs'.
   $field_bases['field_paragraphs'] = array(
     'active' => 1,
     'cardinality' => -1,
@@ -26,7 +27,7 @@ function paragraphs_test_field_default_field_bases() {
     'type' => 'paragraphs',
   );
 
-  // Exported field_base: 'field_ptest_text'
+  // Exported field_base: 'field_ptest_text'.
   $field_bases['field_ptest_text'] = array(
     'active' => 1,
     'cardinality' => 1,
diff --git a/tests/paragraphs_test/paragraphs_test.features.field_instance.inc b/tests/paragraphs_test/paragraphs_test.features.field_instance.inc
index 32d0c42..2e7a8ab 100644
--- a/tests/paragraphs_test/paragraphs_test.features.field_instance.inc
+++ b/tests/paragraphs_test/paragraphs_test.features.field_instance.inc
@@ -1,4 +1,5 @@
 <?php
+
 /**
  * @file
  * paragraphs_test.features.field_instance.inc
@@ -10,7 +11,7 @@
 function paragraphs_test_field_default_field_instances() {
   $field_instances = array();
 
-  // Exported field_instance: 'node-paragraph_test-field_paragraphs'
+  // Exported field_instance: 'node-paragraph_test-field_paragraphs'.
   $field_instances['node-paragraph_test-field_paragraphs'] = array(
     'bundle' => 'paragraph_test',
     'default_value' => NULL,
@@ -59,7 +60,7 @@ function paragraphs_test_field_default_field_instances() {
     ),
   );
 
-  // Exported field_instance: 'paragraphs_item-ptest-field_ptest_text'
+  // Exported field_instance: 'paragraphs_item-ptest-field_ptest_text'.
   $field_instances['paragraphs_item-ptest-field_ptest_text'] = array(
     'bundle' => 'ptest',
     'default_value' => NULL,
diff --git a/tests/paragraphs_test/paragraphs_test.features.inc b/tests/paragraphs_test/paragraphs_test.features.inc
index afc04bf..5d537b5 100644
--- a/tests/paragraphs_test/paragraphs_test.features.inc
+++ b/tests/paragraphs_test/paragraphs_test.features.inc
@@ -1,4 +1,5 @@
 <?php
+
 /**
  * @file
  * paragraphs_test.features.inc
diff --git a/tests/paragraphs_test/paragraphs_test.features.user_permission.inc b/tests/paragraphs_test/paragraphs_test.features.user_permission.inc
index 40ac262..ad09ed6 100644
--- a/tests/paragraphs_test/paragraphs_test.features.user_permission.inc
+++ b/tests/paragraphs_test/paragraphs_test.features.user_permission.inc
@@ -1,4 +1,5 @@
 <?php
+
 /**
  * @file
  * paragraphs_test.features.user_permission.inc
diff --git a/tests/paragraphs_test/paragraphs_test.features.user_role.inc b/tests/paragraphs_test/paragraphs_test.features.user_role.inc
index 64d5636..466d53c 100644
--- a/tests/paragraphs_test/paragraphs_test.features.user_role.inc
+++ b/tests/paragraphs_test/paragraphs_test.features.user_role.inc
@@ -1,4 +1,5 @@
 <?php
+
 /**
  * @file
  * paragraphs_test.features.user_role.inc
diff --git a/tests/paragraphs_test/paragraphs_test.module b/tests/paragraphs_test/paragraphs_test.module
index 297352a..9f95605 100644
--- a/tests/paragraphs_test/paragraphs_test.module
+++ b/tests/paragraphs_test/paragraphs_test.module
@@ -1,4 +1,5 @@
 <?php
+
 /**
  * @file
  * Code for the Paragraphs test feature.
diff --git a/tests/paragraphs_test/paragraphs_test.panelizer.inc b/tests/paragraphs_test/paragraphs_test.panelizer.inc
index fa77bfd..b813e7e 100644
--- a/tests/paragraphs_test/paragraphs_test.panelizer.inc
+++ b/tests/paragraphs_test/paragraphs_test.panelizer.inc
@@ -1,4 +1,5 @@
 <?php
+
 /**
  * @file
  * paragraphs_test.panelizer.inc
@@ -43,36 +44,36 @@ function paragraphs_test_panelizer_defaults() {
   $display->uuid = 'a6e355d2-2f62-4351-81bc-b72a8c82b8f6';
   $display->content = array();
   $display->panels = array();
-    $pane = new stdClass();
-    $pane->pid = 'new-66fc9124-fc10-4bc8-9d66-f0ed5b5245ec';
-    $pane->panel = 'center';
-    $pane->type = 'entity_field';
-    $pane->subtype = 'paragraphs_item:field_ptest_text';
-    $pane->shown = TRUE;
-    $pane->access = array();
-    $pane->configuration = array(
-      'label' => 'hidden',
-      'formatter' => 'text_default',
-      'delta_limit' => 0,
-      'delta_offset' => '0',
-      'delta_reversed' => FALSE,
-      'formatter_settings' => array(),
-      'context' => 'panelizer',
-      'override_title' => 0,
-      'override_title_text' => '',
-      'override_title_heading' => 'h2',
-    );
-    $pane->cache = array();
-    $pane->style = array(
-      'settings' => NULL,
-    );
-    $pane->css = array();
-    $pane->extras = array();
-    $pane->position = 0;
-    $pane->locks = array();
-    $pane->uuid = '66fc9124-fc10-4bc8-9d66-f0ed5b5245ec';
-    $display->content['new-66fc9124-fc10-4bc8-9d66-f0ed5b5245ec'] = $pane;
-    $display->panels['center'][0] = 'new-66fc9124-fc10-4bc8-9d66-f0ed5b5245ec';
+  $pane = new stdClass();
+  $pane->pid = 'new-66fc9124-fc10-4bc8-9d66-f0ed5b5245ec';
+  $pane->panel = 'center';
+  $pane->type = 'entity_field';
+  $pane->subtype = 'paragraphs_item:field_ptest_text';
+  $pane->shown = TRUE;
+  $pane->access = array();
+  $pane->configuration = array(
+    'label' => 'hidden',
+    'formatter' => 'text_default',
+    'delta_limit' => 0,
+    'delta_offset' => '0',
+    'delta_reversed' => FALSE,
+    'formatter_settings' => array(),
+    'context' => 'panelizer',
+    'override_title' => 0,
+    'override_title_text' => '',
+    'override_title_heading' => 'h2',
+  );
+  $pane->cache = array();
+  $pane->style = array(
+    'settings' => NULL,
+  );
+  $pane->css = array();
+  $pane->extras = array();
+  $pane->position = 0;
+  $pane->locks = array();
+  $pane->uuid = '66fc9124-fc10-4bc8-9d66-f0ed5b5245ec';
+  $display->content['new-66fc9124-fc10-4bc8-9d66-f0ed5b5245ec'] = $pane;
+  $display->panels['center'][0] = 'new-66fc9124-fc10-4bc8-9d66-f0ed5b5245ec';
   $display->hide_title = PANELS_TITLE_FIXED;
   $display->title_pane = '0';
   $panelizer->display = $display;
diff --git a/tests/paragraphs_test/paragraphs_test.strongarm.inc b/tests/paragraphs_test/paragraphs_test.strongarm.inc
index 545d6f8..4662c2d 100644
--- a/tests/paragraphs_test/paragraphs_test.strongarm.inc
+++ b/tests/paragraphs_test/paragraphs_test.strongarm.inc
@@ -1,4 +1,5 @@
 <?php
+
 /**
  * @file
  * paragraphs_test.strongarm.inc
diff --git a/theme/paragraphs.theme.inc b/theme/paragraphs.theme.inc
index dffbb18..77b77ee 100644
--- a/theme/paragraphs.theme.inc
+++ b/theme/paragraphs.theme.inc
@@ -1,11 +1,12 @@
 <?php
+
 /**
  * @file
  * Default theme functions for paragraphs.
  */
 
 /**
- * Process variables for paragraphs-items.tpl.php
+ * Process variables for paragraphs-items.tpl.php.
  */
 function template_preprocess_paragraphs_items(&$variables, $hook) {
   $variables['view_mode'] = $variables['element']['#view_mode'];
diff --git a/views/paragraphs.views.inc b/views/paragraphs.views.inc
index a1a6aee..909cd58 100644
--- a/views/paragraphs.views.inc
+++ b/views/paragraphs.views.inc
@@ -1,4 +1,5 @@
 <?php
+
 /**
  * @file
  * Views implementations for paragraphs.
diff --git a/views/paragraphs_handler_relationship.inc b/views/paragraphs_handler_relationship.inc
index 5f9bb46..fedeeb1 100644
--- a/views/paragraphs_handler_relationship.inc
+++ b/views/paragraphs_handler_relationship.inc
@@ -1,20 +1,20 @@
 <?php
 
 /**
- * @file
  * Provide relationship handler for paragraphs fields.
  */
 
 /**
- * Class paragraphs_handler_relationship
+ * Class paragraphs_handler_relationship.
  */
 class paragraphs_handler_relationship extends views_handler_relationship {
 
   /**
    * Returns extra option definitions for the form.
+   *
    * @return array
    */
-  function option_definition() {
+  public function option_definition() {
     $options = parent::option_definition();
     $options['delta'] = array('default' => -1);
 
@@ -24,7 +24,7 @@ class paragraphs_handler_relationship extends views_handler_relationship {
   /**
    * Add a delta selector for multiple fields.
    */
-  function options_form(&$form, &$form_state) {
+  public function options_form(&$form, &$form_state) {
     parent::options_form($form, $form_state);
 
     $field = field_info_field($this->definition['field_name']);
@@ -49,9 +49,10 @@ class paragraphs_handler_relationship extends views_handler_relationship {
 
   /**
    * Makes sure our table is added to the join.
+   *
    * @return mixed
    */
-  function ensure_my_table() {
+  public function ensure_my_table() {
     $field = field_info_field($this->definition['field_name']);
 
     if (!isset($this->table_alias)) {
@@ -67,4 +68,5 @@ class paragraphs_handler_relationship extends views_handler_relationship {
     }
     return $this->table_alias;
   }
+
 }
