Skip to content

Cannot build application on HHVM #3320

@danon

Description

@danon
Q A
PHPUnit version ^6.4
PHP version HipHop VM 3.28.3
Installation Method Composer

While running a travis build for hhvm this is an error I get

Fatal error: Uncaught Error: Parameter $constraints is variadic and has a type constraint (Constraint); variadic params with type constraints are not supported in non-Hack files in phar://phpunit-6.5.2.phar/phpunit/Framework/Constraint/LogicalAnd.php:29
Stack trace:
#0 /home/travis/.phpenv/versions/hhvm-stable/bin/phpunit(103): include()
#1 {main}

What can I do to run tests in PhpUnit on hhvm?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions