Merge pull request #9329 from nextcloud/fix/nextclou24-php73-drop

Fix min PHP7.4 in Nextcloud 24
This commit is contained in:
Jonas
2022-11-14 11:39:45 +01:00
committed by GitHub

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>`__.