File tree Expand file tree Collapse file tree 8 files changed +15
-9
lines changed
Expand file tree Collapse file tree 8 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ matrix:
2323 - php : ' nightly'
2424
2525before_install :
26- - composer install --dev - n --prefer-source
26+ - composer install -n --prefer-source
2727 - phpenv rehash
2828 - " if [[ $RUN_SNYK && $SNYK_TOKEN ]]; then sudo apt-get install -y nodejs; npm install -g snyk; fi"
2929
Original file line number Diff line number Diff line change 2020 },
2121 "require-dev" : {
2222 "friendsofphp/php-cs-fixer" : " 2.*" ,
23- "phpunit/phpunit" : " 4.* || 5.*" ,
23+ "phpunit/phpunit" : " ^4.8.36 || 5.*" ,
2424 "squizlabs/php_codesniffer" : " 3.*"
2525 },
2626 "autoload" : {
Original file line number Diff line number Diff line change 33namespace GeoIp2 \Test \Database ;
44
55use GeoIp2 \Database \Reader ;
6+ use PHPUnit \Framework \TestCase ;
67
78/**
89 * @coversNothing
910 */
10- class ReaderTest extends \PHPUnit_Framework_TestCase
11+ class ReaderTest extends TestCase
1112{
1213 public function databaseTypes ()
1314 {
Original file line number Diff line number Diff line change 33namespace GeoIp2 \Test \Model ;
44
55use GeoIp2 \Model \Country ;
6+ use PHPUnit \Framework \TestCase ;
67
78/**
89 * @coversNothing
910 */
10- class CountryTest extends \PHPUnit_Framework_TestCase
11+ class CountryTest extends TestCase
1112{
1213 private $ raw = [
1314 'continent ' => [
@@ -34,7 +35,7 @@ class CountryTest extends \PHPUnit_Framework_TestCase
3435
3536 private $ model ;
3637
37- public function setUp ()
38+ protected function setUp ()
3839 {
3940 $ this ->model = new Country ($ this ->raw , ['en ' ]);
4041 }
Original file line number Diff line number Diff line change 33namespace GeoIp2 \Test \Model ;
44
55use GeoIp2 \Model \Insights ;
6+ use PHPUnit \Framework \TestCase ;
67
78/**
89 * @coversNothing
910 */
10- class InsightsTest extends \PHPUnit_Framework_TestCase
11+ class InsightsTest extends TestCase
1112{
1213 public function testFull ()
1314 {
Original file line number Diff line number Diff line change 33namespace GeoIp2 \Test \Model ;
44
55use GeoIp2 \Model \Country ;
6+ use PHPUnit \Framework \TestCase ;
67
78/**
89 * @coversNothing
910 */
10- class NameTest extends \PHPUnit_Framework_TestCase
11+ class NameTest extends TestCase
1112{
1213 public $ raw = [
1314 'continent ' => [
Original file line number Diff line number Diff line change 33namespace GeoIp2 \Test ;
44
55use GeoIp2 \Util ;
6+ use PHPUnit \Framework \TestCase ;
67
78/**
89 * @coversNothing
910 */
10- class UtilTest extends \PHPUnit_Framework_TestCase
11+ class UtilTest extends TestCase
1112{
1213 public function testCidr ()
1314 {
Original file line number Diff line number Diff line change 44
55use Composer \CaBundle \CaBundle ;
66use MaxMind \WebService \Client as WsClient ;
7+ use PHPUnit \Framework \TestCase ;
78
89/**
910 * @coversNothing
1011 */
11- class ClientTest extends \PHPUnit_Framework_TestCase
12+ class ClientTest extends TestCase
1213{
1314 private $ country = [
1415 'continent ' => [
You can’t perform that action at this time.
0 commit comments