pdepend/pdepend — pull request #166 by digilist (2014-07-22 22:01:07+00:00)
Title: Added support for foreach with list statement (PHP 5.5)

Currently, pdepend does not support to analyze codes, which use [foreach with list](http://php.net/manual/de/migration55.new-features.php#migration55.new-features.foreach-list) which was introduced with PHP 5.5

```
$array = [
[1, 2],
[3, 4],
];

foreach ($array as list($a, $b)) {
echo "A: $a; B: $b\n";
}
```

Before, this code led to the following error: `Unexpected token: list, line: 8, col: 18, file: /../foreachlist.php`