symfony-docs icon indicating copy to clipboard operation
symfony-docs copied to clipboard

Update `Create Framework / Unit Testing` page

Open faissaloux opened this issue 2 years ago • 6 comments

Hello 👋🏻

In this PR I have updated the deprecated will($this->returnValue()) to willReturn(), and the phpunit config file.

faissaloux avatar Nov 25 '23 09:11 faissaloux

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.

OskarStark avatar Nov 26 '23 07:11 OskarStark

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.

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.

faissaloux avatar Nov 26 '23 11:11 faissaloux

Sorry I missed this PR :-(

OskarStark avatar Apr 22 '24 19:04 OskarStark

@OskarStark

Will symfony/phpunit-bridge not support phpunit10 anytime soon?

Should I update the installation command specifying the version 9.6?

faissaloux avatar Apr 22 '24 21:04 faissaloux

Please update it, as I don't know when it will be supported

OskarStark avatar Apr 23 '24 05:04 OskarStark

@OskarStark Done!

faissaloux avatar Apr 23 '24 22:04 faissaloux

Thanks Faissal, sorry it took us so long to merge this ... and congrats on your first Symfony Docs contribution 🎉

javiereguiluz avatar Jul 24 '24 08:07 javiereguiluz