feat(dev-manual): Warn about the upcoming PSR-0 class loader removal

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst
2023-01-13 13:21:51 +01:00
parent 8a090407e9
commit c97ae9d20f
2 changed files with 6 additions and 1 deletions

View File

@@ -33,6 +33,11 @@ tbd
Back-end changes
----------------
Planned removal of PSR-0 class loading
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nextcloud is still loading classes that follow the long deprecated and replaced :ref:`PSR-0 standard <psr0>`. Nextcloud 26 is the last version that register a generic PSR-0 class loader. From Nextcloud 27 on apps have to either change class file names to match PSR-4 or ship their own (composer) class loader for PSR-0 files or.
Dependency Injection Parameters
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

View File

@@ -13,7 +13,7 @@ On this page you find information about the implemented `php standards recommend
PSR-0: Autoloading
------------------
This standard has been deprecated and will be removed from Nextcloud. Please see the :ref:`PSR-4 section<psr4>` instead.
This standard has been deprecated and will be removed in Nextcloud 27. Please see the :ref:`PSR-4 section<psr4>` instead.
.. _psr3: