From 788d549a7ba519270221c4e6194b556a5fd9459d Mon Sep 17 00:00:00 2001 From: Christopher Georg Date: Fri, 26 Aug 2022 13:03:54 +0200 Subject: [PATCH] docs: fix links to phpunit docs --- best_practices.rst | 2 +- create_framework/unit_testing.rst | 4 ++-- form/unit_testing.rst | 2 +- testing.rst | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/best_practices.rst b/best_practices.rst index 798cb08572d..865f7549fa3 100644 --- a/best_practices.rst +++ b/best_practices.rst @@ -458,4 +458,4 @@ you must set up a redirection. .. _`feature toggles`: https://en.wikipedia.org/wiki/Feature_toggle .. _`smoke testing`: https://en.wikipedia.org/wiki/Smoke_testing_(software) .. _`Webpack`: https://webpack.js.org/ -.. _`PHPUnit data providers`: https://phpunit.readthedocs.io/en/stable/writing-tests-for-phpunit.html#data-providers +.. _`PHPUnit data providers`: https://phpunit.readthedocs.io/en/9.5/writing-tests-for-phpunit.html#data-providers diff --git a/create_framework/unit_testing.rst b/create_framework/unit_testing.rst index c3801481a3f..fa7a93b077f 100644 --- a/create_framework/unit_testing.rst +++ b/create_framework/unit_testing.rst @@ -220,6 +220,6 @@ Symfony code. Now that we are confident (again) about the code we have written, we can safely think about the next batch of features we want to add to our framework. -.. _`PHPUnit`: https://phpunit.readthedocs.io/en/stable/ -.. _`test doubles`: https://phpunit.readthedocs.io/en/stable/test-doubles.html +.. _`PHPUnit`: https://phpunit.readthedocs.io/en/9.5/ +.. _`test doubles`: https://phpunit.readthedocs.io/en/9.5/test-doubles.html .. _`XDebug`: https://xdebug.org/ diff --git a/form/unit_testing.rst b/form/unit_testing.rst index 2b56b2fe07d..7cdf01b8a60 100644 --- a/form/unit_testing.rst +++ b/form/unit_testing.rst @@ -243,4 +243,4 @@ guessers using the :method:`Symfony\\Component\\Form\\Test\\FormIntegrationTestC and :method:`Symfony\\Component\\Form\\Test\\FormIntegrationTestCase::getTypeGuessers` methods. -.. _`PHPUnit data providers`: https://phpunit.readthedocs.io/en/stable/writing-tests-for-phpunit.html#data-providers +.. _`PHPUnit data providers`: https://phpunit.readthedocs.io/en/9.5/writing-tests-for-phpunit.html#data-providers diff --git a/testing.rst b/testing.rst index 2ebaf352a15..c40039e5f08 100644 --- a/testing.rst +++ b/testing.rst @@ -935,12 +935,12 @@ Learn more .. _`PHPUnit`: https://phpunit.de/ .. _`documentation`: https://phpunit.readthedocs.io/ -.. _`Writing Tests for PHPUnit`: https://phpunit.readthedocs.io/en/stable/writing-tests-for-phpunit.html -.. _`PHPUnit documentation`: https://phpunit.readthedocs.io/en/stable/configuration.html +.. _`Writing Tests for PHPUnit`: https://phpunit.readthedocs.io/en/9.5/writing-tests-for-phpunit.html +.. _`PHPUnit documentation`: https://phpunit.readthedocs.io/en/9.5/configuration.html .. _`unit test`: https://en.wikipedia.org/wiki/Unit_testing .. _`DAMADoctrineTestBundle`: https://github.com/dmaicher/doctrine-test-bundle .. _`DoctrineFixturesBundle documentation`: https://symfony.com/doc/current/bundles/DoctrineFixturesBundle/index.html .. _`SymfonyMakerBundle`: https://symfony.com/doc/current/bundles/SymfonyMakerBundle/index.html .. _`symfony/panther`: https://github.com/symfony/panther -.. _`PHPUnit Assertion`: https://phpunit.readthedocs.io/en/stable/assertions.html +.. _`PHPUnit Assertion`: https://phpunit.readthedocs.io/en/9.5/assertions.html .. _`section 4.1.18 of RFC 3875`: https://tools.ietf.org/html/rfc3875#section-4.1.18