Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
21 | public function test_create() |
||
22 | { |
||
23 | $pool = new ThreadPool(); |
||
24 | $thread = new SuccessThread('unit-test'); |
||
25 | $event = new PoolEvent('unit-test'); |
||
26 | $factoryEvent = EventPoolFactory::create('unit-test', $pool, $thread); |
||
27 | |||
28 | $this->assertSame($event->getEventName(), $factoryEvent->getEventName()); |
||
29 | $this->assertSame($event->getThreadLeftNb(), $factoryEvent->getThreadLeftNb()); |
||
30 | $this->assertSame($event->getMaxRunningThreadNb(), $factoryEvent->getMaxRunningThreadNb()); |
||
31 | $this->assertSame($event->getRunningThreadNb(), $factoryEvent->getRunningThreadNb()); |
||
32 | $this->assertSame($event->getThreadDoneNb(), $factoryEvent->getThreadDoneNb()); |
||
33 | $this->assertSame($event->getThreadNb(), $factoryEvent->getThreadNb()); |
||
34 | } |
||
37 |
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