xref: /plugin/davcal/vendor/sabre/xml/tests/bootstrap.php (revision a1a3b6794e0e143a4a8b51d3185ce2d339be61ab)
1*a1a3b679SAndreas Boehler<?php
2*a1a3b679SAndreas Boehler
3*a1a3b679SAndreas Boehler$try = [
4*a1a3b679SAndreas Boehler    __DIR__ . '/../vendor/autoload.php',
5*a1a3b679SAndreas Boehler    __DIR__ . '/../../../autoload.php',
6*a1a3b679SAndreas Boehler];
7*a1a3b679SAndreas Boehler
8*a1a3b679SAndreas Boehlerforeach ($try as $path) {
9*a1a3b679SAndreas Boehler    if (file_exists($path)) {
10*a1a3b679SAndreas Boehler        include $path;
11*a1a3b679SAndreas Boehler        break;
12*a1a3b679SAndreas Boehler    }
13*a1a3b679SAndreas Boehler}
14*a1a3b679SAndreas Boehler
15*a1a3b679SAndreas Boehler// Some extra classes
16*a1a3b679SAndreas Boehlerinclude __DIR__ . '/Sabre/Xml/Element/Mock.php';
17*a1a3b679SAndreas Boehlerinclude __DIR__ . '/Sabre/Xml/Element/Eater.php';
18