[DOC-CVS] [phd] master: Switch autoloading from PSR-0 to PSR-4 (#229)
[email protected] (Louis-Arnaud via GitHub)
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
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/"
}
}
}