diff --git a/best_practices/business-logic.rst b/best_practices/business-logic.rst index 6f8df397bd7..3c329743eb0 100644 --- a/best_practices/business-logic.rst +++ b/best_practices/business-logic.rst @@ -365,7 +365,6 @@ Next: :doc:`/best_practices/controllers` .. _`full definition`: https://en.wikipedia.org/wiki/Business_logic .. _`Doctrine project`: http://www.doctrine-project.org/ -.. _`Doctrine ORM support`: https://symfony.com/doc/current/doctrine.html .. _`fixture class`: https://symfony.com/doc/current/bundles/DoctrineFixturesBundle/index.html#writing-simple-fixtures .. _`PSR-1`: https://www.php-fig.org/psr/psr-1/ .. _`PSR-2`: https://www.php-fig.org/psr/psr-2/ diff --git a/best_practices/security.rst b/best_practices/security.rst index 5be6b6eca30..19ba9f7e330 100644 --- a/best_practices/security.rst +++ b/best_practices/security.rst @@ -385,6 +385,5 @@ develop :doc:`your own user provider ` and Next: :doc:`/best_practices/web-assets` .. _`ParamConverter`: https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/converters.html -.. _`@Security annotation`: https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/security.html .. _`FOSUserBundle`: https://github.com/FriendsOfSymfony/FOSUserBundle .. _`libsodium`: https://pecl.php.net/package/libsodium diff --git a/components/asset.rst b/components/asset.rst index bdc856c4ba6..3ef3ccedd10 100644 --- a/components/asset.rst +++ b/components/asset.rst @@ -376,5 +376,4 @@ Learn more * :doc:`How to manage CSS and JavaScript assets in Symfony applications ` * :doc:`WebLink component ` to preload assets using HTTP/2. -.. _Packagist: https://packagist.org/packages/symfony/asset .. _`Webpack`: https://webpack.js.org/ diff --git a/components/browser_kit.rst b/components/browser_kit.rst index 635cbc25dec..77c284aa631 100644 --- a/components/browser_kit.rst +++ b/components/browser_kit.rst @@ -247,5 +247,4 @@ Learn more * :doc:`/components/css_selector` * :doc:`/components/dom_crawler` -.. _`Packagist`: https://packagist.org/packages/symfony/browser-kit .. _`Goutte`: https://github.com/FriendsOfPHP/Goutte diff --git a/components/cache/adapters/memcached_adapter.rst b/components/cache/adapters/memcached_adapter.rst index d1f666f6321..d51acc19aa0 100644 --- a/components/cache/adapters/memcached_adapter.rst +++ b/components/cache/adapters/memcached_adapter.rst @@ -300,4 +300,3 @@ Available Options .. _`Memcached server`: https://memcached.org/ .. _`Memcached`: http://php.net/manual/en/class.memcached.php .. _`Data Source Name (DSN)`: https://en.wikipedia.org/wiki/Data_source_name -.. _`Domain Name System (DNS)`: https://en.wikipedia.org/wiki/Domain_Name_System diff --git a/components/class_loader.rst b/components/class_loader.rst index 877c4bf548d..2b02a025082 100644 --- a/components/class_loader.rst +++ b/components/class_loader.rst @@ -71,5 +71,4 @@ Learn More .. _PSR-0: https://www.php-fig.org/psr/psr-0/ .. _PSR-4: https://www.php-fig.org/psr/psr-4/ .. _`autoloading mechanism`: https://php.net/manual/en/language.oop5.autoload.php -.. _Packagist: https://packagist.org/packages/symfony/class-loader .. _`class loading optimizations`: https://getcomposer.org/doc/articles/autoloader-optimization.md diff --git a/components/config.rst b/components/config.rst index 4b6ad1be442..c41b1a54a81 100644 --- a/components/config.rst +++ b/components/config.rst @@ -29,5 +29,3 @@ Learn More /bundles/configuration /bundles/extension /bundles/prepend_extension - -.. _Packagist: https://packagist.org/packages/symfony/config diff --git a/components/console.rst b/components/console.rst index 34072ce6b3a..6a2abe2366e 100644 --- a/components/console.rst +++ b/components/console.rst @@ -65,5 +65,3 @@ Learn more /components/console/* /components/console/helpers/index /console/* - -.. _Packagist: https://packagist.org/packages/symfony/console diff --git a/components/css_selector.rst b/components/css_selector.rst index 67193589e91..2c15ef432dd 100644 --- a/components/css_selector.rst +++ b/components/css_selector.rst @@ -97,8 +97,6 @@ Several pseudo-classes are not yet supported: ``*:nth-last-of-type``, ``*:only-of-type``. (These work with an element name (e.g. ``li:first-of-type``) but not with ``*``). -.. _Packagist: https://packagist.org/packages/symfony/css-selector - Learn more ---------- diff --git a/components/debug.rst b/components/debug.rst index a20b1b9b541..80f5d4ea726 100644 --- a/components/debug.rst +++ b/components/debug.rst @@ -87,5 +87,3 @@ Using the ``DebugClassLoader`` is done by calling its static use Symfony\Component\Debug\DebugClassLoader; DebugClassLoader::enable(); - -.. _Packagist: https://packagist.org/packages/symfony/debug diff --git a/components/dependency_injection.rst b/components/dependency_injection.rst index d6b981827ec..353466d1c4f 100644 --- a/components/dependency_injection.rst +++ b/components/dependency_injection.rst @@ -311,4 +311,3 @@ Learn More /service_container/* .. _`PSR-11`: http://www.php-fig.org/psr/psr-11/ -.. _Packagist: https://packagist.org/packages/symfony/dependency-injection diff --git a/components/dom_crawler.rst b/components/dom_crawler.rst index 81ba58d38d8..c7fbfcd8dc0 100644 --- a/components/dom_crawler.rst +++ b/components/dom_crawler.rst @@ -578,7 +578,6 @@ the whole form or specific field(s):: $form['country']->select('Invalid value'); .. _`Goutte`: https://github.com/FriendsOfPHP/Goutte -.. _Packagist: https://packagist.org/packages/symfony/dom-crawler Learn more ---------- diff --git a/components/dotenv.rst b/components/dotenv.rst index 1fcb66f4cdd..1152af96c09 100644 --- a/components/dotenv.rst +++ b/components/dotenv.rst @@ -115,5 +115,4 @@ Embed commands via ``$()`` (not supported on Windows): Note that using ``$()`` might not work depending on your shell. -.. _Packagist: https://packagist.org/packages/symfony/dotenv .. _twelve-factor applications: http://www.12factor.net/ diff --git a/components/event_dispatcher.rst b/components/event_dispatcher.rst index 33353cc9684..8ba61950ba6 100644 --- a/components/event_dispatcher.rst +++ b/components/event_dispatcher.rst @@ -521,4 +521,3 @@ Learn More .. _Observer: https://en.wikipedia.org/wiki/Observer_pattern .. _Closures: https://php.net/manual/en/functions.anonymous.php .. _PHP callable: https://php.net/manual/en/language.pseudo-types.php#language.types.callback -.. _Packagist: https://packagist.org/packages/symfony/event-dispatcher diff --git a/components/expression_language.rst b/components/expression_language.rst index a421f59e7f5..7e955a8b891 100644 --- a/components/expression_language.rst +++ b/components/expression_language.rst @@ -129,5 +129,3 @@ Learn More /components/expression_language/* /service_container/expression_language /reference/constraints/Expression - -.. _Packagist: https://packagist.org/packages/symfony/expression-language diff --git a/components/filesystem.rst b/components/filesystem.rst index 431c9939392..80246f9ffb7 100644 --- a/components/filesystem.rst +++ b/components/filesystem.rst @@ -339,5 +339,4 @@ Learn More filesystem/* -.. _`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 2d0810213ee..d427461b037 100644 --- a/components/finder.rst +++ b/components/finder.rst @@ -334,4 +334,3 @@ The contents of returned files can be read with .. _protocol: https://php.net/manual/en/wrappers.php .. _Streams: https://php.net/streams .. _IEC standard: https://physics.nist.gov/cuu/Units/binary.html -.. _Packagist: https://packagist.org/packages/symfony/finder diff --git a/components/form.rst b/components/form.rst index 6b74f8407c1..afb4f049ac2 100644 --- a/components/form.rst +++ b/components/form.rst @@ -763,6 +763,5 @@ Learn more /form/* -.. _Packagist: https://packagist.org/packages/symfony/form .. _Twig: https://twig.symfony.com .. _`Twig Configuration`: https://twig.symfony.com/doc/2.x/intro.html diff --git a/components/http_foundation.rst b/components/http_foundation.rst index 603df5663e9..b032be9287f 100644 --- a/components/http_foundation.rst +++ b/components/http_foundation.rst @@ -664,7 +664,6 @@ Learn More /session/* /http_cache/* -.. _Packagist: https://packagist.org/packages/symfony/http-foundation .. _Nginx: https://www.nginx.com/resources/wiki/start/topics/examples/xsendfile/ .. _Apache: https://tn123.org/mod_xsendfile/ .. _`JSON Hijacking`: http://haacked.com/archive/2009/06/25/json-hijacking.aspx diff --git a/components/http_kernel.rst b/components/http_kernel.rst index e15c5931dbc..4040121d56a 100644 --- a/components/http_kernel.rst +++ b/components/http_kernel.rst @@ -774,10 +774,8 @@ Learn more /reference/events -.. _Packagist: https://packagist.org/packages/symfony/http-kernel .. _reflection: https://php.net/manual/en/book.reflection.php .. _FOSRestBundle: https://github.com/friendsofsymfony/FOSRestBundle -.. _`Create your own framework... on top of the Symfony2 Components`: http://fabien.potencier.org/article/50/create-your-own-framework-on-top-of-the-symfony2-components-part-1 .. _`PHP FPM`: https://php.net/manual/en/install.fpm.php .. _`SensioFrameworkExtraBundle`: https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/index.html .. _`@ParamConverter`: https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/converters.html diff --git a/components/intl.rst b/components/intl.rst index 13462b9aa48..aef0d70c8a4 100644 --- a/components/intl.rst +++ b/components/intl.rst @@ -352,8 +352,6 @@ Learn more /reference/forms/types/language /reference/forms/types/locale -.. _Packagist: https://packagist.org/packages/symfony/intl -.. _Icu component: https://packagist.org/packages/symfony/icu .. _intl extension: https://php.net/manual/en/book.intl.php .. _install the intl extension: https://php.net/manual/en/intl.setup.php .. _ICU library: http://site.icu-project.org/ diff --git a/components/ldap.rst b/components/ldap.rst index 774d3706627..2874ca38be1 100644 --- a/components/ldap.rst +++ b/components/ldap.rst @@ -140,5 +140,3 @@ delete existing ones:: // Removing an existing entry $entryManager->remove(new Entry('cn=Test User,dc=symfony,dc=com')); - -.. _Packagist: https://packagist.org/packages/symfony/ldap diff --git a/components/lock.rst b/components/lock.rst index 1405b7b7275..95a938a6486 100644 --- a/components/lock.rst +++ b/components/lock.rst @@ -536,5 +536,4 @@ configuration must not be started while old processes with old configuration are still running. .. _`locks`: https://en.wikipedia.org/wiki/Lock_(computer_science) -.. _Packagist: https://packagist.org/packages/symfony/lock .. _`PHP semaphore functions`: https://php.net/manual/en/book.sem.php diff --git a/components/options_resolver.rst b/components/options_resolver.rst index 9fd02f3741c..e8c2f186c11 100644 --- a/components/options_resolver.rst +++ b/components/options_resolver.rst @@ -693,6 +693,3 @@ method ``clearOptionsConfig()`` and call it periodically:: That's it! You now have all the tools and knowledge needed to process options in your code. - -.. _Packagist: https://packagist.org/packages/symfony/options-resolver -.. _CHANGELOG: https://github.com/symfony/symfony/blob/master/src/Symfony/Component/OptionsResolver/CHANGELOG.md#260 diff --git a/components/phpunit_bridge.rst b/components/phpunit_bridge.rst index 23ad3cf96ed..038bfac3581 100644 --- a/components/phpunit_bridge.rst +++ b/components/phpunit_bridge.rst @@ -209,7 +209,7 @@ message, enclosed with ``/``. For example, with: -PHPUnit_ will stop your test suite once a deprecation notice is triggered whose +`PHPUnit`_ will stop your test suite once a deprecation notice is triggered whose message contains the ``"foobar"`` string. Making Tests Fail @@ -724,7 +724,6 @@ not find the SUT: .. _`PHPUnit's assertStringMatchesFormat()`: https://phpunit.de/manual/current/en/appendixes.assertions.html#appendixes.assertions.assertStringMatchesFormat .. _`PHP error handler`: https://php.net/manual/en/book.errorfunc.php .. _`environment variable`: https://phpunit.de/manual/current/en/appendixes.configuration.html#appendixes.configuration.php-ini-constants-variables -.. _Packagist: https://packagist.org/packages/symfony/phpunit-bridge .. _`@-silencing operator`: https://php.net/manual/en/language.operators.errorcontrol.php .. _`@-silenced`: https://php.net/manual/en/language.operators.errorcontrol.php .. _`Travis CI`: https://travis-ci.org/ diff --git a/components/polyfill_iconv.rst b/components/polyfill_iconv.rst index 8801f11deca..e50b926e6bd 100644 --- a/components/polyfill_iconv.rst +++ b/components/polyfill_iconv.rst @@ -55,5 +55,3 @@ extension are installed: * :phpfunction:`iconv_mime_decode` .. _`PHP iconv extension`: https://secure.php.net/manual/en/book.iconv.php -.. _`mbstring`: https://secure.php.net/manual/en/book.mbstring.php -.. _`xml`: https://secure.php.net/manual/en/book.xml.php diff --git a/components/process.rst b/components/process.rst index d3b21f843b9..2648344dde1 100644 --- a/components/process.rst +++ b/components/process.rst @@ -437,6 +437,4 @@ absolute path of the executable PHP binary available on your server:: // $phpBinaryPath = '/usr/local/bin/php' (the result will be different on your computer) .. _`pid`: https://en.wikipedia.org/wiki/Process_identifier -.. _`PHP Documentation`: https://php.net/manual/en/pcntl.constants.php -.. _Packagist: https://packagist.org/packages/symfony/process .. _`PHP streams`: https://www.php.net/manual/en/book.stream.php diff --git a/components/property_access.rst b/components/property_access.rst index 50524056679..7415164e065 100644 --- a/components/property_access.rst +++ b/components/property_access.rst @@ -461,5 +461,4 @@ Or you can pass parameters directly to the constructor (not the recommended way) // ... $propertyAccessor = new PropertyAccessor(true); // this enables handling of magic __call -.. _Packagist: https://packagist.org/packages/symfony/property-access .. _The Inflector component: https://github.com/symfony/inflector diff --git a/components/property_info.rst b/components/property_info.rst index 86f32165591..180349fc6e9 100644 --- a/components/property_info.rst +++ b/components/property_info.rst @@ -484,7 +484,6 @@ service by defining it as a service with one or more of the following * ``property_info.description_extractor`` if it provides description information. * ``property_info.access_extractor`` if it provides access information. -.. _Packagist: https://packagist.org/packages/symfony/property-info .. _`phpDocumentor Reflection`: https://github.com/phpDocumentor/ReflectionDocBlock .. _`phpdocumentor/reflection-docblock`: https://packagist.org/packages/phpdocumentor/reflection-docblock .. _`Doctrine ORM`: https://www.doctrine-project.org/projects/orm.html diff --git a/components/routing.rst b/components/routing.rst index 617fc5a8a24..b2cd834a323 100644 --- a/components/routing.rst +++ b/components/routing.rst @@ -580,5 +580,4 @@ Learn more /controller /controller/* -.. _Packagist: https://packagist.org/packages/symfony/routing .. _PCRE Unicode properties: http://php.net/manual/en/regexp.reference.unicode.php diff --git a/components/security.rst b/components/security.rst index 6df0b4fc531..ee6c1580472 100644 --- a/components/security.rst +++ b/components/security.rst @@ -57,5 +57,4 @@ Learn More /reference/configuration/security /reference/constraints/UserPassword -.. _Packagist: https://packagist.org/packages/symfony/security .. _`CSRF attacks`: https://en.wikipedia.org/wiki/Cross-site_request_forgery diff --git a/components/security/authentication.rst b/components/security/authentication.rst index 94351b2ce96..f5333c188e0 100644 --- a/components/security/authentication.rst +++ b/components/security/authentication.rst @@ -320,4 +320,3 @@ the ``switch_user`` firewall listener. :doc:`/security/impersonating_user`. .. _`CVE-2013-5750`: https://symfony.com/blog/cve-2013-5750-security-issue-in-fosuserbundle-login-form -.. _`BasePasswordEncoder::checkPasswordLength`: https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Security/Core/Encoder/BasePasswordEncoder.php diff --git a/components/serializer.rst b/components/serializer.rst index e070f217350..b8159a2bc95 100644 --- a/components/serializer.rst +++ b/components/serializer.rst @@ -630,7 +630,7 @@ There are several types of normalizers available: :class:`Symfony\\Component\\Serializer\\Normalizer\\DateTimeNormalizer` This normalizer converts :phpclass:`DateTimeInterface` objects (e.g. :phpclass:`DateTime` and :phpclass:`DateTimeImmutable`) into strings. - By default, it uses the RFC3339_ format. + By default, it uses the `RFC3339`_ format. .. versionadded:: 3.2 @@ -657,17 +657,17 @@ Encoders The Serializer component supports many formats out of the box: :class:`Symfony\\Component\\Serializer\\Encoder\\JsonEncoder` - This class encodes and decodes data in JSON_. + This class encodes and decodes data in `JSON`_. :class:`Symfony\\Component\\Serializer\\Encoder\\XmlEncoder` - This class encodes and decodes data in XML_. + This class encodes and decodes data in `XML`_. :class:`Symfony\\Component\\Serializer\\Encoder\\YamlEncoder` - This encoder encodes and decodes data in YAML_. This encoder requires the + This encoder encodes and decodes data in `YAML`_. This encoder requires the :doc:`Yaml Component `. :class:`Symfony\\Component\\Serializer\\Encoder\\CsvEncoder` - This encoder encodes and decodes data in CSV_. + This encoder encodes and decodes data in `CSV`_. All these encoders are enabled by default when using the Symfony Standard Edition with the serializer enabled. @@ -1061,9 +1061,8 @@ 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/ -.. _YAML: http://yaml.org/ -.. _CSV: https://tools.ietf.org/html/rfc4180 +.. _`RFC3339`: https://tools.ietf.org/html/rfc3339#section-5.8 +.. _`JSON`: http://www.json.org/ +.. _`XML`: https://www.w3.org/XML/ +.. _`YAML`: http://yaml.org/ +.. _`CSV`: https://tools.ietf.org/html/rfc4180 diff --git a/components/stopwatch.rst b/components/stopwatch.rst index aed08e8d75f..fcd3b7bba89 100644 --- a/components/stopwatch.rst +++ b/components/stopwatch.rst @@ -120,5 +120,3 @@ method and specifying the id of the section to be reopened:: $stopwatch->openSection('routing'); $stopwatch->start('building_config_tree'); $stopwatch->stopSection('routing'); - -.. _Packagist: https://packagist.org/packages/symfony/stopwatch diff --git a/components/templating.rst b/components/templating.rst index bb052c17285..f4a90d6296d 100644 --- a/components/templating.rst +++ b/components/templating.rst @@ -212,5 +212,3 @@ Learn More /components/templating/* /templating /templating/* - -.. _Packagist: https://packagist.org/packages/symfony/templating diff --git a/components/translation.rst b/components/translation.rst index e28f0c841e1..b5dc462e414 100644 --- a/components/translation.rst +++ b/components/translation.rst @@ -227,6 +227,5 @@ Learn More /translation/* /validation/translations -.. _Packagist: https://packagist.org/packages/symfony/translation .. _`ISO 3166-1 alpha-2`: https://en.wikipedia.org/wiki/ISO_3166-1#Current_codes .. _`ISO 639-1`: https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes diff --git a/components/validator.rst b/components/validator.rst index 4ca9dd38cac..fc4c1206ec9 100644 --- a/components/validator.rst +++ b/components/validator.rst @@ -93,4 +93,3 @@ Learn More /validation/* .. _`JSR-303 Bean Validation specification`: http://jcp.org/en/jsr/detail?id=303 -.. _Packagist: https://packagist.org/packages/symfony/validator diff --git a/components/validator/resources.rst b/components/validator/resources.rst index bbeac55889e..a3645162e51 100644 --- a/components/validator/resources.rst +++ b/components/validator/resources.rst @@ -192,5 +192,3 @@ You can set this custom implementation using Since you are using a custom metadata factory, you can't configure loaders and caches using the ``add*Mapping()`` methods anymore. You now have to inject them into your custom metadata factory yourself. - -.. _`Packagist`: https://packagist.org diff --git a/components/var_dumper.rst b/components/var_dumper.rst index 8f0c7c4e43f..5c60fab3884 100644 --- a/components/var_dumper.rst +++ b/components/var_dumper.rst @@ -299,5 +299,3 @@ Learn More :glob: var_dumper/* - -.. _Packagist: https://packagist.org/packages/symfony/var-dumper diff --git a/components/workflow.rst b/components/workflow.rst index e54e01d8683..eef22693c47 100644 --- a/components/workflow.rst +++ b/components/workflow.rst @@ -106,5 +106,3 @@ Learn more :glob: /workflow/* - -.. _Packagist: https://packagist.org/packages/symfony/workflow diff --git a/components/yaml.rst b/components/yaml.rst index c71b12de36f..cca09c618da 100644 --- a/components/yaml.rst +++ b/components/yaml.rst @@ -307,7 +307,7 @@ Date Handling By default, the YAML parser will convert unquoted strings which look like a date or a date-time into a Unix timestamp; for example ``2016-05-27`` or -``2016-05-27T02:59:43.1Z`` (ISO-8601_):: +``2016-05-27T02:59:43.1Z`` (`ISO-8601`_):: Yaml::parse('2016-05-27'); // 1464307200 @@ -455,7 +455,6 @@ Learn More yaml/* -.. _YAML: http://yaml.org/ -.. _Packagist: https://packagist.org/packages/symfony/yaml +.. _`YAML`: http://yaml.org/ .. _`YAML 1.2 version specification`: http://yaml.org/spec/1.2/spec.html -.. _ISO-8601: http://www.iso.org/iso/iso8601 +.. _`ISO-8601`: http://www.iso.org/iso/iso8601 diff --git a/components/yaml/yaml_format.rst b/components/yaml/yaml_format.rst index d4bd590d0ac..45a7e3765ac 100644 --- a/components/yaml/yaml_format.rst +++ b/components/yaml/yaml_format.rst @@ -149,7 +149,7 @@ Booleans in YAML are expressed with ``true`` and ``false``. Dates ~~~~~ -YAML uses the ISO-8601 standard to express dates: +YAML uses the `ISO-8601`_ standard to express dates: .. code-block:: yaml @@ -314,8 +314,6 @@ The YAML specification defines some tags to set the type of any data explicitly: Support for the ``!!str`` tag was introduced in Symfony 3.4. -.. _YAML: http://yaml.org/ - Unsupported YAML Features ------------------------- @@ -331,5 +329,6 @@ The following YAML features are not supported by the Symfony Yaml component: * Using sequence-like syntax for mapping elements (example: ``{foo, bar}``; use ``{foo: ~, bar: ~}`` instead). +.. _`ISO-8601`: http://www.iso.org/iso/iso8601 .. _`YAML website`: http://yaml.org/ .. _`YAML specification`: http://www.yaml.org/spec/1.2/spec.html diff --git a/configuration/external_parameters.rst b/configuration/external_parameters.rst index 5d65fb00a44..f7463b5d6ef 100644 --- a/configuration/external_parameters.rst +++ b/configuration/external_parameters.rst @@ -549,6 +549,3 @@ the Symfony service container:: // app/config/parameters.php include_once('/path/to/drupal/sites/default/settings.php'); $container->setParameter('drupal.database.url', $db_url); - -.. _`SetEnv`: http://httpd.apache.org/docs/current/env.html -.. _`fastcgi_param`: http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_param diff --git a/contributing/code/bc.rst b/contributing/code/bc.rst index fbecf1ab880..74276a74556 100644 --- a/contributing/code/bc.rst +++ b/contributing/code/bc.rst @@ -445,9 +445,4 @@ Turn static into non static No .. [9] Allowed for the ``void`` return type. -.. _Semantic Versioning: https://semver.org/ -.. _scalar type: https://php.net/manual/en/function.is-scalar.php -.. _boolean values: https://php.net/manual/en/function.boolval.php -.. _string values: https://php.net/manual/en/function.strval.php -.. _integer values: https://php.net/manual/en/function.intval.php -.. _float values: https://php.net/manual/en/function.floatval.php +.. _`Semantic Versioning`: https://semver.org/ diff --git a/contributing/code/bugs.rst b/contributing/code/bugs.rst index 9164b057004..2a374dedbba 100644 --- a/contributing/code/bugs.rst +++ b/contributing/code/bugs.rst @@ -48,5 +48,4 @@ If your problem definitely looks like a bug, report it using the official bug .. _IRC channel: https://symfony.com/irc .. _the Symfony Slack: https://symfony.com/slack-invite .. _tracker: https://github.com/symfony/symfony/issues -.. _Symfony Standard Edition: https://github.com/symfony/symfony-standard/ .. _
HTML tag: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details diff --git a/contributing/code/core_team.rst b/contributing/code/core_team.rst index fd5f5e8ca40..5a9596fc80f 100644 --- a/contributing/code/core_team.rst +++ b/contributing/code/core_team.rst @@ -178,13 +178,11 @@ discretion of the **Project Leader**. .. _`fabpot`: https://github.com/fabpot/ .. _`webmozart`: https://github.com/webmozart/ .. _`Tobion`: https://github.com/Tobion/ -.. _`romainneutron`: https://github.com/romainneutron/ .. _`nicolas-grekas`: https://github.com/nicolas-grekas/ .. _`stof`: https://github.com/stof/ .. _`dunglas`: https://github.com/dunglas/ .. _`jakzal`: https://github.com/jakzal/ .. _`Seldaek`: https://github.com/Seldaek/ -.. _`lsmith77`: https://github.com/lsmith77/ .. _`weaverryan`: https://github.com/weaverryan/ .. _`aitboudad`: https://github.com/aitboudad/ .. _`xabbuh`: https://github.com/xabbuh/ diff --git a/contributing/code/pull_requests.rst b/contributing/code/pull_requests.rst index bf1d07a4cc9..6957c5d043d 100644 --- a/contributing/code/pull_requests.rst +++ b/contributing/code/pull_requests.rst @@ -225,7 +225,7 @@ in mind the following: as defined in `PSR-1`_ and `PSR-2`_. A status is posted below the pull request description with a summary - of any problems it detects or any Travis CI build failures. + of any problems it detects or any `Travis-CI`_ build failures. .. tip:: @@ -415,12 +415,8 @@ before merging. .. _ProGit: https://git-scm.com/book .. _GitHub: https://github.com/join -.. _`GitHub's Documentation`: https://help.github.com/articles/ignoring-files +.. _`GitHub's documentation`: https://help.github.com/articles/ignoring-files .. _Symfony repository: https://github.com/symfony/symfony -.. _dev mailing-list: https://groups.google.com/group/symfony-devs -.. _travis-ci.org: https://travis-ci.org/ -.. _`travis-ci.org status icon`: https://about.travis-ci.com/docs/user/status-images/ -.. _`travis-ci.org Getting Started Guide`: https://about.travis-ci.com/docs/user/getting-started/ .. _`documentation repository`: https://github.com/symfony/symfony-docs .. _`fabbot`: https://fabbot.io .. _`PSR-1`: https://www.php-fig.org/psr/psr-1/ @@ -429,4 +425,3 @@ before merging. .. _`Symfony Slack`: https://symfony.com/slack-invite .. _`Travis-CI`: https://travis-ci.org/symfony/symfony .. _`draft status`: https://help.github.com/en/articles/about-pull-requests#draft-pull-requests -.. _`Symfony Roadmap`: https://symfony.com/roadmap diff --git a/contributing/code/security.rst b/contributing/code/security.rst index ca6724c6f0a..b7cee879de6 100644 --- a/contributing/code/security.rst +++ b/contributing/code/security.rst @@ -1,9 +1,9 @@ Security Issues =============== -This document explains how Symfony security issues are handled by the Symfony -core team (Symfony being the code hosted on the main ``symfony/symfony`` `Git -repository`_). +This document explains how Symfony security issues are handled by the +Symfony core team (Symfony being the code hosted on the main ``symfony/symfony`` +`Git repository`_). Reporting a Security Issue -------------------------- @@ -176,9 +176,8 @@ Check the `Security Advisories`_ blog category for a list of all security vulnerabilities that were fixed in Symfony releases, starting from Symfony 1.0.0. -.. _Git repository: https://github.com/symfony/symfony +.. _`Git repository`: https://github.com/symfony/symfony .. _blog: https://symfony.com/blog/ -.. _Security Advisories: https://symfony.com/blog/category/security-advisories .. _`security advisories database`: https://github.com/FriendsOfPHP/security-advisories .. _`mitre.org`: https://cveform.mitre.org/ .. _`Security Advisories`: https://symfony.com/blog/category/security-advisories diff --git a/contributing/community/reviews.rst b/contributing/community/reviews.rst index 7e5feea0872..f412e4ecdd2 100644 --- a/contributing/community/reviews.rst +++ b/contributing/community/reviews.rst @@ -45,7 +45,7 @@ next step. Create a GitHub Account ----------------------- -Symfony uses GitHub_ to manage bug reports and pull requests. If you want to +Symfony uses `GitHub`_ to manage bug reports and pull requests. If you want to do reviews, you need to `create a GitHub account`_ and log in. The Bug Report Review Process @@ -67,7 +67,7 @@ The steps for the review are: Download the reproduction project and test whether the bug can be reproduced on your system. If the reporter did not provide a reproduction project, - create one by forking_ the `Symfony Standard Edition`_. + create one by `forking`_ the `Symfony Standard Edition`_. #. **Update the Issue Status** @@ -216,8 +216,6 @@ Pick a pull request from the `PRs in need of review`_ and follow these steps: .. _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+ -.. _Contribution Guidelines: https://github.com/symfony/symfony/blob/master/CONTRIBUTING.md -.. _Symfony's Release Schedule: https://symfony.com/doc/current/contributing/community/releases.html#schedule .. _Symfony Roadmap: https://symfony.com/roadmap .. _Carson Bot: https://github.com/carsonbot/carsonbot .. _`Needs Review`: https://github.com/symfony/symfony/labels/Status%3A%20Needs%20Review diff --git a/contributing/documentation/overview.rst b/contributing/documentation/overview.rst index bd0c9564ab4..19dd6d030ce 100644 --- a/contributing/documentation/overview.rst +++ b/contributing/documentation/overview.rst @@ -65,9 +65,9 @@ Let's imagine that you want to improve the Setup guide. In order to make your changes, follow these steps: **Step 1.** Go to the official Symfony documentation repository located at -`github.com/symfony/symfony-docs`_ and click on the **Fork** button to `fork the -repository`_ to your personal account. This is only needed the first time you -contribute to Symfony. +`github.com/symfony/symfony-docs`_ and click on the **Fork** button to +`fork the repository`_ to your personal account. This is only needed the first +time you contribute to Symfony. **Step 2.** **Clone** the forked repository to your local machine (this example uses the ``projects/symfony-docs/`` directory to store the documentation; change @@ -339,7 +339,6 @@ definitely don't want you to waste your time! .. _`Symfony Documentation Contributors`: https://symfony.com/contributors/doc .. _`SymfonyConnect`: https://connect.symfony.com/ .. _`Symfony Documentation Badge`: https://connect.symfony.com/badge/36/symfony-documentation-contributor -.. _`sync your fork`: https://help.github.com/articles/syncing-a-fork .. _`SymfonyCloud`: https://symfony.com/cloud .. _`roadmap`: https://symfony.com/roadmap .. _`pip`: https://pip.pypa.io/en/stable/ diff --git a/controller/error_pages.rst b/controller/error_pages.rst index d01182a48eb..7be7c6f4dad 100644 --- a/controller/error_pages.rst +++ b/controller/error_pages.rst @@ -350,6 +350,4 @@ time and again, you can have just one (or several) listeners deal with them. and takes measures like redirecting the user to the login page, logging them out and other things. -.. _`WebfactoryExceptionsBundle`: https://github.com/webfactory/exceptions-bundle .. _`Symfony Standard Edition`: https://github.com/symfony/symfony-standard/ -.. _`ExceptionListener`: https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php diff --git a/controller/service.rst b/controller/service.rst index 51b893dc4ac..1254b44383a 100644 --- a/controller/service.rst +++ b/controller/service.rst @@ -184,7 +184,6 @@ If you want to know what type-hints to use for each service, see the ``getSubscribedServices()`` method in `AbstractController`_. .. _`Controller class source code`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php -.. _`base Controller class`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php .. _`ControllerTrait`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php .. _`AbstractController`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/Controller/AbstractController.php .. _`ADR pattern`: https://en.wikipedia.org/wiki/Action%E2%80%93domain%E2%80%93responder diff --git a/create_framework/dependency_injection.rst b/create_framework/dependency_injection.rst index feefb0008af..97292d22843 100644 --- a/create_framework/dependency_injection.rst +++ b/create_framework/dependency_injection.rst @@ -253,4 +253,3 @@ internally. Have fun! .. _`Pimple`: https://github.com/silexphp/Pimple -.. _`Application`: https://github.com/silexphp/Silex/blob/master/src/Silex/Application.php diff --git a/create_framework/http_foundation.rst b/create_framework/http_foundation.rst index db8021a1877..28d3f33dec3 100644 --- a/create_framework/http_foundation.rst +++ b/create_framework/http_foundation.rst @@ -284,8 +284,8 @@ the wheel. I've almost forgot to talk about one added benefit: using the HttpFoundation component is the start of better interoperability between all frameworks and -`applications using it`_ (like `Symfony`_, `Drupal 8`_, `phpBB 3`_, `ezPublish -5`_, `Laravel`_ and `more`_). +`applications using it`_ (like `Symfony`_, `Drupal 8`_, `phpBB 3`_, `Laravel`_ +and `ezPublish 5`_, and `more`_). .. _`Twig`: https://twig.symfony.com/ .. _`HTTP specification`: https://tools.ietf.org/wg/httpbis/ @@ -296,8 +296,6 @@ component is the start of better interoperability between all frameworks and .. _`phpBB 3`: https://www.phpbb.com/ .. _`ezPublish 5`: https://ez.no/ .. _`Laravel`: https://laravel.com/ -.. _`Midgard CMS`: http://www.midgard-project.org/ -.. _`Zikula`: https://zikula.org/ .. _`autoloaded`: https://php.net/autoload .. _`PSR-4`: https://www.php-fig.org/psr/psr-4/ .. _`more`: https://symfony.com/components/HttpFoundation diff --git a/create_framework/http_kernel_controller_resolver.rst b/create_framework/http_kernel_controller_resolver.rst index e81dbbc9413..20c7e6ff399 100644 --- a/create_framework/http_kernel_controller_resolver.rst +++ b/create_framework/http_kernel_controller_resolver.rst @@ -204,4 +204,3 @@ Think about it once more: our framework is more robust and more flexible than ever and it still has less than 50 lines of code. .. _`reflection`: https://php.net/reflection -.. _`FrameworkExtraBundle`: https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/converters.html diff --git a/deployment/proxies.rst b/deployment/proxies.rst index db8f05898be..cbbdac5a40d 100644 --- a/deployment/proxies.rst +++ b/deployment/proxies.rst @@ -77,4 +77,3 @@ If you allow outside traffic, they could "spoof" their true IP address and other information. .. _`security groups`: http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-security-groups.html -.. _`RFC 7239`: http://tools.ietf.org/html/rfc7239 diff --git a/doctrine.rst b/doctrine.rst index af11b408455..cb1a77ba304 100644 --- a/doctrine.rst +++ b/doctrine.rst @@ -898,7 +898,7 @@ Learn more .. _`Basic Mapping 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 +.. _`Mapping Types documentation`: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/basic-mapping.html#property-mapping .. _`Property Mapping`: 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 .. _`Creating Classes for the Database`: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/basic-mapping.html#creating-classes-for-the-database diff --git a/doctrine/mapping_model_classes.rst b/doctrine/mapping_model_classes.rst index 10ac398e78a..792217246e5 100644 --- a/doctrine/mapping_model_classes.rst +++ b/doctrine/mapping_model_classes.rst @@ -145,5 +145,3 @@ Annotations, XML, Yaml, PHP and StaticPHP. The arguments are: the ``SymfonyFileLocator`` will get confused. Adjust accordingly for the other Doctrine implementations. - -.. _`CouchDB Mapping Compiler Pass pull request`: https://github.com/doctrine/DoctrineCouchDBBundle/pull/27 diff --git a/form/bootstrap4.rst b/form/bootstrap4.rst index d833c0d53ce..f069ae33788 100644 --- a/form/bootstrap4.rst +++ b/form/bootstrap4.rst @@ -111,6 +111,5 @@ Form errors are rendered **inside** the ``