summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSean Molenaar <sean@seanmolenaar.eu>2021-02-04 20:58:05 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-02-05 07:27:11 +0100
commit540608682988c627d46b6891089183568db06798 (patch)
tree1dc9c4b0cefc3b5484d18ba9045d02cc5dfabdd3 /tests
parent5c7838e9bdd7081008483913def07a3233daa9fd (diff)
Psalm: Fix class loading
Diffstat (limited to 'tests')
-rw-r--r--tests/psalm-autoload.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/psalm-autoload.php b/tests/psalm-autoload.php
new file mode 100644
index 000000000..3da2d7f55
--- /dev/null
+++ b/tests/psalm-autoload.php
@@ -0,0 +1,13 @@
+<?php
+/**
+ * Nextcloud - News
+ *
+ * This file is licensed under the Affero General Public License version 3 or
+ * later. See the COPYING file.
+ *
+ * @author Sean Molenaar <sean@seanmolenaar.eu>
+ * @copyright Sean Molenaar 2021
+ */
+
+require_once __DIR__ . '/../../../3rdparty/autoload.php';
+require_once __DIR__ . '/../vendor/autoload.php';