diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-10 09:59:30 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-03-09 16:53:27 +0100 |
commit | f7729cdc403a8d4c5a4e9e75e3142bcb51b7250e (patch) | |
tree | 0f11b67bbf707e777dd5f1497cff3d9f85dbaea5 /composer.json | |
parent | 0cc53ee06dafbd3984bbf1d554585a5731b500a9 (diff) | |
download | nextcloud-server-f7729cdc403a8d4c5a4e9e75e3142bcb51b7250e.tar.gz nextcloud-server-f7729cdc403a8d4c5a4e9e75e3142bcb51b7250e.zip |
Add composers default autoloader to core
This introduces the defacto standard PSR-4 autoloader from composer into
core. This will allow proper PSR-4 naming of our classes.
Since our original autoloader is still available we can slowly switch
over classes to PSR-4.
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/composer.json b/composer.json new file mode 100644 index 00000000000..98fdb3aa31c --- /dev/null +++ b/composer.json @@ -0,0 +1,8 @@ +{ + "config" : { + "vendor-dir": "lib/composer" + }, + "autoload" : { + "psr-4": {"OC\\": "lib/private"} + } +} |