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.
... | @@ -3,7 +3,10 @@ | ... | @@ -3,7 +3,10 @@ |
"vendor-dir": "lib/composer" | "vendor-dir": "lib/composer" | ||
}, | }, | ||
"autoload" : { | "autoload" : { | ||
"psr-4": {"OC\\": "lib/private"} | "psr-4": { | ||
"OC\\": "lib/private", | |||
"OCP\\": "lib/public" | |||
} | |||
}, | }, | ||
"require-dev": { | "require-dev": { | ||
"jakub-onderka/php-parallel-lint": "^0.9.2", | "jakub-onderka/php-parallel-lint": "^0.9.2", | ||
... | ... |
Please register or sign in to comment