From cf553d36d4ea03678340dfcef0a77da2e2b07bec Mon Sep 17 00:00:00 2001 From: fadrian06 Date: Tue, 23 Jun 2026 13:57:57 -0400 Subject: [PATCH] remove flight/autoload.php --- composer.json | 3 --- flight/Flight.php | 2 -- flight/autoload.php | 7 ------- index.php | 3 +-- phpunit.xml.dist | 3 --- 5 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 flight/autoload.php diff --git a/composer.json b/composer.json index 41ec59e..b443848 100644 --- a/composer.json +++ b/composer.json @@ -30,9 +30,6 @@ "classmap": [ "flight/Flight.php" ], - "files": [ - "flight/autoload.php" - ], "psr-4": { "flight\\": "flight" } diff --git a/flight/Flight.php b/flight/Flight.php index c2e9a01..ddb536f 100644 --- a/flight/Flight.php +++ b/flight/Flight.php @@ -11,8 +11,6 @@ use flight\net\Route; use flight\core\EventDispatcher; use Psr\Container\ContainerInterface; -require_once __DIR__ . '/autoload.php'; - /** * The Flight class is a static representation of the framework. * diff --git a/flight/autoload.php b/flight/autoload.php deleted file mode 100644 index 0c43ffa..0000000 --- a/flight/autoload.php +++ /dev/null @@ -1,7 +0,0 @@ - flight/ - - flight/autoload.php -