From 9c9d5ac47e766451f7c3e2a874c2d902764a8aa5 Mon Sep 17 00:00:00 2001 From: gridnev Date: Wed, 19 Feb 2020 11:37:51 +0300 Subject: [PATCH] Update Dependencies --- .travis.yml | 3 ++- composer.json | 2 +- phpunit.xml.dist | 2 +- tests/Emails/EditableEmailTest.php | 3 ++- tests/Emails/EmailTest.php | 3 ++- tests/ServiceCollectorTest.php | 3 ++- tests/Services/AppsGoogleComTest.php | 3 ++- tests/Services/GmailComTest.php | 3 ++- tests/Services/MultiDomainTest.php | 3 ++- tests/Services/OutlookComTest.php | 3 ++- tests/Services/Www33MailComTest.php | 3 ++- tests/Services/YahooComTest.php | 3 ++- tests/TransparentEmailFactoryTest.php | 3 ++- tests/TransparentEmailTest.php | 3 ++- 14 files changed, 26 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index 89fa431..e1ef244 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,8 @@ install: php: - 7.0 - 7.1 - - nightly + - 7.2 + - 7.3 script: - ./vendor/bin/phpunit diff --git a/composer.json b/composer.json index d588f37..b683a16 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,7 @@ "php": "^7.0.0" }, "require-dev": { - "phpunit/phpunit": "^5.5.4", + "phpunit/phpunit": "6.5.14", "satooshi/php-coveralls": "^1.0.1", "codacy/coverage": "^1.0.3" }, diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 8a7d274..3ece69a 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -4,7 +4,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/5.5/phpunit.xsd" bootstrap="./vendor/autoload.php" - colors="auto" + colors="true" > diff --git a/tests/Emails/EditableEmailTest.php b/tests/Emails/EditableEmailTest.php index cd2f60b..5889861 100644 --- a/tests/Emails/EditableEmailTest.php +++ b/tests/Emails/EditableEmailTest.php @@ -5,8 +5,9 @@ namespace bkrukowski\TransparentEmail\Tests\Emails; use bkrukowski\TransparentEmail\Emails\EditableEmail; use bkrukowski\TransparentEmail\Emails\Email; use bkrukowski\TransparentEmail\Emails\EmailInterface; +use PHPUnit\Framework\TestCase; -class EditableEmailTest extends \PHPUnit_Framework_TestCase +class EditableEmailTest extends TestCase { /** * @dataProvider providerRemoveFromLocalPart diff --git a/tests/Emails/EmailTest.php b/tests/Emails/EmailTest.php index b03b08b..c559de7 100644 --- a/tests/Emails/EmailTest.php +++ b/tests/Emails/EmailTest.php @@ -6,8 +6,9 @@ namespace bkrukowski\TransparentEmail\Tests\Emails; use bkrukowski\TransparentEmail\Emails\Email; use bkrukowski\TransparentEmail\Emails\InvalidEmailException; +use PHPUnit\Framework\TestCase; -class EmailTest extends \PHPUnit_Framework_TestCase +class EmailTest extends TestCase { /** * @dataProvider providerConstructor diff --git a/tests/ServiceCollectorTest.php b/tests/ServiceCollectorTest.php index 38f77f5..88eb430 100644 --- a/tests/ServiceCollectorTest.php +++ b/tests/ServiceCollectorTest.php @@ -6,8 +6,9 @@ namespace bkrukowski\TransparentEmail\Tests; use bkrukowski\TransparentEmail\ServiceCollector; use bkrukowski\TransparentEmail\Services\ServiceInterface; +use PHPUnit\Framework\TestCase; -class ServiceCollectorTest extends \PHPUnit_Framework_TestCase +class ServiceCollectorTest extends TestCase { public function testAddService() { diff --git a/tests/Services/AppsGoogleComTest.php b/tests/Services/AppsGoogleComTest.php index 2ba0f4b..5598ad7 100644 --- a/tests/Services/AppsGoogleComTest.php +++ b/tests/Services/AppsGoogleComTest.php @@ -6,8 +6,9 @@ namespace bkrukowski\TransparentEmail\Tests\Services; use bkrukowski\TransparentEmail\Emails\Email; use bkrukowski\TransparentEmail\Services\AppsGoogleCom; +use PHPUnit\Framework\TestCase; -class AppsGoogleComTest extends \PHPUnit_Framework_TestCase +class AppsGoogleComTest extends TestCase { /** * @dataProvider providerIsSupported diff --git a/tests/Services/GmailComTest.php b/tests/Services/GmailComTest.php index d5a7bad..196b1dc 100644 --- a/tests/Services/GmailComTest.php +++ b/tests/Services/GmailComTest.php @@ -6,8 +6,9 @@ namespace bkrukowski\TransparentEmail\Tests\Services; use bkrukowski\TransparentEmail\Emails\Email; use bkrukowski\TransparentEmail\Services\GmailCom; +use PHPUnit\Framework\TestCase; -class GmailComTest extends \PHPUnit_Framework_TestCase +class GmailComTest extends TestCase { /** * @dataProvider providerGetPrimaryEmail diff --git a/tests/Services/MultiDomainTest.php b/tests/Services/MultiDomainTest.php index 3e6947f..2897b70 100644 --- a/tests/Services/MultiDomainTest.php +++ b/tests/Services/MultiDomainTest.php @@ -6,8 +6,9 @@ namespace bkrukowski\TransparentEmail\Tests\Services; use bkrukowski\TransparentEmail\Emails\Email; use bkrukowski\TransparentEmail\Services\MultiDomain; +use PHPUnit\Framework\TestCase; -class MultiDomainTest extends \PHPUnit_Framework_TestCase +class MultiDomainTest extends TestCase { /** * @dataProvider providerIsSupported diff --git a/tests/Services/OutlookComTest.php b/tests/Services/OutlookComTest.php index c8451f5..d4f715c 100644 --- a/tests/Services/OutlookComTest.php +++ b/tests/Services/OutlookComTest.php @@ -6,8 +6,9 @@ namespace bkrukowski\TransparentEmail\Tests\Services; use bkrukowski\TransparentEmail\Emails\Email; use bkrukowski\TransparentEmail\Services\OutlookCom; +use PHPUnit\Framework\TestCase; -class OutlookComTest extends \PHPUnit_Framework_TestCase +class OutlookComTest extends TestCase { /** * @dataProvider providerIsSupported diff --git a/tests/Services/Www33MailComTest.php b/tests/Services/Www33MailComTest.php index 891bc19..b449c35 100644 --- a/tests/Services/Www33MailComTest.php +++ b/tests/Services/Www33MailComTest.php @@ -6,8 +6,9 @@ namespace bkrukowski\TransparentEmail\Tests\Services; use bkrukowski\TransparentEmail\Emails\Email; use bkrukowski\TransparentEmail\Services\Www33MailCom; +use PHPUnit\Framework\TestCase; -class Www33MailComTest extends \PHPUnit_Framework_TestCase +class Www33MailComTest extends TestCase { /** * @dataProvider providerIsSupported diff --git a/tests/Services/YahooComTest.php b/tests/Services/YahooComTest.php index 2763e5b..872beda 100644 --- a/tests/Services/YahooComTest.php +++ b/tests/Services/YahooComTest.php @@ -6,8 +6,9 @@ namespace bkrukowski\TransparentEmail\Tests\Services; use bkrukowski\TransparentEmail\Emails\Email; use bkrukowski\TransparentEmail\Services\YahooCom; +use PHPUnit\Framework\TestCase; -class YahooComTest extends \PHPUnit_Framework_TestCase +class YahooComTest extends TestCase { /** * @dataProvider providerIsSupported diff --git a/tests/TransparentEmailFactoryTest.php b/tests/TransparentEmailFactoryTest.php index d84b919..26cfe6c 100644 --- a/tests/TransparentEmailFactoryTest.php +++ b/tests/TransparentEmailFactoryTest.php @@ -7,8 +7,9 @@ namespace bkrukowski\TransparentEmail\Tests; use bkrukowski\TransparentEmail\Emails\Email; use bkrukowski\TransparentEmail\Emails\EmailInterface; use bkrukowski\TransparentEmail\TransparentEmailFactory; +use PHPUnit\Framework\TestCase; -class TransparentEmailFactoryTest extends \PHPUnit_Framework_TestCase +class TransparentEmailFactoryTest extends TestCase { /** * @dataProvider providerExpectedEmail diff --git a/tests/TransparentEmailTest.php b/tests/TransparentEmailTest.php index 6cc840f..e12b24b 100644 --- a/tests/TransparentEmailTest.php +++ b/tests/TransparentEmailTest.php @@ -11,8 +11,9 @@ use bkrukowski\TransparentEmail\ServiceCollectorInterface; use bkrukowski\TransparentEmail\Services\TlenPl; use bkrukowski\TransparentEmail\TransparentEmail; use bkrukowski\TransparentEmail\TransparentEmailFactory; +use PHPUnit\Framework\TestCase; -class TransparentEmailTest extends \PHPUnit_Framework_TestCase +class TransparentEmailTest extends TestCase { /** * @dataProvider providerGetPrimaryEmail