From 6fc8eb95112d3746724990435b731a213f218c2e Mon Sep 17 00:00:00 2001 From: jrfnl Date: Tue, 11 Feb 2025 12:19:11 +0100 Subject: [PATCH] Composer: remove `autoload` directive The script entry points are the `start.sh` and `serve.php` files and the `serve.php` file does a hard `require` of the files it needs anyway, so there is no need for the `autoload` directive, so let's remove it as discussed in 11. --- composer.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/composer.json b/composer.json index 8ae934c..7e4aa01 100644 --- a/composer.json +++ b/composer.json @@ -14,8 +14,5 @@ "php": ">=5.6" }, "type": "library", - "autoload": { - "files": [ "lib/routes.php", "lib/utils.php" ] - }, "bin": [ "bin/start.sh", "bin/stop.sh", "bin/serve.php" ] }