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
- Run
composer install && composer test
Screenshots

Additional Context
This is an issue only for advance usage. There's a default way to test npm run test-php.
Bug Description
The PHPUnit version is too new in composer:
"phpunit/phpunit": "^8.5",When running
composer testit 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
composer install&&composer testScreenshots
Additional Context
This is an issue only for advance usage. There's a default way to test
npm run test-php.