From 39d8994194c430b3c9a72feb6858aa5378dfaaf8 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Thu, 15 Aug 2019 07:02:04 +0200 Subject: [PATCH] Remove unused links --- best_practices/security.rst | 1 - best_practices/templates.rst | 1 - bundles/best_practices.rst | 2 +- components/cache.rst | 4 +--- components/dom_crawler.rst | 1 - components/filesystem.rst | 1 - components/finder.rst | 1 - components/ldap.rst | 2 -- components/messenger.rst | 8 ++++---- components/process.rst | 3 --- components/routing.rst | 2 -- components/serializer.rst | 1 - components/translation/usage.rst | 1 - components/var_exporter.rst | 2 +- contributing/community/reviews.rst | 1 - controller/error_pages.rst | 2 -- deployment.rst | 2 +- doctrine.rst | 1 - form/form_themes.rst | 3 --- introduction/from_flat_php_to_symfony.rst | 1 - mercure.rst | 5 ++--- messenger.rst | 2 +- performance.rst | 1 - reference/constraints/Timezone.rst | 1 - security/custom_authentication_provider.rst | 1 - security/guard_authentication.rst | 1 - serializer.rst | 1 - service_container.rst | 1 - setup.rst | 2 +- setup/flex.rst | 5 +---- setup/upgrade_major.rst | 2 -- templating/PHP.rst | 2 -- 32 files changed, 13 insertions(+), 51 deletions(-) diff --git a/best_practices/security.rst b/best_practices/security.rst index 0b13e24c629..bd68fb21b4d 100644 --- a/best_practices/security.rst +++ b/best_practices/security.rst @@ -376,5 +376,4 @@ via the even easier shortcut in a controller:: Next: :doc:`/best_practices/web-assets` .. _`ParamConverter`: https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/converters.html -.. _`FOSUserBundle`: https://github.com/FriendsOfSymfony/FOSUserBundle .. _`libsodium`: https://pecl.php.net/package/libsodium diff --git a/best_practices/templates.rst b/best_practices/templates.rst index a34f3d48b66..6570690dc56 100644 --- a/best_practices/templates.rst +++ b/best_practices/templates.rst @@ -119,4 +119,3 @@ be used as a Twig extension. Next: :doc:`/best_practices/forms` .. _`Twig`: https://twig.symfony.com/ -.. _`Parsedown`: https://parsedown.org/ diff --git a/bundles/best_practices.rst b/bundles/best_practices.rst index fd6198a87d2..431a267db97 100644 --- a/bundles/best_practices.rst +++ b/bundles/best_practices.rst @@ -531,4 +531,4 @@ Learn more .. _`choose any license`: https://choosealicense.com/ .. _`valid license identifier`: https://spdx.org/licenses/ .. _`Travis CI`: https://travis-ci.org/ -.. _`Travis Cron`: https://docs.travis-ci.com/user/cron-jobs/ +.. _`Travis cron`: https://docs.travis-ci.com/user/cron-jobs/ diff --git a/components/cache.rst b/components/cache.rst index 700cfcb8448..d323113e9bd 100644 --- a/components/cache.rst +++ b/components/cache.rst @@ -203,7 +203,5 @@ Advanced Usage .. _`PSR-6`: http://www.php-fig.org/psr/psr-6/ .. _`Cache Contracts`: https://github.com/symfony/contracts/blob/master/Cache/CacheInterface.php -.. _`PSR-16`: http://www.php-fig.org/psr/psr-16/ -.. _Doctrine Cache: https://www.doctrine-project.org/projects/cache.html -.. _Stampede prevention: https://en.wikipedia.org/wiki/Cache_stampede +.. _`Stampede prevention`: https://en.wikipedia.org/wiki/Cache_stampede .. _Probabilistic early expiration: https://en.wikipedia.org/wiki/Cache_stampede#Probabilistic_early_expiration diff --git a/components/dom_crawler.rst b/components/dom_crawler.rst index 544cd7dac9b..855fd707446 100644 --- a/components/dom_crawler.rst +++ b/components/dom_crawler.rst @@ -613,5 +613,4 @@ Learn more * :doc:`/components/css_selector` .. _`Goutte`: https://github.com/FriendsOfPHP/Goutte -.. _Packagist: https://packagist.org/packages/symfony/dom-crawler .. _`html5-php library`: https://github.com/Masterminds/html5-php diff --git a/components/filesystem.rst b/components/filesystem.rst index 03ec34f6105..10406ce68c9 100644 --- a/components/filesystem.rst +++ b/components/filesystem.rst @@ -321,5 +321,4 @@ Whenever something wrong happens, an exception implementing An :class:`Symfony\\Component\\Filesystem\\Exception\\IOException` is thrown if directory creation fails. -.. _`Packagist`: https://packagist.org/packages/symfony/filesystem .. _`umask`: https://en.wikipedia.org/wiki/Umask diff --git a/components/finder.rst b/components/finder.rst index 02ba856f898..2201150ffa1 100644 --- a/components/finder.rst +++ b/components/finder.rst @@ -412,5 +412,4 @@ The contents of returned files can be read with .. _`PHP wrapper for URL-style protocols`: https://php.net/manual/en/wrappers.php .. _`PHP streams`: https://php.net/streams .. _`IEC standard`: https://physics.nist.gov/cuu/Units/binary.html -.. _`Packagist`: https://packagist.org/packages/symfony/finder .. _`natural sort order`: https://en.wikipedia.org/wiki/Natural_sort_order diff --git a/components/ldap.rst b/components/ldap.rst index a8799adc39f..50b7eb5b917 100644 --- a/components/ldap.rst +++ b/components/ldap.rst @@ -172,5 +172,3 @@ Possible operation types are ``LDAP_MODIFY_BATCH_ADD``, ``LDAP_MODIFY_BATCH_REMO ``LDAP_MODIFY_BATCH_REMOVE_ALL``, ``LDAP_MODIFY_BATCH_REPLACE``. Parameter ``$values`` must be ``NULL`` when using ``LDAP_MODIFY_BATCH_REMOVE_ALL`` operation type. - -.. _Packagist: https://packagist.org/packages/symfony/ldap diff --git a/components/messenger.rst b/components/messenger.rst index bdcaaecc073..bbe6a55c135 100644 --- a/components/messenger.rst +++ b/components/messenger.rst @@ -8,8 +8,8 @@ The Messenger Component The Messenger component helps applications send and receive messages to/from other applications or via message queues. - The component is greatly inspired by Matthias Noback's series of `blog posts - about command buses`_ and the `SimpleBus project`_. + The component is greatly inspired by Matthias Noback's series of + `blog posts about command buses`_ and the `SimpleBus project`_. .. seealso:: @@ -332,5 +332,5 @@ Learn more /messenger /messenger/* -.. _blog posts about command buses: https://matthiasnoback.nl/tags/command%20bus/ -.. _SimpleBus project: http://docs.simplebus.io/en/latest/ +.. _`blog posts about command buses`: https://matthiasnoback.nl/tags/command%20bus/ +.. _`SimpleBus project`: http://docs.simplebus.io/en/latest/ diff --git a/components/process.rst b/components/process.rst index a2b34acd1e5..ff653f6f4c9 100644 --- a/components/process.rst +++ b/components/process.rst @@ -474,9 +474,6 @@ whether `TTY`_ is supported on the current operating system:: $process = (new Process())->setTty(Process::isTtySupported()); -.. _`Symfony Issue#5759`: https://github.com/symfony/symfony/issues/5759 -.. _`PHP Bug#39992`: https://bugs.php.net/bug.php?id=39992 -.. _`exec`: https://en.wikipedia.org/wiki/Exec_(operating_system) .. _`pid`: https://en.wikipedia.org/wiki/Process_identifier .. _`PHP streams`: https://www.php.net/manual/en/book.stream.php .. _`TTY`: https://en.wikipedia.org/wiki/Tty_(unix) diff --git a/components/routing.rst b/components/routing.rst index b49230286eb..22b9ea9f342 100644 --- a/components/routing.rst +++ b/components/routing.rst @@ -318,5 +318,3 @@ Learn more /routing/* /controller /controller/* - -.. _Packagist: https://packagist.org/packages/symfony/routing diff --git a/components/serializer.rst b/components/serializer.rst index f29761f1e2f..3f70b05ef4d 100644 --- a/components/serializer.rst +++ b/components/serializer.rst @@ -1492,7 +1492,6 @@ Learn more .. _`PSR-1 standard`: https://www.php-fig.org/psr/psr-1/ .. _`JMS serializer`: https://github.com/schmittjoh/serializer -.. _Packagist: https://packagist.org/packages/symfony/serializer .. _RFC3339: https://tools.ietf.org/html/rfc3339#section-5.8 .. _JSON: http://www.json.org/ .. _XML: https://www.w3.org/XML/ diff --git a/components/translation/usage.rst b/components/translation/usage.rst index 40c883e30f2..e9fa2a6bdcb 100644 --- a/components/translation/usage.rst +++ b/components/translation/usage.rst @@ -265,4 +265,3 @@ code needed to generate the previous XLIFF file:: ]); .. _`L10n`: https://en.wikipedia.org/wiki/Internationalization_and_localization -.. _`ISO 31-11`: https://en.wikipedia.org/wiki/Interval_(mathematics)#Notations_for_intervals diff --git a/components/var_exporter.rst b/components/var_exporter.rst index 4fea8905484..6b403f79263 100644 --- a/components/var_exporter.rst +++ b/components/var_exporter.rst @@ -128,5 +128,5 @@ created by using the special ``"\0"`` property name to define their internal val "\0" => [$inputArray] ]); -.. _`OPCache`: https://php.net/opcache +.. _`OPcache`: https://php.net/opcache .. _`PSR-2`: https://www.php-fig.org/psr/psr-2/ diff --git a/contributing/community/reviews.rst b/contributing/community/reviews.rst index e1583bccb59..06cc404d821 100644 --- a/contributing/community/reviews.rst +++ b/contributing/community/reviews.rst @@ -214,7 +214,6 @@ Pick a pull request from the `PRs in need of review`_ and follow these steps: .. _`Symfony skeleton`: https://github.com/symfony/skeleton .. _`Symfony website skeleton`: https://github.com/symfony/website-skeleton .. _create a GitHub account: https://help.github.com/articles/signing-up-for-a-new-github-account/ -.. _forking: https://help.github.com/articles/fork-a-repo/ .. _bug reports in need of review: https://github.com/symfony/symfony/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+label%3A%22Bug%22+label%3A%22Status%3A+Needs+Review%22+ .. _PRs in need of review: https://github.com/symfony/symfony/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Apr+label%3A%22Status%3A+Needs+Review%22+ .. _Symfony Roadmap: https://symfony.com/roadmap diff --git a/controller/error_pages.rst b/controller/error_pages.rst index 646410a020a..a4026b75a66 100644 --- a/controller/error_pages.rst +++ b/controller/error_pages.rst @@ -357,5 +357,3 @@ time and again, you can have just one (or several) listeners deal with them. out and other things. .. _`TwigBundle`: https://github.com/symfony/twig-bundle -.. _`WebfactoryExceptionsBundle`: https://github.com/webfactory/exceptions-bundle -.. _`Symfony Standard Edition`: https://github.com/symfony/symfony-standard/ diff --git a/deployment.rst b/deployment.rst index 6a0dcd26874..b0ab569c87f 100644 --- a/deployment.rst +++ b/deployment.rst @@ -248,7 +248,7 @@ Learn More .. _`Deployer`: http://deployer.org/ .. _`Git Tagging`: https://git-scm.com/book/en/v2/Git-Basics-Tagging .. _`Heroku`: https://devcenter.heroku.com/articles/getting-started-with-symfony -.. _`platform.sh`: https://docs.platform.sh/frameworks/symfony.html +.. _`Platform.sh`: https://docs.platform.sh/frameworks/symfony.html .. _`Azure`: https://azure.microsoft.com/en-us/develop/php/ .. _`fortrabbit`: https://help.fortrabbit.com/install-symfony .. _`EasyDeployBundle`: https://github.com/EasyCorp/easy-deploy-bundle diff --git a/doctrine.rst b/doctrine.rst index 93b049f3965..9cedaa2c984 100644 --- a/doctrine.rst +++ b/doctrine.rst @@ -877,7 +877,6 @@ Learn more .. _`Doctrine's Mapping Types documentation`: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/basic-mapping.html .. _`Query Builder`: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/query-builder.html .. _`Doctrine Query Language`: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/dql-doctrine-query-language.html -.. _`Mapping Types Documentation`: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/basic-mapping.html#property-mapping .. _`Reserved SQL keywords documentation`: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/basic-mapping.html#quoting-reserved-words .. _`DoctrineMongoDBBundle`: https://symfony.com/doc/current/bundles/DoctrineMongoDBBundle/index.html .. _`DoctrineFixturesBundle`: https://symfony.com/doc/current/bundles/DoctrineFixturesBundle/index.html diff --git a/form/form_themes.rst b/form/form_themes.rst index ad64b8f49a9..10241797e66 100644 --- a/form/form_themes.rst +++ b/form/form_themes.rst @@ -594,9 +594,6 @@ is a collection of fields (e.g. a whole form), and not just an individual field: {% endif %} {% endblock form_errors %} -.. _`form_div_layout.html.twig`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Twig/Resources/views/Form/form_div_layout.html.twig -.. _`Twig Bridge`: https://github.com/symfony/symfony/tree/master/src/Symfony/Bridge/Twig -.. _`view on GitHub`: https://github.com/symfony/symfony/tree/master/src/Symfony/Bundle/FrameworkBundle/Resources/views/Form .. _`form_div_layout.html.twig`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Twig/Resources/views/Form/form_div_layout.html.twig .. _`form_table_layout.html.twig`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Twig/Resources/views/Form/form_table_layout.html.twig .. _`bootstrap_3_layout.html.twig`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Twig/Resources/views/Form/bootstrap_3_layout.html.twig diff --git a/introduction/from_flat_php_to_symfony.rst b/introduction/from_flat_php_to_symfony.rst index 69a0cad00b3..63b32c5ed8d 100644 --- a/introduction/from_flat_php_to_symfony.rst +++ b/introduction/from_flat_php_to_symfony.rst @@ -707,5 +707,4 @@ A good selection of `Symfony community tools`_ can be found on GitHub. .. _`download Composer`: https://getcomposer.org/download/ .. _`Validator`: https://github.com/symfony/validator .. _`Varnish`: https://www.varnish-cache.org/ -.. _`Twig`: https://twig.symfony.com .. _`Symfony community tools`: https://github.com/search?q=topic%3Asymfony-bundle&type=Repositories diff --git a/mercure.rst b/mercure.rst index 6c8ba2f8fed..57759c7ec9e 100644 --- a/mercure.rst +++ b/mercure.rst @@ -169,12 +169,12 @@ service, including controllers:: } The first parameter to pass to the ``Update`` constructor is -the **topic** being updated. This topic should be an IRI_ +the **topic** being updated. This topic should be an `IRI`_ (Internationalized Resource Identifier, RFC 3987): a unique identifier of the resource being dispatched. Usually, this parameter contains the original URL of the resource -transmitted to the client, but it can be any valid IRI_, it doesn't +transmitted to the client, but it can be any valid `IRI`_, it doesn't have to be an URL that exists (similarly to XML namespaces). The second parameter of the constructor is the content of the update. @@ -534,7 +534,6 @@ its Mercure support. .. _`a polyfill`: https://github.com/Yaffle/EventSource .. _`high-level implementations`: https://github.com/dunglas/mercure#tools .. _`In this recording`: https://www.youtube.com/watch?v=UI1l0JOjLeI -.. _`API Platform`: https://api-platform.com .. _`Mercure.rocks`: https://mercure.rocks .. _`API Platform distribution`: https://api-platform.com/docs/distribution/ .. _`JSON Web Token`: https://tools.ietf.org/html/rfc7519 diff --git a/messenger.rst b/messenger.rst index a1a9629d3f8..57b128c81f6 100644 --- a/messenger.rst +++ b/messenger.rst @@ -1460,6 +1460,6 @@ Learn more /messenger/* -.. _`enqueue's transport`: https://github.com/php-enqueue/messenger-adapter +.. _`Enqueue's transport`: https://github.com/php-enqueue/messenger-adapter .. _`streams`: https://redis.io/topics/streams-intro .. _`Supervisor docs`: http://supervisord.org/ diff --git a/performance.rst b/performance.rst index a08d9598e17..fdf181839c9 100644 --- a/performance.rst +++ b/performance.rst @@ -140,7 +140,6 @@ Learn more .. _`byte code caches`: https://en.wikipedia.org/wiki/List_of_PHP_accelerators .. _`OPcache`: https://php.net/manual/en/book.opcache.php -.. _`bootstrap file`: https://github.com/sensiolabs/SensioDistributionBundle/blob/master/Composer/ScriptHandler.php .. _`Composer's autoloader optimization`: https://getcomposer.org/doc/articles/autoloader-optimization.md .. _`APC`: https://php.net/manual/en/book.apc.php .. _`APCu Polyfill component`: https://github.com/symfony/polyfill-apcu diff --git a/reference/constraints/Timezone.rst b/reference/constraints/Timezone.rst index 7eed2624ef6..d14352a118f 100644 --- a/reference/constraints/Timezone.rst +++ b/reference/constraints/Timezone.rst @@ -159,5 +159,4 @@ In addition, there are some special zone values: country (which is defined using the ``countryCode`` option). .. _`PHP timezone identifiers`: https://www.php.net/manual/en/timezones.php -.. _`DateTimeZone`: https://www.php.net/datetimezone .. _`ISO 3166-1 alpha-2`: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 diff --git a/security/custom_authentication_provider.rst b/security/custom_authentication_provider.rst index d81c9fa01ac..1a0a78bf226 100644 --- a/security/custom_authentication_provider.rst +++ b/security/custom_authentication_provider.rst @@ -641,4 +641,3 @@ in the factory and consumed or passed to the other classes in the container. .. _`WSSE`: http://www.xml.com/pub/a/2003/12/17/dive.html .. _`nonce`: https://en.wikipedia.org/wiki/Cryptographic_nonce -.. _`timing attacks`: https://en.wikipedia.org/wiki/Timing_attack diff --git a/security/guard_authentication.rst b/security/guard_authentication.rst index 0c292241e98..205c52b286e 100644 --- a/security/guard_authentication.rst +++ b/security/guard_authentication.rst @@ -509,6 +509,5 @@ Frequently Asked Questions question) or use the ``User`` object from FOSUserBundle and create your own authenticator(s) (just like in this article). -.. _`must be quoted with backticks`: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/basic-mapping.html#quoting-reserved-words .. _`Social Authentication`: https://github.com/knpuniversity/oauth2-client-bundle#authenticating-with-guard .. _`HWIOAuthBundle`: https://github.com/hwi/HWIOAuthBundle diff --git a/serializer.rst b/serializer.rst index 43781767379..85d5cf7ab6b 100644 --- a/serializer.rst +++ b/serializer.rst @@ -228,7 +228,6 @@ take a look at how this bundle works. serializer/custom_encoders serializer/custom_normalizer -.. _`APCu`: https://github.com/krakjoe/apcu .. _`API Platform`: https://api-platform.com .. _`JSON-LD`: http://json-ld.org .. _`Hydra Core Vocabulary`: http://hydra-cg.com diff --git a/service_container.rst b/service_container.rst index 1ce394593be..fc5405c1d7e 100644 --- a/service_container.rst +++ b/service_container.rst @@ -1041,6 +1041,5 @@ Learn more /service_container/* -.. _`service-oriented architecture`: https://en.wikipedia.org/wiki/Service-oriented_architecture .. _`glob pattern`: https://en.wikipedia.org/wiki/Glob_(programming) .. _`Symfony Fundamentals screencast series`: https://symfonycasts.com/screencast/symfony-fundamentals diff --git a/setup.rst b/setup.rst index 9eb37355dac..7ce997e49e0 100644 --- a/setup.rst +++ b/setup.rst @@ -261,7 +261,7 @@ Learn More .. _`Install Composer`: https://getcomposer.org/download/ .. _`Install Symfony`: https://symfony.com/download .. _`install Symfony`: https://symfony.com/download -.. _`The Symfony Demo application`: https://github.com/symfony/demo +.. _`The Symfony Demo Application`: https://github.com/symfony/demo .. _`Symfony Flex`: https://github.com/symfony/flex .. _`PHP security advisories database`: https://github.com/FriendsOfPHP/security-advisories .. _`Symfony roadmap`: https://symfony.com/roadmap diff --git a/setup/flex.rst b/setup/flex.rst index 00f734820e2..87d40dd6c70 100644 --- a/setup/flex.rst +++ b/setup/flex.rst @@ -45,7 +45,7 @@ manual steps: $ composer require symfony/flex #. If the project's ``composer.json`` file contains ``symfony/symfony`` dependency, - it still depends on the Symfony Standard edition, which is no longer available + it still depends on the Symfony Standard Edition, which is no longer available in Symfony 4. First, remove this dependency: .. code-block:: terminal @@ -193,9 +193,6 @@ If you customize these paths, some files copied from a recipe still may contain references to the original path. In other words: you may need to update some things manually after a recipe is installed. -.. _`Symfony Flex`: https://github.com/symfony/flex -.. _`Symfony Installer`: https://github.com/symfony/symfony-installer -.. _`Symfony Standard Edition`: https://github.com/symfony/symfony-standard .. _`default services.yaml file`: https://github.com/symfony/recipes/blob/master/symfony/framework-bundle/3.3/config/services.yaml .. _`shown in this example`: https://github.com/symfony/skeleton/blob/8e33fe617629f283a12bbe0a6578bd6e6af417af/composer.json#L24-L33 .. _`shown in this example of the skeleton-project`: https://github.com/symfony/skeleton/blob/8e33fe617629f283a12bbe0a6578bd6e6af417af/composer.json#L44-L46 diff --git a/setup/upgrade_major.rst b/setup/upgrade_major.rst index e2439d41b9f..56b25062646 100644 --- a/setup/upgrade_major.rst +++ b/setup/upgrade_major.rst @@ -163,5 +163,3 @@ of. When upgrading to Symfony 4, you will probably also want to upgrade to the new Symfony 4 directory structure so that you can take advantage of Symfony Flex. This takes some work, but is optional. For details, see :doc:`/setup/flex`. - -.. _`Symfony-Upgrade-Fixer`: https://github.com/umpirsky/Symfony-Upgrade-Fixer diff --git a/templating/PHP.rst b/templating/PHP.rst index 1ea3196c4cb..52aa30694ec 100644 --- a/templating/PHP.rst +++ b/templating/PHP.rst @@ -574,5 +574,3 @@ original template: escape($help) ?> - -.. _`@Template`: https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/view