Further modules included.
[yaffs-website] / web / modules / contrib / drupalmoduleupgrader / src / FixerInterface.php
diff --git a/web/modules/contrib/drupalmoduleupgrader/src/FixerInterface.php b/web/modules/contrib/drupalmoduleupgrader/src/FixerInterface.php
new file mode 100644 (file)
index 0000000..16427f5
--- /dev/null
@@ -0,0 +1,26 @@
+<?php
+
+/**
+ * @file
+ * Contains \Drupal\drupalmoduleupgrader\FixerInterface.
+ */
+
+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);
+
+}