Skip to content

Commit

Permalink
attempt to fix failing builds on 5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
erusev committed Mar 29, 2017
1 parent 1bf24f7 commit 4367f89
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/CommonMarkTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @link http://commonmark.org/ CommonMark
* @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';

Expand Down
2 changes: 1 addition & 1 deletion test/ParsedownTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

class ParsedownTest extends \PHPUnit\Framework\TestCase
class ParsedownTest extends PHPUnit_Framework_TestCase
{
final function __construct($name = null, array $data = array(), $dataName = '')
{
Expand Down
4 changes: 2 additions & 2 deletions test/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

include 'Parsedown.php';

if ( ! class_exists('\PHPUnit\Framework\TestCase') && class_exists('\PHPUnit_Framework_TestCase')) {
class_alias('\PHPUnit_Framework_TestCase', '\PHPUnit\Framework\TestCase');
if ( ! class_exists('\PHPUnit_Framework_TestCase')) {
class_alias('\PHPUnit\Framework\TestCase', '\PHPUnit_Framework_TestCase');
}

0 comments on commit 4367f89

Please sign in to comment.