diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-03-22 16:31:18 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-03-22 16:31:18 +0100 |
commit | f838d24c5dcecbf79aaddbce2c4f87db6416b7e0 (patch) | |
tree | 787e67f8b520507a216a835add9908b80c904219 /lib | |
parent | ffe57a55d973e244fc84573323e3da8512e1ac95 (diff) | |
download | nextcloud-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 'lib')
-rw-r--r-- | lib/composer/composer/autoload_psr4.php | 1 |
1 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'), ); |