Skip to content

Commit ee31f5e

Browse files
committed
More PHP updates
1 parent 626cc73 commit ee31f5e

File tree

7 files changed

+7
-18
lines changed

7 files changed

+7
-18
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 & 4 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

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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,7 @@ Using the Sodium Password Hasher
331331
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
332332

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

337336
The hashed passwords are ``96`` characters long, but due to the hashing
338337
requirements saved in the resulting hash this may change in the future, so make

security/named_hashers.rst

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

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

118116
This creates a hasher named ``harsh``. In order for a ``User`` instance
119117
to use it, the class must implement

setup.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Technical Requirements
1818
Before creating your first Symfony application you must:
1919

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

0 commit comments

Comments
 (0)