perf(autoloader): Use Composer's authoritative classmap

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2023-01-20 12:06:26 +01:00
parent e64b25feee
commit 3ed7e017db
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
2 changed files with 11 additions and 0 deletions

View File

@ -5,6 +5,12 @@
"classmap-authoritative": true,
"platform": {
"php": "7.4"
},
"autoloader-suffix": "Contacts"
},
"autoload": {
"psr-4": {
"OCA\\Contacts\\": "lib/"
}
},
"scripts": {

5
composer/autoload.php Normal file
View File

@ -0,0 +1,5 @@
<?php
declare(strict_types=1);
require_once __DIR__ . '/../vendor/autoload.php';