Skip to content

Testing suggestion to use PHPUnit phar should be changed from 3.3 on #7936

Closed
@YetiCGN

Description

@YetiCGN

The testing page mentions "It's recommended to use the latest stable PHPUnit version, installed as PHAR."

However, this causes issues with the new 3.3 Yaml component and PHPUnit's bundled version in the PHAR, effectively failing every test and very weird to debug.

The current recommendation to work around this issue is to "do a Composer + require-dev + phpunit/phpunit and execute your tests via ./vendor/bin/phpunit". I think this should somehow be mentioned here to prevent others from searching in vain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    PHPUnitBridgehasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions