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-03-22 18:31:18 +0300
committerRoeland Jago Douma <rullzer@owncloud.com>2016-03-22 18:31:18 +0300
commitf838d24c5dcecbf79aaddbce2c4f87db6416b7e0 (patch)
tree787e67f8b520507a216a835add9908b80c904219 /composer.json
parentffe57a55d973e244fc84573323e3da8512e1ac95 (diff)
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",