Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
NoBaseExceptionPlugin | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
getPostAnalyzeNodeVisitorClassName | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | declare( strict_types=1 ); |
4 | |
5 | namespace MediaWikiPhanConfig\Plugin; |
6 | |
7 | use Phan\PluginV3; |
8 | use Phan\PluginV3\PostAnalyzeNodeCapability; |
9 | |
10 | class 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 | |
21 | return new NoBaseExceptionPlugin(); |