Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 1
NoBaseExceptionPlugin
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 getPostAnalyzeNodeVisitorClassName
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2
3declare( strict_types=1 );
4
5namespace MediaWikiPhanConfig\Plugin;
6
7use Phan\PluginV3;
8use Phan\PluginV3\PostAnalyzeNodeCapability;
9
10class NoBaseExceptionPlugin extends PluginV3 implements PostAnalyzeNodeCapability {
11    public const ISSUE_TYPE = 'MediaWikiNoBaseException';
12
13    /**
14     * @inheritDoc
15     */
16    public static function getPostAnalyzeNodeVisitorClassName(): string {
17        return NoBaseExceptionVisitor::class;
18    }
19}
20
21return new NoBaseExceptionPlugin();