1 | <?php |
||
17 | class Plugin implements |
||
18 | CPlugin\PluginInterface, |
||
19 | EventDispatcher\EventSubscriberInterface |
||
20 | { |
||
21 | /** @var IO\IOInterface */ |
||
22 | private $io; |
||
23 | |||
24 | /** @var Composer\Config */ |
||
25 | private $config; |
||
26 | |||
27 | /** @var Config */ |
||
28 | private $pluginConfig; |
||
29 | |||
30 | /** @var boolean */ |
||
31 | private $disabled = false; |
||
32 | |||
33 | private static $pluginClasses = array( |
||
34 | 'GitHubRequest', |
||
35 | 'GitLabRequest', |
||
36 | 'HttpGetRequest', |
||
37 | 'HttpGetResponse', |
||
38 | 'Config', |
||
39 | 'CurlMulti', |
||
40 | 'Factory', |
||
41 | 'FileDownloaderDummy', |
||
42 | 'OutputFile', |
||
43 | 'ParallelDownloader', |
||
44 | 'Plugin', |
||
45 | ); |
||
46 | |||
47 | 2 | public function activate(Composer $composer, IO\IOInterface $io) |
|
65 | |||
66 | 1 | public static function getSubscribedEvents() |
|
74 | |||
75 | /** |
||
76 | * pre-fetch parallel by curl_multi |
||
77 | */ |
||
78 | 1 | public function onPostDependenciesSolving(Installer\InstallerEvent $ev) |
|
91 | |||
92 | /** |
||
93 | * @param DependencyResolver\Operation\OperationInterface[] |
||
94 | * @return Package\PackageInterface[] |
||
95 | */ |
||
96 | 1 | private static function filterPackages(array $operations) |
|
113 | |||
114 | 2 | private function setPluginConfig() |
|
122 | |||
123 | 1 | public function disable() |
|
127 | |||
128 | 1 | public function isDisabled() |
|
132 | } |
||
133 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..