Skip to content

Commit

Permalink
Merge pull request #9553 from nextcloud/enh/dev-manual/psr0-removal
Browse files Browse the repository at this point in the history
feat(dev-manual): Warn about the upcoming PSR-0 class loader removal
  • Loading branch information
PVince81 committed Jan 13, 2023
2 parents 8a09040 + c97ae9d commit 76ae934
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down
2 changes: 1 addition & 1 deletion developer_manual/digging_deeper/psr.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 76ae934

Please sign in to comment.