1 | <?php |
||
2 | /* |
||
3 | * @copyright (c) 2018 Mendel <[email protected]> |
||
4 | * @license see license.txt |
||
5 | */ |
||
6 | namespace drycart\di\tests; |
||
7 | use PHPUnit\Framework\TestCase; |
||
0 ignored issues
–
show
|
|||
8 | |||
9 | |||
10 | /** |
||
11 | * @author mendel |
||
12 | */ |
||
13 | class MagicTest extends TestCase |
||
14 | { |
||
15 | public function testSimpleCall() |
||
16 | { |
||
17 | $magic = dummy\MagicClass::make(); |
||
18 | $dummy = $magic->getDummy(); |
||
19 | $dummyPlus = $magic->getDummyPlus(); |
||
20 | $this->assertTrue(is_a($magic, 'drycart\di\tests\dummy\MAgicClass')); |
||
21 | $this->assertTrue(is_a($dummy, 'drycart\di\tests\dummy\Dummy')); |
||
22 | $this->assertTrue(is_a($dummyPlus, 'drycart\di\tests\dummy\DummyPlusParameter')); |
||
23 | } |
||
24 | } |
||
25 |
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:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths