Skip to content

PHPUnit version in composer is too new #351

@bvdr

Description

@bvdr

Bug Description

The PHPUnit version is too new in composer:
"phpunit/phpunit": "^8.5",

When running composer test it returns:
Looks like you're using PHPUnit 8.5.21. WordPress requires at least PHPUnit 5.7.21 and is currently only compatible with PHPUnit up to 7.x.

Steps to reproduce

  1. Run composer install && composer test

Screenshots

image

Additional Context

This is an issue only for advance usage. There's a default way to test npm run test-php.

Metadata

Metadata

Assignees

No one assigned

    Labels

    InfrastructureIssues for the overall performance plugin infrastructure[Type] EnhancementA suggestion for improvement of an existing feature

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions