| Conditions | 2 |
| Paths | 2 |
| Total Lines | 20 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 38 | public function testBoot() |
||
| 39 | { |
||
| 40 | $this->kernel = new Kernel( |
||
| 41 | [ |
||
| 42 | PluginHasDepends::class, |
||
| 43 | ], |
||
| 44 | [], |
||
| 45 | new Container(), |
||
| 46 | ); |
||
| 47 | |||
| 48 | $bootLoader = new DependedPluginsBootLoader($this->kernel); |
||
| 49 | $this->kernel->addBootLoader($bootLoader); |
||
| 50 | $this->kernel->run(); |
||
| 51 | |||
| 52 | $i = 0; |
||
| 53 | foreach ($this->kernel->plugins() as $plugin) { |
||
| 54 | ++$i; |
||
| 55 | } |
||
| 56 | |||
| 57 | $this->assertEquals(3, $i); |
||
| 58 | } |
||
| 60 |
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