Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
20 | public function handle(CriteriaConverter $converter, Criterion $criterion) |
||
21 | { |
||
22 | $fieldName = $this->determineFieldName($criterion->target); |
||
23 | |||
24 | $valueList = (array)$criterion->value; |
||
25 | |||
26 | foreach ($valueList as &$value) { |
||
27 | $value = $this->escapeValue($value); |
||
28 | } |
||
29 | |||
30 | return $fieldName . ':(' . implode($criterionValue, ' ') . ')'; |
||
|
|||
31 | } |
||
32 | } |
||
33 |
This check looks for variables that are accessed but have not been defined. It raises an issue if it finds another variable that has a similar name.
The variable may have been renamed without also renaming all references.