Skip to content

Commit

Permalink
Merge pull request #9329 from nextcloud/fix/nextclou24-php73-drop
Browse files Browse the repository at this point in the history
Fix min PHP7.4 in Nextcloud 24
  • Loading branch information
mejo- authored Nov 14, 2022
2 parents c3aa214 + b024ad2 commit bfe4164
Showing 1 changed file with 4 additions and 4 deletions.
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

0 comments on commit bfe4164

Please sign in to comment.