ForbiddenNames: allow for `foreach( ... as list() ) {}` by jrfnl · Pull Request #930 · PHPCompatibility/PHPCompatibility

@jrfnl

The changes in PR 923 did not take `foreach ( ...as list() ) {}` into account.

Fixed now. Includes unit test.

Fixes 928
Closes 929

@jrfnl jrfnl mentioned this pull request

Nov 11, 2019

timmillwood

wimg

wimg approved these changes Nov 14, 2019

@wimg wimg deleted the feature/928-bug-fix-forbidden-names-as-list branch

November 14, 2019 13:43