1 | <?php |
||
25 | class ComposerProcessService implements ComposerServiceInterface |
||
26 | { |
||
27 | /** |
||
28 | * @var EccubeConfig config parameter |
||
29 | */ |
||
30 | protected $eccubeConfig; |
||
31 | |||
32 | /** |
||
33 | * @var EntityManagerInterface |
||
34 | */ |
||
35 | protected $entityManager; |
||
36 | |||
37 | private $workingDir; |
||
|
|||
38 | |||
39 | /** |
||
40 | * @var ComposerApiService |
||
41 | */ |
||
42 | private $composerApiService; |
||
43 | /** |
||
44 | * @var BaseInfoRepository |
||
45 | */ |
||
46 | private $baseInfoRepository; |
||
47 | |||
48 | /** |
||
49 | * ComposerProcessService constructor. |
||
50 | * |
||
51 | * @param EccubeConfig $eccubeConfig |
||
52 | * @param EntityManagerInterface $entityManager |
||
53 | * @param ComposerApiService $composerApiService |
||
54 | */ |
||
55 | public function __construct(EccubeConfig $eccubeConfig, EntityManagerInterface $entityManager, ComposerApiService $composerApiService, BaseInfoRepository $baseInfoRepository) |
||
62 | |||
63 | public function execRequire($packageName, $output = null) |
||
70 | |||
71 | public function execRemove($packageName, $output = null) |
||
78 | |||
79 | /** |
||
80 | * Run command |
||
81 | * |
||
82 | * @throws PluginException |
||
83 | * |
||
84 | * @param string $command |
||
85 | */ |
||
86 | public function runCommand($commands, $output = null, $init = true) |
||
110 | |||
111 | /** |
||
112 | * Set init |
||
113 | * |
||
114 | * @throws PluginException |
||
115 | */ |
||
116 | private function init($BaseInfo = null) |
||
134 | |||
135 | public function execConfig($key, $value = null) |
||
139 | |||
140 | public function configureRepository(BaseInfo $BaseInfo) |
||
144 | |||
145 | public function foreachRequires($packageName, $version, $callback, $typeFilter = null, $level = 0) |
||
149 | } |
||
150 |
This check marks private properties in classes that are never used. Those properties can be removed.