Issues (24)

tests/src/AbstractTest.php (1 issue)

Labels
Severity
1
<?php
2
3
namespace Nip\Logger\Tests;
4
5
use Nip\Logger\Manager;
6
use PHPUnit\Framework\TestCase;
7
8
/**
9
 * Class AbstractTest
10
 */
11
abstract class AbstractTest extends TestCase
12
{
13
    protected $object;
14
15
    /**
16
     * @var \UnitTester
0 ignored issues
show
The type UnitTester 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...
17
     */
18
    protected $tester;
19
20
    /**
21
     * @return Manager
22
     */
23
    protected function generateBaseManager()
24
    {
25
        $manager = new Manager();
26
        $manager->initContainer();
27
        $manager->getContainer()->set('path.storage', TEST_FIXTURE_PATH . '/storage');
28
29
        return $manager;
30
    }
31
}
32