diff --git a/src/Plugin/CKEditorPlugin/YoutubePlugin.php b/src/Plugin/CKEditorPlugin/YoutubePlugin.php
index 390832a..3a80926 100644
--- a/src/Plugin/CKEditorPlugin/YoutubePlugin.php
+++ b/src/Plugin/CKEditorPlugin/YoutubePlugin.php
@@ -1,11 +1,18 @@
 <?php
 
+/**
+ * @file
+ * @file
+ * .*/
+
 namespace Drupal\synimage\Plugin\CKEditorPlugin;
 
 use Drupal\ckeditor\CKEditorPluginBase;
 use Drupal\editor\Entity\Editor;
 
 /**
+ * .
+ *
  * Defines the "Youtube Button" plugin.
  *
  * @CKEditorPlugin(
@@ -14,52 +21,52 @@ use Drupal\editor\Entity\Editor;
  * )
  */
 class YoutubePlugin extends CKEditorPluginBase {
-
   /**
+   * .
+   *
    * {@inheritdoc}
-   */
-  public function getButtons() {
-    return [
-      'Youtube' => array(
-        'label' => t('YouTube'),
-        'image' => drupal_get_path('module', 'synimage') . '/js/plugins/youtube/icons/icon.png',
-      ),
-    ];
+   */ getButtons() {
+  return ['Youtube' => ['label' => t('YouTube'), 'image' => drupal_get_path('module', 'synimage') . '/js/plugins/youtube/icons/icon.png']];
   }
 
   /**
-   * {@inheritdoc}
-   */
-  public function isInternal() {
-    return FALSE;
+ * .
+ *
+ * {@inheritdoc}
+ */ isInternal() {
+  return FALSE;
   }
 
   /**
-   * {@inheritdoc}
-   */
-  public function getDependencies(Editor $editor) {
-    return array();
+ * .
+ *
+ * {@inheritdoc}
+ */ getDependencies(Editor $editor) {
+  return [];
   }
 
   /**
-   * {@inheritdoc}
-   */
-  public function getLibraries(Editor $editor) {
-    return array();
+ * .
+ *
+ * {@inheritdoc}
+ */ getLibraries(Editor $editor) {
+  return [];
   }
 
   /**
-   * {@inheritdoc}
-   */
-  public function getFile() {
-    return drupal_get_path('module', 'synimage') . '/js/plugins/youtube/plugin.js';
+ * .
+ *
+ * {@inheritdoc}
+ */ getFile() {
+  return drupal_get_path('module', 'synimage') . '/js/plugins/youtube/plugin.js';
   }
 
   /**
-   * {@inheritdoc}
-   */
-  public function getConfig(Editor $editor) {
-    return [];
+ * .
+ *
+ * {@inheritdoc}
+ */ getConfig(Editor $editor) {
+  return [];
   }
 
 }
diff --git a/src/Plugin/Filter/FilterColorbox.php b/src/Plugin/Filter/FilterColorbox.php
index 92189e7..745e647 100644
--- a/src/Plugin/Filter/FilterColorbox.php
+++ b/src/Plugin/Filter/FilterColorbox.php
@@ -27,7 +27,7 @@ class FilterColorbox extends FilterBase {
       $settings = \Drupal::config('colorbox.settings');
       $style = $settings->get('custom.style');
       if ($settings->get('custom.activate')) {
-        $js_settings = array(
+        $js_settings = [
           'transition' => $settings->get('custom.transition_type'),
           'speed' => $settings->get('custom.transition_speed'),
           'opacity' => $settings->get('custom.opacity'),
@@ -50,10 +50,10 @@ class FilterColorbox extends FilterBase {
           'scrolling' => $settings->get('custom.scrolling') ? TRUE : FALSE,
           'mobiledetect' => $settings->get('advanced.mobile_detect') ? TRUE : FALSE,
           'mobiledevicewidth' => $settings->get('advanced.mobile_device_width'),
-        );
+        ];
       }
       else {
-        $js_settings = array(
+        $js_settings = [
           'opacity' => '0.85',
           'current' => $this->t('{current} of {total}'),
           'previous' => $this->t('« Prev'),
@@ -64,7 +64,7 @@ class FilterColorbox extends FilterBase {
           'fixed' => TRUE,
           'mobiledetect' => $settings->get('advanced.mobile_detect') ? TRUE : FALSE,
           'mobiledevicewidth' => $settings->get('advanced.mobile_device_width'),
-        );
+        ];
       }
 
       $result->addAttachments([
diff --git a/src/Plugin/Filter/ImageReference.php b/src/Plugin/Filter/ImageReference.php
index c93d4da..3e58a86 100644
--- a/src/Plugin/Filter/ImageReference.php
+++ b/src/Plugin/Filter/ImageReference.php
@@ -69,7 +69,7 @@ class ImageReference extends FilterBase implements ContainerFactoryPluginInterfa
     if (stristr($text, 'data-synimage="') !== FALSE) {
       $dom = Html::load($text);
       $xpath = new \DOMXPath($dom);
-      $processed_uuids = array();
+      $processed_uuids = [];
       foreach ($xpath->query('//*[@data-entity-type="file" and @data-entity-uuid]') as $node) {
         $uuid = $node->getAttribute('data-entity-uuid');
         $synimage_string = $node->getAttribute('data-synimage');
diff --git a/synimage.module b/synimage.module
index 418dedb..7c967db 100644
--- a/synimage.module
+++ b/synimage.module
@@ -9,11 +9,11 @@
  * Implements hook_ckeditor_plugin_info_alter().
  */
 function synimage_ckeditor_plugin_info_alter(array &$plugins) {
-  $plugins['synimage'] = array(
+  $plugins['synimage'] = [
     'id' => 'synimage',
     'label' => t('Image insert'),
     'module' => 'synimage',
     'class' => 'Drupal\synimage\Plugin\CKEditorPlugin\SynImage',
     'provider' => 'synimage',
-  );
+  ];
 }
