aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2025-01-29 15:56:17 +0100
committerHarald Eilertsen <haraldei@anduin.net>2025-01-29 15:56:17 +0100
commit7a3d59bff314bce3a22943ca3ac0c84c1601d3e4 (patch)
treea853bc0dea5129b111352ec75108e345d3f9869c
parent03d1f3383ed56ddcdaee844f435a39c4b987cd74 (diff)
downloadvolse-hubzilla-7a3d59bff314bce3a22943ca3ac0c84c1601d3e4.tar.gz
volse-hubzilla-7a3d59bff314bce3a22943ca3ac0c84c1601d3e4.tar.bz2
volse-hubzilla-7a3d59bff314bce3a22943ca3ac0c84c1601d3e4.zip
Add Zotlabs\Tests namespace to autloader in dev
This is technically not needed, as we load the required classes in the bootstrap file (`tests/unit/bootstrap.php`), but it helps editors that integrate with language servers etc to find the classes so it does not flag errors everywhere.
-rw-r--r--composer.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/composer.json b/composer.json
index 0a8e57b5e..fef9bc6f0 100644
--- a/composer.json
+++ b/composer.json
@@ -75,6 +75,11 @@
"Zotlabs\\": "Zotlabs/"
}
},
+ "autoload-dev": {
+ "psr-4": {
+ "Zotlabs\\Tests\\Unit\\": "tests/unit/"
+ }
+ },
"minimum-stability": "stable",
"config": {
"notify-on-install": false,