1 | <?php |
||
2 | /** |
||
3 | * Plugins Management |
||
4 | * @author Joe Huss <[email protected]> |
||
5 | * @copyright 2019 |
||
6 | * @package MyAdmin |
||
7 | * @category Plugins |
||
8 | */ |
||
9 | |||
10 | /** |
||
11 | * MyAdmin Installer Plugin |
||
12 | * Implements https://github.com/composer/composer/blob/master/src/Composer/Plugin/PluginInterface.php |
||
13 | */ |
||
14 | |||
15 | namespace MyAdmin\Plugins; |
||
16 | |||
17 | use Composer\Composer; |
||
18 | use Composer\IO\IOInterface; |
||
19 | use Composer\Plugin\PluginInterface; |
||
20 | |||
21 | /** |
||
22 | * MyAdmin Installer Plugin |
||
23 | */ |
||
24 | class InstallerPlugin implements PluginInterface |
||
25 | { |
||
26 | /** |
||
27 | * Apply plugin modifications to Composer |
||
28 | * |
||
29 | * @param \Composer\Composer $composer |
||
0 ignored issues
–
show
|
|||
30 | * @param \Composer\IO\IOInterface $io |
||
0 ignored issues
–
show
The type
Composer\IO\IOInterface 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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
31 | */ |
||
32 | public function activate(Composer $composer, IOInterface $io) |
||
33 | { |
||
34 | $installer = new Installer($io, $composer); |
||
35 | $composer->getInstallationManager()->addInstaller($installer); |
||
36 | } |
||
37 | } |
||
38 |
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