Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires phpunit/phpunit ^11.2.9 -> satisfiable by phpunit/phpunit[11.2.9].
- phpunit/phpunit 11.2.9 requires php >=8.2 -> your php version (8.1.29) does not satisfy that requirement.
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.