Merge pull request #9553 from nextcloud/enh/dev-manual/psr0-removal

feat(dev-manual): Warn about the upcoming PSR-0 class loader removal
This commit is contained in:
Vincent Petry
2023-01-13 13:29:39 +01:00
committed by GitHub
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: