greenlion / PHP-SQL-Parser

A pure PHP SQL (non validating) parser w/ focus on MySQL dialect of SQL
BSD 3-Clause "New" or "Revised" License
607 stars 156 forks source link

Allow in-list in subtree creation #314

Closed moufmouf closed 4 years ago

moufmouf commented 5 years ago

This PR adds a test to show-case the issue declared in #225 and fixed in #283 and #311.

The first commit actually comes from #315. It fixes Travis tests that are otherwise broken for PHP 5.4 and 5.5.

The second commit contains only the test proving that the creator is broken when managing a "in-list" inside a subtree. This commit is therefore expected to fail.

The third commit is the commit from #311 by @andrews05 fixing the issue.

greenlion commented 4 years ago

Thank you for the contribution.