3 namespace Drupal\drupalmoduleupgrader\Annotation;
5 use Drupal\Component\Annotation\Plugin;
8 * Defines a Plugin annotation object for DMU analyzer plugins.
10 * Analyzers scan a target module's code to determine if any problems exist. If
11 * any do exist, it's the analyzer's job to file an issue detailing the nature
12 * of the problem -- summarizing the issue, pointing out where the problem is
13 * found, and referring the developer to documentation on drupal.org explaining
14 * how to fix the problem.
16 * Plugin Namespace: Plugin\DMU\Analyzer
20 class Analyzer extends Plugin {
30 * A short description of the analysis the plugin performs.
37 * Documentation describing the changes covered by the plugin. Each item
38 * in the array should be an array with 'url' and 'title' keys.
42 public $documentation = [];
45 * The issue title. Markdown and HTML are allowed.
52 * An optional detailed summary of the issue. Markdown and HTML are allowed.
59 * The default tags to be applied to flagged issues. Tags are fairly arbitrary and
60 * can be any value. Tags are divided into groups (i.e., the keys of this here