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
601 stars 156 forks source link

Support for PHP and PHPUnit versions discrapency #360

Open czoIg opened 2 years ago

czoIg commented 2 years ago

In composer.json there's:

"require" : {
    "php" : ">=5.3.2"
}

but there's also:

"require-dev" : {
    ...
    "phpunit/phpunit" : "^9.5.13",
    ...
}

which produces error in travis:

  Problem 1
    - phpunit/phpunit[9.5.13, ..., 9.5.21] require php >=7.3 -> your php version (5.4.45) does not satisfy that requirement.

There's also migration issue320Test.php which uses unsupported _PHPUnit_FrameworkTestCase.