Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | public function testLoadPlugins() |
||
17 | { |
||
18 | $loader = new PluginLoader(new Container()); |
||
19 | $plugins = $loader->loadPlugins(); |
||
20 | |||
21 | $this->assertContains(GreatTestPlugin::class, array_keys($plugins)); |
||
22 | $this->assertInstanceOf(GreatTestPlugin::class, $plugins[GreatTestPlugin::class]); |
||
23 | $this->assertContains(AwesomeTestPlugin::class, array_keys($plugins)); |
||
24 | $this->assertInstanceOf(AwesomeTestPlugin::class, $plugins[AwesomeTestPlugin::class]); |
||
25 | $this->assertContains(SuperTestPlugin::class, array_keys($plugins)); |
||
26 | $this->assertInstanceOf(SuperTestPlugin::class, $plugins[SuperTestPlugin::class]); |
||
27 | } |
||
28 | } |
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