Update `Create Framework / Unit Testing` page
Hello 👋🏻
In this PR I have updated the deprecated will($this->returnValue()) to willReturn(), and the phpunit config file.
symfony/phpunit-bridge does not support PHPUnit 10 now, so the docs should reflect the config for PHPUnit 9.6, which is the current PHPUnit version.
symfony/phpunit-bridgedoes not support PHPUnit 10 now, so the docs should reflect the config for PHPUnit 9.6, which is the current PHPUnit version.
So we need to specify the version on the phpunit installation command, because it's installing the current version which is 10 and it conflicts with the rest of the doc.
@OskarStark If accepted I'll update the installation command specifying the version 9.6 instead of updating the doc to phpunit10.
Sorry I missed this PR :-(
@OskarStark
Will symfony/phpunit-bridge not support phpunit10 anytime soon?
Should I update the installation command specifying the version 9.6?
Please update it, as I don't know when it will be supported
@OskarStark Done!
Thanks Faissal, sorry it took us so long to merge this ... and congrats on your first Symfony Docs contribution 🎉