sebastianbergmann / php-token-stream

Wrapper around PHP's tokenizer extension.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Class undefined: PHP_Token_WHERE

firodj opened this issue · comments

I'am using PHPUnit 4.5.1 and HipHop VM 3.8.0 (rel) [tags/HHVM-3.8.0-0-gbb32f8d645b28561d8491870c44730b9b3f08d35], and got following errors:

Class undefined: PHP_Token_WHERE in /.../vendor/phpunit/php-token-stream/src/Token/Stream.php on line 184

see: [https://github.com/facebook/hhvm/issues/5099]

PHPUnit 4.5.1 isn't supported.

Only 4.8.3 is supported.