From 9b6404d5c3ddf1ea237382bb1341155a9750fc94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Fri, 23 Dec 2016 21:28:39 +0100 Subject: [PATCH] update array syntax --- tests/StringyTest.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/tests/StringyTest.php b/tests/StringyTest.php index 8855252..4609ad1 100644 --- a/tests/StringyTest.php +++ b/tests/StringyTest.php @@ -860,17 +860,17 @@ class StringyTestCase extends PHPUnit_Framework_TestCase public function startsWithProviderAny() { return array( - array(true, 'foo bars', ['foo bar']), - array(true, 'FOO bars', ['foo bar'], false), - array(true, 'FOO bars', ['foo bar', 'foo BAR'], false), - array(true, 'FÒÔ bàřs', ['foo bar', 'fòô bàř'], false, 'UTF-8'), - array(true, 'fòô bàřs', ['foo bar', 'fòô BÀŘ'], false, 'UTF-8'), - array(false, 'foo bar', ['bar']), - array(false, 'foo bar', ['foo bars']), - array(false, 'FOO bar', ['foo bars']), - array(false, 'FOO bars', ['foo BAR']), - array(false, 'FÒÔ bàřs', ['fòô bàř'], true, 'UTF-8'), - array(false, 'fòô bàřs', ['fòô BÀŘ'], true, 'UTF-8'), + array(true, 'foo bars', array('foo bar')), + array(true, 'FOO bars', array('foo bar'), false), + array(true, 'FOO bars', array('foo bar', 'foo BAR'), false), + array(true, 'FÒÔ bàřs', array('foo bar', 'fòô bàř'), false, 'UTF-8'), + array(true, 'fòô bàřs', array('foo bar', 'fòô BÀŘ'), false, 'UTF-8'), + array(false, 'foo bar', array('bar')), + array(false, 'foo bar', array('foo bars')), + array(false, 'FOO bar', array('foo bars')), + array(false, 'FOO bars', array('foo BAR')), + array(false, 'FÒÔ bàřs', array('fòô bàř'), true, 'UTF-8'), + array(false, 'fòô bàřs', array('fòô BÀŘ'), true, 'UTF-8'), ); }