Skip to content

Allowmin PHP req to change for a minor Symfony version #16543

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion contributing/community/releases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ deprecated features, which your project no longer uses).
PHP Compatibility
-----------------

The **minimum** PHP version is decided for each major Symfony version by consensus
The **minimum** PHP version is decided for each **major** Symfony version by consensus
amongst the :doc:`core team </contributing/code/core_team>` and documented as
part of the :ref:`technical requirements for running Symfony applications
<symfony-tech-requirements>`.
Expand All @@ -117,6 +117,12 @@ one that is publicly available.
For out-of-support releases of Symfony, the latest PHP version at time of EOL is the last
supported PHP version. Newer versions of PHP may or may not function.

.. note::

By exception to the rule, bumping the minimum **minor** version of PHP is
possible for a **minor** Symfony version when this helps fix important
issues.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we mention that such case would imply extending the maintenance of the previous minor version (as done for 6.0) ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I don't think this should be automatic.


Rationale
---------

Expand Down
3 changes: 0 additions & 3 deletions setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ Before creating your first Symfony application you must:
enabled by default in most PHP 7 installations): `Ctype`_, `iconv`_, `JSON`_,
`PCRE`_, `Session`_, `SimpleXML`_, and `Tokenizer`_;

* Note that all newer, released versions of PHP will be supported during the
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove this as this is a duplicate of the releases docs.

lifetime of each Symfony release (including new major versions).
For example, PHP 8.0 is supported.
* `Install Composer`_, which is used to install PHP packages.

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