Your requirements could not be resolved to an installable set of packages.
Problem 1
- phpunit/phpunit[10.0.0, ..., 10.5.x-dev] require sebastian/comparator ^5.0 -> satisfiable by sebastian/comparator[5.0.0, 5.0.1, 5.0.x-dev (alias of dev-main)].
- api-platform/core dev-main conflicts with sebastian/comparator 5.0.x-dev.
- Root composer.json requires api-platform/core dev-main -> satisfiable by api-platform/core[dev-main].
- Root composer.json requires phpunit/phpunit ^10 -> satisfiable by phpunit/phpunit[10.0.0, ..., 10.5.x-dev].