BaseTestCase
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 2
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 0
eloc 1
c 2
b 0
f 0
dl 0
loc 2
1
<?php
2
3
namespace Fisharebest\Tests\Algorithm;
4
5
use PHPUnit\Framework\TestCase;
6
use PHPUnit_Framework_TestCase;
0 ignored issues
show
Bug introduced by
The type PHPUnit_Framework_TestCase was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
7
8
/**
9
 * @author    Greg Roach <[email protected]>
10
 * @copyright (c) 2021 Greg Roach <[email protected]>
11
 * @license   GPL-3.0+
12
 *
13
 * This program is free software: you can redistribute it and/or modify
14
 * it under the terms of the GNU General Public License as published by
15
 * the Free Software Foundation, either version 3 of the License, or
16
 * (at your option) any later version.
17
 * This program is distributed in the hope that it will be useful,
18
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
 * GNU General Public License for more details.
21
 * You should have received a copy of the GNU General Public License
22
 * along with this program. If not, see <https://www.gnu.org/licenses>.
23
 */
24
25
if (class_exists('PHPUnit_Framework_TestCase')) {
26
    class BaseTestCase extends PHPUnit_Framework_TestCase
27
    {
28
    }
29
} else {
30
    class BaseTestCase extends TestCase
31
    {
32
    }
33
}
34