Skip to content

Commit 5429189

Browse files
committed
minor #15361 Bump Symfony PHP requirements to 8.0.2 (javiereguiluz)
This PR was squashed before being merged into the 6.0 branch. Discussion ---------- Bump Symfony PHP requirements to 8.0.2 Fixes #15360. Commits ------- 1fbacaf Bump Symfony PHP requirements to 8.0.2
2 parents 94df07b + 1fbacaf commit 5429189

File tree

7 files changed

+8
-27
lines changed

7 files changed

+8
-27
lines changed

components/property_info.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ class exposes public methods to extract several types of information:
122122

123123
* :ref:`List of properties <property-info-list>`: :method:`Symfony\\Component\\PropertyInfo\\PropertyListExtractorInterface::getProperties`
124124
* :ref:`Property type <property-info-type>`: :method:`Symfony\\Component\\PropertyInfo\\PropertyTypeExtractorInterface::getTypes`
125-
(including typed properties since PHP 7.4)
125+
(including typed properties)
126126
* :ref:`Property description <property-info-description>`: :method:`Symfony\\Component\\PropertyInfo\\PropertyDescriptionExtractorInterface::getShortDescription` and :method:`Symfony\\Component\\PropertyInfo\\PropertyDescriptionExtractorInterface::getLongDescription`
127127
* :ref:`Property access details <property-info-access>`: :method:`Symfony\\Component\\PropertyInfo\\PropertyAccessExtractorInterface::isReadable` and :method:`Symfony\\Component\\PropertyInfo\\PropertyAccessExtractorInterface::isWritable`
128128
* :ref:`Property initializable through the constructor <property-info-initializable>`: :method:`Symfony\\Component\\PropertyInfo\\PropertyInitializableExtractorInterface::isInitializable`
@@ -357,7 +357,7 @@ Using PHP reflection, the :class:`Symfony\\Component\\PropertyInfo\\Extractor\\R
357357
provides list, type and access information from setter and accessor methods.
358358
It can also give the type of a property (even extracting it from the constructor
359359
arguments), and if it is initializable through the constructor. It supports
360-
return and scalar types for PHP 7::
360+
return and scalar types::
361361

362362
use Symfony\Component\PropertyInfo\Extractor\ReflectionExtractor;
363363

configuration/secrets.rst

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,7 @@ store them by using Symfony's secrets management system - sometimes called a
1414

1515
.. note::
1616

17-
The Secrets system requires the sodium PHP extension that is bundled
18-
with PHP 7.2. If you're using an earlier PHP version, you can
19-
install the `libsodium`_ PHP extension or use the
20-
`paragonie/sodium_compat`_ package.
17+
The Secrets system requires the Sodium PHP extension.
2118

2219
.. _secrets-generate-keys:
2320

@@ -317,7 +314,3 @@ The secrets system is enabled by default and some of its behavior can be configu
317314
// ->decryptionEnvVar('base64:default::SYMFONY_DECRYPTION_SECRET')
318315
;
319316
};
320-
321-
322-
.. _`libsodium`: https://pecl.php.net/package/libsodium
323-
.. _`paragonie/sodium_compat`: https://github.com/paragonie/sodium_compat

quick_tour/the_big_picture.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ safe & easy!) and offers long-term support.
1414
Downloading Symfony
1515
-------------------
1616

17-
First, make sure you've installed `Composer`_ and have PHP 7.1.3 or higher.
17+
First, make sure you've installed `Composer`_ and have PHP 8.0.2 or higher.
1818

1919
Ready? In a terminal, run:
2020

reference/configuration/framework.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1656,11 +1656,6 @@ The possible values for this option are:
16561656
user consciously made the request (by clicking a link or submitting a form
16571657
with the ``GET`` method).
16581658

1659-
.. note::
1660-
1661-
This option is available starting from PHP 7.3, but Symfony has a polyfill
1662-
so you can use it with any older PHP version as well.
1663-
16641659
cookie_secure
16651660
.............
16661661

reference/configuration/security.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,7 @@ Using the Sodium Password Hasher
327327
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
328328

329329
It uses the `Argon2 key derivation function`_ and it's the hasher recommended
330-
by Symfony. Argon2 support was introduced in PHP 7.2, but if you use an earlier
331-
PHP version, you can install the `libsodium`_ PHP extension.
330+
by Symfony.
332331

333332
The hashed passwords are ``96`` characters long, but due to the hashing
334333
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
853852
:ref:`security-role-hierarchy`.
854853

855854
.. _`PBKDF2`: https://en.wikipedia.org/wiki/PBKDF2
856-
.. _`libsodium`: https://pecl.php.net/package/libsodium
857855
.. _`Session Fixation`: https://owasp.org/www-community/attacks/Session_fixation
858856
.. _`Argon2 key derivation function`: https://en.wikipedia.org/wiki/Argon2
859857
.. _`bcrypt password hashing function`: https://en.wikipedia.org/wiki/Bcrypt

security/named_hashers.rst

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,7 @@ be done with named hashers:
110110
111111
.. note::
112112

113-
If you are running PHP 7.2+ or have the `libsodium`_ extension installed,
114-
then the recommended hashing algorithm to use is
115-
:ref:`Sodium <reference-security-sodium>`.
113+
The recommended hashing algorithm to use is :ref:`Sodium <reference-security-sodium>`.
116114

117115
This creates a hasher named ``harsh``. In order for a ``User`` instance
118116
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:
188186
189187
This creates a hasher named ``app_hasher`` from a service with the ID
190188
``App\Security\Hasher\MyCustomPasswordHasher``.
191-
192-
.. _`libsodium`: https://pecl.php.net/package/libsodium

setup.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Technical Requirements
1717

1818
Before creating your first Symfony application you must:
1919

20-
* Install PHP 7.2.5 or higher and these PHP extensions (which are installed and
21-
enabled by default in most PHP 7 installations): `Ctype`_, `iconv`_, `JSON`_,
20+
* Install PHP 8.0.2 or higher and these PHP extensions (which are installed and
21+
enabled by default in most PHP 8 installations): `Ctype`_, `iconv`_,
2222
`PCRE`_, `Session`_, `SimpleXML`_, and `Tokenizer`_;
2323
* `Install Composer`_, which is used to install PHP packages.
2424

@@ -315,7 +315,6 @@ Learn More
315315
.. _`Contrib recipe repository`: https://github.com/symfony/recipes-contrib
316316
.. _`Symfony Recipes documentation`: https://github.com/symfony/recipes/blob/master/README.rst
317317
.. _`iconv`: https://www.php.net/book.iconv
318-
.. _`JSON`: https://www.php.net/book.json
319318
.. _`Session`: https://www.php.net/book.session
320319
.. _`Ctype`: https://www.php.net/book.ctype
321320
.. _`Tokenizer`: https://www.php.net/book.tokenizer

0 commit comments

Comments
 (0)