Skip to content

Commit

Permalink
add phpunit5 polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Jun 2, 2017
1 parent 4dbc132 commit f3a6a36
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
dist: trusty

language: php

services:
Expand Down
3 changes: 3 additions & 0 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
<?php
require 'vendor/autoload.php';
if (!class_exists('\PHPUnit_Framework_TestCase') && class_exists('\PHPUnit\Framework\TestCase')) {
class_alias('\PHPUnit\Framework\TestCase', '\PHPUnit_Framework_TestCase');
}

0 comments on commit f3a6a36

Please sign in to comment.