-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from NeoVance/update-dependencies-fix-tests
phpunit does not seem to be working correctly anymore in php 7+
- Loading branch information
Showing
7 changed files
with
21 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
language: php | ||
|
||
php: | ||
- 5.4 | ||
- 5.5 | ||
- 5.6 | ||
- hhvm | ||
- 7.0 | ||
- 7.1 | ||
|
||
before_script: | ||
- travis_retry composer self-update | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,11 @@ | |
/** | ||
* @author Abed Halawi <[email protected]> | ||
*/ | ||
class UnitTestCase extends PHPUnit_Framework_TestCase | ||
class UnitTestCase extends PHPUnit\Framework\TestCase | ||
{ | ||
public function test_running() | ||
{ | ||
$this->asserttrue(true); | ||
} | ||
|
||
protected function unProtectMethod($name, $class) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
/** | ||
* @author Abed Halawi <[email protected]> | ||
*/ | ||
class DictionaryTest extends PHPUnit_Framework_TestCase | ||
class DictionaryTest extends PHPUnit\Framework\TestCase | ||
{ | ||
public function test_initializing_dictionary() | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
/** | ||
* @author Abed Halawi <[email protected]> | ||
*/ | ||
class MinionTest extends PHPUnit_Framework_TestCase | ||
class MinionTest extends PHPUnit\Framework\TestCase | ||
{ | ||
public function setUp() | ||
{ | ||
|