diff --git a/components/property_info.rst b/components/property_info.rst index b6684d948d8..5a4e62b6cd2 100644 --- a/components/property_info.rst +++ b/components/property_info.rst @@ -122,7 +122,7 @@ class exposes public methods to extract several types of information: * :ref:`List of properties `: :method:`Symfony\\Component\\PropertyInfo\\PropertyListExtractorInterface::getProperties` * :ref:`Property type `: :method:`Symfony\\Component\\PropertyInfo\\PropertyTypeExtractorInterface::getTypes` - (including typed properties since PHP 7.4) + (including typed properties) * :ref:`Property description `: :method:`Symfony\\Component\\PropertyInfo\\PropertyDescriptionExtractorInterface::getShortDescription` and :method:`Symfony\\Component\\PropertyInfo\\PropertyDescriptionExtractorInterface::getLongDescription` * :ref:`Property access details `: :method:`Symfony\\Component\\PropertyInfo\\PropertyAccessExtractorInterface::isReadable` and :method:`Symfony\\Component\\PropertyInfo\\PropertyAccessExtractorInterface::isWritable` * :ref:`Property initializable through the constructor `: :method:`Symfony\\Component\\PropertyInfo\\PropertyInitializableExtractorInterface::isInitializable` @@ -357,7 +357,7 @@ Using PHP reflection, the :class:`Symfony\\Component\\PropertyInfo\\Extractor\\R provides list, type and access information from setter and accessor methods. It can also give the type of a property (even extracting it from the constructor arguments), and if it is initializable through the constructor. It supports -return and scalar types for PHP 7:: +return and scalar types:: use Symfony\Component\PropertyInfo\Extractor\ReflectionExtractor; diff --git a/configuration/secrets.rst b/configuration/secrets.rst index 8db723d63de..bcb7e82c533 100644 --- a/configuration/secrets.rst +++ b/configuration/secrets.rst @@ -14,10 +14,7 @@ store them by using Symfony's secrets management system - sometimes called a .. note:: - The Secrets system requires the sodium PHP extension that is bundled - with PHP 7.2. If you're using an earlier PHP version, you can - install the `libsodium`_ PHP extension or use the - `paragonie/sodium_compat`_ package. + The Secrets system requires the Sodium PHP extension. .. _secrets-generate-keys: @@ -317,7 +314,3 @@ The secrets system is enabled by default and some of its behavior can be configu // ->decryptionEnvVar('base64:default::SYMFONY_DECRYPTION_SECRET') ; }; - - -.. _`libsodium`: https://pecl.php.net/package/libsodium -.. _`paragonie/sodium_compat`: https://github.com/paragonie/sodium_compat diff --git a/quick_tour/the_big_picture.rst b/quick_tour/the_big_picture.rst index b6ad8eaafdd..34ebc1e1b96 100644 --- a/quick_tour/the_big_picture.rst +++ b/quick_tour/the_big_picture.rst @@ -14,7 +14,7 @@ safe & easy!) and offers long-term support. Downloading Symfony ------------------- -First, make sure you've installed `Composer`_ and have PHP 7.1.3 or higher. +First, make sure you've installed `Composer`_ and have PHP 8.0.2 or higher. Ready? In a terminal, run: diff --git a/reference/configuration/framework.rst b/reference/configuration/framework.rst index cfd85b374a7..f4ef18635e4 100644 --- a/reference/configuration/framework.rst +++ b/reference/configuration/framework.rst @@ -1656,11 +1656,6 @@ The possible values for this option are: user consciously made the request (by clicking a link or submitting a form with the ``GET`` method). -.. note:: - - This option is available starting from PHP 7.3, but Symfony has a polyfill - so you can use it with any older PHP version as well. - cookie_secure ............. diff --git a/reference/configuration/security.rst b/reference/configuration/security.rst index fa9acdaa6a8..72b6f9b5fec 100644 --- a/reference/configuration/security.rst +++ b/reference/configuration/security.rst @@ -327,8 +327,7 @@ Using the Sodium Password Hasher ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ It uses the `Argon2 key derivation function`_ and it's the hasher recommended -by Symfony. Argon2 support was introduced in PHP 7.2, but if you use an earlier -PHP version, you can install the `libsodium`_ PHP extension. +by Symfony. The hashed passwords are ``96`` characters long, but due to the hashing requirements saved in the resulting hash this may change in the future, so make @@ -853,7 +852,6 @@ role inheritance rules by creating a role hierarchy, as explained in :ref:`security-role-hierarchy`. .. _`PBKDF2`: https://en.wikipedia.org/wiki/PBKDF2 -.. _`libsodium`: https://pecl.php.net/package/libsodium .. _`Session Fixation`: https://owasp.org/www-community/attacks/Session_fixation .. _`Argon2 key derivation function`: https://en.wikipedia.org/wiki/Argon2 .. _`bcrypt password hashing function`: https://en.wikipedia.org/wiki/Bcrypt diff --git a/security/named_hashers.rst b/security/named_hashers.rst index 06f31852020..033986cf861 100644 --- a/security/named_hashers.rst +++ b/security/named_hashers.rst @@ -110,9 +110,7 @@ be done with named hashers: .. note:: - If you are running PHP 7.2+ or have the `libsodium`_ extension installed, - then the recommended hashing algorithm to use is - :ref:`Sodium `. + The recommended hashing algorithm to use is :ref:`Sodium `. This creates a hasher named ``harsh``. In order for a ``User`` instance to use it, the class must implement @@ -188,5 +186,3 @@ you must register a service for it in order to use it as a named hasher: This creates a hasher named ``app_hasher`` from a service with the ID ``App\Security\Hasher\MyCustomPasswordHasher``. - -.. _`libsodium`: https://pecl.php.net/package/libsodium diff --git a/setup.rst b/setup.rst index bca61758e65..f3218bf608f 100644 --- a/setup.rst +++ b/setup.rst @@ -17,8 +17,8 @@ Technical Requirements Before creating your first Symfony application you must: -* Install PHP 7.2.5 or higher and these PHP extensions (which are installed and - enabled by default in most PHP 7 installations): `Ctype`_, `iconv`_, `JSON`_, +* Install PHP 8.0.2 or higher and these PHP extensions (which are installed and + enabled by default in most PHP 8 installations): `Ctype`_, `iconv`_, `PCRE`_, `Session`_, `SimpleXML`_, and `Tokenizer`_; * `Install Composer`_, which is used to install PHP packages. @@ -315,7 +315,6 @@ Learn More .. _`Contrib recipe repository`: https://github.com/symfony/recipes-contrib .. _`Symfony Recipes documentation`: https://github.com/symfony/recipes/blob/master/README.rst .. _`iconv`: https://www.php.net/book.iconv -.. _`JSON`: https://www.php.net/book.json .. _`Session`: https://www.php.net/book.session .. _`Ctype`: https://www.php.net/book.ctype .. _`Tokenizer`: https://www.php.net/book.tokenizer