1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00

attempt to fix failing builds on 5.3

This commit is contained in:
Emanuil Rusev 2017-03-29 19:30:24 +03:00
parent 1bf24f7334
commit 4367f89a74
3 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@
* @link http://commonmark.org/ CommonMark * @link http://commonmark.org/ CommonMark
* @link http://git.io/8WtRvQ JavaScript test runner * @link http://git.io/8WtRvQ JavaScript test runner
*/ */
class CommonMarkTest extends \PHPUnit\Framework\TestCase class CommonMarkTest extends PHPUnit_Framework_TestCase
{ {
const SPEC_URL = 'https://raw.githubusercontent.com/jgm/stmd/master/spec.txt'; const SPEC_URL = 'https://raw.githubusercontent.com/jgm/stmd/master/spec.txt';

View File

@ -1,6 +1,6 @@
<?php <?php
class ParsedownTest extends \PHPUnit\Framework\TestCase class ParsedownTest extends PHPUnit_Framework_TestCase
{ {
final function __construct($name = null, array $data = array(), $dataName = '') final function __construct($name = null, array $data = array(), $dataName = '')
{ {

View File

@ -2,6 +2,6 @@
include 'Parsedown.php'; include 'Parsedown.php';
if ( ! class_exists('\PHPUnit\Framework\TestCase') && class_exists('\PHPUnit_Framework_TestCase')) { if ( ! class_exists('\PHPUnit_Framework_TestCase')) {
class_alias('\PHPUnit_Framework_TestCase', '\PHPUnit\Framework\TestCase'); class_alias('\PHPUnit\Framework\TestCase', '\PHPUnit_Framework_TestCase');
} }