Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand All @@ -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>`__.

Expand Down