You are here

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

File

src/FixerInterface.php
View source
<?php

namespace Drupal\drupalmoduleupgrader;

use Drupal\Core\Executable\ExecutableInterface;

/**
 * Interface implemented by all fixer plugins, which do small, isolated
 * modifications to a code base. They're basically PHP_CodeSniffer fixers
 * on steroids.
 */
interface FixerInterface extends ExecutableInterface {

  /**
   * Sets the target module to operate on.
   *
   * @param \Drupal\drupalmoduleupgrader\TargetInterface $target
   */
  public function setTarget(TargetInterface $target);

}

Interfaces

Namesort descending Description
FixerInterface Interface implemented by all fixer plugins, which do small, isolated modifications to a code base. They're basically PHP_CodeSniffer fixers on steroids.