summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-03-22 16:31:18 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2016-03-22 16:31:18 +0100
commitf838d24c5dcecbf79aaddbce2c4f87db6416b7e0 (patch)
tree787e67f8b520507a216a835add9908b80c904219 /composer.json
parentffe57a55d973e244fc84573323e3da8512e1ac95 (diff)
downloadnextcloud-server-f838d24c5dcecbf79aaddbce2c4f87db6416b7e0.tar.gz
nextcloud-server-f838d24c5dcecbf79aaddbce2c4f87db6416b7e0.zip
Allos OCP classes to be PSR-4 as well
This adds the OCP namespace to the composer autoloader as well. This means that now we can use proper PSR-4 filenames in OCP.
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/composer.json b/composer.json
index 495a9896ae2..21575b5fa60 100644
--- a/composer.json
+++ b/composer.json
@@ -3,7 +3,10 @@
"vendor-dir": "lib/composer"
},
"autoload" : {
- "psr-4": {"OC\\": "lib/private"}
+ "psr-4": {
+ "OC\\": "lib/private",
+ "OCP\\": "lib/public"
+ }
},
"require-dev": {
"jakub-onderka/php-parallel-lint": "^0.9.2",