diff --git a/README.txt b/README.txt
index 0fc4f3a..ca7ab1c 100755
--- a/README.txt
+++ b/README.txt
@@ -1,3 +1,7 @@
+<?php
+
+?>
+
 Modal Blocks Introduction:
 -------------------------
 
@@ -11,7 +15,8 @@ Modal Blocks Introduction:
 INTRODUCTION
 ------------
 
-The Module Block module allows site administrators to configure block to use as pop .
+The Module Block module allows site administrators to configure block
+to use as pop .
 
  * For a full description of the module visit:
    https://www.drupal.org/project/modal_blocks
diff --git a/config/install/core.entity_form_display.block_content.modal_block.default.yml b/config/install/core.entity_form_display.block_content.modal_block.default.yml
index 1ebf510..a784858 100755
--- a/config/install/core.entity_form_display.block_content.modal_block.default.yml
+++ b/config/install/core.entity_form_display.block_content.modal_block.default.yml
@@ -24,4 +24,4 @@ content:
       size: 60
       placeholder: ''
     third_party_settings: {  }
-hidden: {  }
\ No newline at end of file
+hidden: {  }
diff --git a/config/install/core.entity_view_display.block_content.modal_block.default.yml b/config/install/core.entity_view_display.block_content.modal_block.default.yml
index ed37894..b9781eb 100755
--- a/config/install/core.entity_view_display.block_content.modal_block.default.yml
+++ b/config/install/core.entity_view_display.block_content.modal_block.default.yml
@@ -15,4 +15,4 @@ content:
     label: above
     settings: {  }
     third_party_settings: {  }
-hidden: {  }
\ No newline at end of file
+hidden: {  }
diff --git a/config/install/field.storage.block_content.field_modal_blocks.yml b/config/install/field.storage.block_content.field_modal_blocks.yml
index c4e6b3b..6c2c54c 100755
--- a/config/install/field.storage.block_content.field_modal_blocks.yml
+++ b/config/install/field.storage.block_content.field_modal_blocks.yml
@@ -16,4 +16,4 @@ cardinality: -1
 translatable: true
 indexes: {  }
 persist_with_no_fields: false
-custom_storage: false
\ No newline at end of file
+custom_storage: false
diff --git a/css/modal-block.css b/css/modal-block.css
index ded5b22..3c3bf24 100755
--- a/css/modal-block.css
+++ b/css/modal-block.css
@@ -1,59 +1,59 @@
 /* The Modal (background) */
 .modal {
-    display: none; /* Hidden by default */
-    position: fixed; /* Stay in place */
-    z-index: 999999; /* Sit on top */
-    padding-top: 100px; /* Location of the box */
-    left: 0;
-    top: 0;
-    width: 100%; /* Full width */
-    height: 100%; /* Full height */
-    overflow: auto; /* Enable scroll if needed */
-    background-color: rgb(0,0,0); /* Fallback color */
-    background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
+  display: none; /* Hidden by default */
+  position: fixed; /* Stay in place */
+  z-index: 999999; /* Sit on top */
+  padding-top: 100px; /* Location of the box */
+  left: 0;
+  top: 0;
+  width: 100%; /* Full width */
+  height: 100%; /* Full height */
+  overflow: auto; /* Enable scroll if needed */
+  background-color: rgb(0,0,0); /* Fallback color */
+  background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
 }
 
 /* Modal Content */
 .modal-content {
-    background-color: #efefef;
-    border: 1px solid #888;
-    margin: -40px auto;
-    padding: 20px;
-    width: 80%
+  background-color: #efefef;
+  border: 1px solid #888;
+  margin: -40px auto;
+  padding: 20px;
+  width: 80%;
 }
 
 /* The Close Button */
 .modal-block-close {
-    color: #aaaaaa;
-    float: right;
-    font-size: 28px;
-    font-weight: bold;
+  color: #aaaaaa;
+  float: right;
+  font-size: 28px;
+  font-weight: bold;
 }
 
 .modal-block-close:hover,
 .modal-block-close:focus {
-    color: #000;
-    text-decoration: none;
-    cursor: pointer;
+  color: #000;
+  text-decoration: none;
+  cursor: pointer;
 }
 
 .img-wrapper > img {
-    padding: 24px;
-    width: 24%;
+  padding: 24px;
+  width: 24%;
 }
 span.modal-block-close {
-    font-size: 28px;
-    background: #0288d1;
-    color: #FFFFFF;
-    line-height: 25px;
-    position: absolute;
-    right: -5px;
-    text-align: center;
-    top: -8px;
-    width: 24px;
-    text-decoration: none;
-    font-weight: bold;
-    border-radius: 12px;
-    box-shadow: 1px 1px 3px #000;
-    margin: 0px;
+  font-size: 28px;
+  background: #0288d1;
+  color: #ffffff;
+  line-height: 25px;
+  position: absolute;
+  right: -5px;
+  text-align: center;
+  top: -8px;
+  width: 24px;
+  text-decoration: none;
+  font-weight: bold;
+  border-radius: 12px;
+  box-shadow: 1px 1px 3px #000;
+  margin: 0px;
 }
diff --git a/modal_blocks.info.yml b/modal_blocks.info.yml
index 686d3d0..b0dac8b 100755
--- a/modal_blocks.info.yml
+++ b/modal_blocks.info.yml
@@ -4,6 +4,5 @@ package: Block
 type: module
 core: 8.x
 dependencies:
-  - block
-  - block_content
-
+  - drupal:block
+  - drupal:block_content
diff --git a/modal_blocks.install b/modal_blocks.install
index 26847cb..f1a2553 100755
--- a/modal_blocks.install
+++ b/modal_blocks.install
@@ -1,14 +1,20 @@
 <?php
+
+/**
+ * @file
+ * Implements hook_uninstall().
+ */
+
 /**
  * Implements hook_uninstall().
  */
 function modal_blocks_uninstall(&$sandbox) {
 
-  //Delete the configuration variable
+  // Delete the configuration variable.
   \Drupal::configFactory()->getEditable('block_content.type.modal_block')->delete();
   \Drupal::configFactory()->getEditable('core.entity_form_display.block_content.modal_block.default')->delete();
   \Drupal::configFactory()->getEditable('core.entity_view_display.block_content.modal_block.default')->delete();
   \Drupal::configFactory()->getEditable('field.field.block_content.modal_block.field_modal_blocks')->delete();
   \Drupal::configFactory()->getEditable('field.storage.block_content.field_modal_blocks')->delete();
-  
-}
\ No newline at end of file
+
+}
diff --git a/modal_blocks.libraries.yml b/modal_blocks.libraries.yml
index aed91fa..1b93bfe 100644
--- a/modal_blocks.libraries.yml
+++ b/modal_blocks.libraries.yml
@@ -4,4 +4,4 @@ modal-block-widget:
       theme:
           css/modal-block.css: {}
   js:
-    js/modal-block.js: {}
\ No newline at end of file
+    js/modal-block.js: {}
diff --git a/modal_blocks.module b/modal_blocks.module
index 32758c2..07e0a95 100755
--- a/modal_blocks.module
+++ b/modal_blocks.module
@@ -1,17 +1,17 @@
 <?php
 
-/*
+/**
  * @file
- * Provides a Modal Block Custom block Type
+ * Provides a Modal Block Custom block Type.
  */
 
 /**
  * Implements hook_theme().
  */
 function modal_blocks_theme() {
-  return array(
-    'modal_block_formatter' => array(
-      'variables' => array('blocks' => array()),
-    ),
-  );
-}
\ No newline at end of file
+  return [
+    'modal_block_formatter' => [
+      'variables' => ['blocks' => []],
+    ],
+  ];
+}
diff --git a/src/Plugin/Field/FieldFormatter/ModalBlockFormatter.php b/src/Plugin/Field/FieldFormatter/ModalBlockFormatter.php
index c39c4eb..85dca08 100644
--- a/src/Plugin/Field/FieldFormatter/ModalBlockFormatter.php
+++ b/src/Plugin/Field/FieldFormatter/ModalBlockFormatter.php
@@ -1,13 +1,7 @@
 <?php
 
-/**
- * @file
- * Contains Drupal\modal_blocks\Plugin\Field\FieldFormatter\ModalBlockFormatter.
- */
-
 namespace Drupal\modal_blocks\Plugin\Field\FieldFormatter;
 
-
 use Drupal\Core\Field\FieldItemListInterface;
 use Drupal\Core\Field\Plugin\Field\FieldFormatter\EntityReferenceEntityFormatter;
 
@@ -23,11 +17,13 @@ use Drupal\Core\Field\Plugin\Field\FieldFormatter\EntityReferenceEntityFormatter
  * )
  */
 class ModalBlockFormatter extends EntityReferenceEntityFormatter {
- 
-  
+
+  /**
+   * {@inheritdoc}
+   */
   public function viewElements(FieldItemListInterface $items, $langcode) {
     $view_mode = $this->getSetting('view_mode');
-    $elements = array();
+    $elements = [];
 
     foreach ($this->getEntitiesToView($items, $langcode) as $delta => $entity) {
       $label = $entity->label();
@@ -35,39 +31,42 @@ class ModalBlockFormatter extends EntityReferenceEntityFormatter {
       static $depth = 0;
       $depth++;
       if ($depth > 20) {
-        $this->loggerFactory->get('entity')->error('Recursive rendering detected when rendering entity @entity_type @entity_id. Aborting rendering.', array('@entity_type' => $entity->getEntityTypeId(), '@entity_id' => $entity->id()));
+        $this->loggerFactory->get('entity')->error('Recursive rendering detected when rendering entity @entity_type @entity_id. Aborting rendering.', ['@entity_type' => $entity->getEntityTypeId(), '@entity_id' => $entity->id()]);
         return $elements;
       }
 
       if ($entity->id()) {
         $view_builder = \Drupal::entityManager()->getViewBuilder($entity->getEntityTypeId());
         $elements[$delta] = $view_builder->view($entity, $view_mode, $entity->language()->getId());
-        $items[$delta]->_attributes += array('resource' => $entity->url(), 'title' => $label);
-        
+        $items[$delta]->_attributes += ['resource' => $entity->url(), 'title' => $label];
+
       }
       else {
         // This is an "auto_create" item.
-        $elements[$delta] = array('#markup' => $label);
+        $elements[$delta] = ['#markup' => $label];
       }
       $depth = 0;
     }
 
     return $elements;
   }
-  
+
+  /**
+   * {@inheritdoc}
+   */
   public function view(FieldItemListInterface $items, $langcode = NULL) {
     $elements = parent::view($items, $langcode);
     $elements['#theme'] = 'modal_block_formatter';
     $elements['#attached']['library'][] = 'modal_blocks/modal-block-widget';
-    $blocks = array();
-    foreach($items as $key => $value) {
-      $blocks[$key] = array(
-        'content' => $elements[$key], 
-        'title' => $items[$key]->_attributes['title']);
+    $blocks = [];
+    foreach ($items as $key => $value) {
+      $blocks[$key] = [
+        'content' => $elements[$key],
+        'title' => $items[$key]->_attributes['title'],
+      ];
     }
     $elements['#blocks'] = $blocks;
     return $elements;
   }
-  
-}
 
+}
