AbstractConstraint   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace Psr7Unitesting\Utils;
4
5
use PHPUnit_Framework_Constraint as Constraint;
6
7
/**
8
 * Abstract class with common methods for all assertion classes.
9
 */
10
abstract class AbstractConstraint extends Constraint
11
{
12
    public function __construct()
13
    {
14
        $this->exporter = new Exporter();
15
    }
16
}
17