diff options
author | Michal Čihař <michal@cihar.com> | 2017-10-10 13:44:04 +0200 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2017-10-10 13:44:04 +0200 |
commit | d5592264c2422cd4694d6d23f25faa5469cd1a0d (patch) | |
tree | 9fc92dddd7721edd100092659036b53af7215a2e /tests/Misc/UtfStringTest.php | |
parent | 1ef63fad959b185a9d22e818360a4e16dc4c42a5 (diff) | |
download | sql-parser-d5592264c2422cd4694d6d23f25faa5469cd1a0d.zip sql-parser-d5592264c2422cd4694d6d23f25faa5469cd1a0d.tar.gz sql-parser-d5592264c2422cd4694d6d23f25faa5469cd1a0d.tar.bz2 |
Apply php-cs-fixer
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'tests/Misc/UtfStringTest.php')
-rw-r--r-- | tests/Misc/UtfStringTest.php | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/tests/Misc/UtfStringTest.php b/tests/Misc/UtfStringTest.php index 1e5222c..a0a0bdc 100644 --- a/tests/Misc/UtfStringTest.php +++ b/tests/Misc/UtfStringTest.php @@ -84,9 +84,13 @@ class UtfStringTest extends TestCase } /** - * Test access to string + * Test access to string. * * @dataProvider utf8_strings + * + * @param mixed $text + * @param mixed $pos10 + * @param mixed $pos20 */ public function testAccess($text, $pos10, $pos20) { @@ -100,16 +104,16 @@ class UtfStringTest extends TestCase { return array( 'ascii' => array( - 'abcdefghijklmnopqrstuvwxyz', 'k', 'u' + 'abcdefghijklmnopqrstuvwxyz', 'k', 'u', ), 'unicode' => array( - 'áéíóúýěřťǔǐǒǎšďȟǰǩľžčǚň', 'ǐ', 'č' + 'áéíóúýěřťǔǐǒǎšďȟǰǩľžčǚň', 'ǐ', 'č', ), 'emoji' => array( - '😂😄😃😀😊😉😍😘😚😗😂👿😮😨😱😠😡😤😖😆😋👯', '😂', '😋' + '😂😄😃😀😊😉😍😘😚😗😂👿😮😨😱😠😡😤😖😆😋👯', '😂', '😋', ), 'iso' => array( - "P\xf8\xed\xb9ern\xec \xbelu\xbbou\xe8k\xfd k\xf3d \xfap\xecl \xef\xe1belsk\xe9 k\xf3dy", null, null + "P\xf8\xed\xb9ern\xec \xbelu\xbbou\xe8k\xfd k\xf3d \xfap\xecl \xef\xe1belsk\xe9 k\xf3dy", null, null, ), ); } |