From bcc298204e5c28be9ca49cc858c46f2ee80ad9a5 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 23 Apr 2018 09:37:56 +0200 Subject: [PATCH] use strlen instead of count(php7.2 fails) --- tests/TextTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TextTest.php b/tests/TextTest.php index 5b2b84bd7..3cda2342f 100644 --- a/tests/TextTest.php +++ b/tests/TextTest.php @@ -67,7 +67,7 @@ class TextTest extends \PHPUnit\Framework\TestCase $this->assertEquals(1, strlen($autoname1)); $autoname2=autoname(1); - $this->assertEquals(1, count($autoname2)); + $this->assertEquals(1, strlen($autoname2)); } /**