NoPluginException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 7
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace GinoPane\BlogTaxonomy\Classes\MigrationCommand\Exceptions;
4
5
use Exception;
6
7
/**
8
 * Class NoPluginException
9
 *
10
 * @package GinoPane\BlogTaxonomy\Classes\MigrationCommand\Exceptions
11
 */
12
class NoPluginException extends Exception
13
{
14
    public function __construct(string $pluginName)
15
    {
16
        parent::__construct("$pluginName plugin does not exist in the system. Please check if it is installed and try again.");
17
    }
18
}