aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-03-22 21:28:45 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-03-22 21:28:45 +0100
commit640e6351f17c7307d467bfa9e1665a30fabbdc4b (patch)
tree07ea8e4a8dedc340e3749d585da16925177ef78a /lib
parentd5be21fe8159f7dc567ae9c1264b1f9087f16e8e (diff)
parent5b78c604b5479bf88cf2972a7970158f4ea35fe3 (diff)
downloadnextcloud-server-640e6351f17c7307d467bfa9e1665a30fabbdc4b.tar.gz
nextcloud-server-640e6351f17c7307d467bfa9e1665a30fabbdc4b.zip
Merge pull request #23485 from owncloud/composer_allow_ocp
Allow OCP classes to be PSR-4 as well
Diffstat (limited to 'lib')
-rw-r--r--lib/composer/composer/autoload_psr4.php1
-rw-r--r--lib/public/IServerContainer.php (renamed from lib/public/iservercontainer.php)0
2 files changed, 1 insertions, 0 deletions
diff --git a/lib/composer/composer/autoload_psr4.php b/lib/composer/composer/autoload_psr4.php
index a4b49f0f55f..4610a912c6d 100644
--- a/lib/composer/composer/autoload_psr4.php
+++ b/lib/composer/composer/autoload_psr4.php
@@ -7,4 +7,5 @@ $baseDir = dirname(dirname($vendorDir));
return array(
'OC\\' => array($baseDir . '/lib/private'),
+ 'OCP\\' => array($baseDir . '/lib/public'),
);
diff --git a/lib/public/iservercontainer.php b/lib/public/IServerContainer.php
index de48daeef88..de48daeef88 100644
--- a/lib/public/iservercontainer.php
+++ b/lib/public/IServerContainer.php