From 75a85b80fb8a536dc1b8ecad8646837b71a04585 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Thu, 27 Apr 2023 10:44:53 +0200 Subject: [PATCH] feat(devmanual): Document PSR-0 autoloader removal Signed-off-by: Christoph Wurst --- .../app_upgrade_guide/upgrade_to_27.rst | 5 +++++ developer_manual/digging_deeper/classloader.rst | 2 ++ 2 files changed, 7 insertions(+) diff --git a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_27.rst b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_27.rst index 51323ce34..e3b1515a5 100644 --- a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_27.rst +++ b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_27.rst @@ -30,6 +30,11 @@ Removed APIs Back-end changes ---------------- +Removal of PSR-0 class loader +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Nextcloud 27 no longer loads classes in the deprecated :ref:`PSR-0 naming standard`. :ref:`Update the structure to PSR-4` or :ref:`ship a custom autoloader`. + Added APIs ^^^^^^^^^^ diff --git a/developer_manual/digging_deeper/classloader.rst b/developer_manual/digging_deeper/classloader.rst index 2f263c32d..d0d71a2ab 100644 --- a/developer_manual/digging_deeper/classloader.rst +++ b/developer_manual/digging_deeper/classloader.rst @@ -7,6 +7,8 @@ Classloader The classloader is provided by Nextcloud and loads all your classes automatically. See :ref:`the composer section` if you want to include and autoload 3rd party libraries. +.. _app-psr4-autoloader: + PSR-4 autoloading -----------------