1 | <?php |
||
13 | class ArrayIllegalOffsetType implements Pass\AnalyzerPassInterface, Pass\ConfigurablePassInterface |
||
14 | { |
||
15 | /** |
||
16 | * @param Expr\Array_|Expr\Assign $expr |
||
17 | * @param Context $context |
||
18 | * @return bool |
||
19 | */ |
||
20 | 35 | public function pass(Expr $expr, Context $context) |
|
28 | |||
29 | /** |
||
30 | * @param Expr\ArrayDimFetch $expr |
||
31 | * @param Context $context |
||
32 | * |
||
33 | * @return bool |
||
34 | */ |
||
35 | 1 | private function analyzeDimensionFetch(Expr\ArrayDimFetch $expr, Context $context) |
|
45 | |||
46 | /** |
||
47 | * @param Expr\Array_ $expr |
||
48 | * @param Context $context |
||
49 | * |
||
50 | * @return bool |
||
51 | */ |
||
52 | 26 | private function analyzeArray(Expr\Array_ $expr, Context $context) |
|
67 | |||
68 | 3 | private function analyzeExpression(Expr $expr, Context $context) |
|
90 | |||
91 | /** |
||
92 | * @return array |
||
93 | */ |
||
94 | 1 | public function getRegister() |
|
101 | |||
102 | /** |
||
103 | * @return TreeBuilder |
||
104 | */ |
||
105 | public function getConfiguration() |
||
114 | } |
||
115 |