diff --git a/.travis.yml b/.travis.yml index f60bbe0..cdfef54 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,8 @@ language: php php: - - 5.4 - - 5.5 - - 5.6 - - hhvm + - 7.0 + - 7.1 before_script: - travis_retry composer self-update diff --git a/composer.json b/composer.json index 0f1475d..259d8cf 100644 --- a/composer.json +++ b/composer.json @@ -10,16 +10,17 @@ } ], "require": { - "php": ">=5.4.0", - "voryx/thruway": "0.3.*", - "illuminate/support": "5.*", - "illuminate/console": "5.*" + "php": ">=7.0.1", + "illuminate/support": "^5.5", + "illuminate/console": "^5.5", + "thruway/client": "^0.5.3", + "thruway/pawl-transport": "^0.5.0" }, "require-dev": { - "phpunit/phpunit": "4.*", + "phpunit/phpunit": "^6", "mockery/mockery": "0.9.*", - "fabpot/php-cs-fixer": "*", - "squizlabs/php_codesniffer": "1.*" + "squizlabs/php_codesniffer": "^3.2", + "friendsofphp/php-cs-fixer": "^2.11" }, "autoload": { "psr-0": { diff --git a/src/Vinelab/Minion/Client.php b/src/Vinelab/Minion/Client.php index b97d89d..f2eb77f 100644 --- a/src/Vinelab/Minion/Client.php +++ b/src/Vinelab/Minion/Client.php @@ -57,8 +57,13 @@ public function __construct($realm, array $providers, LoopInterface $loop = null */ public function onSessionStart($session, $transport) { + // Below disabled. Logging is now handled through a static class + // so there is no way that I can see to disable the logging since + // the split from voryx/thruway to thruway/client. getManager is + // also no longer a method on the Client class. // Shush the logs. - $this->getManager()->setQuiet(true); + // $this->getManager()->setQuiet(true); + // Boot up providers $this->bootProviders(); } diff --git a/tests/UnitTestCase.php b/tests/UnitTestCase.php index 8d06319..7366001 100644 --- a/tests/UnitTestCase.php +++ b/tests/UnitTestCase.php @@ -3,10 +3,11 @@ /** * @author Abed Halawi */ -class UnitTestCase extends PHPUnit_Framework_TestCase +class UnitTestCase extends PHPUnit\Framework\TestCase { public function test_running() { + $this->asserttrue(true); } protected function unProtectMethod($name, $class) diff --git a/tests/unit/ClientTest.php b/tests/unit/ClientTest.php index c15fc4b..29d2bbf 100644 --- a/tests/unit/ClientTest.php +++ b/tests/unit/ClientTest.php @@ -371,7 +371,7 @@ protected function getProxyCallbackMock() } } -class ClientTestProviderStub extends PHPUnit_Framework_TestCase +class ClientTestProviderStub extends PHPUnit\Framework\TestCase { public function __construct($client) { diff --git a/tests/unit/DictionaryTest.php b/tests/unit/DictionaryTest.php index 852eb7d..90869d4 100644 --- a/tests/unit/DictionaryTest.php +++ b/tests/unit/DictionaryTest.php @@ -5,7 +5,7 @@ /** * @author Abed Halawi */ -class DictionaryTest extends PHPUnit_Framework_TestCase +class DictionaryTest extends PHPUnit\Framework\TestCase { public function test_initializing_dictionary() { diff --git a/tests/unit/MinionTest.php b/tests/unit/MinionTest.php index 18d24ea..4207dc1 100644 --- a/tests/unit/MinionTest.php +++ b/tests/unit/MinionTest.php @@ -5,7 +5,7 @@ /** * @author Abed Halawi */ -class MinionTest extends PHPUnit_Framework_TestCase +class MinionTest extends PHPUnit\Framework\TestCase { public function setUp() {