From 19f8be8a6b1ef6971c5e4bcf8cd10eecb585b18b Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Tue, 17 Jan 2023 00:02:25 +0000 Subject: [PATCH] composer.json: Move to PSR-4 autoload Fixes https://github.com/liuggio/statsd-php-client/issues/50 Probably should move the files up a level (ie from `src/Liuggio/` to just `src/` etc, but that can be done later --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index d190a74..d343b69 100644 --- a/composer.json +++ b/composer.json @@ -15,10 +15,10 @@ } ], "autoload": { - "psr-0": {"Liuggio": "src/"} + "psr-4": {"Liuggio\\": "src/Liuggio/"} }, "autoload-dev": { - "psr-0": {"Liuggio": "tests/"} + "psr-4": {"Liuggio\\": "tests/Liuggio/"} }, "require-dev": { "monolog/monolog": ">=1.2.0",