Issues (4)

tests/unit/console/NginxControllerTest.php (1 issue)

Labels
Severity
1
<?php
2
/**
3
 * HiDev plugin for NGINX
4
 *
5
 * @link      https://github.com/hiqdev/hidev-nginx
6
 * @package   hidev-nginx
7
 * @license   BSD-3-Clause
8
 * @copyright Copyright (c) 2016-2017, HiQDev (http://hiqdev.com/)
9
 */
10
11
namespace hidev\nginx\tests\unit\console;
12
13
use hidev\nginx\console\NginxController;
14
15
/**
16
 * Generated by PHPUnit_SkeletonGenerator on 2016-04-14 at 11:42:17.
17
 */
18
class NginxControllerTest extends \PHPUnit\Framework\TestCase
0 ignored issues
show
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...
19
{
20
    /**
21
     * @var NginxController
22
     */
23
    protected $object;
24
    protected $ip = '1.1.1.1';
25
26
    protected function setUp()
27
    {
28
        $this->object = new NginxController('test', null);
29
    }
30
31
    protected function tearDown()
32
    {
33
    }
34
35
    public function testConstruct()
36
    {
37
        $this->assertInstanceOf(NginxController::class, $this->object);
38
    }
39
}
40