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:07:06 +01:00
parent 177072b237
commit 0eb41dc1bc
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
2 changed files with 14 additions and 1 deletions

View File

@ -3,7 +3,15 @@
"platform": {
"php": "8.0"
},
"sort-packages": true
"sort-packages": true,
"optimize-autoloader": true,
"classmap-authoritative": true,
"autoloader-suffix": "Calendar"
},
"autoload": {
"psr-4": {
"OCA\\Calendar\\": "lib/"
}
},
"require": {
"php": ">=8.0 <=8.2"

5
composer/autoload.php Normal file
View File

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