Skip to content

Commit 9b8dc40

Browse files
committed
Updated PHPUnit version (for support compatibility with PHP 5.6 and PHP 7.0)
1 parent 7b025e4 commit 9b8dc40

File tree

6 files changed

+2
-32
lines changed

6 files changed

+2
-32
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ php:
33
- "7.1"
44
- "7.0"
55
- "5.6"
6-
- "5.5"
76

87
install:
98
- composer install

tests/BaseCommand.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
<?php
22

33
// backward compatibility
4-
if (!class_exists('\PHPUnit\Framework\TestCase') &&
5-
class_exists('\PHPUnit_Framework_TestCase')) {
4+
if (!class_exists('\PHPUnit\Framework\TestCase')) {
65
class_alias('\PHPUnit_Framework_TestCase', '\PHPUnit\Framework\TestCase');
76
}
87

9-
abstract class BaseCommand extends PHPUnit_Framework_TestCase
8+
abstract class BaseCommand extends \PHPUnit\Framework\TestCase
109
{
1110
protected $uri = null;
1211

tests/MysqlCommandTest.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
11
<?php
2-
/**
3-
* User: jg
4-
* Date: 19/02/17
5-
* Time: 19:52
6-
*/
7-
82

93
require_once 'BaseCommand.php';
104

11-
125
class MysqlCommandTest extends BaseCommand
136
{
147
protected $uri = 'mysql://root:password@mysql-container/migratedatabase';

tests/PostgresCommandTest.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
11
<?php
2-
/**
3-
* User: jg
4-
* Date: 19/02/17
5-
* Time: 19:52
6-
*/
7-
82

93
require_once 'BaseCommand.php';
104

11-
125
class PostgresCommandTest extends BaseCommand
136
{
147
protected $uri = 'pgsql://postgres:password@postgres-container/migratedatabase';

tests/SqlServerCommandTest.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
11
<?php
2-
/**
3-
* User: jg
4-
* Date: 19/02/17
5-
* Time: 19:52
6-
*/
7-
82

93
require_once 'BaseCommand.php';
104

11-
125
class SqlServerCommandTest extends BaseCommand
136
{
147
protected $uri = 'dblib://sa:Pa$$word!@mssql-container/migratedatabase';

tests/SqliteCommandTest.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
11
<?php
2-
/**
3-
* User: jg
4-
* Date: 19/02/17
5-
* Time: 19:52
6-
*/
7-
82

93
require_once 'BaseCommand.php';
104

11-
125
class SqliteCommandTest extends BaseCommand
136
{
147
protected $uri = 'sqlite:///tmp/teste.sqlite';

0 commit comments

Comments
 (0)