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 | 'Aspects\AspectProxy', |
||
35 | 'Aspects\GitHubRequest', |
||
36 | 'Aspects\GitLabRequest', |
||
37 | 'Aspects\HttpGetRequest', |
||
38 | 'Aspects\HttpGetResponse', |
||
39 | 'Aspects\JoinPoint', |
||
40 | 'Config', |
||
41 | 'CurlMulti', |
||
42 | 'Factory', |
||
43 | 'FileDownloaderDummy', |
||
44 | 'OutputFile', |
||
45 | 'ParallelDownloader', |
||
46 | 'Plugin', |
||
47 | ); |
||
48 | |||
49 | 2 | public function activate(Composer $composer, IO\IOInterface $io) |
|
67 | |||
68 | 1 | public static function getSubscribedEvents() |
|
76 | |||
77 | /** |
||
78 | * pre-fetch parallel by curl_multi |
||
79 | */ |
||
80 | 1 | public function onPostDependenciesSolving(Installer\InstallerEvent $ev) |
|
93 | |||
94 | /** |
||
95 | * @param DependencyResolver\Operation\OperationInterface[] |
||
96 | * @return Package\PackageInterface[] |
||
97 | */ |
||
98 | 1 | private static function filterPackages(array $operations) |
|
115 | |||
116 | 2 | private function setPluginConfig() |
|
124 | |||
125 | 1 | public function disable() |
|
129 | |||
130 | 1 | public function isDisabled() |
|
134 | } |
||
135 |
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..