From ac07ed23190e9c10a08c89cb7fee44ec38490a62 Mon Sep 17 00:00:00 2001 From: lacatoire Date: Thu, 18 Dec 2025 10:19:08 +0100 Subject: [PATCH] Switch autoloading from PSR-0 to PSR-4 --- composer.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index dea4efd2..0ba62118 100644 --- a/composer.json +++ b/composer.json @@ -27,8 +27,13 @@ "easybook/geshi": "For using GeSHi as code highlighter" }, "autoload": { - "psr-0": { - "phpdotnet\\": "." + "psr-4": { + "phpdotnet\\phd\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "phpdotnet\\phd\\Tests\\": "tests/" } } }