Fix min PHP in Nextcloud 24

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2022-11-14 09:26:14 +01:00 committed by backportbot-nextcloud[bot]
parent a76793646c
commit 4758f12f72

View File

@ -24,14 +24,14 @@ Back-end changes
PHP8.1
^^^^^^
Nextcloud 24 is the first major Nextcloud release to work with PHP8.1. Follow the steps below to make your app compatible.
Nextcloud 24 is the first major Nextcloud release to work with PHP8.1. In this release support for PHP7.3 was dropped. Follow the steps below to make your app compatible.
1. If ``appinfo/info.xml`` has a dependency specification for PHP, increase the ``max-version`` to 8.1.
.. code-block:: xml
<dependencies>
<php min-version="7.3" max-version="8.1" />
<php min-version="7.4" max-version="8.1" />
<nextcloud min-version="21" max-version="24" />
</dependencies>
@ -42,11 +42,11 @@ Nextcloud 24 is the first major Nextcloud release to work with PHP8.1. Follow th
{
"require": {
"php": ">=7.3 <=8.1"
"php": ">=7.4 <=8.1"
}
}
3. If you have :ref:`continuous integration <app-ci>` set up, extend your test matrix with PHP8.1 tests and linters.
3. If you have :ref:`continuous integration <app-ci>` set up, extend your test matrix with PHP8.1 tests and linters and drop any jobs for PHP7.3.
Information about code changes can be found on `php.net <https://www.php.net/migration81>`__ and `stitcher.io <https://stitcher.io/blog/new-in-php-81#breaking-changes>`__.