1 | <?php |
||
12 | class CompilerPass extends ServiceDefinition |
||
13 | { |
||
14 | |||
15 | /** |
||
16 | * @param ReflectionClass $reflectionClass |
||
17 | * @param Service|CompilerPassAnnotation $annotation |
||
18 | * @param Definition $definition |
||
19 | * @return array |
||
20 | * |
||
21 | * @throws Exception |
||
22 | */ |
||
23 | 1 | public function build(ReflectionClass $reflectionClass, Service $annotation, Definition $definition) |
|
41 | } |
||
42 |
This check marks access to variables or properties that have not been declared yet. While PHP has no explicit notion of declaring a variable, accessing it before a value is assigned to it is most likely a bug.