Skip to content

Commit 8e83b7f

Browse files
committed
minor #17233 docs: fix links to phpunit docs (Chris53897)
This PR was merged into the 4.4 branch. Discussion ---------- docs: fix links to phpunit docs phpUnit does not have the /stable/ url in the docs anymore. The exact Version has now to be set. https://phpunit.readthedocs.io/en/9.5/test-doubles.html `@sebastianbergmann` Is there any chance that /stable/ will be redirect to the correct branch in the near future? This would be a better solution in my point of view, instead of changing the url here (any many other Repos, websites, ...). Commits ------- 788d549 docs: fix links to phpunit docs
2 parents b9f375e + 788d549 commit 8e83b7f

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

best_practices.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,4 +458,4 @@ you must set up a redirection.
458458
.. _`feature toggles`: https://en.wikipedia.org/wiki/Feature_toggle
459459
.. _`smoke testing`: https://en.wikipedia.org/wiki/Smoke_testing_(software)
460460
.. _`Webpack`: https://webpack.js.org/
461-
.. _`PHPUnit data providers`: https://phpunit.readthedocs.io/en/stable/writing-tests-for-phpunit.html#data-providers
461+
.. _`PHPUnit data providers`: https://phpunit.readthedocs.io/en/9.5/writing-tests-for-phpunit.html#data-providers

create_framework/unit_testing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,6 @@ Symfony code.
220220
Now that we are confident (again) about the code we have written, we can
221221
safely think about the next batch of features we want to add to our framework.
222222

223-
.. _`PHPUnit`: https://phpunit.readthedocs.io/en/stable/
224-
.. _`test doubles`: https://phpunit.readthedocs.io/en/stable/test-doubles.html
223+
.. _`PHPUnit`: https://phpunit.readthedocs.io/en/9.5/
224+
.. _`test doubles`: https://phpunit.readthedocs.io/en/9.5/test-doubles.html
225225
.. _`XDebug`: https://xdebug.org/

form/unit_testing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,4 +243,4 @@ guessers using the :method:`Symfony\\Component\\Form\\Test\\FormIntegrationTestC
243243
and :method:`Symfony\\Component\\Form\\Test\\FormIntegrationTestCase::getTypeGuessers`
244244
methods.
245245

246-
.. _`PHPUnit data providers`: https://phpunit.readthedocs.io/en/stable/writing-tests-for-phpunit.html#data-providers
246+
.. _`PHPUnit data providers`: https://phpunit.readthedocs.io/en/9.5/writing-tests-for-phpunit.html#data-providers

testing.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -935,12 +935,12 @@ Learn more
935935

936936
.. _`PHPUnit`: https://phpunit.de/
937937
.. _`documentation`: https://phpunit.readthedocs.io/
938-
.. _`Writing Tests for PHPUnit`: https://phpunit.readthedocs.io/en/stable/writing-tests-for-phpunit.html
939-
.. _`PHPUnit documentation`: https://phpunit.readthedocs.io/en/stable/configuration.html
938+
.. _`Writing Tests for PHPUnit`: https://phpunit.readthedocs.io/en/9.5/writing-tests-for-phpunit.html
939+
.. _`PHPUnit documentation`: https://phpunit.readthedocs.io/en/9.5/configuration.html
940940
.. _`unit test`: https://en.wikipedia.org/wiki/Unit_testing
941941
.. _`DAMADoctrineTestBundle`: https://github.com/dmaicher/doctrine-test-bundle
942942
.. _`DoctrineFixturesBundle documentation`: https://symfony.com/doc/current/bundles/DoctrineFixturesBundle/index.html
943943
.. _`SymfonyMakerBundle`: https://symfony.com/doc/current/bundles/SymfonyMakerBundle/index.html
944944
.. _`symfony/panther`: https://github.com/symfony/panther
945-
.. _`PHPUnit Assertion`: https://phpunit.readthedocs.io/en/stable/assertions.html
945+
.. _`PHPUnit Assertion`: https://phpunit.readthedocs.io/en/9.5/assertions.html
946946
.. _`section 4.1.18 of RFC 3875`: https://tools.ietf.org/html/rfc3875#section-4.1.18

0 commit comments

Comments
 (0)