8000 Merge branch '5.3' into 5.4 · symfony/symfony-docs@90cb996 · GitHub
[go: up one dir, main page]

Skip to content

Commit 90cb996

Browse files
committed
Merge branch '5.3' into 5.4
* 5.3: Document PHP compatibility Corrected Typo Corrected typo in error_pages.rst
2 parents d6ee74e + 7dd93a3 commit 90cb996

File tree

4 files changed

+22
-2
lines changed

4 files changed

+22
-2
lines changed

components/phpunit_bridge.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ Making Tests Fail
225225
By default, any non-legacy-tagged or any non-`@-silenced <@-silencing operator>`_
226226
deprecation notices will make tests fail. Alternatively, you can configure
227227
an arbitrary threshold by setting ``SYMFONY_DEPRECATIONS_HELPER`` to
228-
``max[total]=320`` for instance. It will make the tests fails only if a
228+
``max[total]=320`` for instance. It will make the tests fail only if a
229229
higher number of deprecation notices is reached (``0`` is the default
230230
value).
231231

contributing/community/releases.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,22 @@ deprecations, you can upgrade to the new major version (e.g. 5.0) without
101101
effort, because it contains the same features (the only difference are the
102102
deprecated features, which your project no longer uses).
103103

104+
PHP Compatibility
105+
-----------------
106+
107+
The **minimum** PHP version is decided for each major Symfony version by consensus
108+
amongst the :doc:`core team </contributing/code/core_team>` and documented as
109+
part of the :ref:`technical requirements for running Symfony applications
110+
<symfony-tech-requirements>`.
111+
112+
Throughout each Symfony release's support lifetime, all released versions of PHP
113+
including new major versions will be supported. In this way, the **maximum** supported
114+
version of PHP for a maintained Symfony release is the latest released
115+
one that is publicly available.
116+
117+
For out-of-support releases of Symfony, the latest PHP version at time of EOL is the last
118+
supported PHP version. Newer versions of PHP may or may not function.
119+
104120
Rationale
105121
---------
106122

controller/error_pages.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ error pages.
319319
.. note::
320320

321321
If your listener calls ``setThrowable()`` on the
322-
:class:`Symfony\\Component\\HttpKernel\\Event\\ExceptionEvent`,
322+
:class:`Symfony\\Component\\HttpKernel\\Event\\ExceptionEvent`
323323
event, propagation will be stopped and the response will be sent to
324324
the client.
325325

setup.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ Before creating your first Symfony application you must:
2020
* Install PHP 7.2.5 or higher and these PHP extensions (which are installed and
2121
enabled by default in most PHP 7 installations): `Ctype`_, `iconv`_, `JSON`_,
2222
`PCRE`_, `Session`_, `SimpleXML`_, and `Tokenizer`_;
23+
24+
* Note that all newer, released versions of PHP will be supported during the
25+
lifetime of each Symfony release (including new major versions).
26+
For example, PHP 8.0 is supported.
2327
* `Install Composer`_, which is used to install PHP packages.
2428

2529
Optionally, you can also `install Symfony CLI`_. This creates a binary called

0 commit comments

Comments
 (0)
0