You are here

Fixer.php in Drupal 7 to 8/9 Module Upgrader 8

File

src/Annotation/Fixer.php
View source
<?php

namespace Drupal\drupalmoduleupgrader\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines a Plugin annotation object for DMU fixer plugins.
 *
 * Fixers are similar in nature to the fixer classes used by PHP_CodeSniffer,
 * in the sense that their job is to perform particular, isolated changes
 * to code. But DMU fixers are a lot more powerful than PHPCS's because a)
 * they're Drupal plugins, and b) they're using Pharborist.
 *
 * Plugin Namespace: Plugin\DMU\Fixer
 *
 * @Annotation
 */
class Fixer extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

}

Classes

Namesort descending Description
Fixer Defines a Plugin annotation object for DMU fixer plugins.