1 | <?php |
||
16 | class ModuleUpdateListener implements EventSubscriberInterface |
||
17 | { |
||
18 | /** |
||
19 | * @var array |
||
20 | */ |
||
21 | private $classNames = array(); |
||
22 | |||
23 | /** |
||
24 | * @var ModuleGenerator |
||
25 | */ |
||
26 | private $moduleGenerator; |
||
27 | |||
28 | /** |
||
29 | * @var ConfigGenerator |
||
30 | */ |
||
31 | private $configGenerator; |
||
32 | |||
33 | /** |
||
34 | * @var IO |
||
35 | */ |
||
36 | private $io; |
||
37 | |||
38 | /** |
||
39 | * @var ClassDetector |
||
40 | */ |
||
41 | private $detector; |
||
42 | |||
43 | /** |
||
44 | * @param ModuleGenerator $moduleGenerator |
||
45 | * @param ConfigGenerator $configGenerator |
||
46 | * @param IO $io |
||
47 | * @param ClassDetector $detector |
||
48 | */ |
||
49 | public function __construct( |
||
60 | |||
61 | /** |
||
62 | * @return array |
||
63 | */ |
||
64 | public static function getSubscribedEvents() |
||
71 | |||
72 | /** |
||
73 | * @param ExampleEvent $event |
||
74 | */ |
||
75 | public function getClassNameAfterExample(ExampleEvent $event) |
||
93 | |||
94 | /** |
||
95 | * @param SuiteEvent $event |
||
96 | */ |
||
97 | public function createXmlAfterSuite(SuiteEvent $event) |
||
116 | |||
117 | /** |
||
118 | * @param string $className |
||
119 | * @return string |
||
120 | */ |
||
121 | private function getClassType($className) |
||
132 | |||
133 | /** |
||
134 | * @param string $part |
||
135 | * @return bool |
||
136 | */ |
||
137 | private function partIsController($part) |
||
142 | |||
143 | /** |
||
144 | * @param \Exception $exception |
||
145 | * @return bool |
||
146 | */ |
||
147 | protected function exceptionIsNotUsable($exception) |
||
159 | } |
||
160 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.