File tree Expand file tree Collapse file tree 11 files changed +23
-18
lines changed Expand file tree Collapse file tree 11 files changed +23
-18
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,11 @@ language: php
33sudo : false
44
55php :
6- - 5.3
76 - 5.4
87 - 5.5
98 - 5.6
109 - 7.0
11- - hhvm
10+ - 7.1
1211
1312env :
1413 - DRIVER=mysqli SPHINXSEARCH_BUILD=rel22
1817
1918matrix :
2019 fast_finish : true
21- allow_failures :
22- - env : DRIVER=pdo SPHINXSEARCH_BUILD=rel22
23- - env : DRIVER=pdo SPHINXSEARCH_BUILD=beta
2420
2521before_install :
2622 - mkdir $HOME/sphinx
Original file line number Diff line number Diff line change 1515 "php" : " >=5.3.0"
1616 },
1717 "require-dev" : {
18- "phpunit/phpunit" : " 4.4 .*"
18+ "phpunit/phpunit" : " 6.3 .*"
1919 },
2020 "autoload" : {
2121 "psr-4" : {
Original file line number Diff line number Diff line change 44use Foolz \SphinxQL \Expression ;
55use Foolz \SphinxQL \Tests \TestUtil ;
66
7- class ConnectionTest extends PHPUnit_Framework_TestCase
7+ class ConnectionTest extends \ PHPUnit \ Framework \TestCase
88{
99 /**
1010 * @var ConnectionInterface
@@ -98,7 +98,7 @@ public function testConnect()
9898 }
9999
100100 /**
101- * @expectedException PHPUnit_Framework_Error_Warning
101+ * @expectedException PHPUnit\Framework\Error\Warning
102102 */
103103 public function testConnectThrowsPHPException ()
104104 {
@@ -192,7 +192,7 @@ public function testEscape()
192192 }
193193
194194 /**
195- * @expectedException PHPUnit_Framework_Error_Warning
195+ * @expectedException PHPUnit\Framework\Error\Warning
196196 */
197197 public function testEscapeThrowsException ()
198198 {
Original file line number Diff line number Diff line change 22
33use Foolz \SphinxQL \Expression as Expression ;
44
5- class ExpressionTest extends PHPUnit_Framework_TestCase
5+ class ExpressionTest extends \ PHPUnit \ Framework \TestCase
66{
77 public function testValue ()
88 {
@@ -16,4 +16,4 @@ public function testValue()
1616 $ this ->assertInstanceOf ('Foolz\Sphinxql\Expression ' , $ result );
1717 $ this ->assertEquals ('* \\ Ç"" \'' , (string ) $ result );
1818 }
19- }
19+ }
Original file line number Diff line number Diff line change 77 * @package Foolz\SphinxQL
88 * @author Vicent Valls
99 */
10- class FacetTest extends PHPUnit_Framework_TestCase
10+ class FacetTest extends \ PHPUnit \ Framework \TestCase
1111{
1212 public static $ conn = null ;
1313
Original file line number Diff line number Diff line change 55use Foolz \SphinxQL \Helper ;
66use Foolz \SphinxQL \Tests \TestUtil ;
77
8- class HelperTest extends PHPUnit_Framework_TestCase
8+ class HelperTest extends \ PHPUnit \ Framework \TestCase
99{
1010 /**
1111 * @var ConnectionInterface
1212 */
1313 public $ conn ;
1414
15- public function __construct ()
15+ public function setUp ()
1616 {
1717 $ conn = TestUtil::getConnectionDriver ();
1818 $ conn ->setParam ('port ' , 9307 );
Original file line number Diff line number Diff line change 44use Foolz \SphinxQL \Match ;
55use Foolz \SphinxQL \Tests \TestUtil ;
66
7- class MatchTest extends PHPUnit_Framework_TestCase
7+ class MatchTest extends \ PHPUnit \ Framework \TestCase
88{
99 public static $ sphinxql = null ;
1010
Original file line number Diff line number Diff line change 44use Foolz \SphinxQL \Tests \TestUtil ;
55use Foolz \SphinxQL \Exception \DatabaseException ;
66
7- class MultiResultSetTest extends PHPUnit_Framework_TestCase
7+ class MultiResultSetTest extends \ PHPUnit \ Framework \TestCase
88{
99 /**
1010 * @var Connection
Original file line number Diff line number Diff line change 44use Foolz \SphinxQL \Drivers \Mysqli \Connection ;
55use Foolz \SphinxQL \Tests \TestUtil ;
66
7- class ResultSetTest extends PHPUnit_Framework_TestCase
7+ class ResultSetTest extends \ PHPUnit \ Framework \TestCase
88{
99 /**
1010 * @var Connection
Original file line number Diff line number Diff line change 66use Foolz \SphinxQL \Match ;
77use Foolz \SphinxQL \Tests \TestUtil ;
88
9- class SphinxQLTest extends PHPUnit_Framework_TestCase
9+ class SphinxQLTest extends \ PHPUnit \ Framework \TestCase
1010{
1111 public static $ conn = null ;
1212
You can’t perform that action at this time.
0 commit comments