From 21ca30af3c62dd1c6e2d8beb90f62f247d93e01f Mon Sep 17 00:00:00 2001 From: El RIDO Date: Sat, 1 Feb 2020 09:39:14 +0100 Subject: [PATCH] apply StyleCI recommendation --- tst/I18nTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tst/I18nTest.php b/tst/I18nTest.php index ffdc567..7d549ba 100644 --- a/tst/I18nTest.php +++ b/tst/I18nTest.php @@ -159,7 +159,7 @@ class I18nTest extends PHPUnit_Framework_TestCase { $_SERVER['HTTP_ACCEPT_LANGUAGE'] = 'foobar'; I18n::loadTranslations(); - $input = '&<>"\'/`='; + $input = '&<>"\'/`='; $result = htmlspecialchars($input, ENT_QUOTES | ENT_HTML5 | ENT_DISALLOWED, 'UTF-8', false); $this->assertEquals($result, I18n::encode($input), 'encodes HTML entities'); $this->assertEquals('some ' . $result . ' + 1', I18n::_('some %s + %d', $input, 1), 'encodes parameters in translations');