Skip to content

Commit d7ff137

Browse files
committed
refactoring test case
1 parent 08501fe commit d7ff137

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/TestCase.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
<?php
22

33
if (version_compare(PHP_VERSION, '7.1.0', '>=')) {
4+
require_once __DIR__ . '/Php71TestCase.php';
5+
46
class TestCase extends Php71TestCase
57
{
68
}
79
} else {
10+
require_once __DIR__ . '/Php56TestCase.php';
11+
812
class TestCase extends Php56TestCase
913
{
1014
}

0 commit comments

Comments
 (0)