[phd] master: Switch autoloading from PSR-0 to PSR-4 (#229)

From: Date: Sun, 11 Jan 2026 20:34:37 +0000
Subject: [phd] master: Switch autoloading from PSR-0 to PSR-4 (#229)
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-22943@lists.php.net to get a copy of this message
Author: Louis-Arnaud (lacatoire) Committer: GitHub (web-flow) Pusher: Girgias Date: 2026-01-11T20:34:35Z Commit: https://github.com/php/phd/commit/94548d1031690f55a6accd2ffc493aec9b1ee987 Raw diff: https://github.com/php/phd/commit/94548d1031690f55a6accd2ffc493aec9b1ee987.diff Switch autoloading from PSR-0 to PSR-4 (#229) Changed paths: M composer.json Diff: 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/" } } }

« previous php.doc.cvs (#22943) next »