Skip to content

Commit 79eb5ae

Browse files
committed
Fix broken link to PSR-18 in index
index.rst refers to a link to PSR-18, but does not actually provide that link. Let's: - move the link to PSR-18 to the epilog so that both discovery.rst and index.rst link to PSR-18 properly - change the link to PSR-17 to HTTPS, because it's 2021 :p
1 parent d93e489 commit 79eb5ae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,8 @@ def setup(app):
306306
#texinfo_no_detailmenu = False
307307

308308
rst_epilog = """
309-
.. _PSR-7: http://www.php-fig.org/psr/psr-7
309+
.. _PSR-7: https://www.php-fig.org/psr/psr-7
310+
.. _PSR-18: https://www.php-fig.org/psr/psr-18
310311
.. _Composer: https://getcomposer.org
311312
.. _HttplugBundle: https://github.com/php-http/HttplugBundle
312313
"""

discovery.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,4 +291,3 @@ and that it is not used by the Discovery Service by default. It is simply
291291
provided as a convenient option when writing tests.
292292

293293
.. _PSR-17: http://www.php-fig.org/psr/psr-17
294-
.. _PSR-18: http://www.php-fig.org/psr/psr-18

0 commit comments

Comments
 (0)