Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/westberliner/checksum.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick <patrick@westberliner.net>2022-05-15 12:53:48 +0300
committerPatrick <patrick@westberliner.net>2022-05-15 12:53:48 +0300
commitdbcdb821bc3632e6db0cfbead5e356c7f6582c60 (patch)
tree9f3cc8d6f9b843ba868dd3e55469c1f115ba969e /bootstrap.php
parentc00a4ec2c696dee729f9dfa747853b2fbbecbc5c (diff)
Add qa tools. CS Fix files.
Diffstat (limited to 'bootstrap.php')
-rw-r--r--bootstrap.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/bootstrap.php b/bootstrap.php
new file mode 100644
index 0000000..fb48c9e
--- /dev/null
+++ b/bootstrap.php
@@ -0,0 +1,14 @@
+<?php
+
+define('PHPUNIT_RUN', 1);
+use Composer\Autoload\ClassLoader;
+
+include_once __DIR__.'/vendor/autoload.php';
+$serverPath = __DIR__ . '/../nextcloud';
+include_once $serverPath.'/3rdparty/autoload.php';
+require_once $serverPath. '/lib/base.php';
+
+$classLoader = new ClassLoader();
+$classLoader->addPsr4("OCP\\", $serverPath . '/lib/public', true);
+$classLoader->addPsr4("OC\\", $serverPath . '/lib/private', true);
+$classLoader->register();