From 734bcaea9c600a5cb6be73f6601baa3b09c0bac8 Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Sat, 16 Aug 2025 23:27:53 +0100 Subject: [PATCH] Remove require() and let autoloader do its thing Signed-off-by: Markus Birth --- src/Mp3Info.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Mp3Info.php b/src/Mp3Info.php index db447ed..048d4f8 100644 --- a/src/Mp3Info.php +++ b/src/Mp3Info.php @@ -2,8 +2,9 @@ namespace wapmorgan\Mp3Info; -require __DIR__ . '/Mp3FileLocal.php'; -require __DIR__ . '/Mp3FileRemote.php'; +# Uncomment if you're not using an autoloader +#require __DIR__ . '/Mp3FileLocal.php'; +#require __DIR__ . '/Mp3FileRemote.php'; use \wapmorgan\Mp3Info\Mp3FileLocal; use \wapmorgan\Mp3Info\Mp3FileRemote;