diff --git a/.travis.yml b/.travis.yml index a1852ef..fa5db4b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,9 +2,8 @@ language: php sudo: false php: - - 5.5 - - 5.6 - - 7 + - 7.0 + - 7.1 env: diff --git a/composer.json b/composer.json index 8c55e25..e384301 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ ], "require": { "php": ">=7.0.0" }, "require-dev": { - "phpflo/phpflo": "^2.0.0", + "phpflo/phpflo": "^2.1.0", "phpunit/phpunit": "^5.0" }, "autoload": { @@ -28,6 +28,8 @@ }, "config": { "bin-dir": "bin" }, "autoload-dev": { - "psr-4": { "Tests\\": "tests/" } + "psr-4": { + "Tests\\": "tests/" + } } } diff --git a/tests/PhpFlo/Component/CounterTest.php b/tests/PhpFlo/Component/CounterTest.php index 4914ee8..6d3620f 100644 --- a/tests/PhpFlo/Component/CounterTest.php +++ b/tests/PhpFlo/Component/CounterTest.php @@ -29,7 +29,7 @@ public function testBehavior() $this->assertTrue($counter->outPorts()->has('count')); $counter->appendCount(1); - $counter->appendCount(2); + $counter->appendCount("2"); $counter->appendCount(null); $counter->sendCount();