1
0
mirror of https://github.com/erusev/parsedown.git synced 2025-09-13 16:22:04 +02:00

Remove PHPUnit bootstrap in favour of composer

This commit is contained in:
Daniel Rudolf
2016-09-05 22:04:46 +02:00
parent 33a23fbfb2
commit 73dbe2fd17
4 changed files with 13 additions and 19 deletions

View File

@@ -1,17 +0,0 @@
<?php
// prepare composer autoloader
if (is_file(__DIR__ . '/../vendor/autoload.php')) {
// composer root package
require_once(__DIR__ . '/../vendor/autoload.php');
} elseif (is_file(__DIR__ . '/../../../../vendor/autoload.php')) {
// composer dependency package
require_once(__DIR__ . '/../../../../vendor/autoload.php');
} else {
die("Cannot find `vendor/autoload.php`. Run `composer install`.");
}
// load TestParsedown class
if (!class_exists('TestParsedown', false) && is_file('test/TestParsedown.php')) {
require_once('test/TestParsedown.php');
}