<commit_before><?php
/**
 *@file
 * Contains \Drupal\AppConsole\Generator\PluginImageEffectGenerator.
 */

namespace Drupal\AppConsole\Generator;

class PluginImageEffectGenerator extends Generator
{
  /**
   * Generator Plugin Block
   * @param  string $module   Module name
   * @param  string $class_name     class name for plugin block
   * @param  string $description
   */
  public function generate($module, $class_name, $plugin_label, $plugin_id, $description)
  {
    $path = DRUPAL_ROOT . '/' . drupal_get_path('module', $module);
    $path_plugin = $path . '/src/Plugin/ImageEffect';

    $parameters = [
      'module'   => $module,
      'class'     => [
        'name'      => $class_name,
      ],
      'plugin_label' => $plugin_label,
      'plugin_id' => $plugin_id,
      'description' => $description,
    ];

    $this->renderFile(
      'module/plugin-imageeffect.php.twig',
      $path_plugin . '/'. $class_name .'.php',
      $parameters
    );
  }

}<commit_msg>Fix & cleanup to PluginImageEffectGenerator<commit_after><?php
/**
 *@file
 * Contains \Drupal\AppConsole\Generator\PluginImageEffectGenerator.
 */

namespace Drupal\AppConsole\Generator;

class PluginImageEffectGenerator extends Generator
{
  /**
   * Generator Plugin Image Effect
   * @param  string $module         Module name
   * @param  string $class_name     Plugin Class name
   * @param  string $plugin_label   Plugin label
   * @param  string $plugin_id      Plugin di
   * @param  string $description    Plugin description
   */
  public function generate($module, $class_name, $plugin_label, $plugin_id, $description)
  {
    $path = DRUPAL_ROOT . '/' . drupal_get_path('module', $module);
    $path_plugin = $path . '/src/Plugin/ImageEffect';

    $parameters = [
      'module'   => $module,
      'class'     => [
        'name'      => $class_name,
      ],
      'plugin_label' => $plugin_label,
      'plugin_id' => $plugin_id,
      'description' => $description,
    ];

    $this->renderFile(
      'module/plugin-imageeffect.php.twig',
      $path_plugin . '/'. $class_name .'.php',
      $parameters
    );
  }
}
{'fraction_non_alphanumeric': 0.13801224682053698, 'fraction_numerical': 0.0, 'mean_word_length': 2.8132854578096946, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5830511', 'n_tokens_mistral': 672, 'n_tokens_neox': 667, 'n_words': 136}