BaseFilterTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A tearDown() 0 4 1
1
<?php
2
3
/**
4
 * @file
5
 * Grafizzi\Graph\Tests\BaseFilterTest: a component of the Grafizzi library.
6
 *
7
 * (c) 2012 Frédéric G. MARAND <[email protected]>
8
 *
9
 * Grafizzi is free software: you can redistribute it and/or modify it under the
10
 * terms of the GNU Lesser General Public License as published by the Free
11
 * Software Foundation, either version 3 of the License, or (at your option) any
12
 * later version.
13
 *
14
 * Grafizzi is distributed in the hope that it will be useful, but WITHOUT ANY
15
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
16
 * A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
17
 * details.
18
 *
19
 * You should have received a copy of the GNU Lesser General Public License
20
 * along with Grafizzi, in the COPYING.LESSER.txt file.  If not, see
21
 * <http://www.gnu.org/licenses/>
22
 */
23
24
namespace Grafizzi\Graph\Tests;
25
26
use PHPUnit\Framework\TestCase;
27
28
require 'vendor/autoload.php';
29
30
/**
31
 *
32
 * @author marand
33
 */
34
abstract class BaseFilterTest extends TestCase {
35
36
  /**
37
   * @var \Grafizzi\Graph\Filter\FilterInterface[]
38
   *   Array of filters, implementing FilterInterface.
39
   */
40
  protected $filters = array();
41
42
  /**
43
   * Cleans up the environment after running a test.
44
   */
45
  protected function tearDown() : void {
46
    $this->filters = array();
47
    parent::tearDown();
48
  }
49
}
50