Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-01-10 11:59:30 +0300
committerRoeland Jago Douma <rullzer@owncloud.com>2016-03-09 18:53:27 +0300
commitf7729cdc403a8d4c5a4e9e75e3142bcb51b7250e (patch)
tree0f11b67bbf707e777dd5f1497cff3d9f85dbaea5 /composer.json
parent0cc53ee06dafbd3984bbf1d554585a5731b500a9 (diff)
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.json8
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"}
+ }
+}